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 |
|---|---|---|---|---|---|
7,800 | ada | 0 | Jellix/elan520 | elan520-reset_generation_registers.ads | ------------------------------------------------------------------------
-- Copyright (C) 2004-2020 by <<EMAIL>> --
-- --
-- This work is free. You can redistribute it and/or modify it under --
-- the terms of the Do What The Fuck Y... |
7,801 | ada | 0 | Fabien-Chouteau/fsmaker | src/fsmaker-toml.adb | with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with TOML; use TOML;
with TOML.File_IO;
with GNAT.OS_Lib; use GNAT.OS_Lib;
with CLIC.User_Input; use CLIC.User_Input;
with Simple_Logging; use Simple_Logging;
with FSmaker.Target;
with FSmaker.Target.LittleFS;
with FSmaker.Source;
package body FSmaker.TOML is
... |
7,802 | ada | 81 | My-Colaborations/ada-awa | awa/src/awa-oauth-filters.adb | -----------------------------------------------------------------------
-- awa-oauth-filters -- OAuth filter
-- Copyright (C) 2017, 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.
--... |
7,803 | ada | 0 | Qrbaker/synth | src/replicant.adb | <gh_stars>0
-- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
with Replicant.Platform;
with Ada.Containers.Vectors;
with Ada.Exceptions;
with GNAT.OS_Lib;
package body Replicant is
package AC renames Ada.Containers;
package EX renames Ada.Exceptions;
... |
7,804 | ada | 0 | djamal2727/Main-Bearing-Analytical-Model | Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/g-altive.ads | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
7,805 | ada | 0 | balintsoos/LearnAda | gyak/gyak1-2/sum.adb | with Ada.Integer_Text_IO;
procedure Sum is
N : Integer;
Sum : Integer := 1;
begin
Ada.Integer_Text_IO.Get( N );
for I in 1..N loop
Sum := Sum + I;
end loop;
Ada.Integer_Text_IO.Put( Sum );
end Sum;
|
7,806 | ada | 0 | ekoeppen/MSP430_Generic_Ada_Drivers | msp430x2/msp430g2553/svd/msp430_svd.ads | <filename>msp430x2/msp430g2553/svd/msp430_svd.ads<gh_stars>0
-- This spec has been automatically generated from msp430g2553.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces; use Interfaces;
with System;
package MSP430_SVD is
pragma Preelaborate;
----... |
7,807 | ada | 24 | svn2github/matreshka | source/amf/uml/amf-uml-read_is_classified_object_actions.ads | <reponame>svn2github/matreshka<filename>source/amf/uml/amf-uml-read_is_classified_object_actions.ads<gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Proje... |
7,808 | ada | 12 | TUM-EI-RCS/StratoX | tests/polymorphism/src/i2c_interface.adb | <reponame>TUM-EI-RCS/StratoX<gh_stars>10-100
package body I2C_Interface with SPARK_Mode
--,Refined_State => (State => (G_Data))
is
G_Data : Data_Type(1 .. 2);
procedure configure(Port : I2C_Type; Config : Configuration_Type) is
begin
-- Port.pin = 0;
null;
end configure;
procedure... |
7,809 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c95092a.ada | <reponame>best08618/asylo<gh_stars>1-10
-- C95092A.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... |
7,810 | ada | 1 | egilhh/Futures-in-Ada | src/archive_searcher.ads | <filename>src/archive_searcher.ads
package Archive_Searcher is
type Object is tagged null record;
function Search
(Self : in out Object;
Search_For : in String)
return String;
end Archive_Searcher;
|
7,811 | ada | 3 | jwarwick/aoc_2020 | day02/src/day.adb | <gh_stars>1-10
-- AoC 2020, Day 2
with Ada.Text_IO;
with Ada.Strings.Fixed; use Ada.Strings.Fixed;
package body Day is
package TIO renames Ada.Text_IO;
pragma Warnings (Off, "procedure ""put"" is not referenced");
procedure put(value : in Password_Entry) is
pragma Warnings (On, "procedure ""put"" is not refer... |
7,812 | ada | 3 | jwarwick/aoc_2020 | test_suite/aoc_suite.ads | with AUnit.Test_Suites; use AUnit.Test_Suites;
package AOC_Suite is
function Suite return Access_Test_Suite;
end AOC_Suite;
|
7,813 | ada | 1 | fabiojna02/OpenCellular | firmware/coreboot/3rdparty/libhwbase/common/hw-pci-mmconf.ads | <reponame>fabiojna02/OpenCellular<gh_stars>1-10
--
-- Copyright (C) 2017 <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 2 of the License, or
-- (at your op... |
7,814 | ada | 488 | ouankou/rose | tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/package_renaming_declaration.ads | <filename>tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/package_renaming_declaration.ads
with Ada.Text_IO;
package package_renaming_declaration is
package IO renames Ada.Text_IO;
end package_renaming_declaration;
|
7,815 | ada | 13 | Fabien-Chouteau/GESTE | examples/RPG/src/player.ads | <filename>examples/RPG/src/player.ads
with GESTE;
package Player is
procedure Move (Pt : GESTE.Pix_Point);
function Position return GESTE.Pix_Point;
procedure Update;
procedure Move_Left;
procedure Move_Right;
procedure Move_Up;
procedure Move_Down;
end Player;
|
7,816 | ada | 4 | MOUDDENEHamza/ENSEEIHT | 1A/S5/PIM/tps/tp4/dates.adb | -- Implantation d'un module Dates très simplifié.
with Ada.Text_IO;
use Ada.Text_IO;
with Ada.Integer_Text_IO;
use Ada.Integer_Text_IO;
package body Dates is
procedure Initialiser ( Date : out T_Date ;
Jour : in Integer ;
Mois : in T_Mois ;
... |
7,817 | ada | 0 | cocolab8/cocktail | reuse/ada/dynarray.adb | <reponame>cocolab8/cocktail<filename>reuse/ada/dynarray.adb
-- $Id: DynArray.mi,v 1.8 1994/06/13 09:41:43 grosch rel $
-- $Log: DynArray.mi,v $
-- Ich, <NAME>, Informatiker, Aug. 1994
with Unchecked_Deallocation;
package body DynArray is
procedure Free is new Unchecked_Deallocation (tArray, FlexArray);
procedure ... |
7,818 | ada | 0 | JCGobbi/Nucleo-STM32G474RE | bb-runtimes/arm/sam/samv71/svd/i-sam-uart.ads | --
-- Copyright (C) 2019, AdaCore
--
-- This spec has been automatically generated from ATSAMV71Q21.svd
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
package Interfaces.SAM.UART is
pragma Preelaborate;
pragma No_Elaboration_Code_All;
---------------
-- Registers --
---------------
s... |
7,819 | ada | 488 | ouankou/rose | src/frontend/Experimental_Ada_ROSE_Connection/parser/asis_adapter/source/asis_adapter-element.ads | with Asis;
-- GNAT-specific:
with A4G.Int_Knds;
with Types;
with a_nodes_h;
with Dot;
private with Ada.Containers.Doubly_Linked_Lists;
package Asis_Adapter.Element is
type Class is tagged private; -- Initialized
-- Process an element and all of its components:
-- Raises Internal_Error for unhandled intern... |
7,820 | ada | 24 | svn2github/matreshka | source/amf/mof/cmof/amf-cmof-types-collections.ads | <reponame>svn2github/matreshka<gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
7,821 | ada | 0 | strenkml/EE368 | memsim-master/src/benchmark-matrix-cholesky.ads |
package Benchmark.Matrix.Cholesky is
type Cholesky_Type is new Matrix_Type with private;
function Create_Cholesky return Benchmark_Pointer;
overriding
procedure Run(benchmark : in Cholesky_Type);
private
type Cholesky_Type is new Matrix_Type with null record;
end Benchmark.Matrix.Cholesky;
|
7,822 | ada | 0 | skill-lang/adaCommon | src/skill-iterators-static_data.adb | <reponame>skill-lang/adaCommon
-- ___ _ ___ _ _ --
-- / __| |/ (_) | | Common SKilL implementation --
-- \__ \ ' <| | | |__ iterator over types --
-- |___/_|\_\_|_|____| by: <NAME> ... |
7,823 | ada | 192 | rocher/Ada_Drivers_Library | arch/ARM/Nordic/svd/nrf52/nrf_svd-saadc.ads | <filename>arch/ARM/Nordic/svd/nrf52/nrf_svd-saadc.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... |
7,824 | ada | 1 | LaudateCorpus1/RosettaCodeData | Task/Verify-distribution-uniformity-Naive/Ada/verify-distribution-uniformity-naive.ada | with Ada.Numerics.Discrete_Random, Ada.Text_IO;
procedure Naive_Random is
type M_1000 is mod 1000;
package Rand is new Ada.Numerics.Discrete_Random(M_1000);
Gen: Rand.Generator;
procedure Perform(Modulus: Positive; Expected, Margin: Natural;
Passed: out boolean) is
Low: Natural... |
7,825 | ada | 0 | iyan22/AprendeAda | ejercicios4/prueba_escribir_sospechosos.adb | <filename>ejercicios4/prueba_escribir_sospechosos.adb
with Ada.Text_Io, copia_examenes;
with escribir_sospechosos,rellenar_aula_1,escribir_aula_act;
use copia_examenes;
use Ada.Text_Io;
procedure prueba_escribir_sospechosos is
aula1: T_aula;
procedure Pedir_Return is
begin
Put_Line("pulsa return pa... |
7,826 | ada | 1 | LaudateCorpus1/RosettaCodeData | Task/Variadic-function/Ada/variadic-function.ada | with Ada.Strings.Unbounded, Ada.Text_IO;
procedure Variadic is
subtype U_String is Ada.Strings.Unbounded.Unbounded_String;
use type U_String;
function "+"(S: String) return U_String
renames Ada.Strings.Unbounded.To_Unbounded_String;
function "-"(U: U_String) return String
renames Ada.Strings.U... |
7,827 | ada | 1 | vidkidz/crossbridge | llvm-gcc-4.2-2.9/gcc/ada/sem_util.adb | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
7,828 | ada | 0 | jwarwick/aoc_2019_ada | day03/tests/fms-test.adb | with AUnit.Assertions; use AUnit.Assertions;
with Ada.Containers;
use type Ada.Containers.Count_Type;
package body FMS.Test is
procedure Test_Load (T : in out AUnit.Test_Cases.Test_Case'Class) is
pragma Unreferenced (T);
begin
null;
load("R8,U5,L5,D3", "U7,R6,D4,L4");
Assert(wire_1.Length =... |
7,829 | ada | 1 | micahwelf/FLTK-Ada | src/fltk-images-rgb-jpeg.ads | <reponame>micahwelf/FLTK-Ada
package FLTK.Images.RGB.JPEG is
type JPEG_Image is new RGB_Image with private;
type JPEG_Image_Reference (Data : not null access JPEG_Image'Class) is
limited null record with Implicit_Dereference => Data;
package Forge is
function Create
... |
7,830 | ada | 24 | svn2github/matreshka | source/league/ucd/matreshka-internals-unicode-ucd-core_0111.ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
7,831 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/pack5.adb | -- { dg-do compile }
procedure Pack5 is
type Kind is (v1, v2, v3);
type Error (k : Kind := Kind'First) is record
case k is
when v1 =>
null;
when v2 =>
null;
when Others =>
B : Boolean;
end case;
end record;
pragma Pack (Error);
for Error'Size use 16;
No_Error: const... |
7,832 | ada | 1 | ekoeppen/STM32_Generic_Ada_Drivers | boards/stm32f0disco/stm32gd-board.ads | with STM32GD.GPIO; use STM32GD.GPIO;
with STM32GD.GPIO.Pin;
with STM32GD.USART;
with STM32GD.USART.Peripheral;
with STM32GD.RTC;
with STM32GD.Clock;
with STM32GD.Clock.Tree;
with Drivers.Text_IO;
package STM32GD.Board is
package CLOCKS is new STM32GD.Clock.Tree;
package GPIO renames STM32GD.GPIO;
packag... |
7,833 | ada | 1 | Fabien-Chouteau/pygamer-bsp | src/pygamer-audio.ads | <gh_stars>1-10
with Interfaces;
package PyGamer.Audio is
type Data_Array is array (Natural range <>) of aliased Interfaces.Unsigned_16;
type Audio_Callback is access procedure (Left, Right : out Data_Array);
type Sample_Rate_Kind is (SR_11025, SR_22050, SR_44100, SR_96000);
procedure Set_Callback (Callb... |
7,834 | ada | 1 | jweese/Ada_Vent_19 | lib/intcode-op.ads | <reponame>jweese/Ada_Vent_19<filename>lib/intcode-op.ads<gh_stars>1-10
with Memory;
package Intcode.Op is
type Code is (
Add,
Mul,
Get,
Put,
Jnz,
Jz,
Lt,
Eq,
Mrb,
Halt
);
type Parameter_Mode is (Position, Immediate, Relative);
type Parameter_List... |
7,835 | ada | 80 | thindil/steamsky | tests/utils-test_data-tests.ads | <gh_stars>10-100
-- This package has been generated automatically by GNATtest.
-- Do not edit any part of it, see GNATtest documentation for more details.
-- begin read only
with Gnattest_Generated;
package Utils.Test_Data.Tests is
type Test is new GNATtest_Generated.GNATtest_Standard.Utils.Test_Data
.Tes... |
7,836 | ada | 0 | mstewartgallus/linted | src/ada-core/src/linted-stack.adb | -- Copyright 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 applicable law or agreed to in writi... |
7,837 | ada | 88 | VVCAS-Sean/OpenUxAS | src/ada/src/utils/int64_parsing.adb | package body Int64_Parsing with SPARK_Mode is
function Char_To_Int (C : Character) return Int64 is
(case C is
when '0' => 0,
when '1' => 1,
when '2' => 2,
when '3' => 3,
when '4' => 4,
when '5' => 5,
when '6' => 6,
whe... |
7,838 | ada | 488 | ouankou/rose | tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/simple_select_accept_guarded.adb | -- same as simple_select_accept, with two select cases decorated with
-- when conditions in the task body.
procedure Simple_Select_Accept_Guarded(Ch : Character) is
task Callee is
entry Do_This;
entry Do_That;
entry Do_Nothing;
end Callee;
task body Callee is
begin
delay 5.0;
select ... |
7,839 | ada | 19 | jrcarter/Ada_GUI | strings_edit-utf8-handling.ads | -- --
-- package Copyright (c) <NAME> --
-- Strings_Edit.UTF8.Handling Luebeck --
-- Interface Spring, 2005 --
-- ... |
7,840 | ada | 0 | xeenta/learning-ada | src/002/a.ads | package A is
procedure Print_Modify;
end A;
|
7,841 | ada | 0 | wooky/aoc.kt | src/main/ada/2019/intcode.ads | <reponame>wooky/aoc.kt<gh_stars>0
with Ada.Containers.Ordered_Maps;
with Ada.Containers.Vectors;
package Intcode is
subtype Element is Long_Long_Integer;
subtype Index is Element range 0 .. Element'Last;
package Opcode_Vectors is new Ada.Containers.Ordered_Maps
(Key_Type => Index,
Element_Type ... |
7,842 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/lto20_pkg.adb | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/lto20_pkg.adb
package body Lto20_Pkg is
type Obj is record
I : Integer;
end record;
procedure Proc (A : Arr) is begin null; end;
end Lto20_Pkg;
|
7,843 | ada | 30 | jrmarino/AdaBase | src/miscellaneous/commontext.adb | <gh_stars>10-100
-- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
with Ada.Strings.Fixed;
with Ada.Strings.UTF_Encoding.Strings;
package body CommonText is
package AS renames Ada.Strings;
package UES renames Ada.Strings.UTF_Encoding.Strings;
--------... |
7,844 | ada | 1 | ForYouEyesOnly/Space-Convoy | Sources/Globe_3d/globe_3d-textures.adb | with GL, GL.IO, UnZip.Streams;
with Ada.Characters.Handling; use Ada.Characters.Handling;
with Ada.Exceptions; use Ada.Exceptions;
with Ada.Strings.Fixed; use Ada.Strings, Ada.Strings.Fixed;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Ada.U... |
7,845 | ada | 1 | vidkidz/crossbridge | llvm-gcc-4.2-2.9/gcc/ada/prj-err.adb | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
7,846 | ada | 1 | ForYouEyesOnly/Space-Convoy | Sources/Globe_3d/unzip/unzip.adb | with Ada.Streams.Stream_IO;
with Interfaces; use Interfaces;
with Zip.Headers, UnZip.Decompress;
with Zip_Streams;
package body UnZip is
use Ada.Streams, Ada.Strings.Unbounded;
--------------------------------------------------
-- *The* internal 1 - file unzipping procedure.... |
7,847 | ada | 5 | jhumphry/auto_counters | tests/optimize_config/auto_counters_tests_config.ads | <filename>tests/optimize_config/auto_counters_tests_config.ads
-- auto_counters_tests_config.ads
-- Configuration for Unit tests for Auto_Counters
-- Configuration for optimized builds
-- Copyright (c) 2016, <NAME> - see LICENSE file for details
package Auto_Counters_Tests_Config is
pragma Pure;
Assertions_En... |
7,848 | ada | 0 | leo-brewin/Regge | regge-io.ads | <filename>regge-io.ads
generic
package regge.io is
function str (source : in Integer;
width : in Integer := 0) return string;
function str (source : in Real;
width : in Integer := 10) return string;
function read_command_arg (the_arg : Integer) return Integer;
proced... |
7,849 | ada | 0 | silentTeee/IBM-8b-10b-encoder | ibm_8b_10b_encoder.ads | --Copyright (c) 2019 <NAME> under the MIT License
package IBM_8b_10b_Encoder is
type Byte is mod 2**8;
type Ten_Bits is mod 2**10;
type Running_Disp is (Neg_1, Pos_1);
procedure Encode( B: in Byte;
T: out Ten_Bits;
RD: in out Running_Disp);
--T... |
7,850 | ada | 0 | djamal2727/Main-Bearing-Analytical-Model | Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-stteou.ads | <reponame>djamal2727/Main-Bearing-Analytical-Model
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
7,851 | ada | 1 | vidkidz/crossbridge | llvm-gcc-4.2-2.9/gcc/ada/prj-attr.adb | <filename>llvm-gcc-4.2-2.9/gcc/ada/prj-attr.adb
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
7,852 | ada | 60 | Letractively/ada-util | regtests/util-files-tests.ads | -----------------------------------------------------------------------
-- files.tests -- Unit tests for files
-- 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 this file except in compliance with t... |
7,853 | ada | 0 | likai3g/afmt | src/fmt-generic_ordinary_fixed_point_argument.adb | <gh_stars>0
pragma Ada_2020;
with Interfaces; use Interfaces;
with Ada.Numerics;
with Ada.Numerics.Generic_Elementary_Functions;
package body Fmt.Generic_Ordinary_Fixed_Point_Argument is
package Math is
new Ada.Numerics.Generic_Elementary_Functions(Long_Float);
Exp : constant Long_Long_Float := 10.... |
7,854 | ada | 3 | RREE/Ada_Drivers_Library | hal/src/hal-dsi.ads | <gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2016, AdaCore --
-- ... |
7,855 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/ada/s-imgrea.adb | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
7,856 | ada | 12 | jquorning/ada-asf | regtests/asf-views-facelets-tests.adb | <gh_stars>10-100
-----------------------------------------------------------------------
-- Facelet Tests - Unit tests for ASF.Views.Facelet
-- Copyright (C) 2009, 2010, 2011, 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this fi... |
7,857 | ada | 2 | Spohn/LegendOfZelba | list_lib.ads | <reponame>Spohn/LegendOfZelba
PACKAGE List_Lib IS
TYPE Node_Pointer IS PRIVATE;
TYPE LL_Type IS PRIVATE;
-- exported exceptions
OUT_OF_SPACE: EXCEPTION;
PAST_END: EXCEPTION;
PAST_BEGIN: EXCEPTION;
LL_UNDERFLOW: EXCEPTION;
-------------------------------------------------------... |
7,858 | ada | 80 | enfoTek/tomato.linksys.e2000.nvram-mod | tools-src/gnu/gcc/gcc/ada/a-tasatt.adb | <filename>tools-src/gnu/gcc/gcc/ada/a-tasatt.adb
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
7,859 | ada | 33 | ytomino/drake | source/s-atcaco.ads | <gh_stars>10-100
pragma License (Unrestricted);
-- extended unit, see AI05-0002-1
generic
type Object (<>) is limited private;
type Object_Pointer is access constant Object;
package System.Address_To_Constant_Access_Conversions is
-- This is an implementation of <NAME>'s plan in AI05-0002-1.
pragma Preela... |
7,860 | ada | 0 | orb-zhuchen/Orb | support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/g-regist.adb | <filename>support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/g-regist.adb
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
7,861 | ada | 1 | KipodAfterFree/KAF-2019-FireHog | firehog/ncurses/Ada95/ada_include/terminal_interface-curses-panels-user_data.adb | <reponame>KipodAfterFree/KAF-2019-FireHog
------------------------------------------------------------------------------
-- --
-- GNAT ncurses Binding --
-- ... |
7,862 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/ada/exp_ch6.adb | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
7,863 | ada | 1 | fabiojna02/OpenCellular | firmware/coreboot/3rdparty/libhwbase/common/hw-pci-mmconf.adb | --
-- Copyright (C) 2017 <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 2 of the License, or
-- (at your option) any later version.
--
-- This program is d... |
7,864 | ada | 2 | corentingay/ada_epita | project/adl/components/src/io_expander/stmpe1600/stmpe1600.adb | <filename>project/adl/components/src/io_expander/stmpe1600/stmpe1600.adb<gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2017, AdaCore ... |
7,865 | ada | 24 | svn2github/matreshka | testsuite/league/unicode_data_file_utilities.adb | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
7,866 | ada | 0 | My-Colaborations/ada-servlet | regtests/servlet-server-tests.adb | <gh_stars>0
-----------------------------------------------------------------------
-- servlet-server-tests - Unit tests for server requests
-- Copyright (C) 2018, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in... |
7,867 | ada | 0 | Latence-Technologies/Kafka-Ada | src/kafka-topic.adb | <reponame>Latence-Technologies/Kafka-Ada
package body Kafka.Topic is
function Create_Topic_Handle(Handle : Handle_Type;
Topic : String;
Config : Topic_Config_Type) return Topic_Type is
C_Topic : chars_ptr := New_String(Topic);
T... |
7,868 | ada | 0 | AdaForge/Advent_of_Code_2020 | puzzle_11/src/puzzle_11.adb | procedure Puzzle_11 is
begin
null;
end Puzzle_11;
|
7,869 | ada | 70 | Lucretia/bare_bones | src/crash.adb | -- -*- Mode: Ada -*-
-- Filename : crash.adb
-- Description : Provides access to the multiboot information from GRUB
-- Legacy and GRUB 2.
-- Author : <NAME>
-- Created On : Thur Nov 17 16:52:05 2016
-- Licence : See LICENCE in the ro... |
7,870 | ada | 0 | Fabien-Chouteau/offmt-tool | example/src/example.adb | <filename>example/src/example.adb
with Offmt; use Offmt;
procedure Example is
X : constant Integer := 42;
pragma Unreferenced (X);
Str : constant String := "lol";
begin
Offmt.Log ("Test X: {u32:X}");
Offmt.Log ("Test X + 1: {u32:X + 1}");
Log ("Test X * 10: {u32:X * 10}");
Log ("Test hex: 0x{xu3... |
7,871 | ada | 6 | aeszter/lox-spark | src/command_line.ads | package Command_Line with SPARK_Mode is
type Exit_Status is new Integer;
function Argument_Count return Natural with
Global => null;
procedure Set_Exit_Status (Code : Exit_Status) with
Global => null;
function Argument (Number : Positive) return String with
Global => null,
Pre => Number >... |
7,872 | ada | 3 | vasil-sd/ada-tlsf | tlsf/src/proof/model/tlsf-proof-model.ads | package TLSF.Proof.Model with SPARK_Mode, Pure, Preelaborate, Ghost is
end TLSF.Proof.Model;
|
7,873 | ada | 1 | ekoeppen/STM32_Generic_Ada_Drivers | common/stm32gd.adb | with STM32_SVD; use STM32_SVD;
with STM32_SVD.SCB; use STM32_SVD.SCB;
with System.Machine_Code; use System.Machine_Code;
package body STM32GD is
procedure Wait_For_Interrupt is
begin
Asm ("WFI", Volatile => True);
end Wait_For_Interrupt;
procedure Clear_Event is
begin
Asm ("SEV", Volatile ... |
7,874 | ada | 24 | svn2github/matreshka | source/league/codecs/matreshka-internals-text_codecs-windows1251.adb | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
7,875 | ada | 24 | svn2github/matreshka | source/amf/ocl/amf-ocl-loop_exps.ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
7,876 | ada | 1 | LuisFLCCQ/base_cod_java | c3.unicap.br.waldemar.plp/Ada2Java/Ada2Java/src/ada2java/assets/ComandoEntrada.adb | with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
procedure Check_Positive is
N : Integer;
begin
Put_Line ("Enter an integer value: ");
Get (N);
if N > 0 then
Put_Line (N);
Put_Line (" is a positive number");
end if;
end Check_Positive;
|
7,877 | ada | 88 | VVCAS-Sean/OpenUxAS | src/ada/src/comms/uxas-comms-transport-zeromq_socket_configurations.ads | <reponame>VVCAS-Sean/OpenUxAS<gh_stars>10-100
with UxAS.Comms.Transport.Socket_Configurations;
use UxAS.Comms.Transport.Socket_Configurations;
with ZMQ.Sockets;
package UxAS.Comms.Transport.ZeroMQ_Socket_Configurations is
type ZeroMq_Socket_Configuration is new Socket_Configuration with record
Zmq_Socket_Ty... |
7,878 | ada | 0 | reznikmm/gela | source/nodes/program-nodes-block_statements.adb | <reponame>reznikmm/gela
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
package body Program.Nodes.Block_Statements is
function Create
(Statement_Identifier : Program.Elements.Defining_Identifiers
.... |
7,879 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/ada/a-tgdico.ads | <filename>gcc-gcc-7_3_0-release/gcc/ada/a-tgdico.ads
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
7,880 | ada | 4 | DNSCatcher/DNSCatcher | src/dnscatcher/dns/processor/rdata/dnscatcher-dns-processor-rdata-utils.adb | <filename>src/dnscatcher/dns/processor/rdata/dnscatcher-dns-processor-rdata-utils.adb<gh_stars>1-10
-- 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 wi... |
7,881 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/ada/exp_pakd.adb | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
7,882 | ada | 192 | rocher/Ada_Drivers_Library | arch/ARM/Nordic/svd/nrf52/nrf_svd-twis.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... |
7,883 | ada | 24 | svn2github/matreshka | source/amf/ocl/amf-internals-tables-ocl_metamodel.adb | <filename>source/amf/ocl/amf-internals-tables-ocl_metamodel.adb
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
7,884 | ada | 1 | LaudateCorpus1/RosettaCodeData | Task/Synchronous-concurrency/Ada/synchronous-concurrency-2.ada | with Ada.Text_Io; use Ada.Text_Io;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
package body Synchronous_Concurrent is
task body Printer is
Num_Iter : Natural := 0;
Line : Unbounded_String;
begin
loop
select
accept Put(Item : in String) do
Line... |
7,885 | ada | 30 | jscparker/math_packages | polynomial/clenshaw/gauss_quadrature_61.adb |
-----------------------------------------------------------------------
-- package body Gauss_Quadrature_61. Gaussian quadrature.
-- Copyright (C) 2018 <NAME>
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above
-- copy... |
7,886 | ada | 4 | reznikmm/torrent | source/torrent-downloaders.adb | <filename>source/torrent-downloaders.adb
-- Copyright (c) 2019-2020 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Ada.Unchecked_Conversion;
with Interfaces;
with AWS.Response;
with AWS.Client;
with AWS.Messages;
... |
7,887 | ada | 1 | persan/A-gst | src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_interfaces_photography_h.ads | <filename>src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_interfaces_photography_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 GStreamer.GST_Low_Level.glibconfig_h;
with glib;
with glib.Values;
with System;
limited wit... |
7,888 | ada | 0 | mstewartgallus/linted | src/linted-audio/src/linted-audio.adb | <filename>src/linted-audio/src/linted-audio.adb
-- Copyright 2016,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
--
-- U... |
7,889 | ada | 0 | Letractively/ada-gen | src/gen-commands-model.adb | <gh_stars>0
-----------------------------------------------------------------------
-- gen-commands-model -- Model creation command for dynamo
-- Copyright (C) 2011, 2012 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except ... |
7,890 | ada | 4 | faelys/gela-asis | .build/ada/asis-gela-elements-defs.adb |
------------------------------------------------------------------------------
-- Copyright (c) 2006-2013, <NAME>
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are met:
--
-- * Redistributio... |
7,891 | ada | 0 | faelys/natools | src/natools-s_expressions-printers-pretty.ads | <gh_stars>0
------------------------------------------------------------------------------
-- Copyright (c) 2013-2014, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this software for any --... |
7,892 | ada | 2 | reznikmm/webdriver | source/webdriver-sessions.ads | <gh_stars>1-10
-- Copyright (c) 2017 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with League.Strings;
with WebDriver.Elements;
package WebDriver.Sessions is
type Session is limited interface;
type Session_Acc... |
7,893 | ada | 0 | eryjus/ada | tst/scanner1.ads | <gh_stars>0
--===================================================================================================================
-- scanner.ads
--
-- This file contains the a sample of the lexical components we need to be able to recognize and convert
-- into tokens.
--===============================================... |
7,894 | ada | 0 | zdimension/tdinfo302 | src/tri_bulle.adb | with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
procedure tri_bulle is
N : constant Integer := 8;
tab : array (1..N) of Integer := (7, 8, 6, 4, 5, 3, 2, 1);
tmp : Integer;
begin
for j in 1..N loop
for i in 1..N-j loop
for k in 1..N loop
... |
7,895 | ada | 0 | Fabien-Chouteau/libriscv | src/esf.adb | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2019, <NAME> --
-- --
-- Redistrib... |
7,896 | ada | 79 | Roldak/OpenGLAda | tests/gl/gl_test-framebuffers.adb | -- part of OpenGLAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
with Ada.Text_IO;
with GL.Buffers; use GL.Buffers;
with GL.Immediate; use GL.Immediate;
with GL.Fixed.Matrix; use GL.Fixed.Matrix; use GL.Fixed;
with GL.Fixed.Textures;
with GL.Types.Colors;... |
7,897 | ada | 0 | jamalakhaligova/ADA | endterm_mysolution/grade2.adb | with Ada.Text_IO,Ada.Calendar, Ada.Numerics.Discrete_Random; use Ada.Text_IO;
procedure Grade2 is
type Barr is array (Natural range <>,Natural range <>) of Boolean;
protected Organism is
entry Move(X,Y : Natural; is_infected : out Boolean);
function inArea(x,y:Natural) return Boolean;
proce... |
7,898 | ada | 5 | jhumphry/SPARK_SipHash | src/tests/test_siphash.adb | -- Test_SipHash
-- a short test program for an Ada implementation of the algorithm described in
-- "SipHash: a fast short-input PRF"
-- by <NAME> and <NAME>
-- Copyright (c) 2015, <NAME> - see LICENSE file for details
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
with Ada.Conta... |
7,899 | ada | 33 | ytomino/drake | source/directories/a-defina.adb | <filename>source/directories/a-defina.adb
with System.Native_Directories.File_Names;
function Ada.Directories.Equal_File_Names (
FS : Volumes.File_System;
Left, Right : String)
return Boolean is
begin
return System.Native_Directories.File_Names.Equal_File_Names (
FS,
Left,
Right);
end Ada.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.