max_stars_repo_path stringlengths 4 261 | max_stars_repo_name stringlengths 6 106 | max_stars_count int64 0 38.8k | id stringlengths 1 6 | text stringlengths 7 1.05M |
|---|---|---|---|---|
registrar-implementation_hashing.ads | annexi-strayline/AURA | 13 | 16247 | ------------------------------------------------------------------------------
-- --
-- Ada User Repository Annex (AURA) --
-- Reference Implementation --
-- ... |
grammar/MmParser.g4 | anterokangas/mmjs | 0 | 4210 | <gh_stars>0
parser grammar MmParser ;
options { tokenVocab=MmLexer ; }
mm : part* ;
part
: Text
| command
;
command
: CommandStart
( roleCommand
| callCommand
)
;
roleCommand : Role RoleName roleParameters RoleCommandEnd ;
roleParameters : roleParameter* ;
roleParameter
: Rol... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/atomic6_1.adb | best08618/asylo | 7 | 15496 | -- { dg-do compile }
-- { dg-options "-fdump-tree-gimple" }
with Atomic6_Pkg; use Atomic6_Pkg;
procedure Atomic6_1 is
Temp : Integer;
begin
Counter1 := Counter2;
Timer1 := Timer2;
Counter1 := Int(Timer1);
Timer1 := Integer(Counter1);
Temp := Integer(Counter1);
Counter1 := Int(Temp);
Temp := Timer... |
data/jpred4/jp_batch_1613899824__5DMLX6E/jp_batch_1613899824__5DMLX6E.als | jonriege/predict-protein-structure | 0 | 3489 | <reponame>jonriege/predict-protein-structure
SILENT_MODE
BLOCK_FILE jp_batch_1613899824__5DMLX6E.concise.blc
MAX_NSEQ 839
MAX_INPUT_LEN 841
OUTPUT_FILE jp_batch_1613899824__5DMLX6E.concise.ps
PORTRAIT
POINTSIZE 8
IDENT_WIDTH 12
X_OFFSET 2
Y_OFFSET 2
DEFINE_FONT 0 Helvetica DEFAULT
DEFINE_FONT 1 Helvetica REL 0.75 ... |
library_dir_dir/system_library_unbundled/source/pc_wsterm_.s.archive/save.asm | dancrossnyc/multics | 65 | 29813 | ; ***********************************************************
; * *
; * Copyright, (C) Honeywell Bull Inc., 1987 *
; * *
; * Copyright, (C) Honeywell Information Systems Inc., 1986 *
; * ... |
test/succeed/IrrelevantDataParameter.agda | asr/agda-kanso | 1 | 11505 | <reponame>asr/agda-kanso
{-# OPTIONS --experimental-irrelevance #-}
-- Andreas, 2011-04-15
-- {-# OPTIONS -v tc.data:20 #-}
module IrrelevantDataParameter where
postulate
A : Set
data K .(a : A) : Set where
c : K a
postulate
a : A
data K' .(b : A) : Set where
c : K' a
-- ok, since parameter irrelevant
-- ... |
examples/src/identity.adb | sonneveld/adazmq | 0 | 7355 | <filename>examples/src/identity.adb<gh_stars>0
-- Demonstrate request-reply identities
with Ada.Command_Line;
with Ada.Text_IO;
with GNAT.Formatted_String;
with ZMQ;
with ZHelper;
use type GNAT.Formatted_String.Formatted_String;
procedure Identity is
function Main return Ada.Command_Line.Exit_Status
is
... |
src/jump-table.asm | beckadamtheinventor/BOSos | 1 | 14450 | <reponame>beckadamtheinventor/BOSos<filename>src/jump-table.asm<gh_stars>1-10
table:
; $=0020108h
jp handle_boot
jp handle_int
jp handle_rst10
jp handle_rst18
jp handle_rst20
jp handle_rst28
jp handle_rst30
; $=0020128
; $=002012Ch
;-------------------------------------------------------------------------------
... |
source/calendar/machine-w64-mingw32/s-naexti.ads | ytomino/drake | 33 | 18237 | pragma License (Unrestricted);
-- implementation unit specialized for Windows
package System.Native_Execution_Time is
subtype CPU_Time is Duration;
function Clock return CPU_Time;
end System.Native_Execution_Time;
|
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cd/cd2a24e.ada | best08618/asylo | 7 | 9584 | -- CD2A24E.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... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c32107a.ada | best08618/asylo | 7 | 14697 | -- C32107A.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... |
arch/ARM/NXP/svd/lpc55s6x/nxp_svd.ads | morbos/Ada_Drivers_Library | 2 | 29430 | <gh_stars>1-10
-- 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 System;
-- LPC55S69JBD100,LPC55S69JBD64,LPC55S69JEV9... |
Sets/Cardinality/Infinite/Examples.agda | Smaug123/agdaproofs | 4 | 6450 | <filename>Sets/Cardinality/Infinite/Examples.agda
{-# OPTIONS --safe --warning=error --without-K --guardedness #-}
open import Functions.Definition
open import Functions.Lemmas
open import LogicalFormulae
open import Numbers.Naturals.Definition
open import Numbers.Naturals.Order
open import Sets.FinSet.Definition
open... |
programs/oeis/179/A179262.asm | neoneye/loda | 22 | 82630 | ; A179262: a(n) = 2*prime(n)^2 - 1.
; 7,17,49,97,241,337,577,721,1057,1681,1921,2737,3361,3697,4417,5617,6961,7441,8977,10081,10657,12481,13777,15841,18817,20401,21217,22897,23761,25537,32257,34321,37537,38641,44401,45601,49297,53137,55777,59857,64081,65521,72961,74497,77617,79201,89041,99457,103057,104881,108577,11424... |
Structure/Function/Linear.agda | Lolirofle/stuff-in-agda | 6 | 10111 | module Structure.Function.Linear where
import Lvl
open import Logic
open import Logic.Propositional
open import Relator.Equals
open import Relator.Equals.Proofs
open import Type
-- TODO: Remove this
module _ {ℓ₁}{ℓ₂}{ℓ₃} {V₁ : Type{ℓ₁}} {V₂ : Type{ℓ₂}} {S : Type{ℓ₃}} where
record LinearMap (_+₁_ : V₁ → V₁ → V... |
oeis/108/A108979.asm | neoneye/loda-programs | 11 | 12117 | <gh_stars>10-100
; A108979: Numbers n such that 31*n + 29 is prime.
; Submitted by <NAME>
; 0,8,12,14,18,24,32,50,60,62,68,78,84,90,98,102,104,144,150,162,164,168,188,192,194,200,204,222,230,234,248,252,260,272,278,302,318,320,330,332,342,354,362,368,384,390,402,404,410,420,428,432,440,468,474,498
mov $2,$0
add $2,6
p... |
programs/oeis/131/A131474.asm | jmorken/loda | 1 | 12979 | <filename>programs/oeis/131/A131474.asm
; A131474: a(n) = ceiling(n/2)*ceiling(n^2/2).
; 0,1,2,10,16,39,54,100,128,205,250,366,432,595,686,904,1024,1305,1458,1810,2000,2431,2662,3180,3456,4069,4394,5110,5488,6315,6750,7696,8192,9265,9826,11034,11664,13015,13718,15220,16000,17661,18522,20350,21296,23299,24334,26520,2764... |
sources/ippcp/asm_intel64/pcpsha1nias.asm | ntyukaev/ipp-crypto | 30 | 90494 | <filename>sources/ippcp/asm_intel64/pcpsha1nias.asm
;===============================================================================
; Copyright 2015-2020 Intel Corporation
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may ob... |
programs/oeis/021/A021219.asm | neoneye/loda | 22 | 104200 | <gh_stars>10-100
; A021219: Decimal expansion of 1/215.
; 0,0,4,6,5,1,1,6,2,7,9,0,6,9,7,6,7,4,4,1,8,6,0,4,6,5,1,1,6,2,7,9,0,6,9,7,6,7,4,4,1,8,6,0,4,6,5,1,1,6,2,7,9,0,6,9,7,6,7,4,4,1,8,6,0,4,6,5,1,1,6,2,7,9,0,6,9,7,6,7,4,4,1,8,6,0,4,6,5,1,1,6,2,7,9,0,6,9,7
add $0,1
mov $1,10
pow $1,$0
mul $1,8
div $1,1720
mod $1,10
mov... |
libsrc/_DEVELOPMENT/stdlib/z80/asm__ldiv.asm | jpoikela/z88dk | 640 | 97238 | <gh_stars>100-1000
; ===============================================================
; Dec 2013
; ===============================================================
;
; void _ldiv(ldiv_t *ld, long numer, long denom)
;
; Fill the ldiv_t struct with the results of long divide
; numer / denom.
;
; struct ldiv_t
; {
; lo... |
Task/Substring/Ada/substring-3.ada | LaudateCorpus1/RosettaCodeData | 1 | 17217 | <filename>Task/Substring/Ada/substring-3.ada
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Strings.Fixed; use Ada.Strings.Fixed;
procedure Test_Slices is
Str : constant String := "abcdefgh";
N : constant := 2;
M : constant := 3;
begin
Put_Line (Str (Str'First + N - 1..Str'First + N + M - 2));
Put_... |
Task/Sockets/Ada/sockets.ada | djgoku/RosettaCodeData | 0 | 28784 | <gh_stars>0
with GNAT.Sockets; use GNAT.Sockets;
procedure SocketSend is
procedure sendData (IP : String; Msg : String) is
Client : Socket_Type;
Address : Sock_Addr_Type;
Channel : Stream_Access;
begin
Create_Socket (Client);
Address.Addr := Inet_Addr(ip);
Address.Port := 25... |
2002-summer/mp3/map.asm | ece291/machine-problems | 3 | 174383 | ; MP3 - 291hack
; The game map
;
; <NAME>, Summer 2002
; Author: <NAME>, <NAME>
; University of Illinois, Urbana-Champaign
; Dept. of Electrical and Computer Engineering
;
; Version 1.0
TILE_VISIBLE EQU 80h
TILE_SEEN EQU 40h
TILE_SOLID EQU 20h ; sight AND walking
GLOBAL Map
SEGMENT code
; macros xrolmpqbd
%defi... |
src/inotify-recursive.adb | onox/inotify-ada | 9 | 16161 | <filename>src/inotify-recursive.adb
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2019 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://w... |
test/Succeed/Issue3102.agda | KDr2/agda | 1 | 6990 | <filename>test/Succeed/Issue3102.agda
-- Andreas, 2018-06-03, issue #3102
-- Regression: slow reduce with lots of module parameters and an import.
-- {-# OPTIONS -v tc.cc:30 -v tc.cover.top:30 --profile=internal #-}
open import Agda.Builtin.Bool
module _ (A B C D E F G H I J K L M O P Q R S T U V W X Y Z
A... |
programs/oeis/131/A131818.asm | neoneye/loda | 22 | 98556 | <filename>programs/oeis/131/A131818.asm
; A131818: A130296 + A002260 - A000012. Triangle read by rows: row n consists of n, 2, 3, 4,...n.
; 1,2,2,3,2,3,4,2,3,4,5,2,3,4,5,6,2,3,4,5,6,7,2,3,4,5,6,7,8,2,3,4,5,6,7,8,9,2,3,4,5,6,7,8,9,10,2,3,4,5,6,7,8,9,10,11,2,3,4,5,6,7,8,9,10,11,12,2,3,4,5,6,7,8,9,10,11,12
lpb $0
mov $... |
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0_notsx.log_244_1429.asm | ljhsiun2/medusa | 9 | 247475 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x83f1, %rsi
lea addresses_A_ht+0x828d, %rdi
nop
nop
nop
and $54425, %rax
mov $76, %rcx
rep movsq
nop
nop
xor $45001, %r15
lea addresses_UC_ht+0x16749, %rbx
nop
nop
nop
nop
xo... |
ls.asm | danilocapkob/xv6plus | 1 | 161390 | <gh_stars>1-10
_ls: file format elf32-i386-freebsd
Disassembly of section .text:
00000000 <fmtname>:
#include "fs.h"
char*
fmtname(char *path)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 53 push %ebx
4: 83 ec 24 ... |
src/FRP/LTL/ISet/Sum.agda | agda/agda-frp-ltl | 21 | 1798 | <filename>src/FRP/LTL/ISet/Sum.agda
open import Data.Product using ( _×_ ; _,_ )
open import Data.Sum using ( _⊎_ ; inj₁ ; inj₂ )
open import FRP.LTL.Time.Interval using ( _⊑_ ; _~_ ; _⌢_∵_ )
open import FRP.LTL.ISet.Core using ( ISet ; [_] ; _,_ ; M⟦_⟧ ; splitM⟦_⟧ ; subsumM⟦_⟧ )
module FRP.LTL.ISet.Sum where
_∨_ : ... |
courses/spark_for_ada_programmers/labs/source/120_depends_contract_and_information_flow_analysis/swapping.ads | AdaCore/training_material | 15 | 5922 | <filename>courses/spark_for_ada_programmers/labs/source/120_depends_contract_and_information_flow_analysis/swapping.ads
package Swapping
is
procedure Swap (X, Y: in out Positive);
procedure Identity (X, Y: in out Positive)
with Depends => (X => X,
Y => Y);
end Swapping;
|
programs/oeis/025/A025818.asm | jmorken/loda | 1 | 18960 | ; A025818: Expansion of 1/((1-x^2)(1-x^7)(1-x^10)).
; 1,0,1,0,1,0,1,1,1,1,2,1,2,1,3,1,3,2,3,2,4,3,4,3,5,3,5,4,6,4,7,5,7,5,8,6,8,7,9,7,10,8,11,8,12,9,12,10,13,11,14,12,15,12,16,13,17,14,18,15,19,16,20,17,21,18,22,19,23
mov $5,$0
mov $7,2
lpb $7
clr $0,5
mov $0,$5
sub $7,1
add $0,$7
sub $0,1
add $2,17
lpb ... |
src/007/dll.adb | xeenta/learning-ada | 0 | 9903 | with
Ada.Text_IO,
Ada.Containers.Doubly_Linked_Lists;
use Ada.Text_IO;
procedure dll is
Equal_Limit : constant := 10;
generic
Threshold : in Integer := 0;
function Special_Equal (Left, Right : Integer) return Boolean;
function Special_Equal (Left, Right : Integer) return Boolean is
... |
programs/oeis/022/A022795.asm | jmorken/loda | 1 | 169918 | ; A022795: Place where n-th 1 occurs in A023133.
; 1,5,12,22,35,51,70,92,118,147,179,214,252,293,337,385,436,490,547,607,670,736,806,879,955,1034,1116,1201,1289,1381,1476,1574,1675,1779,1886,1996,2110,2227,2347,2470,2596,2725,2857,2993,3132,3274
mov $1,3
mov $2,$0
mov $7,$0
lpb $2
add $1,$2
add $1,$0
sub $0,2
... |
programs/oeis/033/A033562.asm | karttu/loda | 1 | 161641 | ; A033562: a(n) = 2*n^3 + 1.
; 1,3,17,55,129,251,433,687,1025,1459,2001,2663,3457,4395,5489,6751,8193,9827,11665,13719,16001,18523,21297,24335,27649,31251,35153,39367,43905,48779,54001,59583,65537,71875,78609,85751,93313,101307,109745,118639,128001,137843,148177,159015,170369,182251,194673,207647,221185,235299,250001,2... |
source/context/adam-use_clause-for_type.ads | charlie5/aIDE | 3 | 13229 | with
Ada.Containers.Vectors,
Ada.Streams;
private
with
AdaM.a_Type;
package AdaM.use_Clause.for_type
is
type Item is new use_Clause.item with private;
-- View
--
type View is access all Item'Class;
procedure View_write (Stream : not null access Ada.Streams.Root_Stream_Type'Class;
... |
BasicIPC/Metatheory/GentzenSpinalNormalForm-HereditarySubstitution.agda | mietek/hilbert-gentzen | 29 | 2957 | <gh_stars>10-100
module BasicIPC.Metatheory.GentzenSpinalNormalForm-HereditarySubstitution where
open import BasicIPC.Syntax.GentzenSpinalNormalForm public
-- Hereditary substitution and reduction.
mutual
[_≔_]ⁿᶠ_ : ∀ {A B Γ} → (i : A ∈ Γ) → Γ ∖ i ⊢ⁿᶠ A → Γ ⊢ⁿᶠ B → Γ ∖ i ⊢ⁿᶠ B
[ i ≔ s ]ⁿᶠ neⁿᶠ (spⁿᵉ j xs) with... |
Engines/Win32/DarkElf.asm | Mingzhi5/MalwareRepository | 0 | 102977 | <gh_stars>0
;¯®¤¯à®£à ¬¬ë :
; DEME - á ¬ Mutation ¨ ¥áâì
; Randomize - î§ ¥â ¯®àâ 40h
; RND - AX = RND(65536)
PUSHSTATE
IDEAL
LOCALS @@
DEME_MaxDecoderLen=1500
proc DEME
; à ¬¥âàë :
;es:di - ¤à¥á ¡ãä¥à , ¢ ª®â®àë© ¡ã¤¥â § ¯¨á १ã«ìâ â
; à §¬¥à_¡ãä¥à = à §¬¥à_¨á室®£®_ª®¤ + 1500
;ds:si - ¤à¥á ª®¤ , ª®... |
exercises/ptr.asm | amirshnll/assembly-exercises | 4 | 4016 | <filename>exercises/ptr.asm
; multi-segment executable file template.
data segment
; add your data here!
x db 10
y db 100
z dw 12efh
k dd 12005e32h
; q dq 0
pkey db "press any key...$"
ends
stack segment
dw 128 dup(0)
ends
code segment
start:
; set segment registers:
... |
examples/shared/serial_ports/src/serial_io-streaming.adb | rocher/Ada_Drivers_Library | 192 | 10651 | <filename>examples/shared/serial_ports/src/serial_io-streaming.adb
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2016, AdaCore --
-- ... |
libsrc/enterprise/exos_read_block.asm | meesokim/z88dk | 0 | 18627 | ;
; Enterprise 64/128 specific routines
; by <NAME>, 2011
;
; exos_read_block(unsigned char channel, unsigned int byte_count, unsigned char *address);
;
;
; $Id: exos_read_block.asm,v 1.2 2015/01/19 01:32:42 pauloscustodio Exp $
;
PUBLIC exos_read_block
exos_read_block:
pop af
pop de
pop bc
pop hl
push hl
pu... |
Code/render.asm | msklywenn/GB-GameOfLife | 9 | 240269 | INCLUDE "hardware.inc"
INCLUDE "utils.inc"
RENDER_IN_HBL EQU 0
EXPORT Video, Rendered
SECTION "Render Memory", HRAM
LinesLeft: ds 1 ; number of lines left to render
TilesLeft: ds 1 ; number of tiles left to render in current line
Video: ds 2 ; progressing pointer in tilemap (VRAM)
Rendered: ds 2 ... |
Data/Nat/AbsoluteDifference.agda | oisdk/agda-playground | 6 | 2406 | <gh_stars>1-10
{-# OPTIONS --safe #-}
module Data.Nat.AbsoluteDifference where
open import Data.Nat.Base
open import Path
open import Prelude
open import Algebra
∣_-_∣ : ℕ → ℕ → ℕ
∣ 0 - m ∣ = m
∣ n@(suc _) - 0 ∣ = n
∣ suc n - suc m ∣ = ∣ n - m ∣
_ : ∣ 5 - 3 ∣ ≡ 2
_ = refl
_ : ∣ 3 - 5 ∣ ≡ 2
_ = ... |
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/s-init.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 24353 | <reponame>JCGobbi/Nucleo-STM32G474RE<gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
core/src/main/antlr/de/rfnbrgr/camscript/parser/Camscript.g4 | tom-mi/camscript | 0 | 3589 | <reponame>tom-mi/camscript<gh_stars>0
grammar Camscript;
tokens { INDENT, DEDENT }
@lexer::header {
import com.yuvalshavit.antlr4.DenterHelper;
}
@lexer::members {
private final DenterHelper denter = new DenterHelper(NL, CamscriptParser.INDENT, CamscriptParser.DEDENT)
{
@Override
public Token pullToken() ... |
src/new-file-here/Scripts/default.applescript | mirka/launchbar-actions | 2 | 2779 | on open (thePaths)
set myPath to item 1 of thePaths
display dialog "Filename:" default answer ".txt"
set filename to text returned of result
set fullpath to (POSIX path of myPath) & filename
do shell script "touch -a '" & fullpath & "'"
tell application "LaunchBar" to activate
return [{title:filename, |pat... |
grammar.agda | rfindler/ial | 29 | 9927 | <filename>grammar.agda
open import lib
open import sum
module grammar (form : Set)(_eq_ : form → form → 𝔹)(drop-form : (x y : form) → x ≡ y → x eq y ≡ tt)(rise-form : (x y : form) → x eq y ≡ tt → x ≡ y) where
infix 7 _⇒_
data production : Set where
_⇒_ : form → 𝕃 (form ⊎ char) → production
record grammar {numpr... |
UNIT_TESTS/test.ads | io7m/coreland-openal-ada | 1 | 9148 | <filename>UNIT_TESTS/test.ads
private with Ada.Strings.Unbounded;
private with Ada.Text_IO;
package Test is
type Test_t is range 1 .. 1_000_000;
type Context_t is limited private;
type Result_t is (Not_Executed, Pass, Fail, Unsupported);
subtype Valid_Result_t is Result_t range Pass .. Unsupported;
proce... |
src/net/moonlightflower/wc3libs/misc/antlr/grammar/FDF.g4 | WaterKnight/wc3libs | 0 | 2771 | // Define a grammar called FDF
grammar FDF;
options {
language = Java;
}
@header {
package net.moonlightflower.wc3libs.misc.antlr.out.grammar;
}
CURLY_L : '{' ;
CURLY_R : '}' ;
COMMA : ',' ;
WS : (' ' | '\t' | '\r' | '\n') ;
ID : ID_START (ID_TAIL)* ;
fragment ID_START : [A-Za-z] ;
fragment ID_T... |
test/Fail/Issue1271b.agda | cruhland/agda | 1,989 | 16657 | -- Andreas, 2014-09-07
open import Common.Equality
data ⊥ : Set where
record ⊤ : Set where
-- Agda allows us to prove that A ≠ (A → B)
test : {A B : Set} → A ≡ (A → B) → ⊥
test ()
-- Agda allows us to prove that A ≠ (B → A)
test' : {A B : Set} → A ≡ (B → A) → ⊥
test' ()
-- But ⊤ is isomorphic to ⊤ → ⊤, which under ... |
source/textio/a-tienio.adb | ytomino/drake | 33 | 15704 | with Ada.Exceptions.Finally;
with Ada.Text_IO.Formatting;
with System.Runtime_Context;
package body Ada.Text_IO.Enumeration_IO is
procedure Put_To_Field (
To : out String;
Last : out Natural;
Item : Enum;
Set : Type_Set);
procedure Put_To_Field (
To : out String;
Last : out Na... |
source/numerics/a-nuds21.ads | ytomino/drake | 33 | 7622 | pragma License (Unrestricted); -- BSD 3-Clause
-- translated unit from dSFMT (dSFMT-params216091.h)
with Ada.Numerics.dSFMT;
package Ada.Numerics.dSFMT_216091 is
new dSFMT (
MEXP => 216091,
POS1 => 1890,
SL1 => 23,
MSK1 => 16#000bf7df7fefcfff#,
MSK2 => 16#000e7ffffef737ff#,
FIX1 ... |
test/utest_saved.asm | Fabian-Schneider01/Virtual-Piano | 1 | 242830 | <reponame>Fabian-Schneider01/Virtual-Piano<gh_stars>1-10
#automatically generated code by pressing save button
#values will be compared in utest_tool to check wether buttons create the correct pitch
#checked if values of duration, volume and instrument are in range
#!this is not the test itself! will be called by utest... |
unicode-ucd-generate_case_folding-simple.adb | annexi-strayline/ASAP-Unicode | 1 | 27143 | <filename>unicode-ucd-generate_case_folding-simple.adb
------------------------------------------------------------------------------
-- --
-- Unicode Utilities --
-- ... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_1624.asm | ljhsiun2/medusa | 9 | 88413 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x6645, %r9
nop
nop
nop
nop
add %r13, %r13
mov $0x6162636465666768, %r12
movq %r12, (%r9)
cmp $55115, %rax
lea addresses_D_ht+0x1b795, %rsi
lea addresses_A_ht+0x8045, %rdi
nop
... |
source/parser/program-parsers-on_reduce_2001.adb | optikos/oasis | 0 | 15282 |
with Program.Parsers.Nodes;
use Program.Parsers.Nodes;
pragma Style_Checks ("N");
procedure Program.Parsers.On_Reduce_2001
(Self : access Parse_Context;
Prod : Anagram.Grammars.Production_Index;
Nodes : in out Program.Parsers.Nodes.Node_Array) is
begin
case Prod is
when 2001 =>
null;
... |
tools-src/gnu/gcc/gcc/ada/g-locfil.ads | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 28660 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
programs/oeis/182/A182512.asm | neoneye/loda | 22 | 102709 | <gh_stars>10-100
; A182512: a(n) = (16^n - 1)/5.
; 0,3,51,819,13107,209715,3355443,53687091,858993459,13743895347,219902325555,3518437208883,56294995342131,900719925474099,14411518807585587,230584300921369395,3689348814741910323,59029581035870565171,944473296573929042739,15111572745182864683827,241785163922925834941235... |
other.7z/SFC.7z/SFC/ソースデータ/FZERO/FZERO/Game/set_bg2.asm | prismotizm/gigaleak | 46 | 22896 | Name: set_bg2.asm
Type: file
Size: 46251
Last-Modified: '2000-11-08T02:03:12Z'
SHA-1: C68C47C1917FF48C7339AA3965CBCED60E5D575A
Description: null
|
src/ada/src/uxas-comms-lmcp_net_client-service-route_aggregation.ads | pat-rogers/OpenUxAS | 0 | 4703 | <reponame>pat-rogers/OpenUxAS<gh_stars>0
with DOM.Core;
with Route_Aggregator; use Route_Aggregator;
with Route_Aggregator_Communication; use Route_Aggregator_Communication;
with Route_Aggregator_Common; use Route_Aggregator_Common;
with Ada.Contain... |
WinSock.asm | MichaelEvanchik/OpenPortTest | 1 | 3531 | .386
.model flat, stdcall
option casemap: none
include \masm32\include\windows.inc
include \masm32\include\user32.inc
include \masm32\include\kernel32.inc
include \masm32\include\shell32.inc
include \masm32\include\wsock32.inc
include \masm32\include\masm32.inc
includelib \masm32\lib\shell32.lib
includelib \masm32\lib\... |
libsrc/_DEVELOPMENT/arch/sms/z80/asm_sms_ldir_vram_to_vram.asm | grancier/z180 | 0 | 4052 | ; ========================================================================
;
; void *sms_ldir_vram_to_vram(void *dst, void *src, unsigned int n)
;
; memcpy within vram; ; VRAM addresses are assumed to be stable.
;
; ========================================================================
SECTION code_clib
SECTION cod... |
programs/oeis/115/A115274.asm | neoneye/loda | 22 | 160496 | ; A115274: a(n) = n + A115273(n), where A115273(n) = 0 for n = 1..3.
; 1,2,3,5,7,6,9,12,9,13,17,12,17,22,15,21,27,18,25,32,21,29,37,24,33,42,27,37,47,30,41,52,33,45,57,36,49,62,39,53,67,42,57,72,45,61,77,48,65,82,51,69,87,54,73,92,57,77,97,60,81,102,63,85,107,66,89,112,69,93,117,72,97,122,75,101,127,78,105,132,81,109,1... |
ada/core/demo/animal.adb | auzkok/libagar | 286 | 20501 | with Ada.Text_IO;
----------------------------
-- Agar(Object) -> Animal --
----------------------------
--
-- Ada implementation of the Agar object class "Animal".
--
package body Animal is
package C_obj is new System.Address_To_Access_Conversions (Animal);
package T_IO renames Ada.Text_IO;
function Create_C... |
exchange.agda | hazelgrove/hazelnut-agda | 0 | 1865 | <filename>exchange.agda
open import Prelude
open import Nat
open import dynamics-core
open import contexts
open import lemmas-disjointness
module exchange where
-- exchanging just two disequal elements produces the same context
swap-little : {A : Set} {x y : Nat} {τ1 τ2 : A} → (x ≠ y) →
((■ (x , τ1)) ,, (y , τ... |
GlanceTests/TestFiles/apple-script/example-jxa.applescript | dwandw/glance | 934 | 2462 | // This is a comment
const app = Application.currentApplication();
app.includeStandardAdditions = true;
app.displayAlert("Alert!");
|
tools/yasm/tests/nasm/equ.asm | fasttr-org/ftr | 0 | 175982 | <reponame>fasttr-org/ftr<gh_stars>0
mov ax,blah
shl ax,4-blah
blah equ 3
|
test/Succeed/QuotePatternLambda.agda | cruhland/agda | 1,989 | 12007 | <reponame>cruhland/agda
module _ where
open import Agda.Builtin.Reflection renaming (bindTC to _>>=_)
open import Agda.Builtin.Unit
open import Agda.Builtin.List
open import Agda.Builtin.Nat
open import Agda.Builtin.Equality
open import Agda.Builtin.Bool
_>>_ : {A B : Set} → TC A → TC B → TC B
m >> m₁ = m >>= λ _ → ... |
dv3/qlsd/inicrd.asm | olifink/smsqe | 0 | 168551 | <gh_stars>0
; QLSD Initilaise an SHDC card (via bit-banging) 1.00 (C) <NAME> 2017
;
; 2018-06-11 1.01 Take the QLSD hardware lock before initialising card (MK)
section procs
xdef inicrd
include 'dev8_dv3_qlsd_keys'
include 'dev8_keys_qlv'
include 'dev8_keys_err'
include 'dev8_keys_sys'
; algo :
; put i... |
test/simple_test.adb | HeisenbugLtd/flac-ada | 5 | 5378 | <gh_stars>1-10
------------------------------------------------------------------------------
-- Copyright (C) 2020 by Heisenbug Ltd. (<EMAIL>)
--
-- This work is free. You can redistribute it and/or modify it under the
-- terms of the Do What The Fuck You Want To Public License, Version 2,
-- as published by Sam H... |
src/fot/FOTC/Data/Nat/Inequalities.agda | asr/fotc | 11 | 2403 | ------------------------------------------------------------------------------
-- Inequalities on partial natural numbers
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymo... |
src/dnscatcher/dns/processor/rdata/dnscatcher-dns-processor-rdata-a_parser.ads | DNSCatcher/DNSCatcher | 4 | 7016 | -- Copyright 2019 <NAME> <<EMAIL>>
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "Software"), to
-- deal in the Software without restriction, including without limitation the
-- rights to use, copy, modify, merge, publish, ... |
rts/gcc-9/adainclude/i-cstrin.ads | letsbyteit/build-avr-ada-toolchain | 7 | 23386 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
alloy4fun_models/trashltl/models/11/czrr9Jsfc5jPcuL9L.als | Kaixi26/org.alloytools.alloy | 0 | 463 | open main
pred idczrr9Jsfc5jPcuL9L_prop12 {
always some f : File | eventually Trash = Trash'
}
pred __repair { idczrr9Jsfc5jPcuL9L_prop12 }
check __repair { idczrr9Jsfc5jPcuL9L_prop12 <=> prop12o } |
scripts/Route14.asm | opiter09/ASM-Machina | 1 | 168557 | <filename>scripts/Route14.asm
Route14_Script:
call EnableAutoTextBoxDrawing
ld hl, Route14TrainerHeaders
ld de, Route14_ScriptPointers
ld a, [wRoute14CurScript]
call ExecuteCurMapScriptInTable
ld [wRoute14CurScript], a
ret
Route14_ScriptPointers:
dw CheckFightingMapTrainers
dw DisplayEnemyTrainerTextAndStartB... |
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xca.log_21829_1267.asm | ljhsiun2/medusa | 9 | 86271 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x428a, %rsi
lea addresses_UC_ht+0x15da, %rdi
nop
nop
sub %r11, %r11
mov $0, %rcx
rep movsq
nop
nop
inc %rcx
lea addresses_WT_ht+0x194fa, %rsi
nop
nop
nop
cmp %r15, %r15
movw $0x6162, (%... |
problems/079/a079.adb | melwyncarlo/ProjectEuler | 0 | 19625 | <gh_stars>0
with Ada.Text_IO;
-- Copyright 2021 <NAME>
procedure A079 is
use Ada.Text_IO;
FT : File_Type;
Last_Index : Natural;
Passcode_Attempt_Str : String (1 .. 10);
File_Name : constant String := "problems/079/p079_keylog.txt";
Passcode : String (1 .. 1... |
src/spawner/statistics.asm | mvdhout1992/ts-patches | 33 | 240010 | %include "macros/patch.inc"
%include "macros/datatypes.inc"
%include "TiberianSun.inc"
cextern SpawnerActive
cextern IsSpectatorArray
cextern SpawnLocationsArray
@LJMP 0x004BAC2C, _HouseClass__HouseClass_Allocate_UnitTrackerClass_Stuff
@LJMP 0x0060A79C, _Send_Statistics_Packet_Write_Statistics_Dump
@LJMP 0x005B4333, ... |
libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_iy/cm48_sdcciy_hypot_callee.asm | meesokim/z88dk | 0 | 173332 | <filename>libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_iy/cm48_sdcciy_hypot_callee.asm
; float hypot(float x, float y) __z88dk_callee
SECTION code_fp_math48
PUBLIC cm48_sdcciy_hypot_callee, l0_cm48_sdcciy_hypot_callee
EXTERN am48_hypot, cm48_sdcciyp_dcallee2, cm48_sdcciyp_m482d
cm48_sdcciy_hypot_callee:
call c... |
models/amalgam/paper/simplem.als | transclosure/Amalgam | 4 | 642 | module chapter6/memory/abstractMemory [Addr, Data] ----- the model from page 217
sig Memory {
data: Addr -> lone Data
}
pred init [m: Memory] {
no m.data
}
pred write [m, m': Memory, a: Addr, d: Data] {
m'.data = m.data ++ a -> d
}
pred read [m: Memory, a: Addr, d: Data] {
let d' = m.data [a] | some d' impli... |
oeis/003/A003188.asm | neoneye/loda-programs | 11 | 176537 | ; A003188: Decimal equivalent of Gray code for n.
; Submitted by <NAME>(s1)
; 0,1,3,2,6,7,5,4,12,13,15,14,10,11,9,8,24,25,27,26,30,31,29,28,20,21,23,22,18,19,17,16,48,49,51,50,54,55,53,52,60,61,63,62,58,59,57,56,40,41,43,42,46,47,45,44,36,37,39,38,34,35,33,32,96,97,99,98,102,103,101,100,108,109,111,110,106,107,105,104,... |
src/laconic/laconic_meta/Laconic.g4 | ricsonc/parsimony | 0 | 4397 | grammar Laconic;
// The grammar for the Laconic language.
prog: trueprog;
trueprog: (command)* EOF ;
command: (funcdef | procdef | declare | nondefcommand) ;
nondefprog: (nondefcommand)* ;
nondefcommand: (funcproccall | whileloop | forloop | ifstate | ifelsestate | assign | returnstate | printstate) ;
funcdef: ... |
MIPS_CPU/P2/matrix.asm | CPUmaker/ComputerOrganizationDesign | 1 | 80048 | <reponame>CPUmaker/ComputerOrganizationDesign<gh_stars>1-10
.data
matrixA: .space 256
matrixB: .space 256
matrixC: .space 256
str_enter: .asciiz "\n"
str_space: .asciiz " "
.macro print_int(%x)
li $v0, 1
add $a0, $zero, %x
syscall
.end_macro
.macro print_str(%x)
li $v0, 4
add $a0, $zero, %x
syscall
.end_macro
... |
cmake-modules/ada/CMakeAdaCompilerABI.adb | jleopold28/snippets-and-notes | 0 | 10348 | <filename>cmake-modules/ada/CMakeAdaCompilerABI.adb
--I am pretty sure that due to CMake and Ada's object compile destination incompatibility during configuration initialization, this method of determining ABI will never work with CMake 2.8.7 downward.
with Text_Io;
use Text_Io;
procedure CMakeAdaCompilerABI is
defa... |
tools/scitools/conf/understand/ada/ada83/llio.ads | brucegua/moocos | 1 | 24915 | package low_level_io is
type devicetype is (console_printer_data,
console_printer_control,
console_keyboard_data,
console_keyboard_control);
subtype datatype is character;
type console_control_type is new integer;
procedure send_control(device : devi... |
4inline/conecta4.ads | iyan22/AprendeAda | 0 | 21217 | <filename>4inline/conecta4.ads
package conecta4 is
Max_Columnas: constant integer:=9;
Max_Filas: constant Integer:=6;
type T_celda is (Rojo, Azul, Nada);
subtype T_Ficha is T_celda range Rojo..Azul;
subtype T_Fila is Integer range 1..Max_Filas;
subtype T_Columna is Integer range 1..Max_Columnas;
... |
src/tcl-commands.ads | thindil/tashy2 | 2 | 27185 | -- Copyright (c) 2020-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 required by applicable law or... |
Qsi.Hana/Antlr/HanaParserInternal.g4 | ScriptBox99/chequer-qsi | 36 | 816 | parser grammar HanaParserInternal;
options {
tokenVocab=HanaLexerInternal;
}
@header {
using Qsi.Data;
using Qsi.Tree;
using Qsi.Utilities;
}
root
: EOF
| (hanaStatement (SEMI EOF? | EOF))+
;
hanaStatement
: dataManipulationStatement
| dataDefinitionStatement
| sessionManage... |
mario.asm | mariahassan54/Super-Mario-Game-in-Assembly-Language | 0 | 81370 | <gh_stars>0
.model medium, stdcall
.stack 100h
.data
skin DB 14d
clothes1 byte 06d
clothes2 byte 04d
unique byte 13d
.code
drawMario proc x:word, y:word
push AX
push BX
push CX
push DX
push SI
push DI
mov AX, @data
mov DS, AX
mov CX, x
... |
Cubical/Categories/Presheaf/Base.agda | FernandoLarrain/cubical | 1 | 11547 | {-# OPTIONS --safe #-}
module Cubical.Categories.Presheaf.Base where
open import Cubical.Foundations.Prelude
open import Cubical.Categories.Category
open import Cubical.Categories.Instances.Sets
open import Cubical.Categories.Instances.Functors
PreShv : ∀ {ℓ ℓ'} → Category ℓ ℓ' → (ℓS : Level)
→ Category (ℓ-ma... |
oeis/003/A003261.asm | neoneye/loda-programs | 11 | 244470 | ; A003261: Woodall (or Riesel) numbers: n*2^n - 1.
; 1,7,23,63,159,383,895,2047,4607,10239,22527,49151,106495,229375,491519,1048575,2228223,4718591,9961471,20971519,44040191,92274687,192937983,402653183,838860799,1744830463,3623878655,7516192767,15569256447,32212254719,66571993087,137438953471,283467841535,584115552255... |
oeis/057/A057428.asm | neoneye/loda-programs | 11 | 83929 | <filename>oeis/057/A057428.asm
; A057428: Sign(-n): a(n) = 1 if -n > 0, = -1 if -n < 0, = 0 if n = 0.
; Submitted by <NAME>
; 0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,... |
agda-stdlib-0.9/src/Relation/Binary/NonStrictToStrict.agda | qwe2/try-agda | 1 | 7569 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Conversion of ≤ to <, along with a number of properties
------------------------------------------------------------------------
-- Possible TODO: Prove that a conversion ≤ → < → ≤ returns a
-- relation equivale... |
bsp/upd70f3454/drivers/cstartup.asm | Davidfind/rt-thread | 7,482 | 473 | <reponame>Davidfind/rt-thread
;-----------------------------------------------------------------------------
; This file contains the startup code used by the V850 C/C++ compiler.
;
; Copyright (c) 1998-2009 IAR Systems AB.
;
; $Revision: 5028 $
;
;-----------------------------------------------------... |
open_folder_VSCode.applescript | snoop2head/Macbook_TouchBar_Shortcuts | 1 | 2527 | for f in "$@"; do
open -a 'Visual Studio Code' "$f"
done |
src/fltk-widgets-valuators-sliders-fill.adb | micahwelf/FLTK-Ada | 1 | 19021 | <filename>src/fltk-widgets-valuators-sliders-fill.adb
with
Interfaces.C.Strings,
System;
use type
System.Address;
package body FLTK.Widgets.Valuators.Sliders.Fill is
procedure fill_slider_set_draw_hook
(W, D : in System.Address);
pragma Import (C, fill_slider_set_draw_hook, "fill... |
src/Core/InterruptHandlers/LYC.asm | stoneface86/GameboyBoilerplateProj | 25 | 177426 | include "./src/Includes.inc"
section "LYCHandler", rom0
LYC::
ld a, LYC_INTERRUPT_CODE
ld [wLastInterrupt], a ; Save last interrupt code
reti
|
src/x86/msac.asm | ignatenkobrain/rav1e | 0 | 25056 | <filename>src/x86/msac.asm
; Copyright © 2019, VideoLAN and dav1d authors
; Copyright © 2019, Two Orioles, LLC
; 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... |
SoundEngine/DemoSource/song_shatterhand_nesasm.asm | jroweboy/FamiStudio | 0 | 89286 | <reponame>jroweboy/FamiStudio
;this file for FamiStudio Sound Engine generated by FamiStudio
shatterhand_music_data:
.db 1
.dw .instruments
.dw .samples-3
.dw .song0ch0,.song0ch1,.song0ch2,.song0ch3,.song0ch4
.db LOW(.tempo_env_9_mid), HIGH(.tempo_env_9_mid), 0, 0
.instruments:
.dw .env3,.env0,.env9,.... |
src/lib/chdir.asm | zys1310992814/BookOSv0.2 | 3 | 96883 | <reponame>zys1310992814/BookOSv0.2
[bits 32]
[section .text]
INT_VECTOR_SYS_CALL equ 0x80
_NR_CHDIR EQU 23
global chdir
chdir:
mov eax, _NR_CHDIR
mov ebx, [esp + 4]
int INT_VECTOR_SYS_CALL
ret |
Driver/Printer/PrintCom/Stream/DMA/dmaDataOutRedwood.asm | steakknife/pcgeos | 504 | 15702 | <gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1993 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Printer Drivers
FILE: dmaDataOutRedwood.asm
AUTHOR: <NAME>
ROUTINES:
Name Description
---- -----------
REVISION HI... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.