CombinedText
stringlengths
4
3.42M
with gel.Window.setup, gel.Applet.gui_world, gel.Forge, gel.Sprite, gel.World, gel.Camera, gel.Keyboard, Physics, openGL.Palette, openGL.Model.text, float_Math.Random, lace.Event, lace.Response, lace.Event.utility, Ada.Text_IO, Ada.Exce...
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- package body Program.Nodes.Formal_Object_Declarations is function Create (Names : not null Program.Elements.Defining_Identifiers ...
----------------------------------------------------------------------- -- css-core-sheets -- CSS stylesheet representation -- Copyright (C) 2017 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this f...
with Ada.Text_IO; use Ada.Text_IO; with GNAT.Sockets; use GNAT.Sockets; procedure DNSQuerying is Host : Host_Entry_Type (1, 1); Inet_Addr_V4 : Inet_Addr_Type (Family_Inet); begin Host := Get_Host_By_Name (Name => "www.kame.net"); Inet_Addr_V4 := Addresses (Host); Put ("IPv4: " & Image...
------------------------------------------------------------------------------ -- -- -- Ada binding for OpenGL/WebGL -- -- -- -- ...
-- This file is generated by SWIG. Please do not modify by hand. -- with Interfaces.C; with Interfaces.C; with Interfaces.C.Pointers; package xcb.xcb_glx_get_floatv_cookie_t is -- Item -- type Item is record sequence : aliased Interfaces.C.unsigned; end record; -- Item_Array -- type Item_...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------ USANDO IN OUT - ERROR procedure Hello is a: Integer: b: Float := 2.0 ; c; Boolean := false; function uno(a,b:out Boolean; x,y :in Integer) return Boolean is begin Put(one); return a; end uno; function dos(a,,: in out Float; x,y :in Integer) return Bo...
-- -- Copyright 2018 The wookey project team <wookey@ssi.gouv.fr> -- - Ryad Benadjila -- - Arnauld Michelizza -- - Mathieu Renard -- - Philippe Thierry -- - Philippe Trebuchet -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the...
pragma License (Unrestricted); -- implementation unit specialized for Windows with C.windef; package System.Native_Time is pragma Preelaborate; -- representation type Nanosecond_Number is range -(2 ** (Duration'Size - 1)) .. 2 ** (Duration'Size - 1) - 1; for Nanosecond_Number'Size use Duration'Siz...
-- C37217A.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...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
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...
func add(one, two): return one+two; let num = 5; if :&add(5.2, 5):+5 > num { print_expr num; print_str <s>; print_expr_ln :&add(5.2, 5):+5; }
<ADSWorkspace Revision="7" Version="100"> <Workspace Name=""> <Library Name="1xEV" /> <Library Name="3GPPFDD" /> <Library Name="3GPPFDD_10_99" /> <Library Name="Antennas_and_Propagation" /> <Library Name="CDMA" /> <Library Name="CMMB" /> <Library Name="Circuit...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
with Ada.Numerics; use Ada.Numerics; with Ada.Numerics.Float_Random; use Ada.Numerics.Float_Random; with Ada.Numerics.Elementary_Functions; use Ada.Numerics.Elementary_Functions; procedure Normal_Random is function Normal_Distribution ( Seed : Generator; ...
-- Copyright 2007-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 Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- ...
------------------------------------------------------------------------------ -- Copyright (c) 2017, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- p...
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Defining_Identifiers; with Program.Lexical_Elements; with Program.Elements.Component_Definitions; with Program.Elements.Expressions; w...
with System.Machine_Code; with AVR.USART; with AVR.TWI; with AVR.TIMERS.CLOCK; -- ============================================================================= -- Package body AVR.INTERRUPTS -- ============================================================================= package body AVR.INTERRUPTS is procedure En...
----------------------------------------------------------------------- -- awa-permissions-services -- Permissions controller -- Copyright (C) 2011, 2012, 2013, 2017 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- yo...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2016, AdaCore -- -- -- -- ...
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Lexical_Elements; with Program.Elements.Select_Paths; with Program.Element_Vectors; with Program.Elements.Select_Statemen...
package Ports is end Ports;
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015, AdaCore -- -- -- -- ...
-- This package is intended to set up and tear down the test environment. -- Once created by GNATtest, this package will never be overwritten -- automatically. Contents of this package can be modified in any way -- except for sections surrounded by a 'read only' marker. with Ada.Containers.Vectors.Test_Data; with...
-- Copyright 2014-2021 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- ...
------------------------------------------------------------------------------- -- package Gamma, Log of Gamma Function -- Copyright (C) 1995-2018 Jonathan S. Parker -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby granted, provided that the above ...
----------------------------------------------------------------------- -- wiki-plugins-template -- Template Plugin -- Copyright (C) 2016, 2020 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this fil...
------------------------------------------------------------------------------ -- -- -- Giza -- -- -- -- ...
-- This package was generated by the Ada_Drivers_Library project wizard script package ADL_Config is Architecture : constant String := "ARM"; -- From board definition Board : constant String := "MicroBit"; -- From command line Boot_Memory ...
----------------------------------------------------------------------- -- servlet-server-tests - Unit tests for server requests -- Copyright (C) 2018, 2020 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- -- Copyright (c) 2007, 2008, 2010 Tero Koskinen <tero.koskinen@iki.fi> -- -- Permission to use, copy, modify, and 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 PROVI...
-- Copyright 2017 Jeff Foley. 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 = "Censys" type = "cert" function start() setratelimit(3) end function vertical(ctx, domain) local c local cfg = datasrc_...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
with System.Storage_Elements; package body Ada.Command_Line.Argument_Parsing is use type System.Address; use type System.Storage_Elements.Storage_Offset; function memchr ( s : System.Address; c : Integer; n : System.Storage_Elements.Storage_Count) return System.Address with Impor...
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="15"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName></userIPName> <cdfg class_id="1" tracking_level="1" version="...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
-- -- -- with Types; package body Action_Algorithms is function Compute_Action (Session : Session_Type; Action : Action_Record) return Integer is use Actions; use type Types.Symbol_Index; State_Num : constant Integer := Integer (Actio...
-- C45662A.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...
-- -- A barebones indexed interface which can be iterated over. -- Child packages will either pass through to core (fixed) array or a Vector; -- -- The idea is to create an interface that will allow multiple implementations but can be -- used directly in implementing common (class-wide) functionality. -- -- Copyright...
-- -- Copyright 2018 The wookey project team <wookey@ssi.gouv.fr> -- - Ryad Benadjila -- - Arnauld Michelizza -- - Mathieu Renard -- - Philippe Thierry -- - Philippe Trebuchet -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the...
-- This file is generated by SWIG. Please do not modify by hand. -- with Interfaces.C; with Interfaces.C; with Interfaces.C.Pointers; package xcb.xcb_render_query_pict_index_values_cookie_t is -- Item -- type Item is record sequence : aliased Interfaces.C.unsigned; end record; -- Item_Array ...
-- //////////////////////////////////////////////////////////// -- // -- // SFML - Simple and Fast Multimedia Library -- // Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) -- // -- // This software is provided 'as-is', without any express or implied warranty. -- // In no event will the authors be held li...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
----------------------------------------------------------------------- -- hestia-network -- Hestia Network Manager -- Copyright (C) 2016, 2017 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this fil...
-- C45202B.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...
with Ada.Characters.Conversions; use Ada.Characters.Conversions; with Ada.Containers.Ordered_Maps; package body Scape is package Ordered_Map is new Ada.Containers.Ordered_Maps (Key_Type => Unbounded_String, Element_Type => Wide_Wide_Character, "<" => "<", "=" => "="); ...
pragma License (Unrestricted); -- AARM A.16(124.b/2), specialized for Windows private with C.windef; package Ada.Directories.Information is -- System-specific directory information. -- Version for the Microsoft(R) Windows(R) operating system. function Creation_Time (Name : String) return Calendar.Time; ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with X11; limited with Xlib; limited with Xutil; with Interfaces.C.Strings; with System; with GL; with bits_stdint_intn_h; package glx is -- Troodon addition type IntArray is array (Integer range <>) of Interfaces.C.int with C...
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="15"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName></userIPName> <cdfg class_id="1" tracking_level="1" version="...
-- 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 Game.Test_Data.Tests.SkillsData_Container.Test_Data.Tests is type Test is new GNATtest_Generated.GNATtest_Standard.Game.T...
with Ada.Interrupts.Names; with STM32GD.GPIO; with STM32GD.GPIO.Pin; with STM32GD.SPI; with STM32GD.SPI.Peripheral; with STM32GD.Timer; with STM32GD.Timer.Peripheral; with Drivers; with Drivers.RFM69; package Peripherals is package GPIO renames STM32GD.GPIO; package Timer is new STM32GD.Timer.Peripheral (Tim...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016-2020, AdaCore -- -- -- -- ...
pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; package ftmoderr is --*************************************************************************** -- * -- * ftmoderr.h -- * -- * FreeType module error offsets (specification). -- * -- * Copyright (C) 2001-2020 by -- * ...
with Ada.Text_IO; use Ada.Text_IO; procedure Test is begin P; end;
-- Copyright 2016-2020 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="14"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName/> <cdfg class_id="1" tracking_level="1" version="0...
with impact.d2.orbs.Distance; package body impact.d2.orbs.Collision is procedure dummy is begin null; end dummy; function IsValid (Self : in b2AABB) return Boolean is d : b2Vec2 := Self.upperBound - Self.lowerBound; valid : Boolean := d.x >= 0.0 and then d.y >= 0.0; begin va...
-- -- Radoslaw Kowalski 221454 -- with Ada.Text_IO; use Ada.Text_IO; with GNAT.OS_Lib; use GNAT.OS_Lib; with Ada.Command_line; use Ada.Command_Line; with Ada.Calendar; with Ada.Exceptions; use Ada.Exceptions; with GNAT.String_Split; use GNAT.String_Split; with Ada.Strings.Unbounded; ...
------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
package body lace.fast_Pool is type Views is array (1 .. pool_Size) of View; protected Pool is entry new_Item (the_Item : out View); entry free (the_Item : in View); private Available : Views; Count : Natural := 0; end Pool; protected body Pool is e...
-- This spec has been automatically generated from STM32L151.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.SCB is pragma Preelaborate; --------------- -- Registers -- --------------- subtype CPUID_Revision_Field i...
------------------------------------------------------------------------------ -- Copyright (c) 2017, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- p...
-- This package provides support for creating and printing graphs in the -- DOT language, described at www.graphviz.org. From the website: -- -- The following is an abstract grammar defining the DOT language. Literal -- characters and keywords are given in single quotes. Parentheses ( and ) -- indicate grouping when ...
pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; with glib; with glib.Values; with System; with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstsystemclock_h; with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstclock_h; -- limited with GStreamer.GST_Low_Level.netine...
with Simulation; with Ada.Text_IO; use Ada.Text_IO; with Units; use Units; package body ublox8.driver with SPARK_Mode => Off, Refined_State => (State => (null)) is cur_loc : GPS_Loacation_Type; -- L,L,A cur_msg : GPS_Message_Type; cur_fix : GPS_FIX_Type; cur_vel : Units.Linear_Velocity_Type := 0.0*Meter...
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../../License.txt package AdaBase.Results.Generic_Converters is generic type IntType is (<>); function convertstr (nv : Textual) return IntType; generic type RealType is digits <>; function convertst2 (n...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="14"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName></userIPName> <cdfg class_id="1" tracking_level="1" version="...
package impact.d3.Matrix -- -- The impact.d3.Matrix provides a 3x3 rotation matrix, to perform linear algebra in combination with impact.d3.Quaternion, impact.d3.Transform and impact.d3.Vector. -- Make sure to only include a pure orthogonal matrix without scaling. is use Math; -- function to_Matrix (Q : i...
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="15"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName/> <cdfg class_id="1" tracking_level="1" version="0...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
----------------------------------------------------------------------- -- util-encoders-lzma -- LZMA compression and decompression -- Copyright (C) 2018 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not us...
with Ada.Text_IO; procedure HelloWorld is begin Ada.Text_IO.Put_Line("Hello, world!"); end HelloWorld;
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Lexical_Elements; with Program.Elements.Expressions; with Program.Elements.Real_Range_Specifications; with Program.Elements.Ordinary_Fixed_Poin...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
----------------------------------------------------------------------- -- util-http-clients-curl-tests -- HTTP unit tests for AWS implementation -- Copyright (C) 2012, 2019 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License")...
with Ada.Numerics.Discrete_Random; package body Alea is subtype Intervalle is Integer range Lower_Bound..Upper_Bound; package Generateur_P is new Ada.Numerics.Discrete_Random (Intervalle); use Generateur_P; Generateur : Generateur_P.Generator; procedure Get_Random_Number (Resultat : ou...
-- This file is generated by SWIG. Please do *not* modify by hand. -- with swig; with interfaces.C; package speech_tools_c is -- EST_Wave -- subtype EST_Wave is swig.incomplete_class; type EST_Wave_array is array (interfaces.C.Size_t range <>) of aliased speech_tools_c.EST_Wave; -- EST_String -...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
-- Copyright 2011-2014 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- ...
with Interfaces; package body Fmt.Generic_Decimal_Fixed_Point_Argument is subtype uint64_t is Interfaces.Unsigned_64; Scale : constant Long_Long_Integer := 10 ** Fixed_Point_Type'Scale; To_Char : constant array(uint64_t range 0..9) of Character := "0123456789"; function To_Long_Long_Integer (X : Fixed_P...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016, AdaCore -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- package pc_2_coeff_20 -- -- Predictor_Rule : Integration_Rule renames Predictor_32_20; -- -- Corrector_Rule : Integration_Rule renames Corrector_33_20; -- -- Final_Step_Corrector : Real renames Final_Step_Corrector_33_20; generic type Real is digits <>; package pc_2_coeff_20 is subtype P...
-- This file is generated by SWIG. Please do not modify by hand. -- with Interfaces; with Interfaces.C; with Interfaces.C.Pointers; package xcb.xcb_glx_destroy_pbuffer_request_t is -- Item -- type Item is record major_opcode : aliased Interfaces.Unsigned_8; minor_opcode : aliased Interfaces.Unsi...
package body procedure_body_stub is procedure Inner is separate; end procedure_body_stub;