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 |
|---|---|---|---|---|
oeis/080/A080121.asm | neoneye/loda-programs | 11 | 179668 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A080121: a(n) is the smallest k > 0 such that n^2^k + (n+1)^2^k is prime, or -1 if no such k exists.
; Submitted by <NAME>
; 1,1,2,1,1,2,1,2,1,5
trn $0,1
pow $0,2
add $0,4
gcd $0,255
div $0,4
add $0,1
|
programs/oeis/324/A324128.asm | karttu/loda | 1 | 7499 | <filename>programs/oeis/324/A324128.asm
; A324128: a(n) = 2*n*Fibonacci(n) + (-1)^n + 1.
; 2,2,6,12,26,50,98,182,338,612,1102,1958,3458,6058,10558,18300,31586,54298,93026,158878,270602,459732,779286,1318222,2225666,3751250,6312438,10606572,17797418,29825282,49922402,83468678,139411778,232622148,387796318,645922550,1074... |
nxtmote/misc/src/libnxt/docs/reversing/samba.fw.asm | tinyos-io/tinyos-3.x-contrib | 1 | 176646 |
samba.fw: file format binary
Disassembly of section .data:
00000000 <.data>:
/*
* Interrupt vector
*/
0: ea000013 b 0x54 /* Reset */
4: eafffffe b 0x4 /* Illegal instruction */
8: ea000054 b 0x160 /* SWI */
c: eafffffe b 0xc /* Prefetch Abort */
10: eafffffe b 0x1... |
file_system/createDirectoryAtPath.applescript | adriannier/applescript-functions | 7 | 3271 | <filename>file_system/createDirectoryAtPath.applescript
(*
Creates a folder at the specified path (HFS-style or POSIX) with intermediate directories being created when necessary.
*)
createDirectoryAtPath("~/Desktop/Test/A/B/C/")
on createDirectoryAtPath(dirPath)
try
-- Expand tilde in filePath
if dirPath s... |
libsrc/malloc/free.asm | andydansby/z88dk-mk2 | 1 | 83226 | ; void __FASTCALL__ free(void *addr)
; 12.2006 aralbrec
XLIB free
LIB HeapFree_callee
XREF _heap, ASMDISP_HEAPFREE_CALLEE
.free
ld de,_heap
jp HeapFree_callee + ASMDISP_HEAPFREE_CALLEE
|
programs/oeis/038/A038167.asm | neoneye/loda | 22 | 99190 | ; A038167: G.f.: x*(1+3*x+x^2)/((1-x^2)^2*(1-x^5)).
; 0,1,3,3,6,5,10,10,15,15,20,21,28,28,36,35,45,45,55,55,65,66,78,78,91,90,105,105,120,120,135,136,153,153,171,170,190,190,210,210,230,231,253,253,276,275,300,300,325,325,350,351,378,378,406,405
lpb $0
mov $2,$0
seq $2,226294 ; Period 2: repeat [6, 4].
mul $2,$0... |
libsrc/adt/queue/adt_QueueDelete_callee.asm | andydansby/z88dk-mk2 | 1 | 241054 | ; void __CALLEE__ adt_QueueDelete_callee(struct adt_Queue *q, void *delete)
; 09.2005 aralbrec
XLIB adt_QueueDelete_callee
XDEF ASMDISP_ADT_QUEUEDELETE_CALLEE
LIB adt_QueueDeleteS_callee
XREF ASMDISP_ADT_QUEUEDELETES_CALLEE
XREF _u_free
.adt_QueueDelete_callee
pop hl
pop de
ex (sp),hl
.asmentry
push ... |
alloy4fun_models/trainstlt/models/13/Wmnf67hkoJyM6yJB8.als | Kaixi26/org.alloytools.alloy | 0 | 1537 | <filename>alloy4fun_models/trainstlt/models/13/Wmnf67hkoJyM6yJB8.als
open main
pred idWmnf67hkoJyM6yJB8_prop14 {
always ( all t:Train | let tr=t.pos |pos!=pos' and ( one (tr.signal :>Green) )implies after (tr.signal in Signal-Green) )
}
pred __repair { idWmnf67hkoJyM6yJB8_prop14 }
check __repair { idWmnf67hkoJyM6y... |
test/Fail/InstanceErrorMessage.agda | cruhland/agda | 1,989 | 8642 | <reponame>cruhland/agda
module _ where
record Semiring (A : Set) : Set where
infixl 6 _+_
field _+_ : A → A → A
open Semiring {{...}} public
infix 4 _≡_
postulate
Nat Bool : Set
_≡_ : Nat → Nat → Set
refl : ∀ {x} → x ≡ x
to : ∀ {x} (y : Nat) → x ≡ y
trans : {x y z : Nat} → x ≡ y → y ≡ z → x ≡ ... |
oeis/342/A342433.asm | neoneye/loda-programs | 11 | 101894 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A342433: a(n) = Sum_{k=1..n} gcd(k,n)^(n-1).
; Submitted by <NAME>
; 1,3,11,74,629,8085,117655,2113796,43059849,1001955177,25937424611,743379914746,23298085122493,793811662313709,29192938251553759,1152956691126550536,48661191875666868497,2185928270773974154773,104127350... |
base/ntos/ke/x86/ldtsup2.asm | MasonLeeBack/WRKRazzle | 54 | 240536 | title "Ldt Support 2 - Low Level"
;++
;
; Copyright (c) Microsoft Corporation. All rights reserved.
;
; You may only use this code if you agree to the terms of the Windows Research Kernel Source Code License agreement (see License.txt).
; If you do not agree to the terms, do not use the code.
;
;
; Module Nam... |
programs/oeis/081/A081490.asm | neoneye/loda | 22 | 243978 | <reponame>neoneye/loda<gh_stars>10-100
; A081490: Leading term of n-th row of A081491.
; 1,2,4,9,19,36,62,99,149,214,296,397,519,664,834,1031,1257,1514,1804,2129,2491,2892,3334,3819,4349,4926,5552,6229,6959,7744,8586,9487,10449,11474,12564,13721,14947,16244,17614,19059,20581,22182,23864,25629,27479,29416,31442,33559,35... |
Transynther/x86/_processed/US/_zr_/i3-7100_9_0xca_notsx.log_410_1470.asm | ljhsiun2/medusa | 9 | 15795 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x1c230, %rsi
lea addresses_WT_ht+0xcc04, %rdi
nop
nop
nop
nop
nop
cmp $53795, %rax
mov $95, %rcx
rep movsl
nop
cmp $61926, %r9
lea addresses_WC_ht+0x14664, %rsi
lea addresses_WC_ht+0x5fb... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/renaming4.ads | best08618/asylo | 7 | 5081 | package Renaming4 is
type Big_Array is array (Natural range <>) of Integer;
subtype Index is Natural range 1..4;
subtype My_Array is Big_Array(Index);
A : constant My_Array := (1, 2, 3, 4);
subtype Small is Index range 1..2;
subtype Small_Array is Big_Array(Small);
B : Small_Array renames A(In... |
oeis/130/A130553.asm | neoneye/loda-programs | 11 | 88715 | <reponame>neoneye/loda-programs
; A130553: Numerators of partial sums for a series for 2*Pi*sqrt(3)/9.
; Submitted by <NAME>
; 1,7,6,169,1523,133,72623,87149,823077,15638477,46915441,13834041,224803169,6936783521,5587964507,4157445593923,12472336782289,170187831339,71785227258967,153825486983593,4905323862699739
mov $... |
Preservation.agda | danelahman/higher-order-aeff-agda | 2 | 662 | <filename>Preservation.agda
open import Data.List hiding ([_]) renaming (_∷_ to _∷ₗ_)
open import Data.Maybe
open import Data.Product
open import AEff
open import EffectAnnotations
open import Renamings
open import Substitutions renaming (⟨_,_⟩ to ⟨_,,_⟩)
open import Types
open import Relation.Binary.PropositionalEqu... |
out/PropLog/Syntax.agda | JoeyEremondi/agda-soas | 39 | 11816 | {-
This second-order term syntax was created from the following second-order syntax description:
syntax PropLog | PR
type
* : 0-ary
term
false : * | ⊥
or : * * -> * | _∨_ l20
true : * | ⊤
and : * * -> * | _∧_ l30
not : * -> * | ¬_ r50
theory
(⊥U∨ᴸ) a |> or (false, a) = a
(⊥U∨ᴿ) a |> ... |
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xca_notsx.log_21829_1769.asm | ljhsiun2/medusa | 9 | 90279 | <filename>Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xca_notsx.log_21829_1769.asm
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r8
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
// Load
lea addresses_WT+0x1500e, %rsi
nop
and %rbp, %rbp
movups (%... |
programs/oeis/131/A131505.asm | neoneye/loda | 22 | 86822 | ; A131505: n, -1, n, 2n+2.
; 0,-1,0,2,1,-1,1,4,2,-1,2,6,3,-1,3,8,4,-1,4,10,5,-1,5,12,6,-1,6,14,7,-1,7,16,8,-1,8,18,9,-1,9,20,10,-1,10,22,11,-1,11,24,12,-1,12,26,13,-1,13,28,14,-1,14,30,15,-1,15,32,16,-1,16,34,17,-1,17,36,18,-1,18,38,19,-1,19,40,20,-1,20,42,21,-1,21,44,22,-1,22,46,23
add $0,2
seq $0,131728 ; a(4n) = n,... |
oeis/128/A128797.asm | neoneye/loda-programs | 11 | 100681 | ; A128797: (n^2-n)*3^n.
; 0,0,18,162,972,4860,21870,91854,367416,1417176,5314410,19486170,70150212,248714388,870500358,3013270470,10331213040,35126124336,118550669634,397493421714,1324978072380,4393348345260,14498049539358,47636448486462,155901104137512,508373165665800,1652212788413850,5353169434460874,1729485509595051... |
reports/16_dense_array.exp2.asm | arnaudroger/re2j-benchmark | 0 | 18275 | # JMH version: 1.19
# VM version: JDK 1.8.0_131, VM 25.131-b11
# VM invoker: /usr/lib/jvm/java-8-oracle/jre/bin/java
# VM options: <none>
# Warmup: 20 iterations, 1 s each
# Measurement: 20 iterations, 1 s each
# Timeout: 10 min per iteration
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Throughput... |
linux64/lesson11.asm | mashingan/notes-asmtutor | 1 | 240266 | format ELF64 executable 3
entry start
include 'procs.inc'
segment readable executable
start:
mov rdx, 0
@@:
inc rdx
mov rax, rdx
call iprintLF
cmp rdx, 10
jne @b
call quitProgram
|
Kernel/asm/TimeDriver.asm | fgomez98/TP2SO | 0 | 23385 | <gh_stars>0
GLOBAL getHour
GLOBAL getMin
GLOBAL getSec
section .text
getTime:
out 70h, al
in al, 71h
ret
getHour:
push rbp
mov rbp, rsp
call configStatusRegisterB
mov rax, 0h
mov al, 4h
call getTime
mov rsp, rbp
pop rbp
ret
getMin:
push rbp
mov rbp, rsp
call configStatus... |
programs/oeis/299/A299766.asm | neoneye/loda | 22 | 25238 | <reponame>neoneye/loda
; A299766: Greatest odd noncomposite divisor of n.
; 1,1,3,1,5,3,7,1,3,5,11,3,13,7,5,1,17,3,19,5,7,11,23,3,5,13,3,7,29,5,31,1,11,17,7,3,37,19,13,5,41,7,43,11,5,23,47,3,7,5,17,13,53,3,11,7,19,29,59,5,61,31,7,1,13,11,67,17,23,7,71,3,73,37,5,19,11,13,79,5,3,41,83,7,17,43
add $0,1
lpb $0
dif $0,2
... |
src/curve25519_other_mult.ads | joffreyhuguet/curve25519-spark2014 | 4 | 24692 | with Big_Integers; use Big_Integers;
with Types; use Types;
with Conversion; use Conversion;
package Curve25519_Other_Mult with
SPARK_Mode
is
function Multiply_1 (X, Y : Integer_255) return Product_Integer with
Pre => All_In_Range (X, Y, Min_Multiply, Max_Multiply),
Post => (+Multiply_1'Result) =
... |
Cubical/Data/Universe/Properties.agda | limemloh/cubical | 0 | 9331 | <reponame>limemloh/cubical<gh_stars>0
{-# OPTIONS --cubical --safe #-}
module Cubical.Data.Universe.Properties where
open import Cubical.Core.Everything
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Univalence
isIn... |
worker/deps/openssl/config/archs/VC-WIN64A/asm_avx2/crypto/bn/rsaz-x86_64.asm | SteveMcFarlin/mediasoup | 1,666 | 11460 | <reponame>SteveMcFarlin/mediasoup
default rel
%define XMMWORD
%define YMMWORD
%define ZMMWORD
section .text code align=64
EXTERN OPENSSL_ia32cap_P
global rsaz_512_sqr
ALIGN 32
rsaz_512_sqr:
mov QWORD[8+rsp],rdi ;WIN64 prologue
mov QWORD[16+rsp],rsi
mov rax,rsp
$L$SEH_begin_rsaz_512_sqr:
mov rdi,rcx
mov rsi,rdx... |
src/main/antlr4/SqlBase.g4 | jaceklaskowski/sql-parser | 4 | 5290 | <filename>src/main/antlr4/SqlBase.g4<gh_stars>1-10
grammar SqlBase;
init : '{' value (',' value)* '}' ;
value : init
| INT
;
INT : [0-9]+ ;
|
src/framework/aunit-test_suites-simple_main_generic.ads | persan/AUnit-addons | 0 | 25436 | <reponame>persan/AUnit-addons<filename>src/framework/aunit-test_suites-simple_main_generic.ads
-- ----------------------------------------------------------------------------
--
-- The intent of this unit is to provide a simple main program that runs
-- one Test_Suite.
-- The procedure is intended to be instansiate... |
test/Compiler/simple/Sort.agda | cruhland/agda | 1,989 | 11295 |
module _ where
open import Common.Prelude renaming (_∸_ to _-_) -- work-around for #1855
_<_ : Nat → Nat → Bool
a < b with b - a
... | zero = false
... | suc _ = true
insert : Nat → List Nat → List Nat
insert x [] = x ∷ []
insert x (y ∷ xs) = if x < y then x ∷ y ∷ xs else (y ∷ insert x xs)
sort : List Nat → List ... |
src/gl/implementation/gl-attributes.adb | Roldak/OpenGLAda | 79 | 13808 | <reponame>Roldak/OpenGLAda
-- part of OpenGLAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
with System;
with GL.API.Doubles;
with GL.API.Ints;
with GL.API.Shorts;
with GL.API.Singles;
with GL.API.UInts;
with GL.Low_Level;
with GL.Errors;
package body GL.Attributes is
... |
EH.agda | andmkent/misc-HoTT | 1 | 6142 | <reponame>andmkent/misc-HoTT
{-# OPTIONS --without-K #-}
-- Finished 6pm Th, March 24! yay!
-- Bit thanks to tzaikin for posting his work online (some of his macros
-- were essential for this proof for me) and to the code we saw in class today.
module EH where
open import Level using (_⊔_)
open import Data.Product ... |
src/compiling/ANTLR/grammar/PackageItems.g4 | jecassis/VSCode-SystemVerilog | 75 | 4384 | <reponame>jecassis/VSCode-SystemVerilog
grammar PackageItems;
import DeclarationTypes;
package_item : package_or_generate_item_declaration
| anonymous_program
| package_export_declaration
| timeunits_declaration ;
package_or_generate_item_declaration : net_declaration
| data_declaration
| task_declaration
... |
programs/oeis/062/A062918.asm | jmorken/loda | 1 | 15741 | ; A062918: Sum of the digit reversals of the first n natural numbers.
; 1,3,6,10,15,21,28,36,45,46,57,78,109,150,201,262,333,414,505,507,519,541,573,615,667,729,801,883,975,978,991,1014,1047,1090,1143,1206,1279,1362,1455,1459,1473,1497,1531,1575,1629,1693,1767,1851,1945,1950,1965,1990,2025,2070,2125,2190,2265,2350,2445... |
programs/oeis/188/A188530.asm | neoneye/loda | 22 | 89725 | ; A188530: 2^(2n+1)-5*2^(n-1)-1.
; 2,21,107,471,1967,8031,32447,130431,523007,2094591,8383487,33544191,134197247,536829951,2147401727,8589770751,34359410687,137438298111,549754503167,2199020634111
add $0,3
mov $1,2
pow $1,$0
sub $1,2
bin $1,2
sub $1,15
div $1,4
add $1,2
mov $0,$1
|
lib/Haskell/Prim/Ord.agda | dxts/agda2hs | 0 | 3861 |
module Haskell.Prim.Ord where
open import Agda.Builtin.Nat as Nat hiding (_==_; _<_)
open import Agda.Builtin.Char
open import Haskell.Prim
open import Haskell.Prim.Eq
open import Haskell.Prim.Bool
open import Haskell.Prim.Int
open import Haskell.Prim.Word
open import Haskell.Prim.Integer
open import Haskell.Prim.Do... |
data/pokemon/dex_entries/blissey.asm | AtmaBuster/pokeplat-gen2 | 6 | 5115 | <reponame>AtmaBuster/pokeplat-gen2<gh_stars>1-10
db "HAPPINESS@" ; species name
db "Biting into one"
next "of the delicious"
next "eggs that BLISSEY"
page "provides will make"
next "everyone around"
next "smile with joy.@"
|
Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0xca_notsx.log_21829_1848.asm | ljhsiun2/medusa | 9 | 171022 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xd1f0, %rsi
lea addresses_normal_ht+0x1abf0, %rdi
clflush (%rsi)
nop
nop
nop
nop
nop
sub $35607, %r13
mov $61, %rcx
rep movsw
nop
nop
nop
nop
nop
cmp %r10, %r10
lea addresses_D_ht+0x18120, %... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c2/c24202d.ada | best08618/asylo | 7 | 18946 | -- C24202D.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... |
emc_512/lab/PSpice/SCHEMATICS/Schematictl.als | antelk/teaching | 0 | 2087 | * Schematics Aliases *
.ALIASES
X_U1 U1(1=$N_0001 2=$N_0002 )
R_R2 R2(1=$N_0003 2=$N_0001 )
R_R1 R1(1=0 2=$N_0004 )
V_V3 V3(+=$N_0003 -=0 )
T_T1 T1(A+=$N_0002 A-=0 B+=$N_0004 B-=0 )
.ENDALIASES
|
_maps/obj2A.asm | vladjester2020/Sonic1TMR | 0 | 171757 | ; ---------------------------------------------------------------------------
; Sprite mappings - doors (SBZ)
; ---------------------------------------------------------------------------
dc.w byte_89FE-Map_obj2A, byte_8A09-Map_obj2A
dc.w byte_8A14-Map_obj2A, byte_8A1F-Map_obj2A
dc.w byte_8A2A-Map_obj2A, byt... |
tools-src/gnu/gcc/gcc/ada/par-prag.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 1118 | <filename>tools-src/gnu/gcc/gcc/ada/par-prag.adb
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
programs/oeis/109/A109164.asm | neoneye/loda | 22 | 105430 | ; A109164: a(n) = 4*a(n-1) - 4*a(n-2) + a(n-3), n >= 3; a(0)=1, a(1)=6, a(2)=20.
; 1,6,20,57,154,408,1073,2814,7372,19305,50546,132336,346465,907062,2374724,6217113,16276618,42612744,111561617,292072110,764654716,2001892041,5241021410,13721172192,35922495169,94046313318,246216444788
mov $1,8
mov $2,2
lpb $0
sub $0,1... |
programs/add_two_numbers.asm | blurpy/8-bit-computer-emulator | 12 | 27434 | <reponame>blurpy/8-bit-computer-emulator
LDA 14 ; Put the value from memory location 14 in the A-register
ADD 15 ; Put the value from memory location 15 in the B-register, and store A+B in the A-register
OUT ; Output the value of the A-register
HLT ; Halt the computer
ORG 14 ; Change memory lo... |
libsrc/_DEVELOPMENT/adt/p_queue/c/sdcc_iy/p_queue_size_fastcall.asm | meesokim/z88dk | 0 | 176695 |
; size_t p_queue_size_fastcall(p_queue_t *q)
SECTION code_adt_p_queue
PUBLIC _p_queue_size_fastcall
defc _p_queue_size_fastcall = asm_p_queue_size
INCLUDE "adt/p_queue/z80/asm_p_queue_size.asm"
|
test/Succeed/Issue4447.agda | shlevy/agda | 1,989 | 8886 | -- Andreas, 2020-02-15, issue #4447, reported by zraffer
record Wrap : Set₁ where
constructor ↑
field ↓ : Set
open Wrap public
data Unit : Set
-- The type checker sees through this definition,
-- thus, the positivity checker should as well:
𝕌nit = ↑ Unit
data Unit where
unit : ↓ 𝕌nit
-- WAS: internal error... |
programs/oeis/198/A198395.asm | jmorken/loda | 1 | 104449 | ; A198395: Ceiling(n*sqrt(17)).
; 0,5,9,13,17,21,25,29,33,38,42,46,50,54,58,62,66,71,75,79,83,87,91,95,99,104,108,112,116,120,124,128,132,137,141,145,149,153,157,161,165,170,174,178,182,186,190,194,198,203,207,211,215,219,223,227,231,236,240,244,248,252,256,260,264,269,273,277,281,285,289,293,297,301,306,310,314,318,32... |
oeis/142/A142060.asm | neoneye/loda-programs | 11 | 14919 | <gh_stars>10-100
; A142060: Primes congruent to 19 mod 33.
; Submitted by <NAME>
; 19,151,283,349,547,613,811,877,1009,1471,1669,1801,1867,1933,1999,2131,2593,2659,2791,2857,3121,3187,3253,3319,3517,3583,3847,4111,4177,4243,4441,4507,4639,4903,4969,5101,5167,5233,5431,5563,5827,6091,6421,6553,6619,6883,6949,7213,7411,7... |
agda/Number/Instances/QuoIntFromInt.agda | mchristianl/synthetic-reals | 3 | 7445 | <reponame>mchristianl/synthetic-reals<filename>agda/Number/Instances/QuoIntFromInt.agda
{-# OPTIONS --cubical --no-import-sorts #-}
module Number.Instances.QuoIntFromInt where
open import Agda.Primitive renaming (_⊔_ to ℓ-max; lsuc to ℓ-suc; lzero to ℓ-zero)
open import Cubical.Foundations.Everything hiding (⋆) renam... |
Code/Z80-Assembly/RainbowDemo/src/rainbow-demo.asm | sonic2000gr/RainbowProject | 6 | 161125 | ;
; Rainbow Project Demo Program
; For Festival use
;
; (C) 2018 - The Rainbow Project Team
org 0x0000 ; Program entry point
endram: equ 0x27FF ; Stack at end of RAM (dec 10239)
LD SP, endram ; Load Stack Pointer
JP start ; JP to main program (subs follow)
disp: LD A,(HL) ; Display subroutine for null terminat... |
Stop.g4 | pocketlabs/stop | 3 | 2707 | <filename>Stop.g4
grammar Stop;
// Rules
file: packageDeclaration? ( include | model | enumeration )+;
packageName
: ID
| packageName DOT ID
;
packageDeclaration
: 'package' packageName
;
include
: 'include' FILENAME
;
model
: START? MODEL_TYPE (throw_type)? block
| STOP? MODEL_TYPE (thro... |
courses/spark_for_ada_programmers/labs/answers/130_state_abstractions/state/reverser.ads | AdaCore/training_material | 15 | 10179 | with A_Stack; use A_Stack;
package Reverser with
SPARK_Mode
is
subtype Array_Range is Natural range 1 .. 10_000;
type Array_Of_Items is array (Array_Range range <>) of Item;
procedure Reverse_Array (A : in out Array_Of_Items) with
Global => (In_Out => The_Stack),
Pre => A'Length > 0 and th... |
definition/swift-mt/src/antlr/SwiftMtComponentFormat.g4 | Yanick-Salzmann/libmessage | 0 | 7092 | <filename>definition/swift-mt/src/antlr/SwiftMtComponentFormat.g4
grammar SwiftMtComponentFormat;
@parser::header {
#include "proto/SwiftMtComponentDefinition.pb.h"
#include "SwiftMtComponentFormatLexer.h"
#include <stack>
#include <vector>
}
@parser::members {
class DefaultErrorListener : public antlr4::BaseErr... |
programs/oeis/226/A226293.asm | neoneye/loda | 22 | 163365 | <reponame>neoneye/loda<gh_stars>10-100
; A226293: Class of sequences of (p-1)-tuples of reverse order of natural numbers for p = 7.
; 6,5,4,3,2,1,13,12,11,10,9,8,20,19,18,17,16,15,27,26,25,24,23,22,34,33,32,31,30,29,41,40,39,38,37,36,48,47,46,45,44,43,55,54,53,52,51,50,62,61,60,59,58,57,69,68,67,66,65,64,76,75,74,73,72... |
alloy4fun_models/trashltl/models/4/RZ4MYDWcpFr479Jnn.als | Kaixi26/org.alloytools.alloy | 0 | 3297 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idRZ4MYDWcpFr479Jnn_prop5 {
some f: File | eventually (f in Trash)
}
pred __repair { idRZ4MYDWcpFr479Jnn_prop5 }
check __repair { idRZ4MYDWcpFr479Jnn_prop5 <=> prop5o } |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1002.asm | ljhsiun2/medusa | 9 | 11755 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xd640, %rdi
clflush (%rdi)
nop
nop
nop
nop
and $18812, %r15
movb $0x61, (%rdi)
nop
nop
nop
inc %r14
lea addresses_normal_ht+0xed1c, %r9
nop
nop
nop
xo... |
programs/oeis/016/A016824.asm | neoneye/loda | 22 | 7364 | ; A016824: (4n+1)^12.
; 1,244140625,282429536481,23298085122481,582622237229761,7355827511386641,59604644775390625,353814783205469041,1667889514952984961,6582952005840035281,22563490300366186081
mul $0,4
add $0,1
pow $0,12
|
test/Fail/Issue1886-dont-duplicate-ip.agda | cruhland/agda | 1,989 | 2795 | -- Andreas, 2016-12-30, issue #1886
-- Make sure we do not duplicate types of parameters.
-- {-# OPTIONS --allow-unsolved-metas #-}
-- {-# OPTIONS -v tc.data:40 -v scope.data.def:40 -v tc.decl:10 -v tc:20 #-}
data D {A : Set} (x y : {!!}) : Set where
-- Expected: only one type and one sort meta.
|
programs/oeis/003/A003769.asm | jmorken/loda | 1 | 101727 | ; A003769: Number of perfect matchings (or domino tilings) in K_4 X P_n.
; 3,16,75,361,1728,8281,39675,190096,910803,4363921,20908800,100180081,479991603,2299777936,11018898075,52794712441,252954664128,1211978608201,5806938376875,27822713276176,133306628004003,638710426743841,3060245505715200
add $0,2
cal $0,3501 ; a(... |
oeis/212/A212069.asm | neoneye/loda-programs | 11 | 27599 | <gh_stars>10-100
; A212069: Number of (w,x,y,z) with all terms in {1,...,n} and 3*w = x+y+z.
; Submitted by <NAME>
; 0,1,2,9,22,41,72,115,170,243,334,443,576,733,914,1125,1366,1637,1944,2287,2666,3087,3550,4055,4608,5209,5858,6561,7318,8129,9000,9931,10922,11979,13102,14291,15552,16885,18290,19773,21334,22973
pow $0,3... |
GPG Verify.applescript | levigroker/GPGVerify | 1 | 214 | <reponame>levigroker/GPGVerify
(*
GPG Verify
A manually activated Script to verify signed files with GPG (see GPG homepage
http://www.gnupg.org/ )
By <NAME> <mailto:<EMAIL>>
Version 1.0.4 April 24th, 2020
This script works in tandem with the 'gpg' command line binary (which should
already be installed and functional) ... |
void/scripts/reload.applescript | claymation/void | 0 | 2494 | on run argv
set browser to item 1 of argv
activate application browser
tell application "System Events" to keystroke "r" using command down
activate application "Terminal"
end run
|
antlr-basics/src/main/java/com/poc/chapter_06_part01_CSV/CSV.g4 | cgonul/antlr-poc | 0 | 7184 | grammar CSV;
file: hdr row+;
hdr : row;
row : element (',' element)* NL;
element : TEXT | STRING |;
TEXT : ~[,\n\r"]+ ;
STRING : '"' ('""'|~'"')* '"' ; // quote-quote is an escaped quote
NL : '\r'? '\n' ; |
source/sql/firebird/matreshka-internals-sql_drivers-firebird.ads | svn2github/matreshka | 24 | 27957 | <filename>source/sql/firebird/matreshka-internals-sql_drivers-firebird.ads<gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project ... |
src/System/IO/Examples/Transducers.agda | ilya-fiveisky/agda-system-io | 10 | 6170 | <reponame>ilya-fiveisky/agda-system-io
open import Coinduction using ( ♯_ )
open import Data.Maybe using ( Maybe ; just ; nothing ; maybe )
open import Data.Nat using ( ℕ ; _+_ )
open import Data.Integer using ( ℤ ; +_ ; _⊖_ )
open import System.IO.Transducers using ( inp ; out ; done ; _⇒_ ; Inp_⇒_ ; C⟦_⟧ ; _⟨¿⟩_ )
op... |
ppl/src/main/antlr/OpenDistroPPLParser.g4 | pakio/sql | 0 | 1 | /*
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://www.apache.org/licenses/LICENSE-2.0
*... |
c3.unicap.br.waldemar.plp/Ada2Java/Ada2Java/src/ada2java/assets/ComandoEntrada.adb | LuisFLCCQ/base_cod_java | 1 | 7876 | with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
procedure Check_Positive is
N : Integer;
begin
Put_Line ("Enter an integer value: ");
Get (N);
if N > 0 then
Put_Line (N);
Put_Line (" is a positive number");
end if;
end Check_Positive;
|
1A/S5/PIM/tps/tp6/piles.adb | MOUDDENEHamza/ENSEEIHT | 4 | 23422 | -- Implantation du module Piles.
with Ada.Unchecked_Deallocation;
with Ada.Text_IO; use Ada.Text_IO;
--// Ce module est nécessaire parce qu'on a ajouté le SP Afficher.
package body Piles is
procedure Free is
new Ada.Unchecked_Deallocation (T_Cellule, T_Pile);
procedure Initialiser (Pile : out T_Pile) is
beg... |
oeis/136/A136799.asm | neoneye/loda-programs | 11 | 83102 | ; A136799: Last term in a sequence of at least 3 consecutive composite integers.
; Submitted by <NAME>(w2)
; 10,16,22,28,36,40,46,52,58,66,70,78,82,88,96,100,106,112,126,130,136,148,156,162,166,172,178,190,196,210,222,226,232,238,250,256,262,268,276,280,292,306,310,316,330,336,346,352,358,366,372,378,382,388,396,400,40... |
oeis/153/A153052.asm | neoneye/loda-programs | 11 | 164618 | ; A153052: Numbers n such that 2*n + 5 is not a prime.
; Submitted by <NAME>
; 2,5,8,10,11,14,15,17,20,22,23,25,26,29,30,32,35,36,38,40,41,43,44,45,47,50,53,55,56,57,58,59,60,62,64,65,68,69,70,71,74,75,77,78,80,82,83,85,86,89,90,91,92,95,98,99,100,101,102,104,105,106,107,108,110,113,115,116,119,120,121,122,124,125,127,... |
Data/BinaryTree/Properties.agda | Lolirofle/stuff-in-agda | 6 | 6368 | module Data.BinaryTree.Properties where
import Lvl
open import Data hiding (empty)
open import Data.BinaryTree
open import Data.Boolean
open import Functional as Fn
open import Logic.Propositional
open import Numeral.Natural
open import Type
private variable ℓ ℓᵢ ℓₗ ℓₙ ℓₒ : Lvl.Level
private variable n : ℕ
priva... |
src/main/antlr4/com/bitplan/exp/Exp.g4 | BITPlan/com.bitplan.antlr | 0 | 847 | /**
* Copyright 2016-2017 BITPlan GmbH
* Author: <NAME>
*
* this is an Example Antlr Grammar
*
*
* it is specified using antlr syntax and uses the ANTLR V4 parser generator
* see http://www.antlr.org
*
* for Eclipse you might want to install the IDE support:
* https://github.com/jknack/antlr4ide
*
*/
gra... |
lib/types/Circle.agda | UlrikBuchholtz/HoTT-Agda | 1 | 13113 | {-# OPTIONS --without-K #-}
open import lib.Basics
open import lib.types.Paths
open import lib.types.Pi
open import lib.types.Unit
module lib.types.Circle where
{-
Idea :
data S¹ : Type₀ where
base : S¹
loop : base == base
I’m using Dan Licata’s trick to have a higher inductive type with definitional
reduction... |
Transynther/x86/_processed/NONE/_st_/i9-9900K_12_0xca.log_4_643.asm | ljhsiun2/medusa | 9 | 99231 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %r9
push %rax
push %rbx
push %rsi
lea addresses_normal_ht+0x8cb1, %r9
nop
cmp $43131, %r12
movups (%r9), %xmm5
vpextrq $0, %xmm5, %r14
nop
nop
nop
nop
add $16856, %rsi
lea addresses_WC_ht+0x1e31, %rsi
clflush (%rsi)
nop
nop
nop
nop
inc %rbx... |
tools/css-commands-list.adb | stcarrez/ada-css | 3 | 21239 | -----------------------------------------------------------------------
-- css-commands-list -- List command for CSS tools
-- Copyright (C) 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 t... |
oeis/189/A189666.asm | neoneye/loda-programs | 11 | 92174 | <filename>oeis/189/A189666.asm
; A189666: Positions of 1 in A189664; complement of A189665.
; Submitted by <NAME>
; 2,6,8,11,14,18,20,24,26,29,33,35,38,42,44,47,50,54,56,60,62,65,68,72,74,78,80,83,87,89,92,95,99,101,105,107,110,114,116,119,122,126,128,132,134,137,141,143,146,150,152,155,158,162,164,168,170,173,176,180,... |
oeis/266/A266975.asm | neoneye/loda-programs | 11 | 5539 | ; A266975: Binary representation of the n-th iteration of the "Rule 78" elementary cellular automaton starting with a single ON (black) cell.
; Submitted by <NAME>
; 1,110,11100,1101000,111010000,11010100000,1110101000000,110101010000000,11101010100000000,1101010101000000000,111010101010000000000,1101010101010000000000... |
3-mid/physics/interface/source/private/bullet/bullet_physics-shape.ads | charlie5/lace | 20 | 25660 | with
physics.Shape,
c_math_c.Pointers,
bullet_c.Pointers,
bullet_c;
package bullet_Physics.Shape
--
-- Provides glue between a physics shape and a Bullet3D shape.
--
is
type Item is abstract new physics.Shape.item with
record
C : bullet_c.Pointers.Shape_Pointer;
end recor... |
src/asf-requests.adb | Letractively/ada-asf | 0 | 21838 | -----------------------------------------------------------------------
-- asf.requests -- ASF Requests
-- Copyright (C) 2010, 2011, 2012, 2013 <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 Lice... |
Driver/Printer/DotMatrix/Canon48/canon48ControlCodes.asm | steakknife/pcgeos | 504 | 86738 | <filename>Driver/Printer/DotMatrix/Canon48/canon48ControlCodes.asm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Canon Bubble-Jet 48-jet Print Driver
FILE: canon48ControlCodes.asm
AUTHO... |
Task/Cholesky-decomposition/Ada/cholesky-decomposition-2.ada | mullikine/RosettaCodeData | 1 | 2862 | with Ada.Numerics.Generic_Elementary_Functions;
package body Decomposition is
package Math is new Ada.Numerics.Generic_Elementary_Functions
(Matrix.Real);
procedure Decompose (A : Matrix.Real_Matrix; L : out Matrix.Real_Matrix) is
use type Matrix.Real_Matrix, Matrix.Real;
Order : constant Posit... |
test/Fail/Issue1441-3.agda | redfish64/autonomic-agda | 0 | 12903 | <filename>test/Fail/Issue1441-3.agda
-- Andreas, 2015-02-24
data Wrap (A : Set) : Set where
wrap : A → Wrap A
data D : Set → Set1 where
c : (A : Set) → D (Wrap A)
test : (A : Set) → D A → Set
test .(Wrap A) (c A) = A
-- this should crash Epic as long as A is considered forced in constructor c
-- should succeed... |
oeis/177/A177411.asm | neoneye/loda-programs | 11 | 87622 | ; A177411: a(n) = binomial((n+1)*2^(n+1), n)/(n+1).
; Submitted by <NAME>
; 1,4,92,10416,5258872,11297164096,100955979001152,3709635244861142784,556796318904269731012544,339945532169833436692992549888,841788571395046141591475043524725760
mov $1,2
mov $2,$0
add $0,1
pow $1,$2
mul $1,$0
mul $1,2
bin $1,$2
div $1,$0
mov ... |
Categories/Object/Product.agda | copumpkin/categories | 98 | 16252 | {-# OPTIONS --universe-polymorphism #-}
open import Categories.Category
module Categories.Object.Product {o ℓ e} (C : Category o ℓ e) where
open Category C
open Equiv
open import Function using (flip)
open import Level
open import Function using (flip)
open import Categories.Support.PropositionalEquality
open impor... |
src/ada/src/services/uxas-comms-lmcp_net_client-service.ads | VVCAS-Sean/OpenUxAS | 88 | 27542 | <filename>src/ada/src/services/uxas-comms-lmcp_net_client-service.ads
with DOM.Core;
package UxAS.Comms.LMCP_Net_Client.Service is
pragma Elaborate_Body;
type Service_Base is abstract new LMCP_Object_Network_Client_Base with private;
type Any_Service is access all Service_Base'Class;
-- ServiceBase::... |
PRG/levels/Hills.asm | narfman0/smb3_pp1 | 0 | 179127 | W2PY_InsideL: .include "PRG/levels/Hills/PyramidI" ; World 2 Pyramid (Inside)
UnusedHillsL: .include "PRG/levels/Hills/UnusedR" ; Unused ruins of an underground level of some sort
UnusedPipeJc1L: .include "PRG/levels/Hills/UnusedP1" ; Unused apparent pipe junction
EmptyHills1L: .include "PRG/levels/Hills/Empty1" ; Em... |
test/Succeed/PostponedTypeChecking.agda | cruhland/agda | 1,989 | 13882 |
-- There was a bug when postponing a type checking problem under
-- a non-empty context. Fixed now.
module PostponedTypeChecking where
data Unit : Set where
unit : Unit
record R : Set where
field f : Unit
data *_ (A : Set) : Set where
<_> : A -> * A
get : {A : Set} -> * A -> A
get < x > = x
mk : Unit -> Unit... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-8650U_0xd2.log_27_914.asm | ljhsiun2/medusa | 9 | 97941 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xe2a8, %rax
clflush (%rax)
nop
sub %r13, %r13
movups (%rax), %xmm0
vpextrq $0, %xmm0, %rdi
nop
nop
nop
sub %r9, %r9
lea addresses_WT_ht+0xf78a, %rsi
nop
nop
dec %rax
movw $0x61... |
prototyping/Luau/RuntimeError/ToString.agda | Tr4shh/Roblox-Luau | 0 | 5506 | <gh_stars>0
module Luau.RuntimeError.ToString where
open import Agda.Builtin.Float using (primShowFloat)
open import FFI.Data.String using (String; _++_)
open import Luau.RuntimeError using (RuntimeErrorᴮ; RuntimeErrorᴱ; local; return; TypeMismatch; UnboundVariable; SEGV; app₁; app₂; block; bin₁; bin₂)
open import Lua... |
programs/oeis/260/A260033.asm | neoneye/loda | 22 | 242365 | ; A260033: Number of configurations of the general monomer-dimer model for a 2 X 2n square lattice.
; 1,7,71,733,7573,78243,808395,8352217,86293865,891575391,9211624463,95173135221,983314691581,10159461285307,104966044432531,1084493574452273,11204826469232593,115766602184825143,1196083332322900695,12357755266727364237,... |
assembler/classes/production/bip32/prog.asm | jorgy343/condor | 0 | 97572 | <gh_stars>0
movl 0xaaf0,r1
movh 0x2c44,r1
mov r1,r5
j .skip_data
.data
d32 55
.skip_data
mov r5,[r2] |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/repinfo-input.ads | djamal2727/Main-Bearing-Analytical-Model | 0 | 2409 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
gcc-gcc-7_3_0-release/gcc/ada/xr_tabls.adb | best08618/asylo | 7 | 22445 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
canonical-value-forms.agda | hazelgrove/hazelnut-agda | 0 | 15013 | open import Nat
open import Prelude
open import contexts
open import dynamics-core
module canonical-value-forms where
canonical-value-forms-num : ∀{Δ d} →
Δ , ∅ ⊢ d :: num →
d val →
Σ[ n ∈ Nat ] (d == N n)
canonical-value-for... |
awa/plugins/awa-workspaces/src/awa-workspaces-beans.adb | twdroeger/ada-awa | 81 | 7902 | <gh_stars>10-100
-----------------------------------------------------------------------
-- awa-workspaces-beans -- Beans for module workspaces
-- Copyright (C) 2011, 2012, 2017, 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this... |
week_7/dataset/Assembly/056585.asm | Dumebi35/DumebiCSC102 | 0 | 167899 | <filename>week_7/dataset/Assembly/056585.asm
.model small
.stack 100h
.data
wordArray dw 1000,2000,3000
sum dw ?
.code
extrn clrscr:proc, writeint:proc, crlf:proc
main proc
mov ax,@data ; init data segment
mov ds,ax
call ClrScr
mov sum,0
mov cx,3 ; loop cou... |
gcc-gcc-7_3_0-release/gcc/ada/prj-env.adb | best08618/asylo | 7 | 20365 | <reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/ada/prj-env.adb<gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS ... |
tests/src/images/images_test_jpg.adb | Cre8or/OpenGLAda | 79 | 6931 | -- part of OpenGLAda, (c) 2020 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
with GL.Buffers;
with GL.Types.Colors;
with GL.Fixed.Matrix;
with GL.Images;
with GL.Immediate;
with GL.Objects.Textures.Targets;
with GL.Pixels;
with GL.Toggles;
with GL.Types;
with GL_Test.Display_Backend;... |
llvm-gcc-4.2-2.9/gcc/ada/exp_prag.adb | vidkidz/crossbridge | 1 | 20834 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
data/phone/text/tiffany_overworld.asm | Dev727/ancientplatinum | 28 | 3443 | <gh_stars>10-100
TiffanyAskNumber1Text:
text "Hi! You like"
line "CLEFAIRY too?"
para "They're so very"
line "cute, aren't they?"
para "I think we can be"
line "good friends!"
para "I want to know"
line "your phone number!"
para "Let's talk about"
line "CLEFAIRY!"
done
TiffanyAskNumber2Text:
text "I wa... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.