id int64 0 30.9k | extension stringclasses 1
value | max_stars_count int64 0 17k | max_stars_repo_name stringlengths 7 106 | max_stars_repo_path stringlengths 5 136 | text stringlengths 9 1M |
|---|---|---|---|---|---|
28,400 | ada | 20 | charlie5/lace | 2-low/neural/source/neural-net.adb | <gh_stars>10-100
with interfaces.c.pointers;
with fann_c.Binding; use fann_c.Binding;
with neural.Privvy; use neural.Privvy;
with neural.Forge; use neural.Forge;
with Interfaces.C; use Interfaces.C;
with Ada.Text_Io; use Ada.Text_IO;
with Ada.IO_Exceptions;
with Interfaces.C.Strings; use Interfaces.C... |
28,401 | ada | 12 | yannickmoy/protobuf | source/compiler/compiler-enum_descriptors.ads | -- MIT License
--
-- Copyright (c) 2020 <NAME>
--
-- Permission is hereby granted, free of charge, to any person obtaining a
-- copy of this software and associated documentation files (the "Software"),
-- to deal in the Software without restriction, including without limitation
-- the rights to use, copy, modify... |
28,402 | ada | 0 | Dioxylin/ada_shopping_tally | main.adb | <reponame>Dioxylin/ada_shopping_tally
with Ada.Text_IO; use Ada.Text_IO;
-- Item\tQuantity\tPrice\tTaxable[\tTax]
procedure Main is
type Money_Type is delta 0.01 range -1_000_000_000.0 .. 1_000_000_000.0;
for Money_Type'Small use 0.0001;
subtype Tax_Type is Money_Type range 0.0 .. 1.0;
subtype Quantity_Type is ... |
28,403 | ada | 0 | Letractively/ada-gen | src/gen-model.adb | <filename>src/gen-model.adb
-----------------------------------------------------------------------
-- gen-model -- Model for Code Generator
-- Copyright (C) 2009, 2010, 2011, 2012 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use t... |
28,404 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c6/c64005a.ada | -- C64005A.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimit... |
28,405 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr42_pkg.adb | package body Discr42_Pkg is
function F (Pos : in out Natural) return Rec is
begin
Pos := Pos + 1;
if Pos > 1 then
return (D => True, N => Pos * 2);
else
return (D => False);
end if;
end;
end Discr42_Pkg;
|
28,406 | ada | 1 | vidkidz/crossbridge | llvm-gcc-4.2-2.9/gcc/ada/restrict.adb | <filename>llvm-gcc-4.2-2.9/gcc/ada/restrict.adb
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
28,407 | ada | 24 | svn2github/matreshka | source/amf/uml/amf-uml-deployments.ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
28,408 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cd/cd2a21e.ada | -- CD2A21E.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimit... |
28,409 | ada | 4 | reznikmm/adaside | sources/ada_pretty-units.adb | -- Copyright (c) 2017 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
package body Ada_Pretty.Units is
--------------
-- Document --
--------------
overriding function Document
(Self : Compilation_Uni... |
28,410 | ada | 0 | djamal2727/Main-Bearing-Analytical-Model | Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-exnllf.adb | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
28,411 | ada | 4 | faelys/gela-asis | source/libgela/gela-to_upper.adb | <gh_stars>1-10
------------------------------------------------------------------------------
-- <NAME> A S I S --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org ... |
28,412 | ada | 3 | jwarwick/aoc_2020 | day14/src/day.ads | -- AOC 2020, Day 1$
with Ada.Containers.Vectors;
with Ada.Containers.Indefinite_Ordered_Maps;
package Day is
type Program is private;
function load_file(filename : in String) return Program;
function sum_memory(p : in Program) return Long_Integer;
function sum_memory_v2(p : in Program) return Long_Integer;
... |
28,413 | ada | 0 | luk9400/nsi | list2/task3/src/square_root.adb | package body Square_Root with SPARK_Mode is
function Sqrt (X: Float; Tolerance: Float) return Float is
A: Float := X;
begin
while abs(X - A ** 2) > X * Tolerance loop
A := (X/A + A) / 2.0;
pragma Loop_Invariant ((if X < 1.0 then (A >= X and A < 1.0)));
pragma Loop_Invaria... |
28,414 | ada | 1 | LaudateCorpus1/RosettaCodeData | Task/Identity-matrix/Ada/identity-matrix-1.ada | <filename>Task/Identity-matrix/Ada/identity-matrix-1.ada<gh_stars>1-10
-- As prototyped in the Generic_Real_Arrays specification:
-- function Unit_Matrix (Order : Positive; First_1, First_2 : Integer := 1) return Real_Matrix;
-- For the task:
mat : Real_Matrix := Unit_Matrix(5);
|
28,415 | ada | 11 | charlie5/aShell | test/nonblocking_pipe/test_nonblocking_pipe.adb | <reponame>charlie5/aShell<filename>test/nonblocking_pipe/test_nonblocking_pipe.adb<gh_stars>10-100
with
Shell.Commands,
Ada.Text_IO;
procedure Test_Nonblocking_Pipe
is
-- To do this test, run this executable in one terminal, open
-- another terminal and start 'cat' (ie $ cat - >> test.log).
-- Then... |
28,416 | ada | 1 | faelys/natools-web | src/natools-web-simple_pages-multipages.adb | <reponame>faelys/natools-web<gh_stars>1-10
------------------------------------------------------------------------------
-- Copyright (c) 2019, <NAME> --
-- --
-- Permission to use, copy, modify, and distrib... |
28,417 | ada | 0 | veyselharun/ABench2020 | PFactorial/pfactorial.adb | <reponame>veyselharun/ABench2020<gh_stars>0
--
-- ABench2020 Benchmark Suite
--
-- Parallel Factorial Program
--
-- Licensed under the MIT License. See LICENSE file in the ABench root
-- directory for license information.
--
-- Uncomment the line below to print the result.
-- with Ada.Text_IO; use Ada.Text_IO;
... |
28,418 | ada | 1 | hgrodriguez/sh1107 | src/sh1107.ads | <filename>src/sh1107.ads
--===========================================================================
--
-- This package is the interface to the SH1107 OLED controller
--
--===========================================================================
--
-- Copyright 2022 (C) <NAME>
--
-- SPDX-License-Identifier: BSD-... |
28,419 | ada | 0 | wookey-project/ewok-legacy | src/Ada/ewok-syscalls-handler.adb | <gh_stars>0
--
-- 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
--... |
28,420 | ada | 0 | sebsgit/textproc | src/opencl/cl_h.ads | pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with System;
with Interfaces.C.Strings;
package cl_h is
CL_SUCCESS : constant := 0; -- C:\Intel\OpenCL\sdk\include\CL\cl.h:137
CL_DEVICE_NOT_FOUND : constant := -1; -- C:\Intel\OpenCL\sdk\include\CL\cl.h:138
CL_DEVICE_NOT_AVAILABLE : consta... |
28,421 | ada | 192 | rocher/Ada_Drivers_Library | components/src/screen/pcd8544/pcd8544.ads | <reponame>rocher/Ada_Drivers_Library<gh_stars>100-1000
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2020, AdaCore --
-- ... |
28,422 | ada | 19 | jquorning/ada-security | regtests/security-auth-tests.ads | <filename>regtests/security-auth-tests.ads
-----------------------------------------------------------------------
-- security-openid - Tests for OpenID
-- Copyright (C) 2009, 2010, 2011, 2012, 2013 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you m... |
28,423 | ada | 10 | Robert-Tice/AdaRoombot | src/communication.ads | <filename>src/communication.ads
with Types; use Types;
with GNAT.OS_Lib; use GNAT.OS_Lib;
with Interfaces.C; use Interfaces.C;
with System;
with System.OS_Constants;
package Communication is
package C renames Interfaces.C;
use type C.Int;
type Serial_Port_Inst is private;
type Serial_Port is access... |
28,424 | ada | 0 | ekoeppen/MSP430_Generic_Ada_Drivers | examples/uart/main.adb | with Interfaces; use Interfaces;
with MSPGD.Board;
with Drivers.Text_IO;
procedure Main is
pragma Preelaborate;
package Board renames MSPGD.Board;
package Text_IO is new Drivers.Text_IO (USART => Board.UART);
N : Unsigned_32 := 0;
begin
Board.Init;
Text_IO.Put_Line ("Hello, World!");
loop
... |
28,425 | ada | 0 | reznikmm/slimp | source/slim-messages-stat.adb | <reponame>reznikmm/slimp<filename>source/slim-messages-stat.adb
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Slim.Message_Visiters;
package body Slim.Messages.STAT is
List : constant Fiel... |
28,426 | ada | 0 | Statkus/json-ada | test/unit/src/test_images.adb | -- Copyright (c) 2018 RREE <<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 ... |
28,427 | ada | 13 | annexi-strayline/AURA | specification_scanner-scan_specification.adb | ------------------------------------------------------------------------------
-- --
-- Ada User Repository Annex (AURA) --
-- ANNEXI-STRAYLINE Reference Implementation --
-- ... |
28,428 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c87b19a.ada | <reponame>best08618/asylo<gh_stars>1-10
-- C87B19A.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... |
28,429 | ada | 1 | faelys/natools-web | src/natools-web-sites-holders.adb | ------------------------------------------------------------------------------
-- Copyright (c) 2015-2019, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- purpose ... |
28,430 | ada | 1 | alvaromb/Compilemon | lib/aflexnat/aflex_scanner.ads | <reponame>alvaromb/Compilemon
-- Copyright (c) 1990 Regents of the University of California.
-- All rights reserved.
--
-- This software was developed by <NAME> of the Arcadia project
-- at the University of California, Irvine.
--
-- Redistribution and use in source and binary forms are permitted
-- provided that the a... |
28,431 | ada | 1 | nexssp/language_ada | templates/default.adb | <filename>templates/default.adb
with Ada.Text_IO;
procedure Default is
begin
loop
exit when Ada.Text_IO.End_Of_File;
-- Ada.Text_IO.Put_Line("Echo" &Ada.Text_IO.Get_Line);
Ada.Text_IO.Put_Line(Ada.Text_IO.Get_Line);
end loop;
end default;
Default |
28,432 | ada | 3 | UdayanSinha/Code_Blocks | Ada/producerconsumer_prot.adb | with Ada.Text_IO;
use Ada.Text_IO;
with Ada.Real_Time;
use Ada.Real_Time;
with Buffer;
use Buffer;
with Ada.Numerics.Discrete_Random;
procedure ProducerConsumer_prot is
N : constant Integer := 40; -- Number of produced and comsumed variables
-- Random Delays
subtype Delay_Interval is Integer range 50..25... |
28,433 | ada | 0 | byllgrim/iictl | util.adb | <filename>util.adb
with Ada.Exceptions; use Ada.Exceptions; -- TODO clean
with Ada.Text_Io;
with Posix;
with Posix.Io;
package body Util is
package ATIO renames Ada.Text_Io;
package PIO renames Posix.Io;
procedure Verbose_Print (Msg : String) is -- TODO rename Debug_Print?
begin
-- TODO define... |
28,434 | ada | 1 | eagletmt/procon | gcj/2014/Qual/b.adb | with Ada.Text_IO;
use Ada.Text_IO;
with Ada.Long_Float_Text_IO;
use Ada.Long_Float_Text_IO;
with Ada.Integer_Text_IO;
use Ada.Integer_Text_IO;
procedure B is
function Solve(C, F, X : in Long_Float) return Long_Float is
acc : Long_Float := 0.0;
n : Natural := 0;
r : Long_Float := 2.0;
t1, t2 : Long_Fl... |
28,435 | ada | 33 | ytomino/drake | source/environment/machine-pc-linux-gnu/s-envblo.adb | with C.unistd;
function System.Environment_Block return C.char_ptr_ptr is
begin
return C.unistd.environ;
end System.Environment_Block;
|
28,436 | ada | 0 | JCGobbi/Nucleo-STM32G474RE | bb-runtimes/src/s-bbcpsp__ppc-booke.adb | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
28,437 | ada | 24 | svn2github/matreshka | source/amf/dd/amf-internals-factories-dg_factories.ads | <reponame>svn2github/matreshka
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
28,438 | ada | 0 | cyberpython/xpath_utils | src/xpath_utils.adb | -- Copyright 2017 <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, distribut... |
28,439 | ada | 19 | jrcarter/Ada_GUI | object-handle-generic_unbounded_array.adb | -- --
-- package Copyright (c) <NAME> --
-- Object.Handle.Unbounded_Array Luebeck --
-- Implementation Spring, 2003 --
-- ... |
28,440 | ada | 24 | svn2github/matreshka | source/amf/mof/xmi/amf-internals-xmi_readers.ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
28,441 | ada | 24 | svn2github/matreshka | source/amf/uml/amf-uml-generalization_sets.ads | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
28,442 | ada | 0 | xuedong/mini-ada | tests/typing/bad/testfile-inout-8.adb | <reponame>xuedong/mini-ada<filename>tests/typing/bad/testfile-inout-8.adb<gh_stars>0
with Ada.Text_IO; use Ada.Text_IO;
procedure Test is
type R is record A: Integer; end record;
procedure P(X: in R) is begin X.A := 0; end;
v: R;
begin
P(v);
end;
|
28,443 | ada | 1 | ekoeppen/STM32_Generic_Ada_Drivers | stm32f4/stm32gd-exti-irq.ads | <gh_stars>1-10
with STM32_SVD.Interrupts; use STM32_SVD.Interrupts;
with STM32_SVD.EXTI;
package STM32GD.EXTI.IRQ is
protected IRQ_Handler is
entry Wait;
procedure Cancel;
function Status (Line : External_Line_Number) return Boolean;
procedure Reset_Status (Line : External_Line_Number);
... |
28,444 | ada | 0 | JCGobbi/Nucleo-STM32G474RE | bb-runtimes/runtimes/zfp-stm32g474/gnat/g-souinf.ads | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
28,445 | ada | 488 | ouankou/rose | tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/short_circuit_v2.adb | function IsDivisible(x, y: IN Integer) return Integer is
Result : Integer;
begin
Result := 0;
if y = 0 or else x = 0 then
Result := 0;
else
Result := x / y;
end if;
if y = 0 and then x = 0 then
Result := 0;
else
Result := x * (x / y );
end if;
return Result;
end IsDivi... |
28,446 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/rep_clause5.ads | -- { dg-do compile }
pragma Implicit_Packing;
package Rep_Clause5 is
type Modes_Type is (Mode_0, Mode_1);
for Modes_Type'size use 8;
type Mode_Record_Type is
record
Mode_1 : aliased Modes_Type;
Mode_2 : aliased Modes_Type;
Mode_3 : aliased Modes_Type;
Mode_4 : ali... |
28,447 | ada | 0 | PThierry/ewok-kernel | src/ewok-mpu.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... |
28,448 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt12.adb | -- { dg-do run }
-- { dg-options "-O2" }
with Opt12_Pkg; use Opt12_Pkg;
procedure Opt12 is
Static_Target : Static_Integer_Subtype;
begin
Static_Target := Static_Integer_Subtype(Fix_Half);
if not Equal(Static_Target, 1) then
raise Program_Error;
end if;
end Opt12;
|
28,449 | ada | 0 | KamilKrol5/concurrent-programming | task2/ada/src/objects.ads | <reponame>KamilKrol5/concurrent-programming<gh_stars>0
with constants;
use constants;
package objects is
type Mode is (CALM,TALKATIVE);
type operatorT is ('+', '-', '*');
type operatorsArray is array(0..2) of operatorT;
NL : constant String := Character'Val(13) & Character'Val(10);
protected typ... |
28,450 | ada | 81 | twdroeger/ada-awa | awa/src/awa-commands-start.ads | <filename>awa/src/awa-commands-start.ads
-----------------------------------------------------------------------
-- awa-commands-start -- Command to start the web server
-- Copyright (C) 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not ... |
28,451 | ada | 2 | Fabien-Chouteau/motherlode | src/hud.adb | <gh_stars>1-10
-- Motherlode
-- Copyright (c) 2020 <NAME>
with HAL; use HAL;
with Pygamer; use Pygamer;
with Pygamer.Screen;
with Render; use Render;
package body HUD is
----------------
-- Draw_Gauge --
----------------
procedure Draw_Gauge (FB : in out HAL.UInt16_Array;
... |
28,452 | ada | 5 | HeisenbugLtd/flac-ada | sources/flac-debug.adb | ------------------------------------------------------------------------------
-- 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... |
28,453 | ada | 0 | Letractively/ada-asf | src/asf-components-holders.ads | -----------------------------------------------------------------------
-- components-holders -- Value holder interfaces
-- Copyright (C) 2009, 2010, 2011, 2013 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in complia... |
28,454 | ada | 13 | annexi-strayline/AURA | registrar-library_units.ads | ------------------------------------------------------------------------------
-- --
-- Ada User Repository Annex (AURA) --
-- Reference Implementation --
-- ... |
28,455 | ada | 0 | TNO/Dependency_Graph_Extractor-Ada | src/graphml_writers.adb | <filename>src/graphml_writers.adb
pragma Assertion_Policy (Check);
with Ada.Strings.Fixed;
package body GraphML_Writers is
package S_F renames Ada.Strings.Fixed;
use type S_U.Unbounded_String;
function "+" (Str : String) return S_U.Unbounded_String is
(S_U.To_Unbounded_String (Str));
NODE_TAG : c... |
28,456 | ada | 13 | annexi-strayline/AURA | scheduling.ads | <filename>scheduling.ads
------------------------------------------------------------------------------
-- --
-- Ada User Repository Annex (AURA) --
-- ANNEXI-STRAYLINE Reference Implementatio... |
28,457 | ada | 1 | brucegua/moocos | tools/scitools/conf/understand/ada/ada12/s-imgenu.ads | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
28,458 | ada | 15 | My-Colaborations/dynamo | src/asis/asis-compilation_units-relations.adb | <reponame>My-Colaborations/dynamo
------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT IMPLEMENTATION COMPONENTS --
-- ... |
28,459 | ada | 19 | jquorning/ada-security | src/security-oauth.ads | <filename>src/security-oauth.ads
-----------------------------------------------------------------------
-- security-oauth -- OAuth Security
-- Copyright (C) 2012, 2016, 2017, 2018, 2019, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not... |
28,460 | ada | 20 | charlie5/lace | 4-high/gel/applet/test/add_rid/launch_add_rid.adb | with
gel.Window.lumen,
gel.Applet.gui_world,
gel.Forge,
gel.Sprite,
gel.Joint,
physics.Forge,
opengl.Palette,
float_math.Algebra.linear.d3;
pragma Unreferenced (gel.Window.lumen);
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Exceptions;
procedure launch_add_rid
--
-- Create... |
28,461 | ada | 20 | charlie5/lace | 3-mid/opengl/source/platform/egl/opengl-display.ads | <gh_stars>10-100
private
with
eGL;
package openGL.Display
--
-- Models an openGL display.
--
is
type Item is tagged private;
function Default return Item;
private
type Item is tagged
record
Thin : eGL.EGLDisplay;
Version_major,
Version_minor : ali... |
28,462 | ada | 1 | persan/A-gst | src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_gststructure_h.ads | <gh_stars>1-10
pragma Ada_2005;
pragma Style_Checks (Off);
pragma Warnings (Off);
with Interfaces.C; use Interfaces.C;
-- with GStreamer.GST_Low_Level.glib_2_0_glib_gquark_h;
with glib;
with glib;
with glib.Values;
with System;
-- limited with GStreamer.GST_Low_Level.glib_2_0_glib_garray_h;
with System;
with Interfa... |
28,463 | ada | 0 | caqg/linux-home | .emacs.d/elpa/wisi-3.0.1/wisi.ads | -- Abstract :
--
-- Ada implementation of wisi parser actions.
--
-- References
--
-- [1] wisi-parse-common.el - defines common stuff.
--
-- [2] wisi.texi - defines parse action functions.
--
-- [3] wisi-process-parse.el - defines elisp/process API
--
-- Copyright (C) 2017 - 2020 Free Software Foundation, Inc.
-... |
28,464 | ada | 0 | sebsgit/textproc | src/tests/maintestsuite.ads | <gh_stars>0
with AUnit.Test_Suites;
package MainTestSuite is
function Suite return AUnit.Test_Suites.Access_Test_Suite;
procedure runAll;
end MainTestSuite;
|
28,465 | ada | 1 | zrmyers/VulkanAda | test/dmat/vulkan-math-dmat4x3-test.adb | <reponame>zrmyers/VulkanAda
--------------------------------------------------------------------------------
-- MIT License
--
-- Copyright (c) 2021 <NAME>
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "Software"), to deal
... |
28,466 | ada | 0 | Letractively/ada-ado | src/mysql/mysql-com.ads | <filename>src/mysql/mysql-com.ads
-----------------------------------------------------------------------
-- ADO Mysql -- Mysql Interface
-- Copyright (C) 2009, 2010 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in co... |
28,467 | ada | 14 | Fabien-Chouteau/usb_embedded | src/usb-device-hid-mouse.adb | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2018-2021, AdaCore --
-- ... |
28,468 | ada | 0 | Ada-bindings-project/a-lmsensors | src/gen/sensors-libsensors-sensors_sensors_h.ads | <filename>src/gen/sensors-libsensors-sensors_sensors_h.ads
pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with Interfaces.C.Strings;
with Interfaces.C_Streams;
package Sensors.libSensors.sensors_sensors_h is
SENSORS_API_VERSION : constant := 16#500#; -- /usr/include/sensors/se... |
28,469 | ada | 24 | svn2github/matreshka | testsuite/sql/TN-337/test_337.adb | <reponame>svn2github/matreshka
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
28,470 | ada | 0 | fintatarta/eugen | src/Processors/LaTeX/latex_writer.ads | with Ada.Text_IO; use Ada.Text_IO;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
package Latex_Writer is
type Style_Spec (<>) is private;
type Table_Handler (<>) is tagged private;
type Length_Unit is (Pt, Cm, Mm, Inch);
type Latex_Length is private;
subtype Em_Length is Float;
Zero : co... |
28,471 | ada | 4 | faelys/gela-asis | source/asis/spec/ada-streams.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 --
-- ... |
28,472 | ada | 0 | M1nified/Ada-Samples | MergeSort/b__main.ads | <filename>MergeSort/b__main.ads<gh_stars>0
pragma Ada_95;
pragma Warnings (Off);
with System;
package ada_main is
gnat_argc : Integer;
gnat_argv : System.Address;
gnat_envp : System.Address;
pragma Import (C, gnat_argc);
pragma Import (C, gnat_argv);
pragma Import (C, gnat_envp);
gnat_exit_statu... |
28,473 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/addr2_p.ads |
package addr2_p is
type Block is array (1 .. 9) of Integer;
procedure Process (Blk : Block);
B1 : constant Block := Block'((1,2,3,4,5, others => 0));
B2 : constant Block := (1,2,3,4,5, others => 0);
end;
|
28,474 | ada | 0 | djamal2727/Main-Bearing-Analytical-Model | Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-restri.ads | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
28,475 | ada | 0 | Letractively/ada-awa | awa/plugins/awa-workspaces/src/awa-workspaces-beans.ads | <reponame>Letractively/ada-awa
-----------------------------------------------------------------------
-- awa-workspaces-beans -- Beans for module workspaces
-- Copyright (C) 2011, 2012 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use th... |
28,476 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/ada/tempdir.adb | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
28,477 | ada | 4 | faelys/gela-asis | tools/xml2ayacc/encoding/encodings-read.ads | --------------------------------------------------------
-- E n c o d i n g s --
-- --
-- Tools for convertion strings between Unicode and --
-- national/vendor character sets. --
-- - - - - - - - - -... |
28,478 | ada | 0 | samyvic/OS-Project | Read Only/gdb-7.12.1/gdb/testsuite/gdb.ada/out_of_line_in_inlined/foo_o224_021.adb | <filename>Read Only/gdb-7.12.1/gdb/testsuite/gdb.ada/out_of_line_in_inlined/foo_o224_021.adb
-- Copyright 2015-2017 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 F... |
28,479 | ada | 26 | damaki/libkeccak | src/common/keccak-padding.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... |
28,480 | ada | 1 | brucegua/moocos | tools/scitools/conf/understand/ada/ada05/s-fileio.ads | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
28,481 | ada | 1 | LaudateCorpus1/RosettaCodeData | Task/Fibonacci-n-step-number-sequences/Ada/fibonacci-n-step-number-sequences-1.ada | package Bonacci is
type Sequence is array(Positive range <>) of Positive;
function Generate(Start: Sequence; Length: Positive := 10) return Sequence;
Start_Fibonacci: constant Sequence := (1, 1);
Start_Tribonacci: constant Sequence := (1, 1, 2);
Start_Tetranacci: constant Sequence := (1, 1, 2, 4);
... |
28,482 | ada | 0 | Jellix/elan520 | elan520.ads | <gh_stars>0
------------------------------------------------------------------------
-- Copyright (C) 2004-2020 by <<EMAIL>> --
-- --
-- This work is free. You can redistribute it and/or modify it under --
-- the terms of the Do Wha... |
28,483 | ada | 0 | djgoku/RosettaCodeData | Task/Remove-duplicate-elements/Ada/remove-duplicate-elements-2.ada | ∪ 1 2 3 1 2 3 4 1
1 2 3 4
|
28,484 | ada | 12 | TUM-EI-RCS/StratoX | software/hal/boards/pixracer_v1/media_reader-sdcard-config.adb | -- Based on AdaCore's Ada Drivers Library,
-- see https://github.com/AdaCore/Ada_Drivers_Library,
-- checkout 93b5f269341f970698af18f9182fac82a0be66c3.
-- Copyright (C) Adacore
--
-- Tailored to StratoX project.
-- Author: <NAME> (<EMAIL>)
with STM32_SVD.RCC; use STM32_SVD.RCC;
package body Media_Reader.SDCard.C... |
28,485 | ada | 28 | onox/json-ada | tests/src/test_parsers.adb | <reponame>onox/json-ada<gh_stars>10-100
-- 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
--
-- http... |
28,486 | ada | 1 | vidkidz/crossbridge | llvm-gcc-4.2-2.9/gcc/ada/namet.ads | <reponame>vidkidz/crossbridge
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
28,487 | ada | 192 | rocher/Ada_Drivers_Library | components/src/io_expander/MCP23xxx/mcp23x08.ads | <filename>components/src/io_expander/MCP23xxx/mcp23x08.ads
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2018, AdaCore --
-- ... |
28,488 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/aggr3.ads | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/aggr3.ads<gh_stars>1-10
-- { dg-do compile }
with Aggr3_Pkg; use Aggr3_Pkg;
package Aggr3 is
type Enum is (One);
type R (D : Enum := One) is
record
case D is
when One => The_T : T;
end case;
end record;
My_R : R := (D =... |
28,489 | ada | 0 | reznikmm/gela | source/oasis/program-elements-discrete_ranges.ads | -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Element_Vectors;
with Program.Elements.Definitions;
package Program.Elements.Discrete_Ranges is
pragma Pure (Program.Elements.Discrete_Ranges);
type ... |
28,490 | ada | 1 | brucegua/moocos | tools/scitools/conf/understand/ada/ada95/a-tags.ads | ------------------------------------------------------------------------------
-- --
-- GNAT RUNTIME COMPONENTS --
-- --
-- ... |
28,491 | ada | 24 | svn2github/matreshka | source/sql/mysql/matreshka-internals-sql_drivers-mysql-databases.adb | <filename>source/sql/mysql/matreshka-internals-sql_drivers-mysql-databases.adb
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
28,492 | ada | 4 | docandrew/YOTROC | src/assembler.adb |
-- BNF(ish) grammar for our parser. Assume all production rules are
-- newline-terminated.
--
-- Reserved words: registers, "Define"
--
-- <comment> := ";", string
-- <label> := "@", {alphanum}
--
-- //Identifier must start with a letter, then any sequence of letters
-- // and numbers. Can not be a reserved word.
... |
28,493 | ada | 0 | djamal2727/Main-Bearing-Analytical-Model | Validation/pyFrame3DD-master/gcc-master/gcc/ada/repinfo-input.adb | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
28,494 | ada | 0 | JCGobbi/Nucleo-STM32G474RE | bb-runtimes/arm/zynqmpr5/s-mpuini.adb | <filename>bb-runtimes/arm/zynqmpr5/s-mpuini.adb
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
28,495 | ada | 1 | brucegua/moocos | tools/scitools/conf/understand/ada/ada12/s-atocou.ads | <filename>tools/scitools/conf/understand/ada/ada12/s-atocou.ads<gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
28,496 | ada | 24 | svn2github/matreshka | source/web/servlet/http/matreshka-rfc2616_dates.adb | <filename>source/web/servlet/http/matreshka-rfc2616_dates.adb
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
28,497 | ada | 0 | My-Colaborations/ada-ado | src/ado-sessions-factory.adb | <gh_stars>0
-----------------------------------------------------------------------
-- ado-sessions-factory -- Session Factory
-- Copyright (C) 2009, 2010, 2011, 2012, 2017, 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file... |
28,498 | ada | 4 | albinjal/Ada_Project | Klient/graphics_tests_old_do_not_use/test_keyboard_simple.adb | with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
with TJa.Window.Elementary; use TJa.Window.Elementary;
with TJa.Keyboard; use TJa.Keyboard;
with TJa.Misc; use TJa.Misc;
procedure Test_Ke... |
28,499 | ada | 15 | AdaCore/training_material | courses/fundamentals_of_ada/labs/solar_system/adv_280_low_level_programming/question_2/src/stm32-rng.adb | <gh_stars>10-100
with STM32_SVD.RCC; use STM32_SVD.RCC;
with STM32_SVD.RNG; use STM32_SVD.RNG;
package body STM32.RNG is
----------------------
-- Enable_RNG_Clock --
----------------------
procedure Enable_RNG_Clock is
begin
-- TODO: enable the right bit of the RCC_Periph peripheral to enable
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.