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 |
|---|---|---|---|---|---|
2,600 | ada | 24 | svn2github/matreshka | tools/ayacc/src/symbol_info.adb | -- Copyright (c) 1990 Regents of the University of California.
-- All rights reserved.
--
-- The primary authors of ayacc were <NAME> and <NAME>.
-- Enhancements were made by <NAME>.
--
-- Send requests for ayacc information to <EMAIL>
-- Send bug reports for ayacc to <EMAIL>
--
-- Redistribution and use in... |
2,601 | ada | 0 | csb6/libtcod-ada | src/generated/list_h.ads | pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with System;
with Interfaces.C.Extensions;
package list_h is
-- BSD 3-Clause License
-- *
-- * Copyright © 2008-2021, Jice and the libtcod contributors.
-- * All rights reserved.
-- *
-- * Redistribution and use in source an... |
2,602 | ada | 0 | bracke/Meaning | source/RASCAL-ToolboxQuit.ads | --------------------------------------------------------------------------------
-- --
-- Copyright (C) 2004, RISC OS Ada Library (RASCAL) developers. --
-- ... |
2,603 | ada | 0 | faelys/natools | generated/natools-smaz_original_hash.ads | <reponame>faelys/natools
package Natools.Smaz_Original_Hash is
pragma Pure;
function Hash (S : String) return Natural;
end Natools.Smaz_Original_Hash;
|
2,604 | ada | 33 | ytomino/drake | examples/directories.adb | -- *** this line is for test ***
with Ada.Calendar;
with Ada.Credentials;
with Ada.Directories.Information;
with Ada.Directories.Temporary;
with Ada.Directories.Volumes;
with Ada.Text_IO;
procedure directories is
use type Ada.Calendar.Time;
use type Ada.Directories.File_Kind;
use type Ada.Directories.File_Size;
use... |
2,605 | ada | 1 | micahwelf/FLTK-Ada | src/fltk-widgets.ads | <gh_stars>1-10
with
FLTK.Images;
limited with
FLTK.Widgets.Groups.Windows;
private with
System.Address_To_Access_Conversions,
Ada.Unchecked_Conversion,
Interfaces.C;
package FLTK.Widgets is
type Widget is new Wrapper with private;
type Widget_Reference (Data : not null access Wid... |
2,606 | ada | 0 | fintatarta/pulsada | src/pulse/pulse_def_h.ads | <filename>src/pulse/pulse_def_h.ads
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
-- with stdint_h;
-- with x86_64_linux_gnu_bits_time_h;
with pulse_sample_h;
-- with x86_64_linux_gnu_sys_types_h;
with System;
package pulse_def_h is
PA_STREAM_EVENT_REQUEST_CORK : aliased constant String := "r... |
2,607 | ada | 0 | kisom/rover-mk1 | src/rosa/rosa-task_manager.ads | <reponame>kisom/rover-mk1<gh_stars>0
with Interfaces;
use Interfaces;
eackage ROSA.Task_Manager is
type Manager_Type is private;
private
type Manager_Type is record
Task_Count : Unsigned_8;
end record;
Manager : Manager_Type;
end ROSA.Task_Manager;
|
2,608 | ada | 2 | thindil/tashy2 | src/tk/tk-ttkentry.adb | <filename>src/tk/tk-ttkentry.adb
-- Copyright (c) 2021 <NAME> <<EMAIL>>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless r... |
2,609 | ada | 18 | jquorning/ada-wiki | samples/import.adb | <filename>samples/import.adb
-----------------------------------------------------------------------
-- import -- Import some HTML content and generate Wiki text
-- Copyright (C) 2015, 2016, 2020, 2021 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- yo... |
2,610 | ada | 0 | Fabien-Chouteau/bb_pico_bsp | example/src/bb_pico_example.adb | <filename>example/src/bb_pico_example.adb
with LVGL_Demo;
procedure BB_Pico_Example is
begin
LVGL_Demo.Run;
end BB_Pico_Example;
|
2,611 | ada | 1 | GambuzX/Pixy-SIW | pixy/src/host/pantilt_in_ada/specs/x86_64_linux_gnu_bits_types_h.ads | --
-- Copyright (c) 2015, <NAME> <<EMAIL>>
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above copyright
-- notice and this permission notice appear in all copies.
--
-- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUT... |
2,612 | ada | 1 | io7m/coreland-math_2d | math_2d-vectors.ads | with Math_2D.Types;
generic
with package Types is new Math_2D.Types (<>);
package Math_2D.Vectors is
function Inner_Product
(Vector_A : in Types.Vector_t;
Vector_B : in Types.Vector_t) return Types.Real_Type'Base
renames Types."*";
function Scalar_Product
(Vector_A : in Types.Vector_t;
V... |
2,613 | ada | 1 | LaudateCorpus1/RosettaCodeData | Task/Maximum-triangle-path-sum/Ada/maximum-triangle-path-sum.ada | with Ada.Text_Io; use Ada.Text_Io;
procedure Max_Sum is
Triangle : array (Positive range <>) of integer :=
(55,
94, 48,
95, 30, 96,
77, 71, 26, 67,
... |
2,614 | ada | 0 | sciencylab/lagrangian-solver | src/numerics-sparse_matrices-kronecker.adb | separate (Numerics.Sparse_Matrices)
function Kronecker (A, B : in Sparse_Matrix) return Sparse_Matrix is
Result : Sparse_Matrix;
N_Col : constant Pos := B.N_Col;
N_Row : constant Pos := B.N_Row;
Bl : Int_Array (1 .. N_Col);
Al : Integer;
Tmp : Nat := 1;
use Ada.Containers;
begin
Result.... |
2,615 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c6/c67005c.ada | <reponame>best08618/asylo
-- C67005C.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 contai... |
2,616 | ada | 1 | brucegua/moocos | tools/scitools/conf/understand/ada/ada95/a-swmwco.ads | ------------------------------------------------------------------------------
-- --
-- GNAT RUNTIME COMPONENTS --
-- --
-- A... |
2,617 | ada | 0 | sebsgit/textproc | src/tests/gpuinferencetests.adb | <filename>src/tests/gpuinferencetests.adb
with AUnit.Assertions; use AUnit.Assertions;
with Ada.Text_IO;
with System; use System;
with Ada.Containers; use Ada.Containers;
with opencl; use opencl;
with cl_objects;
with GpuInference;
with NeuralNet;
with MathUtils;
with Timer;
package body GpuInferenceTests is
proc... |
2,618 | ada | 0 | balintsoos/LearnAda | konz/konz1/demo.adb | with Rac;
use Rac;
procedure demo is
A : Raci := 5 / 4;
B : Raci := 3/2;
begin
kiir(A+B);
end demo;
|
2,619 | ada | 24 | svn2github/matreshka | config.tests/oci/main.adb | <filename>config.tests/oci/main.adb
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
2,620 | ada | 0 | fintatarta/eugen | src/Sym_Expr/test/test-full_test.adb | <gh_stars>0
----------------------------------------------------------------------------
-- Symbolic Expressions (symexpr)
--
-- Copyright (C) 2012, <NAME>
--
-- This file is part of symexpr.
--
-- symexpr is free software: you can redistribute it and/or modify
-- it under the te... |
2,621 | ada | 33 | ytomino/drake | examples/cmdline.adb | <filename>examples/cmdline.adb
with Ada.Command_Line;
with Ada.Environment_Variables;
procedure cmdline is
Count : Natural;
type String_Access is access String;
type Pair is record
Name, Value : String_Access;
end record;
Rec : array (1 .. 255) of Pair;
begin
Ada.Debug.Put (Ada.Command_Line.Command_Name);
-- i... |
2,622 | ada | 0 | xuedong/mini-ada | tests/typing/bad/testfile-assign-1.adb | <reponame>xuedong/mini-ada
with Ada.Text_IO; use Ada.Text_IO;
procedure Test is
X : Integer;
begin
X := 'a';
end;
|
2,623 | ada | 3 | albinjal/ada_basic | Lab2/lab2.adb | <filename>Lab2/lab2.adb
-- Ett givet huvudprogram för laboration 2.
-- Du skall inte ändra på den del som är given, endast lägga till.
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
--with Ada.Float_Text_IO; use Ada.Float_Text_IO;
with Ada.Numerics.Elementary_Functions; use Ada.N... |
2,624 | ada | 8 | darkestkhan/vt100 | src/vt100.ads | ------------------------------------------------------------------------------
-- EMAIL: <<EMAIL>> --
-- License: ISC License (see COPYING file) --
-- --
-- ... |
2,625 | ada | 0 | reznikmm/gela | source/oasis/program-contexts.ads | -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Compilation_Unit_Vectors;
package Program.Contexts is
pragma Pure;
type Context is limited interface;
-- The Context is a view of a particular imp... |
2,626 | ada | 12 | TUM-EI-RCS/StratoX | software/hal/boards/pixracer_v1/hil/hil-devices-nvram.ads | <gh_stars>10-100
-- Institution: Technische Universität München
-- Department: Realtime Computer Systems (RCS)
-- Project: StratoX
-- Module: Software Configuration
--
-- Authors: <NAME> (<EMAIL>)
with FM25v0x;
-- @summary
-- Target-specific types for the NVRAM in Pixracer V1.
package HIL.Devices.NVRAM wit... |
2,627 | ada | 80 | thindil/steamsky | src/items.ads | -- Copyright 2016-2021 <NAME>
--
-- This file is part of Steam Sky.
--
-- Steam Sky 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) a... |
2,628 | ada | 1 | gregorymorrison/euler1 | ada/euler1_1.adb | <reponame>gregorymorrison/euler1
-- Euler1 in Ada
with Ada.Text_IO;
with Ada.Integer_Text_IO;
procedure Euler1_1 is
function Euler(size : in Integer) return Integer is
result: Integer;
begin
result := 0;
for i in 1..size-1 loop
if i mod 3 = 0 or i mod 5 = 0 then
... |
2,629 | ada | 0 | JCGobbi/Nucleo-STM32G474RE | bb-runtimes/src/s-bbpara__zynqmp.ads | <filename>bb-runtimes/src/s-bbpara__zynqmp.ads
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
2,630 | ada | 0 | Tim-Tom/project-euler | Ada/src/Problem_47.adb | with Ada.Text_IO;
with PrimeInstances;
with Ada.Containers.Vectors;
package body Problem_47 is
package IO renames Ada.Text_IO;
package Positive_Primes renames PrimeInstances.Positive_Primes;
package Positive_Vectors is new Ada.Containers.Vectors(Index_Type => Positive,
... |
2,631 | ada | 0 | PThierry/ewok-kernel | src/arch/cores/armv7-m/m4-mpu.ads | --
-- Copyright 2018 The wookey project team <<EMAIL>>
-- - <NAME>
-- - Arnauld Michelizza
-- - Mathieu Renard
-- - <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 Lic... |
2,632 | ada | 1 | LaudateCorpus1/RosettaCodeData | Task/Sort-an-integer-array/Ada/sort-an-integer-array.ada | <filename>Task/Sort-an-integer-array/Ada/sort-an-integer-array.ada
with Gnat.Heap_Sort_G;
procedure Integer_Sort is
-- Heap sort package requires data to be in index values starting at
-- 1 while index value 0 is used as temporary storage
type Int_Array is array(Natural range <>) of Integer;
Values : Int_A... |
2,633 | ada | 20 | charlie5/lace | 3-mid/impact/source/3d/collision/narrowphase/impact-d3-collision-point_collector.ads | with impact.d3.collision.Detector.discrete;
package impact.d3.collision.point_Collector
--
--
--
is
type Item is new impact.d3.collision.Detector.discrete.Result with
record
m_normalOnBInWorld,
m_pointInWorld : math.Vector_3;
m_distance : math.Real := BT_LARGE_FLOAT;... |
2,634 | ada | 192 | rocher/Ada_Drivers_Library | arch/ARM/Nordic/svd/nrf51/nrf_svd-ficr.ads | -- Copyright (c) 2013, 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:
--
-- * Redistributions of source code must retain the above copyright notice, this
-- lis... |
2,635 | ada | 0 | djamal2727/Main-Bearing-Analytical-Model | Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-chzla9.ads | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
2,636 | ada | 24 | svn2github/matreshka | source/amf/mof/cmof/amf-cmof-multiplicity_elements.ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
2,637 | ada | 2 | corentingay/ada_epita | project/adl/arch/ARM/Nordic/drivers/nrf51-gpio.ads | <gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2016, AdaCore --
-- ... |
2,638 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/constant2_pkg2.adb | package body Constant2_Pkg2 is
function F1 return Boolean is
begin
return False;
end;
function F2 return Boolean is
begin
return False;
end;
end Constant2_Pkg2;
|
2,639 | ada | 33 | kqr/qweyboard | src/qweyboard/qweyboard-emulation.adb | package body Qweyboard.Emulation is
Return_Combo : Key_Sets.Set;
Backspace_Combo : Key_Sets.Set;
task body Timer_Task is
Next_Deadline : RT.Time;
begin
loop
Softboard.Get_Deadline (Next_Deadline);
delay until Next_Deadline;
Softboard.Timeout;
end loop;
end Ti... |
2,640 | ada | 80 | thindil/steamsky | src/ui/mainmenu-commands.adb | <filename>src/ui/mainmenu-commands.adb<gh_stars>10-100
-- Copyright (c) 2020-2021 <NAME> <<EMAIL>>
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (a... |
2,641 | ada | 30 | jrmarino/AdaBase | src/statements/adabase-statement-base-postgresql.adb | <reponame>jrmarino/AdaBase<filename>src/statements/adabase-statement-base-postgresql.adb<gh_stars>10-100
-- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../../License.txt
package body AdaBase.Statement.Base.PostgreSQL is
------------------------
-- reformat_markers --... |
2,642 | ada | 2 | godunko/adawebui | source/core/web-core-connectables-slots_0-emitters.adb | <reponame>godunko/adawebui<gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
2,643 | ada | 1 | vidkidz/crossbridge | llvm-gcc-4.2-2.9/gcc/ada/s-wchstw.ads | <reponame>vidkidz/crossbridge<gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
2,644 | ada | 19 | pmderodat/ada-toml | src/toml-file_io.adb | <filename>src/toml-file_io.adb
with Ada.Exceptions;
with TOML.Generic_Dump;
with TOML.Generic_Parse;
package body TOML.File_IO is
procedure Get
(Stream : in out Ada.Text_IO.File_Type;
EOF : out Boolean;
Byte : out Character);
-- Callback for Parse_File
function Parse_File is new TOML... |
2,645 | ada | 81 | My-Colaborations/ada-awa | awa/plugins/awa-jobs/src/awa-jobs.ads | <gh_stars>10-100
-----------------------------------------------------------------------
-- awa-jobs -- AWA Jobs
-- Copyright (C) 2012, 2015, 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 compliance with... |
2,646 | ada | 1 | mullikine/RosettaCodeData | Task/QR-decomposition/Ada/qr-decomposition.ada | with Ada.Text_IO; use Ada.Text_IO;
with Ada.Numerics.Real_Arrays; use Ada.Numerics.Real_Arrays;
with Ada.Numerics.Generic_Elementary_Functions;
procedure QR is
procedure Show (mat : Real_Matrix) is
package FIO is new Ada.Text_IO.Float_IO (Float);
begin
for row in mat'Range (1) loop
for col i... |
2,647 | ada | 15 | My-Colaborations/dynamo | src/gnat/sinput-p.ads | <reponame>My-Colaborations/dynamo<gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
2,648 | ada | 0 | persan/dds-requestreply | tests/simpleOO/src/dds-request_reply-tests-simple-octets_replier.ads | <filename>tests/simpleOO/src/dds-request_reply-tests-simple-octets_replier.ads
with DDS.Request_Reply.Replier.Typed_Replier_Generic;
with Dds.Builtin_Octets_DataReader;
with Dds.Builtin_Octets_DataWriter;
package DDS.Request_Reply.Tests.Simple.Octets_Replier is new
DDS.Request_Reply.Replier.Typed_Replier_Generic
... |
2,649 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/array16.adb | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/array16.adb
-- { dg-do compile }
-- { dg-options "-O -gnatn -fdump-tree-optimized" }
package body Array16 is
function F1 (A : access My_T1) return My_T1 is
begin
return A.all;
end;
function F2 (A : access My_T2) return My_T2 is
begin
return A.al... |
2,650 | ada | 30 | jscparker/math_packages | fourier/fourier8_demo_1.adb |
-- Procedure tests Fourier8. Code fragments
-- demonstrate some features of FFT's.
with Fourier8;
with Text_IO; use Text_IO;
with Ada.Numerics.Generic_Elementary_Functions;
procedure fourier8_demo_1 is
type Real is digits 15;
package math is new Ada.Numerics.Generic_Elementary_Functions (Real);
use math... |
2,651 | ada | 4 | ddugovic/words | word_parameters.adb | <reponame>ddugovic/words<filename>word_parameters.adb
with STRINGS_PACKAGE; use STRINGS_PACKAGE;
with LATIN_FILE_NAMES; use LATIN_FILE_NAMES;
with CONFIG; use CONFIG;
with PREFACE;
pragma Elaborate(PREFACE);
package body WORD_PARAMETERS is
use TEXT_IO;
type HELP_TYPE is array (NATURAL range <>) of STRING(1... |
2,652 | ada | 1 | reznikmm/network | source/network-managers.ads | -- SPDX-FileCopyrightText: 2021 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with League.String_Vectors;
with League.Strings;
with Network.Addresses;
with Network.Connections;
with Network.Connection_Promises;
with Network.Polls;
package Network.... |
2,653 | ada | 20 | charlie5/lace | 3-mid/opengl/source/lean/opengl-palette.adb | with
ada.Numerics.discrete_Random;
package body openGL.Palette
is
package random_Colors is new ada.Numerics.discrete_Random (Color_Value);
use random_Colors;
the_Generator : random_Colors.Generator;
function random_Color return Color
is
begin
return (random (the_Generator),
... |
2,654 | ada | 0 | orb-zhuchen/Orb | support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-poosiz.adb | <reponame>orb-zhuchen/Orb<gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
2,655 | ada | 0 | twdroeger/ada-awa | awa/plugins/awa-sysadmin/src/awa-sysadmin-modules.adb | -----------------------------------------------------------------------
-- awa-sysadmin-modules -- Module sysadmin
-- Copyright (C) 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 with the License.
--... |
2,656 | ada | 0 | Fabien-Chouteau/sdlada | src/sdl-video-surfaces.adb | <reponame>Fabien-Chouteau/sdlada
--------------------------------------------------------------------------------------------------------------------
-- Copyright (c) 2013-2020, <NAME>
--
-- This software is provided 'as-is', without any express or implied
-- warranty. In no event will the authors be held liable for... |
2,657 | ada | 79 | Roldak/OpenGLAda | src/gl/interface/gl-objects-vertex_arrays.ads | <filename>src/gl/interface/gl-objects-vertex_arrays.ads
-- part of OpenGLAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
package GL.Objects.Vertex_Arrays is
type Vertex_Array_Object is new GL_Object with private;
procedure Bind (Object : Vertex_Array_Object);
p... |
2,658 | ada | 0 | JCGobbi/Nucleo-STM32G474RE | bb-runtimes/src/s-bcpcst__armvXm.ads | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
2,659 | ada | 4 | sparre/ALSA-binding | src/sound-mono.ads | <filename>src/sound-mono.ads
-- The Beer-Ware License (revision 42)
--
-- <NAME> <<EMAIL>> wrote this. As long as you
-- retain this notice you can do whatever you want with this stuff. If we meet
-- some day, and you think this stuff is worth it, you can buy me a beer in
-- return.
--
-- <NAME>
private with Sou... |
2,660 | ada | 80 | enfoTek/tomato.linksys.e2000.nvram-mod | tools-src/gnu/gcc/gcc/ada/5otaprop.adb | ------------------------------------------------------------------------------
-- --
-- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
2,661 | ada | 1 | LaudateCorpus1/RosettaCodeData | Task/Matrix-multiplication/Ada/matrix-multiplication-1.ada | with Ada.Text_IO; use Ada.Text_IO;
with Ada.Numerics.Real_Arrays; use Ada.Numerics.Real_Arrays;
procedure Matrix_Product is
procedure Put (X : Real_Matrix) is
type Fixed is delta 0.01 range -100.0..100.0;
begin
for I in X'Range (1) loop
for J in X'Range (2) loop
P... |
2,662 | ada | 0 | fuzzysloth/ada-awa | awa/plugins/awa-comments/src/model/awa-comments-models.adb | -----------------------------------------------------------------------
-- AWA.Comments.Models -- AWA.Comments.Models
-----------------------------------------------------------------------
-- File generated by ada-gen DO NOT MODIFY
-- Template used: templates/model/package-body.xhtml
-- Ada Generator: https://ada-... |
2,663 | ada | 10 | jrmarino/libsodium-ada | Binding_Sodium/sodium-thin_binding.ads | <reponame>jrmarino/libsodium-ada
-- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
with System;
with Interfaces.C.Strings;
package Sodium.Thin_Binding is
package IC renames Interfaces.C;
package ICS renames Interfaces.C.Strings;
------------------
... |
2,664 | ada | 1 | mulander/crawler | src/main.adb | -- Copyright (c) 2012, mulander <<EMAIL>>
-- All rights reserved.
-- Use of this source code is governed by a BSD-style license that can be
-- found in the LICENSE file.
with Terminal_Interface.Curses;
with Crawler_Interface;
with Crawler.Entities;
procedure Main
is
package Curses renames Terminal_Interface.Curses;... |
2,665 | ada | 0 | Tim-Tom/project-euler | Ada/src/Problem_24.adb | with Ada.Integer_Text_IO;
with Ada.Text_IO;
package body Problem_24 is
package IO renames Ada.Text_IO;
package I_IO renames Ada.Integer_Text_IO;
procedure Solve is
subtype digit is Natural range 0 .. 9;
chosen : Array (digit) of Boolean;
unchosen : digit := 9;
remaining : Natural := 1_0... |
2,666 | ada | 0 | Lucretia/old_nehe_ada95 | thirdparty/adasdl/thin/adasdl/AdaSDL_framebuff/sdltests/testhread.adb |
-- ----------------------------------------------------------------- --
-- --
-- This is free software; you can redistribute it and/or --
-- modify it under the terms of the GNU General Public --
-- License as published by the ... |
2,667 | ada | 1 | vidkidz/crossbridge | llvm-gcc-4.2-2.9/gcc/ada/s-imglld.adb | <gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
2,668 | ada | 1 | charlie5/lace-alire | 3-mid/opengl/source/lean/model/opengl-model-terrain.adb | <reponame>charlie5/lace-alire<filename>3-mid/opengl/source/lean/model/opengl-model-terrain.adb<gh_stars>1-10
with
openGL.Geometry.lit_textured,
openGL.Primitive.indexed,
openGL.Texture.Coordinates,
openGL.IO,
ada.unchecked_Deallocation;
package body openGL.Model.terrain
is
use Texture;
... |
2,669 | ada | 0 | Tim-Tom/project-euler | Ada/src/Problem_74.adb | <gh_stars>0
with Ada.Text_IO;
package body Problem_74 is
package IO renames Ada.Text_IO;
factorial_cache : constant Array(0 .. 9) of Integer := (1, 1, 2, 6, 24, 120, 720, 5_040, 40_320, 362_880);
type count is new Integer range -1 .. 127;
for count'size use 8;
type count_cache_array is Array(Positive ran... |
2,670 | ada | 2 | morbos/Ada_Drivers_Library | arch/ARM/STM32/driversL1/stm32-crc.adb | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2017, AdaCore --
-- --
-- ... |
2,671 | ada | 20 | charlie5/lace | 3-mid/impact/source/3d/collision/shapes/impact-d3-shape-convex-internal-polyhedral-triangle.adb | with impact.d3.collision.Proxy,
impact.d3.Vector;
package body impact.d3.Shape.convex.internal.polyhedral.triangle
is
use impact.d3.collision.Proxy;
function to_triangle_Shape return impact.d3.Shape.convex.internal.polyhedral.triangle.item
is
Self : impact.d3.Shape.convex.internal.polyhed... |
2,672 | ada | 0 | oscaromeu/FMCW-Radar | Software/FMCWSimulation/dg_radar_wrk/workspace.ads | <ADSWorkspace Revision="13" Version="100">
<Workspace Name="">
<Library Name="ads_sources" />
<Library Name="ads_tlines" />
<Library Name="ads_bondwires" />
<Library Name="ads_behavioral" />
<Library Name="ads_textfonts" />
<Library Name="ads_common_cmps" />
... |
2,673 | ada | 1 | BrentSeidel/BBS-Ada | bbs-info.ads | package BBS.info is
pragma Pure;
--
-- This file is auto generated by the build script. It should not
-- be edited by hand.
--
name : constant String := "Tiny Lisp";
timestamp : constant String := "Fri Sep 3 09:03:26 MST 2021";
build_date : constant String := "2021-Sep-... |
2,674 | ada | 0 | My-Colaborations/ada-keystore | regtests/keystore-tests.ads | -----------------------------------------------------------------------
-- keystore-tests -- Tests for akt command
-- Copyright (C) 2019, 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 Licen... |
2,675 | ada | 0 | djamal2727/Main-Bearing-Analytical-Model | Validation/pyFrame3DD-master/gcc-master/gcc/ada/cstand.adb | <reponame>djamal2727/Main-Bearing-Analytical-Model<gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
2,676 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/ada/ceinfo.adb | <filename>gcc-gcc-7_3_0-release/gcc/ada/ceinfo.adb
------------------------------------------------------------------------------
-- --
-- GNAT SYSTEM UTILITIES --
-- ... |
2,677 | ada | 0 | AntonMeep/sha1 | src/sha1.ads | <gh_stars>0
with Ada.Streams; use Ada.Streams;
with Interfaces;
package SHA1 with
Pure,
Preelaborate,
SPARK_Mode => On
is
-- @summary
-- Secure Hash Algorithm 1 implementation in Ada/SPARK
--
-- @description
-- This package provides an implementation of SHA1 algorithm
pragma Compile_Tim... |
2,678 | ada | 1 | TNO/Rejuvenation-Ada | src/rejuvenation-parameters.adb | with Ada.Assertions; use Ada.Assertions;
with Ada.Strings.Equal_Case_Insensitive;
with Ada.Text_IO; use Ada.Text_IO;
with Rejuvenation.Utils; use Rejuvenation.Utils;
package body Rejuvenation.Parameters is
function To_Param_Default_Array
(Children : Ada_Node_Array; Default_Expr : Expr)
return... |
2,679 | ada | 0 | usainzg/EHU | MP/LAB_001_Opt/Ver_Numero_Apariciones_Opcional.adb | WITH Ada.Text_Io; USE Ada.Text_Io;
WITH Ada.Integer_Text_Io; USE Ada.Integer_Text_Io;
procedure Ver_Num_Apariciones_Opcional is
-- salida: 11 enteros(SE)
-- post: corresponden a cada uno de los casos de pruebas dise�ados.
-- pre: { True }
function Num_Apariciones_Caracter (
S : String;
L ... |
2,680 | ada | 286 | auzkok/libagar | ada/original_2008/ada-gui/agar-gui-colors.ads | with agar.core.types;
package agar.gui.colors is
type color_selection_t is (
BG_COLOR,
FRAME_COLOR,
LINE_COLOR,
TEXT_COLOR,
WINDOW_BG_COLOR,
WINDOW_HI_COLOR,
WINDOW_LO_COLOR,
TITLEBAR_FOCUSED_COLOR,
TITLEBAR_UNFOCUSED_COLOR,
TITLEBAR_CAPTION_COLOR,
BUTTON_COLOR,
BUTTO... |
2,681 | ada | 20 | charlie5/lace | 3-mid/impact/source/3d/dynamics/joints/impact-d3-joint-contact.ads | <filename>3-mid/impact/source/3d/dynamics/joints/impact-d3-joint-contact.ads
with impact.d3.Joint;
with impact.d3.Manifold;
with impact.d3.Object.rigid;
with impact.d3.Object;
with impact.d3.contact_solver_Info;
-- #include "LinearMath/impact.d3.Vector.h"
-- #include "impact.d3.jacobian_Entry.h"
-- #include "impac... |
2,682 | ada | 0 | GLADORG/template-compiler | src/compiler.ads | <filename>src/compiler.ads
with GNATCOLL.Strings_Impl, Ada.Wide_Wide_Characters.Handling, Ada.Characters,Ada.Containers.Doubly_Linked_Lists;
use Ada.Wide_Wide_Characters.Handling;
package Compiler is
package aString is new GNATCOLL.Strings_Impl.Strings
(SSize => GNATCOLL.Strings_Impl.Optimal_Strin... |
2,683 | ada | 5 | jhumphry/auto_counters | src/counters/protected_counters.adb | -- protected_counters.adb
-- Task safe counters for use with smart_ptrs
-- Copyright (c) 2016, <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
-- copyright notice and this permission notice appear in all cop... |
2,684 | ada | 2 | morbos/Ada_Drivers_Library | arch/ARM/NXP/svd/lpc55s6x/nxp_svd-flash_key_store.ads | <reponame>morbos/Ada_Drivers_Library
-- 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_S... |
2,685 | ada | 24 | svn2github/matreshka | source/league/matreshka-internals-strings-handlers.adb | <filename>source/league/matreshka-internals-strings-handlers.adb
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
2,686 | ada | 1 | ForYouEyesOnly/Space-Convoy | Sources/Globe_3d/models/box.adb | pragma Style_Checks (Off);
pragma Warnings (Off);
with GL;
with GLOBE_3D.Textures;
-- with Ada.Numerics; use Ada.Numerics;
package body Box is
package g3d renames GLOBE_3D;
procedure Create (object : in out GLOBE_3D.p_Object_3D;
Sides : GLOBE_3D.Vector_3D := (1... |
2,687 | ada | 488 | ouankou/rose | tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/ordinary_type_declaration_range_constraint.ads | <gh_stars>100-1000
package ordinary_type_declaration_range_constraint is
type Ordinary_Type is range 1..10;
end ordinary_type_declaration_range_constraint;
|
2,688 | ada | 0 | alire-project/sdlada | src/sdl-inputs-keyboards.ads | <gh_stars>0
--------------------------------------------------------------------------------------------------------------------
-- Copyright (c) 2013-2018 <NAME>
--
-- This software is provided 'as-is', without any express or implied
-- warranty. In no event will the authors be held liable for any damages
-- arisi... |
2,689 | ada | 45 | alkalinin/raytracer | ada/src/objects.adb | --
-- Raytracer implementation in Ada
-- by <NAME> (github: johnperry-math)
-- 2021
--
-- implementation for Objects that may appear in the scene
--
pragma Ada_2020;
-- Ada packages
with Ada.Numerics.Generic_Elementary_Functions;
-- local packages
with RayTracing_Constants; use RayTracing_Constants;
with RayTracer... |
2,690 | ada | 2 | morbos/Ada_Drivers_Library | arch/ARM/STM32/svd/stm32wl5x_cm4/stm32_svd-flash.ads | <gh_stars>1-10
-- This spec has been automatically generated from STM32WL5x_CM4.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package STM32_SVD.Flash is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype A... |
2,691 | ada | 52 | onox/orka | orka/src/orka/interface/orka-rendering-buffers.ads | <reponame>onox/orka
-- 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://www.apache.org/li... |
2,692 | ada | 1 | fabiojna02/OpenCellular | firmware/coreboot/3rdparty/libgfxinit/common/g45/hw-gfx-gma-connectors.adb | <filename>firmware/coreboot/3rdparty/libgfxinit/common/g45/hw-gfx-gma-connectors.adb
--
-- Copyright (C) 2015-2016 secunet Security Networks AG
-- Copyright (C) 2016 <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 pub... |
2,693 | ada | 20 | charlie5/lace | 3-mid/opengl/source/platform/glx/opengl-surface_profile.adb | <gh_stars>10-100
with
interfaces.C,
ada.unchecked_Conversion;
package body openGL.surface_Profile -- TODO: Finish this package.
is
use Interfaces,
GLX;
visual_Attributes : array (Positive range <>) of aliased C.int := (GLX_X_RENDERABLE, 1,
... |
2,694 | ada | 80 | thindil/steamsky | src/ui/table.ads | <filename>src/ui/table.ads
-- Copyright (c) 2021 <NAME> <<EMAIL>>
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.... |
2,695 | ada | 1 | vidkidz/crossbridge | llvm-gcc-4.2-2.9/gcc/ada/bindgen.adb | <reponame>vidkidz/crossbridge
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
2,696 | ada | 0 | AntonMeep/endianness | src/endianness.adb | pragma Ada_2012;
with Ada.Unchecked_Conversion;
with GNAT.Byte_Swapping;
with System; use System;
package body Endianness is
pragma Compile_Time_Error
(Stream_Element'Modulus /= 2**8,
"'Stream_Element' type must be mod 2**8, i.e. represent a byte");
generic
type Source is (<>);
function Spl... |
2,697 | ada | 3 | daveshields/AdaEd | demos/test.ada | with text_io; use text_io;
procedure main is
begin
put_line("It works!");
end main;
|
2,698 | ada | 1 | mimo/Tracker | tracker-presentation.ads | <filename>tracker-presentation.ads<gh_stars>1-10
with Surface.Window;
package tracker.presentation is
type instance is new Surface.Window.Instance with record
Book_Completion : Collection;
end record;
overriding procedure Setup (self : in out instance);
overriding procedure Update (self : in out in... |
2,699 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/wide_pi.adb | -- { dg-do compile }
-- { dg-options "-gnatW8" }
with Ada.Numerics;
procedure wide_pi is
begin
null;
end;
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.