CombinedText
stringlengths
4
3.42M
-- 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...
----------------------------------------------------------------------- -- el-functions-default -- Default function mapper -- Copyright (C) 2009, 2010, 2021 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you m...
procedure AdaM.Assist.Query.find_Entities.Driver;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------- -- This file is part of libsparkcrypto. -- -- Copyright (C) 2018 Componolit GmbH -- Copyright (C) 2010, Alexander Senier -- Copyright (C) 2010, secunet Security Networks AG -- All rights reserved. -- -- Redistribution and use in s...
------------------------------------------------------------------------------ -- -- -- Copyright (c) 2014-2017 Vitalij Bondarenko <vibondare@gmail.com> -- -- -- ----...
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Nodes.Generic_Vectors; with Program.Elements.Exception_Handlers; package Program.Nodes.Exception_Handler_Vectors is new ...
package Parse_Shift_Reduce is type Small_Integer is range -32_000 .. 32_000; type Shift_Reduce_Entry is record T : Small_Integer; Act : Small_Integer; end record; pragma Pack(Shift_Reduce_Entry); subtype Row is Integer range -1 .. Integer'Last; --pragma suppress(index_check);...
package body agar.gui.widget.button is package cbinds is function allocate (parent : widget_access_t; flags : flags_t := 0; label : cs.chars_ptr) return button_access_t; pragma import (c, allocate, "AG_ButtonNewS"); function allocate_function (parent : widget_access_t; ...
with Interfaces; use Interfaces; package Some_Package with SPARK_Mode is procedure bar; end Some_Package;
with Ada.Text_IO; use Ada.Text_IO; procedure Test_Selection_Sort is type Integer_Array is array (Positive range <>) of Integer; procedure Sort (A : in out Integer_Array) is Min : Positive; Temp : Integer; begin for I in A'First..A'Last - 1 loop Min := I; for J in I + 1.....
-- 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...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
with Interfaces.C, System; use type System.Address; package body FLTK.Devices.Surfaces.Copy is function new_fl_copy_surface (W, H : in Interfaces.C.int) return System.Address; pragma Import (C, new_fl_copy_surface, "new_fl_copy_surface"); pragma Inline (new_fl_copy_su...
pragma License (Unrestricted); with Ada.Formatting; with Ada.IO_Exceptions; with Ada.IO_Modes; with Ada.Unchecked_Deallocation; private with Ada.Finalization; private with Ada.Naked_Text_IO; private with Ada.Unchecked_Reallocation; private with System.Growth; package Ada.Text_IO is type File_Type is limited private...
----------------------------------------------------------------------- -- Util.Streams.Files -- File Stream utilities -- Copyright (C) 2010, 2013 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 ...
<?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="...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015, AdaCore -- -- -- -- ...
-- Copyright (c) 2020-2021 Bartek thindil Jasicki <thindil@laeran.pl> -- -- 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 vers...
----------------------------------------------------------------------- -- Ada Labs -- -- -- -- Copyright (C) 2008-2009, AdaCore -- -- ...
with Ada.Text_Io; use Ada.Text_Io; with vectores; use vectores; with esta_en_vector_ordenado; procedure prueba_esta_en_vector_ordenado is -- este programa hace llamadas a la funcion esta_en_vector_ordenado y es util -- para comprobar si su funcionamiento es correcto procedure escribir_booleano(valor: in Boolea...
----------------------------------------------------------------------- -- awa-workspaces-module -- Module workspaces -- 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"); -- you may no...
-- Copyright (C) 2019 Thierry Rascle <thierr26@free.fr> -- MIT license. Please refer to the LICENSE file. with Apsepp.Test_Node_Class.Generic_Case_And_Suite_Run_Body; package Apsepp.Test_Node_Class.Case_Stub is type Test_Case_Stub is limited new Test_Node_Interfa with private with Type_Invariant'Class => ...
with Ada.Integer_Text_IO; procedure Afficher_Un_Entier (N: in Integer) is begin Ada.Integer_Text_IO.Put (N, 1); end Afficher_Un_Entier;
<?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="...
-- { dg-do compile } package Not_Null1 is type T is null record; type T_Access is access all T; procedure Proc (This : in not null T_Access) is null; type Proc_Access is access procedure (This : in not null T_Access); PA : Proc_Access := Proc'Access; end Not_Null1;
<?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 LIBRARY COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
<?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...
-- The MIT License (MIT) -- Copyright (c) 2015 Pavel Zhukov <landgraf@fedoraproject.org> -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to deal -- in the Software without restriction, including without limit...
-- part of OpenGLAda, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "COPYING" with Ada.Text_IO; with Ada.Numerics.Generic_Elementary_Functions; with GL.Buffers; use GL.Buffers; with GL.Immediate; use GL.Immediate; with GL.Fixed.Matrix; use GL.Fixed.Matrix; with ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
----------------------------------------------------------------------- -- awa-questions-modules -- Module questions -- Copyright (C) 2012, 2013, 2015, 2016, 2018 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you m...
with Ada.Text_IO; use Ada.Text_IO; with GNAT.MD5; procedure MD5_Digest is begin Put(GNAT.MD5.Digest("Foo bar baz")); end MD5_Digest;
-- Copyright 2020-2021 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 url = require("url") local json = require("json") name = "GoogleCT" type = "cert" local hdrs={ Connection="close", Referer="https://transparencyrepor...
with Ada.Text_IO; use Ada.Text_IO; procedure Adventofcode.Day_16.Main is begin Put_Line ("Day-16"); end Adventofcode.Day_16.Main;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2018, Adacore -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with opencl; with cl_objects; with PixelArray.Gpu; with Ada.Finalization; package GpuImageProc is pragma Elaborate_Body; pragma Assertion_Policy (Pre => Check, Post => Check, Type_Invariant => Check); type Processor is tagged limited private; type P...
-- Copyright 2012-2015 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 PixelArray; use PixelArray; package body Morphology is function maxPixel(image: PixelArray.ImagePlane; x, y: Natural; size: Positive) return PixelArray.Pixel is result: PixelArray.Pixel; begin result := image.get(x, y); for py in y - size / 2 .. y + size / 2 loop for px in x - siz...
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt package Definitions is pragma Pure; synth_version_major : constant String := "2"; synth_version_minor : constant String := "04"; copyright_years : constant String := "2015-2018"; host_localbase...
-- PACKAGE E_Rand -- -- Minimal random number generator, mainly for basic test of -- extended arithmetic. -- -- Outputs extended precision pseudo-random numbers on [0.0 .. 1.0) generic package Extended_Real.E_Rand is function Random return E_Real; -- returns E_Reals in [0, 1) procedure Reset (Init...
-- Swaggy Jenkins -- Jenkins API clients generated from Swagger / Open API specification -- -- The version of the OpenAPI document: 1.1.2_pre.0 -- Contact: blah@cliffano.com -- -- NOTE: This package is auto generated by OpenAPI-Generator 5.4.0. -- https://openapi-generator.tech -- Do not edit the class manually....
-- C52103H.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 Interfaces; use Interfaces; package body Natools.Static_Maps.S_Expressions.Conditionals.Strings.P is P : constant array (0 .. 2) of Natural := (1, 11, 13); T1 : constant array (0 .. 2) of Unsigned_8 := (11, 3, 3); T2 : constant array (0 .. 2) of Unsigned_8 := (14, 19, 16); G : const...
-- CE2103D.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 -- -- -- -- ...
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../../License.txt with Ada.Strings.Fixed; package body AdaBase.Driver.Base.Firebird is package ASF renames Ada.Strings.Fixed; --------------- -- execute -- --------------- overriding function execute (drive...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
pragma Style_Checks (Off); -- This spec has been automatically generated from ATSAMD51G19A.svd pragma Restrictions (No_Elaboration_Code); with HAL; with System; package SAM_SVD.SERCOM is pragma Preelaborate; --------------- -- Registers -- --------------- ------------------------------------ --...
----------------------------------------------------------------------- -- hestia-time -- Date and time information -- Copyright (C) 2017, 2018 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...
-- 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_gen_lists_request_t is -- Item -- type Item is record major_opcode : aliased Interfaces.Unsigned_8; minor_opcode : aliased Interfaces.Unsigned_8...
with BDD.Asserts; use BDD.Asserts; package body RTCH.Colours.Steps is procedure Given_Colour_C (Red, Green, Blue : Float) is begin C := Make_Colour (Red, Green, Blue); end Given_Colour_C; procedure Then_C_Red_Is (Red : Float) is begin Assert (C.Red = Red); end Then_C_Red_Is; procedu...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; package mwaitxintrin_h is -- Copyright (C) 2012-2017 Free Software Foundation, Inc. -- This file is part of GCC. -- GCC is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Publi...
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2018 onox <denkpadje@gmail.com> -- -- 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/L...
<?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="...
with openGL.Primitive.indexed, openGL.Geometry.lit_colored_textured, openGL.Model.hexagon, float_math.Algebra.linear.d3; package body openGL.Model.Hexagon_Column.lit_colored_textured_faceted is type Geometry_view is access all Geometry.lit_colored_textured.item'Class; --------- --- For...
with ATree; procedure launch is begin ATree.main; end launch;
with Interfaces; use Interfaces; -- Definitions of standard USB protocol: Data structures, Values, etc package USB.Protocol is -- Those types are used in structures -- Per Table 9-3 USB 3-2 rev 1.0 type Request_Type_Code is ( Request_Type_Standard, Request_Type_Class, Request_Type_Vendor, Request...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-------------------------------------------------------------------------------- -- MIT License -- -- Copyright (c) 2020 Zane Myers -- -- 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 witho...
generic HSE_Value : HSE_Range := 8_000_000; PLL_Source : PLL_Source_Type := HSI_Input; SYSCLK_Source : SYSCLK_Source_Type := HSI_Input; RTC_Source : RTC_Source_Type := LSI_Input; PLL_Prediv : PLL_Prediv_Range := 1; PLL_Mul : PLL_Mul_Range := 1; AHB_Prescaler : AHB_Prescaler_Type := DIV1; APB1...
private with Interfaces.C.Strings, System; package FLTK.Widgets.Inputs is type Input is new Widget with private; type Input_Reference (Data : not null access Input'Class) is limited null record with Implicit_Dereference => Data; type Input_Kind is (Normal_Kind, Float_Kind, In...
----------------------------------------------------------------------- -- Gen -- Code Generator -- Copyright (C) 2009 - 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 file except in compli...
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; package interrupts_hpp is type Interrupt is (VBLANK, LCD_STATUS, TIMER, SERIAL, JOYPAD); pragma Convention (C, Interrupt); -- ./interrupts.hpp:3 end interrupts_hpp;
-- Copyright 2007-2016 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-2020, AdaCore -- -- -- -- ...
package body ACO.Utils.Scope_Locks is protected body Mutex is entry Seize when Is_Free is begin Is_Free := False; end Seize; procedure Release is begin Is_Free := True; end Release; end Mutex; overriding procedure Initialize (Thi...
with lace.Environ.OS_Commands, posix.user_Database, posix.process_Identification; package body lace.Environ.Users is function "+" (Source : in unbounded_String) return String renames to_String; function to_User (Name : in String) return User is begin return (Name =...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
package Missing is end Missing;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME 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...
-- 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...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
with Ada.Containers.Formal_Hashed_Maps; with Ada.Strings.Hash; with Ada.Directories; with DOM.Core.Documents; with DOM.Core.Elements; with Input_Sources.Strings; with DOM.Readers; with Sax.Encodings; with UxAS.Common.String_Constant; package body UxAS.Comms.LMCP_Net_Client.Service is function Hashed_Service_Type...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- SPDX-FileCopyrightText: 2022 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Regions.Contexts.Environments; package Regions.Environments renames Regions.Contexts.Environments;
----------------------------------------------------------------------- -- util-encodes-tests - Test for encoding -- Copyright (C) 2009, 2010, 2011, 2012 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not us...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016, AdaCore -- -- -- -- ...
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt with Ada.Text_IO.Text_Streams; package body File_Operations.Heap is package TIO renames Ada.Text_IO; package STR renames Ada.Text_IO.Text_Streams; procedure slurp_file (dossier : String) is begin ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with AUnit.Test_Cases; package GStreamer.Rtsp.transport.Tests is use AUnit; type Test_Case is new AUnit.Test_Cases.Test_Case with null record; function Name (Test : Test_Case) return Message_String; procedure Register_Tests (Test : in out Test_Case); end GStreamer.Rtsp.transport.Tests;
-- Copyright 2012-2019 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. -- -- ...
-- POK header -- -- The following file is a part of the POK project. Any modification should -- be made according to the POK licence. You CANNOT use this file or a part -- of a file for your own project. -- -- For more information on the POK licence, please see our LICENCE FILE -- -- Pleas...
----------------------------------------------------------------------- -- awa_test_app - -- Copyright (C) 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 file except in compliance with the ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
with Imago; with Imago.IL; use Imago; with WFC; with GNAT.Command_Line; use GNAT.Command_Line; package Util is Argument_Error : exception; Execution_Error : exception; type Image_Color is (R, G, B); type Image_Pixel is array (Image_Color) of IL.UByte with Pack; type Image_Matrix is a...
-- Swaggy Jenkins -- Jenkins API clients generated from Swagger / Open API specification -- -- The version of the OpenAPI document: 1.1.2_pre.0 -- Contact: blah@cliffano.com -- -- NOTE: This package is auto generated by OpenAPI-Generator 5.4.0. -- https://openapi-generator.tech -- Do not edit the class manually....
package return1 is type Base is abstract tagged null record; type Child is new Base with record Anon_Access : access Base'Class; end record; function X_Func (O : access Child) return access Base'Class; end return1;