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 |
|---|---|---|---|---|---|
30,900 | ada | 0 | bee-Michi/Hello-World-Mania | src/a/ada.adb | -- Using text_io
with Text_IO;
procedure Hello_World is
-- begin the brogram
begin
-- Output
Text_IO.Put_line("Hello World!");
-- Enf
end Hello_World; |
30,901 | ada | 60 | RREE/ada-util | src/base/commands/util-commands-consoles.ads | <reponame>RREE/ada-util
-----------------------------------------------------------------------
-- util-commands-consoles -- Console interface
-- Copyright (C) 2014, 2015, 2017, 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this ... |
30,902 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/ada/a-cfdlli.ads | ------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- ... |
30,903 | ada | 1 | micahwelf/FLTK-Ada | src/fltk-devices-surfaces-copy.ads |
with
FLTK.Widgets.Groups.Windows;
package FLTK.Devices.Surfaces.Copy is
type Copy_Surface is new Surface_Device with private;
type Copy_Surface_Reference (Data : not null access Copy_Surface'Class) is
limited null record with Implicit_Dereference => Data;
package Forge is
fu... |
30,904 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt50_pkg.ads | <reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt50_pkg.ads
package Opt50_Pkg is
type Enum is (One, Two, Three);
for Enum'Size use 16;
type Enum_Boolean_Array is array (Enum range <>) of Boolean;
procedure Get (Kind : String; Result : out Enum; Success : out Boolean);
... |
30,905 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/a/a85013b.ada | -- A85013B.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... |
30,906 | ada | 24 | svn2github/matreshka | source/amf/uml/amf-visitors-umldi_iterators.ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
30,907 | ada | 0 | strenkml/EE368 | memsim-master/src/memory-prefetch.adb | <gh_stars>0
package body Memory.Prefetch is
function Create_Prefetch(mem : access Memory_Type'Class;
stride : Address_Type := 1)
return Prefetch_Pointer is
result : constant Prefetch_Pointer := new Prefetch_Type;
begin
result.stride ... |
30,908 | ada | 1 | vidkidz/crossbridge | llvm-gcc-4.2-2.9/gcc/ada/sem_ch3.ads | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
30,909 | ada | 9 | ajnavarro/language-dataset | data/github.com/janverschelde/PHCpack/2666077c7461478d61ddaf87cb713fe5d569e7ff/src/Ada/Math_Lib/Matrices/varbprec_matrix_conversions.ads | <reponame>ajnavarro/language-dataset<gh_stars>1-10
with Standard_Natural_Numbers; use Standard_Natural_Numbers;
with Standard_Floating_Matrices;
with Standard_Complex_Matrices;
with Double_Double_Matrices;
with Quad_Double_Matrices;
with Multprec_Floating_Matrices;
with DoblDobl_Complex_Matrices;
with QuadDob... |
30,910 | ada | 25 | My-Colaborations/ada-keystore | src/keystore-files.ads | <reponame>My-Colaborations/ada-keystore<filename>src/keystore-files.ads
-----------------------------------------------------------------------
-- keystore-files -- Ada keystore files
-- Copyright (C) 2019, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License... |
30,911 | ada | 80 | enfoTek/tomato.linksys.e2000.nvram-mod | tools-src/gnu/gcc/gcc/ada/exp_ch8.adb | <reponame>enfoTek/tomato.linksys.e2000.nvram-mod<gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
30,912 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/rep_clause5.adb | -- { dg-do compile }
-- { dg-options "-O" }
package body Rep_Clause5 is
function To_LNumber(S : String) return LNumber_Type is
V : VString;
LV : Long_Type;
LN : LNumber_Type;
begin
LV := To_Long(V, 10);
LN := LNumber_Type(LV);
return LN;
end;
procedure... |
30,913 | ada | 0 | optikos/oasis | source/oasis/program-elements-defining_identifiers.ads | -- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Element_Vectors;
with Program.Elements.Defining_Names;
with Program.Lexical_Elements;
package Program.Elements.Defining_Identifiers is
... |
30,914 | ada | 4 | faelys/gela-asis | tools/xml2ayacc/encoding/encodings-unicode.adb | <gh_stars>1-10
--------------------------------------------------------
-- E n c o d i n g s --
-- --
-- Tools for convertion strings between Unicode and --
-- national/vendor character sets. --
-- - ... |
30,915 | ada | 33 | ytomino/drake | source/ada83/sequenio.ads | pragma License (Unrestricted);
with Ada.Sequential_IO;
generic package Sequential_IO renames Ada.Sequential_IO;
|
30,916 | ada | 0 | Lucretia/old_nehe_ada95 | thirdparty/adasdl/thin/adasdl/AdaSDL_framebuff/sdl_framebuffer_generics.adb |
-- ----------------------------------------------------------------- --
-- AdaSDL_Framebuffer --
-- Copyright (C) 2001 A.M.F.Vargas --
-- <NAME> --
-- Ponta Delgada - Azores - Po... |
30,917 | ada | 33 | ytomino/drake | source/containers/a-cohata.ads | <gh_stars>10-100
pragma License (Unrestricted);
-- implementation unit
with System;
private package Ada.Containers.Hash_Tables is
pragma Preelaborate;
Node_Size : constant := Standard'Address_Size + Hash_Type'Size * 2;
type Node;
type Node_Access is access Node;
type Node is limited record
Next ... |
30,918 | ada | 0 | joffreyhuguet/LmcpGen | ada/src/afrl/cmasi/afrl-cmasi-operatingregion.adb | package body afrl.cmasi.operatingRegion is
function getFullLmcpTypeName(this : OperatingRegion) return String is ("afrl.cmasi.operatingRegion.OperatingRegion");
function getLmcpTypeName(this : OperatingRegion) return String is ("OperatingRegion");
function getLmcpType(this : OperatingRegion) return UInt32_t... |
30,919 | ada | 1 | ekoeppen/STM32_Generic_Ada_Drivers | examples/stm32f0/rtc/rtc_irq.ads | <filename>examples/stm32f0/rtc/rtc_irq.ads
with Ada.Interrupts.Names; use Ada.Interrupts.Names;
with Ada.Synchronous_Task_Control; use Ada.Synchronous_Task_Control;
package RTC_IRQ is
Alarm_Occurred : Suspension_Object;
protected Handler is
pragma Interrupt_Priority;
private
procedure IR... |
30,920 | ada | 0 | Fabien-Chouteau/ASFML | include/sf-network-tcplistener.ads | --//////////////////////////////////////////////////////////
-- SFML - Simple and Fast Multimedia Library
-- Copyright (C) 2007-2015 <NAME> (<EMAIL>)
-- This software is provided 'as-is', without any express or implied warranty.
-- In no event will the authors be held liable for any damages arising from the use of this... |
30,921 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c34005o.ada | <gh_stars>1-10
-- C34005O.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.... |
30,922 | ada | 0 | djamal2727/Main-Bearing-Analytical-Model | Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-shabig.ads | <reponame>djamal2727/Main-Bearing-Analytical-Model
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
30,923 | ada | 0 | caqg/linux-home | .emacs.d/elpa/wisi-3.1.3/sal-gen_bounded_definite_vectors.adb | -- Abstract :
--
-- See spec.
--
-- Copyright (C) 2017 - 2019 Free Software Foundation, Inc.
--
-- This library is free software; you can redistribute it and/or modify it
-- under terms of the GNU General Public License as published by the Free
-- Software Foundation; either version 3, or (at your option) ... |
30,924 | ada | 0 | SSOCsoft/Log_Reporter | src/nso-types-report_objects-weather_report.ads | <gh_stars>0
With
NSO.JSON,
Ada.Containers.Ordered_Maps,
Ada.Containers.Indefinite_Ordered_Maps,
Ada.Calendar,
Gnoga.Gui.Base,
Gnoga.Gui.Element.Form,
Gnoga.Gui.Element.Common;
Limited with
Report_Form;
Package NSO.Types.Report_Objects.Weather_Report with Elaborate_Body is
-----------------
-- CONSTANTS --
... |
30,925 | ada | 22 | FardaleM/metalang | out/euler31.adb |
with ada.text_io, ada.Integer_text_IO, Ada.Text_IO.Text_Streams, Ada.Strings.Fixed, Interfaces.C;
use ada.text_io, ada.Integer_text_IO, Ada.Strings, Ada.Strings.Fixed, Interfaces.C;
procedure euler31 is
type stringptr is access all char_array;
procedure PInt(i : in Integer) is
begin
String'Write (Text_Streams.Str... |
30,926 | ada | 33 | ytomino/drake | source/textio/a-llctio.ads | pragma License (Unrestricted);
with Ada.Numerics.Long_Long_Complex_Types;
with Ada.Text_IO.Complex_IO;
package Ada.Long_Long_Complex_Text_IO is
new Text_IO.Complex_IO (Numerics.Long_Long_Complex_Types);
|
30,927 | ada | 0 | melwyncarlo/ProjectEuler | problems/011/a011.adb | with Ada.Integer_Text_IO;
-- Copyright 2021 <NAME>
procedure A011 is
use Ada.Integer_Text_IO;
type Array_1D_Bool is array (Integer range 1 .. 3) of Boolean;
type Array_2D_Int is array (Integer range 1 .. 20,
Integer range 1 .. 20) of Integer;
Is_RC_Safe : Array_1D_Boo... |
30,928 | ada | 1 | LaudateCorpus1/RosettaCodeData | Task/Semordnilap/Ada/semordnilap-2.ada | package body String_Vectors is
function Is_In(List: Vec;
Word: String;
Start: Positive; Stop: Natural) return Boolean is
Middle: Positive;
begin
if Start > Stop then
return False;
else
Middle := (Start+Stop) / 2;
if List.Element(... |
30,929 | ada | 0 | JCGobbi/Nucleo-STM32G474RE | ADL/drivers/stm32g474/stm32-dac.ads | <filename>ADL/drivers/stm32g474/stm32-dac.ads
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015, AdaCore --
-- ... |
30,930 | ada | 12 | TUM-EI-RCS/StratoX | software/hal/boards/common/hil/hil-uart.ads | <reponame>TUM-EI-RCS/StratoX
-- Institution: Technische Universitaet Muenchen
-- Department: Realtime Computer Systems (RCS)
-- Project: StratoX
--
-- Authors: <NAME> (<EMAIL>)
with HIL.Devices;
-- @summary
-- Target-independent specification for HIL of UART
package HIL.UART with
Spark_Mode
is
BUFFER_... |
30,931 | ada | 1 | LaudateCorpus1/RosettaCodeData | Task/Fibonacci-word/Ada/fibonacci-word.ada | <filename>Task/Fibonacci-word/Ada/fibonacci-word.ada
with Ada.Text_IO, Ada.Integer_Text_IO, Ada.Strings.Unbounded,
Ada.Strings.Unbounded.Text_IO, Ada.Numerics.Long_Elementary_Functions,
Ada.Long_Float_Text_IO;
use Ada.Text_IO, Ada.Integer_Text_IO, Ada.Strings.Unbounded,
Ada.Strings.Unbounded.Text_IO, Ada.Numeric... |
30,932 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cd/cd3014c.ada | -- CD3014C.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... |
30,933 | ada | 7,053 | Elon143/Amass | resources/scripts/api/sonarsearch.ads | <reponame>Elon143/Amass
-- Copyright 2021 <NAME>. All rights reserved.
-- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
local json = require("json")
name = "SonarSearch"
type = "api"
function start()
set_rate_limit(1)
end
function vertical(ctx, domain)
local ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.