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
src/executor_service.ads
egilhh/Futures-in-Ada
1
7778
package Executor_Service is type Object is tagged limited private; type Callable is limited interface; type Callable_Ptr is access all Callable'Class; procedure Call(Self : in out Callable) is abstract; procedure Execute(Self : in out Object; Callback : Callable_Ptr); private task type Thread is...
puzzle_15/src/puzzle_15.adb
AdaForge/Advent_of_Code_2020
0
29158
procedure Puzzle_15 is begin null; end Puzzle_15;
programs/oeis/141/A141212.asm
neoneye/loda
22
177967
; A141212: a(n) = 1, if n == {1,3,4} mod 6; otherwise 0. ; 1,0,1,1,0,0,1,0,1,1,0,0,1,0,1,1,0,0,1,0,1,1,0,0,1,0,1,1,0,0,1,0,1 mod $0,6 mov $1,$0 div $0,2 pow $0,$1 mod $0,4
src/GBA.Display.Objects.adb
98devin/ada-gba-dev
7
3526
-- Copyright (c) 2021 <NAME> -- zlib License -- see LICENSE for details. with Ada.Unchecked_Conversion; with System; use type System.Address; package body GBA.Display.Objects is type Shape_Scale is record Scale : OBJ_Scale; Shape : OBJ_Shape; end record with Size => 4; for Shape_Scal...
all-inst-test.asm
noc7c9/DSD-Project1-Assembler
0
172180
<filename>all-inst-test.asm<gh_stars>0 # Simple program that roughly checks the functionality of all instructions. # The IP will get stuck at 0xFF (255) if all instructions work properly, if not # IP *should* get stuck at another value. ##### # JMPs, Jump Commands ## // JMP UNC, Unconditional Jump test_JMP_UNC: {JMP...
oeis/261/A261120.asm
neoneye/loda-programs
11
3214
; A261120: The number of distinct triple points in the set of function values FLSN(m/6/7^n), m in 0, 1, 2... 6*7^n, where FLSN:[0,1] is the "flowsnake" plane filling curve. ; Submitted by <NAME>(s1) ; 2,17,134,989,7082,50057,351854,2467349,17284562,121031297,847337174,5931714509,41523064442,290664639737,2034662044094,1...
libsrc/_DEVELOPMENT/math/float/math32/lm32/z80/asm_derror_nannc.asm
jpoikela/z88dk
640
4233
<gh_stars>100-1000 SECTION code_clib SECTION code_fp_math32 PUBLIC derror_nannc EXTERN m32_derror_nannc defc derror_nannc = m32_derror_nannc
sw/552tests/inst_tests/unaligned/jal_9.asm
JPShen-UWM/ThreadKraken
1
81513
<reponame>JPShen-UWM/ThreadKraken<gh_stars>1-10 // Original test: ./freiberg/hw4/problem6/jal_1.asm // Author: freiberg // Test source code follows //jal high case jal 1023 addi r1, r7, 0
Lab5/ask4.asm
mikaelaksil/NTUA-Microprocessors
0
169568
<filename>Lab5/ask4.asm INCLUDE macros.asm DATA SEGMENT CHARS DB 20 DUP(?) ;Ο πίνακας των χαρακτήρων DATA ENDS CODE SEGMENT ASSUME CS:CODE, DS:DATA MAIN PROC FAR MOV AX,DATA MOV DS,AX MOV CL,0 ;Μετρητής ψηφίων START: MOV DI,0 ;Δείκτης πίνακα χαρακτήρων NEXTCHAR: ;Εισαγω...
arbitrary/extended_real-io.adb
jscparker/math_packages
30
14934
<reponame>jscparker/math_packages ----------------------------------------------------------------------- -- package body Extended_Real.IO, translations between extended precision and text -- Copyright (C) 2008-2018 <NAME> -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with o...
programs/oeis/048/A048577.asm
neoneye/loda
22
28747
<reponame>neoneye/loda<filename>programs/oeis/048/A048577.asm ; A048577: Pisot sequence L(3,4). ; 3,4,6,9,14,22,35,56,90,145,234,378,611,988,1598,2585,4182,6766,10947,17712,28658,46369,75026,121394,196419,317812,514230,832041,1346270,2178310,3524579,5702888,9227466,14930353,24157818,39088170,63245987,102334156,16558014...
src/Syntax/Substitution/Lemmas.agda
DimaSamoz/temporal-type-systems
4
15053
<filename>src/Syntax/Substitution/Lemmas.agda -- Generic term traversals module Syntax.Substitution.Lemmas where open import Syntax.Types open import Syntax.Context open import Syntax.Terms open import Syntax.Substitution.Kits open import Syntax.Substitution.Instances open import Data.Sum open import Relation.Binary...
Task/Substring/Ada/substring-1.ada
LaudateCorpus1/RosettaCodeData
1
29961
type String is array (Positive range <>) of Character;
src/test/ref/c64dtv-gfxexplorer.asm
jbrandwood/kickc
2
174921
<reponame>jbrandwood/kickc // Interactive Explorer for C64DTV Screen Modes /// @file /// C64 DTV version 2 Registers and Constants /// /// Sources /// (J) https://www.c64-wiki.com/wiki/C64DTV_Programming_Guide /// (H) http://dtvhacking.cbm8bit.com/dtv_wiki/images/d/d9/Dtv_registers_full.txt // Commodore 64 PRG execut...
bubblesort/code.asm
mateusragazzi/MIPS-Codes
2
373
#------------------------------------------------------------------------------ # Programa BubleSort: ordenação pelo método da bolha #------------------------------------------------------------------------------ # Para visualização correta do programa fonte, configure editor no MARS: # Ir em Settings -> Editor # Sel...
stdlib-exts/Data/Word64/Exts.agda
WhatisRT/meta-cedille
35
12416
module Data.Word64.Exts where open import Agda.Builtin.Nat open import Agda.Builtin.Word open import Data.Nat open import Data.Word addWord : Word64 → Word64 → Word64 addWord a b = primWord64FromNat (primWord64ToNat a + primWord64ToNat b) subWord : Word64 → Word64 → Word64 subWord a b = primWord64FromNat (primWord64...
alloy4fun_models/trashltl/models/11/WJYMF2QKpjTQJPcMr.als
Kaixi26/org.alloytools.alloy
0
2560
open main pred idWJYMF2QKpjTQJPcMr_prop12 { (some f:File | (eventually f in Trash) implies (always f in Trash)) } pred __repair { idWJYMF2QKpjTQJPcMr_prop12 } check __repair { idWJYMF2QKpjTQJPcMr_prop12 <=> prop12o }
src/disc-layout.asm
kieranhj/funky-fresh
0
173794
\ -*- mode:beebasm -*- \ ****************************************************************** \ * DISC BUILD \ ****************************************************************** LOAD_ADDRESS = &FF0E00 EXEC_ADDRESS = &FF0E00 SWRAM_ADDRESS = &8000 \ PUTTEXT "src/boot.txt", "!BOOT", &FFFFFF, 0 \ PUTBASIC "src/loader.bas",...
src/real_time_clock.ads
Fabien-Chouteau/coffee-clock
7
27206
<filename>src/real_time_clock.ads ------------------------------------------------------------------------------- -- -- -- Coffee Clock -- -- ...
automaton-script/src/main/antlr4/ascript/ASTokens.g4
francoiscolombo/fc-automation
0
679
<reponame>francoiscolombo/fc-automation<gh_stars>0 lexer grammar ASTokens; // note "lexer grammar" // operators MUL : '*' ; DIV : '/' ; ADD : '+' ; SUB : '-' ; EXP : '^' ; MOD : 'MOD' ; // logical NEQ : '<>' ; GTE : '>=' ; LTE : '<=' ; GT : '>' ; LT : '<' ; EQ : '=' ; // relational AND : 'AND' | 'and' ; OR : 'OR...
Z80EmulatorConsoleApp/DataFiles/code.asm
PendleCodeMonkey/Z80Emulator
0
246812
;************************************************************************ ;** An Assembly File Listing to generate a 16K ROM for the ZX Spectrum ** ;************************************************************************ ; ------------------------- ; Last updated: 13-DEC-2004 ; ------------------------- ;...
externals/skia/third_party/externals/yasm/source/patched-yasm/modules/objfmts/bin/tests/multisect/multisect1.asm
terrajobst/linux-packaging-skiasharp
2,151
21885
<reponame>terrajobst/linux-packaging-skiasharp [BITS 32] [MAP all] ; This file is loaded as a DOS .COM file. [SEGMENT _TEXT start=0 vstart=100h] ; shrink & relocate stack: mov sp, stack_ends ; NASM puts 460h here - ; 9B0h is desired. mov bx, sp mov cl, 4 shr bx, cl mov ah, 4A...
test/gameboy/slidshow/pics.asm
gb-archive/asmotor
0
99820
; -- ; -- All the pictures are in seperate sections so we can fit them into an ; -- image. gbi_Show is in the HOME page so no need for lcall ; -- ; -- There is no reason why this couldn't be in the USER.Z80 file but I ; -- happen to like very modular projects and small sourcefiles ; -- INCLUDE "utility.i" ...
MySource/reverse.asm
AbdulrahmanAbumdas/emu8086
287
25761
.model small .data string1 db 10 dup(' '),13,10, '$' .code mov ax, @data mov ds, ax lea si, string1 mov ah, 1 READ_NEXT: int 21h cmp al, 13 je NEXT mov [si], al inc si jmp READ_NEXT NEXT: mov al, '$' mov [si], al dec si lea di, string1 int 21h BEG: mov al, [di] mov bl, [si] mov [di], bl m...
src/smk-runs.ads
LionelDraghi/smk
10
25266
<reponame>LionelDraghi/smk -- ----------------------------------------------------------------------------- -- smk, the smart make (http://lionel.draghi.free.fr/smk/) -- © 2018, 2019 <NAME> <<EMAIL>> -- SPDX-License-Identifier: APSL-2.0 -- ----------------------------------------------------------------------------- --...
tests/src/testsuite-decode.adb
Fabien-Chouteau/COBS
0
12712
with Ada.Unchecked_Deallocation; with Test_Utils.Abstract_Decoder.COBS_Simple; with Test_Utils.Abstract_Decoder.COBS_Stream; with Testsuite.Decode.Basic_Tests; with Testsuite.Decode.Multiframe_Tests; package body Testsuite.Decode is Kind : Decoder_Kind := Decoder_Kind'First; ---------------------- -- Set_...
Transynther/x86/_processed/NC/_ht_st_zr_un_sm_/i7-8650U_0xd2_notsx.log_1508_891.asm
ljhsiun2/medusa
9
2410
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r15 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_D_ht+0xb590, %r15 clflush (%r15) nop nop nop nop xor $49696, %r12 mov (%r15), %r9d nop nop nop cmp %r9, %r9 lea addresses_WC_ht+0x6f50, %rcx nop xor $508, %r...
libsrc/target/lviv/input/in_keytranstbl_qwerty.asm
ahjelm/z88dk
640
28281
; This table translates key presses into ascii codes. ; Also used by 'GetKey' and 'LookupKey'. An effort has been made for ; this key translation table to emulate a PC keyboard with the 'CTRL' key SECTION rodata_clib PUBLIC in_keytranstbl_qwerty ; This is a QWERTY keyboard layout .in_keytranstbl_qwerty ;Unshifte...
test/interaction/Issue2575/M.agda
cruhland/agda
1,989
13148
module Issue2575.M where A : Set A = Set
src/regex.g4
DanielBV/RegexEngine
0
5269
grammar regex; main: regex EOF; regex: expr* alternative*; alternative: '|' expr*; expr: subexpr quantifier?; subexpr: regexGroup #groupPattern | atomicChar #atomicPattern | ESCAPED_RESERVED_CHAR #escapedReservedAtomicPattern | CHARACTER_CLASS #characterClass | complexCharacterClass #complexCl...
projects/batfish/src/main/antlr4/org/batfish/grammar/flatjuniper/FlatJuniper_policy_options.g4
jeffkala/batfish
0
5184
parser grammar FlatJuniper_policy_options; import FlatJuniper_common; options { tokenVocab = FlatJuniperLexer; } metric_expression : ( METRIC | METRIC2 ) MULTIPLIER multiplier = dec ( OFFSET offset = dec )? ; po_as_path : AS_PATH name = junos_name regex = AS_PATH_REGEX ; po_as_p...
libsrc/_DEVELOPMENT/adt/ba_stack/c/sdcc_iy/ba_stack_push_callee.asm
meesokim/z88dk
0
164098
; int ba_stack_push_callee(ba_stack_t *s, int c) SECTION code_adt_ba_stack PUBLIC _ba_stack_push_callee EXTERN _b_array_append_callee defc _ba_stack_push_callee = _b_array_append_callee INCLUDE "adt/ba_stack/z80/asm_ba_stack_push.asm"
RedBlackTree.agda
toonn/sciartt
0
8653
{- Verified Red-Black Trees <NAME> Based on <NAME>'s "Red-Black Trees in a Functional Setting" where he uses red-black trees to implement sets. Invariants ---------- 1. No red node has a red parent 2. Every Path from the root to an empty node contains the same number of black nodes. (E...
source/main.adb
bracke/Ext2Dir
1
25986
-- StrongEd$WrapWidth=256 -- StrongEd$Mode=Ada -- with Ada.Command_Line; with Ada.Text_IO; with Ada.Characters.Handling; with Ada.Strings.Unbounded;-- use Ada.Strings.Unbounded; with System.Unsigned_Types; use System.Unsigned_Types; With Ada.Strings; use Ada.Strings; With Ada.String...
programs/oeis/153/A153491.asm
karttu/loda
1
171833
<reponame>karttu/loda ; A153491: Triangle T(n,m)= 11*binomial(n,k) - 8 read by rows, 0<=k<=n. ; 3,3,3,3,14,3,3,25,25,3,3,36,58,36,3,3,47,102,102,47,3,3,58,157,212,157,58,3,3,69,223,377,377,223,69,3,3,80,300,608,762,608,300,80,3,3,91,388,916,1378,1378,916,388,91,3,3,102,487,1312,2302,2764,2302,1312,487,102,3,3,113,597,1...
lined-buffer.adb
jrcarter/Lined
0
22062
with Ada.Containers.Indefinite_Vectors; with Ada.Directories; with Ada.Strings.Unbounded; with Ada.Text_IO; package body Lined.Buffer with SPARK_Mode => Off, Refined_State => (State => (Line_List, File_Name) ) is type Line_Info (Length : Natural) is record Mark : Boolean := False; Line : String (1 .. Le...
lib/src/xr/x86/X2C.asm
zanud/xds-2.60
53
20867
; COPYRIGHT (c) 1995,99,2002 XDS. All Rights Reserved. ; COPYRIGHT (c) 2002 Excelsior LLC. All Rights Reserved. cpu 386 bits 32 %ifdef OS2 group DGROUP _DATA _BSS section _DATA use32 align=4 FLAT public 'DATA' %else group DGROUP _DATA _BSS section _DATA u...
nine/main.asm
sgadrat/super-tilt-bro
91
13277
cursed: .( ; Do nothing, still reserve 3 bytes, so it can be changed by a JMP to do soimething without changing address rti nop nop .) nmi: .( ; Save CPU registers php pha txa pha tya pha ; Do not draw anything if not ready lda nmi_processing beq end ; reload PPU OAM (Objects Attributes Memory) with f...
src/firmware-tests/Platform/Clock/PollAfterClockDummy.asm
pete-restall/Cluck2Sesame-Prototype
1
1523
<reponame>pete-restall/Cluck2Sesame-Prototype<filename>src/firmware-tests/Platform/Clock/PollAfterClockDummy.asm<gh_stars>1-10 #include "Platform.inc" #include "PollChain.inc" radix decimal PollAfterClockDummy code global POLL_AFTER_CLOCK POLL_AFTER_CLOCK: return end
polynomial/clenshaw/factorial.ads
jscparker/math_packages
30
8107
<filename>polynomial/clenshaw/factorial.ads -- PACKAGE Factorial -- -- Natural logarithm of Factorial for arguments 0 and greater. -- -- Uses Stieltjes' Continued Fraction method arg > 32, and -- table for 0 <= arg <= 32. -- -- Meant to be good to (much much) better than 30 digits (if you -- can instantiate with a 30...
alloy4fun_models/trainstlt/models/2/Hi5C3n9sEyxHgwcqL.als
Kaixi26/org.alloytools.alloy
0
1646
<gh_stars>0 open main pred idHi5C3n9sEyxHgwcqL_prop3 { always ((Train->Track - pos) + pos) = ((Train->Track - pos) + pos) } pred __repair { idHi5C3n9sEyxHgwcqL_prop3 } check __repair { idHi5C3n9sEyxHgwcqL_prop3 <=> prop3o }
src/natools-references__protected.ads
faelys/natools
0
2238
------------------------------------------------------------------------------ -- Copyright (c) 2013-2014, <NAME> -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- purpose ...
programs/oeis/213/A213035.asm
karttu/loda
1
171364
; A213035: n^2-[n/3]^2, where [] = floor. ; 0,1,4,8,15,24,32,45,60,72,91,112,128,153,180,200,231,264,288,325,364,392,435,480,512,561,612,648,703,760,800,861,924,968,1035,1104,1152,1225,1300,1352,1431,1512,1568,1653,1740,1800,1891,1984,2048 mov $1,6 mul $1,$0 div $1,6 mul $1,9 sub $1,$0 add $1,2 div $1,3 pow $1,2 div $...
mbr.asm
egormkn/bootloader
38
5207
<reponame>egormkn/bootloader ;********************************************************************; ;* x86 Master Boot Record *; ;* *; ;* github.com/egormkn/MBR-Boot-Manager *; ;******...
programs/oeis/330/A330797.asm
neoneye/loda
22
178076
; A330797: Evaluation of the Stirling cycle polynomials at -1/2 and normalized with (-2)^n. ; 1,1,-1,3,-15,105,-945,10395,-135135,2027025,-34459425,654729075,-13749310575,316234143225,-7905853580625,213458046676875,-6190283353629375,191898783962510625,-6332659870762850625,221643095476699771875,-8200794532637891559375,3...
tests/exec/inst_list/list.asm
ykskb/dax86
12
160413
BITS 32 label0: org 0x7c00 ; implemented ; add byte [eax], ah; 00 add rm8 r8 add dword [ebp+4], eax ; 01 add rm32 r32 add byte ah, [ebp] ; 02 add r8 rm8 add dword eax, [ebp+4] ; 03 add r32, rm32 add byte al, 3 ; 04 add al imm8 add dword eax, 0x100000 ; 05 add eax imm32 push...
Appl/Art/Decks/GeoDeck/LCDiamondA.asm
steakknife/pcgeos
504
27734
LCDiamondA label byte word C_LIGHT_RED Bitmap <71,100,BMC_PACKBITS,BMF_MONO> db 0xf8, 0x00 db 0xf8, 0x00 db 0xf8, 0x00 db 0xf8, 0x00 db 0x01, 0x00, 0x80, 0xfa, 0x00 db 0x01, 0x00, 0x80, 0xfa, 0x00 db 0x01, 0x01, 0xc0, 0xfa, 0x00 db 0x01, 0x01, 0xc0, 0xfa, 0x00 db 0x01, 0x03, 0xe0, 0xfa, 0x00 db ...
oeis/021/A021163.asm
neoneye/loda-programs
11
173751
<reponame>neoneye/loda-programs ; A021163: Decimal expansion of 1/159. ; Submitted by <NAME> ; 0,0,6,2,8,9,3,0,8,1,7,6,1,0,0,6,2,8,9,3,0,8,1,7,6,1,0,0,6,2,8,9,3,0,8,1,7,6,1,0,0,6,2,8,9,3,0,8,1,7,6,1,0,0,6,2,8,9,3,0,8,1,7,6,1,0,0,6,2,8,9,3,0,8,1,7,6,1,0,0,6,2,8,9,3,0,8,1,7,6,1,0,0,6,2,8,9,3,0 add $0,1 mov $3,1 lpb $0 ...
gen/templates/Syntax.agda
JoeyEremondi/agda-soas
39
11095
<filename>gen/templates/Syntax.agda {- This second-order term syntax was created from the following second-order syntax description: $sig_string -} module ${syn_name}.Syntax where open import SOAS.Common open import SOAS.Context open import SOAS.Variable open import SOAS.Families.Core open import SOAS.Construction....
oeis/100/A100449.asm
neoneye/loda-programs
11
15860
; A100449: Number of ordered pairs (i,j) with |i| + |j| <= n and gcd(i,j) <= 1. ; Submitted by <NAME> ; 1,5,9,17,25,41,49,73,89,113,129,169,185,233,257,289,321,385,409,481,513,561,601,689,721,801,849,921,969,1081,1113,1233,1297,1377,1441,1537,1585,1729,1801,1897,1961,2121,2169,2337,2417,2513,2601,2785,2849,3017,3097,32...
programs/oeis/321/A321371.asm
karttu/loda
1
82560
<reponame>karttu/loda ; A321371: n + [n*r/s] + [n*t/s], where r = 1, s = cos(2*Pi/5), t = sec(2*Pi/5). ; 14,28,43,57,73,87,102,116,132,146,161,175,191,205,220,234,250,264,278,293,307,323,337,352,366,382,396,411,425,441,455,470,484,500,514,528,543,557,573,587,602,616,632,646,661,675,691,705,720,734,750,764,779 mov $2,$...
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xa0_notsx.log_64_1785.asm
ljhsiun2/medusa
9
21318
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x530d, %rbx nop nop nop sub %rax, %rax movl $0x61626364, (%rbx) nop nop nop dec %r12 lea addresses_WC_ht+0x112fe, %rsi lea addresses_UC_ht+0x1a30d, %rdi nop nop nop nop ...
programs/oeis/049/A049802.asm
neoneye/loda
22
88124
<filename>programs/oeis/049/A049802.asm ; A049802: a(n) = n mod 2 + n mod 4 + ... + n mod 2^k, where 2^k <= n < 2^(k+1). ; 0,0,1,0,2,2,4,0,3,4,7,4,7,8,11,0,4,6,10,8,12,14,18,8,12,14,18,16,20,22,26,0,5,8,13,12,17,20,25,16,21,24,29,28,33,36,41,16,21,24,29,28,33,36,41,32,37,40,45,44,49,52,57,0,6,10,16,16,22,26,32,24,30,34...
experiments/test-suite/singlyLinkedList.als
kaiyuanw/MuAlloy
6
274
pred test1 { some disj List0, List1: List {some disj Node0: Node { List = List0 + List1 header = List1->Node0 Node = Node0 link = Node0->Node0 }} } run test1 for 3 pred test2 { no List no header no Node no link } run test2 for 3 pred test3 { some disj Node0, Node1, Node2: Node { no List no header Node = Node0 + Nod...
programs/oeis/096/A096027.asm
neoneye/loda
22
103216
; A096027: Numbers n such that (n+j) mod (2+j) = 1 for j from 0 to 10 and (n+11) mod 13 <> 1. ; 27723,55443,83163,110883,138603,166323,194043,221763,249483,277203,304923,332643,388083,415803,443523,471243,498963,526683,554403,582123,609843,637563,665283,693003,748443,776163,803883,831603,859323,887043 mov $1,$0 div $1...
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_1673.asm
ljhsiun2/medusa
9
2346
.global s_prepare_buffers s_prepare_buffers: push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0xe378, %rsi lea addresses_A_ht+0xb428, %rdi nop nop nop nop sub $29370, %rbx mov $20, %rcx rep movsw nop nop nop nop dec %rbp pop %rsi pop %rdi pop %rcx pop %rbx pop %rbp ret .global s_faulty_load s_...
RoguelikeToolkit.Dice/Dice.g4
myarichuk/RoguelikeToolkit
7
7696
<filename>RoguelikeToolkit.Dice/Dice.g4<gh_stars>1-10 /* syntax inspired by https://github.com/brianbruggeman/dice, notation taken from https://en.wikipedia.org/wiki/Dice_notation */ grammar Dice; NUMBER: [0-9]+; DICE: ('d'|'D'); KEEP: ('k'|'K'); LPAREN: '('; RPAREN: ')'; PERCENT: '%'; PLUS: '+'; MINUS: '-'; MULTI...
stellaris-technology/Stellaris.g4
Starxy/Peco
0
5389
<gh_stars>0 grammar Stellaris; file : (pair|var)* ; map : '{' (pair)* '}' ; pair : BAREWORD SPECIFIER value ; var : VARIABLE SPECIFIER NUMBER ; array : '{' value+ '}' ; value : NUMBER | BOOLEAN | DATE | STRING | VARIABLE | BAREWORD | map | array ; BOOLEAN ...
Cubical/README.agda
limemloh/cubical
0
4033
{-# OPTIONS --cubical #-} module Cubical.README where ------------------------------------------------------------------------ -- An experimental library for Cubical Agda ----------------------------------------------------------------------- -- The library comes with a .agda-lib file, for use with the library -- man...
workers.adb
annexi-strayline/AURA
13
6382
------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- ANNEXI-STRAYLINE Reference Implementation -- -- ...
Base/Syntax/Vars.agda
inc-lc/ilc-agda
10
4227
------------------------------------------------------------------------ -- INCREMENTAL λ-CALCULUS -- -- Sets of variables ------------------------------------------------------------------------ module Base.Syntax.Vars (Type : Set) where -- The notion of sets of variables -- -- This module is calculus-indepen...
37.asm
AsadKhalil/Assembly_x86
0
104652
<filename>37.asm<gh_stars>0 [org 0x0100] push _str push substr2 call findSubstr mov ax, 0x4c00 int 21h findSubstr: push bp mov bp,sp push ax push bx push cx push dx push si push di push es sub sp, 2 push word [bp+4] call strlen pop dx sub sp, 2 push word [bp+6] ca...
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_4879_1056.asm
ljhsiun2/medusa
9
16808
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %r15 push %rbp push %rcx push %rdx lea addresses_normal_ht+0xe8e4, %r15 clflush (%r15) nop nop nop nop nop inc %r12 movl $0x61626364, (%r15) nop nop and %rcx, %rcx lea addresses_A_ht+0x108a8, %r13 nop and $60226, %rdx mov $0x616263646566676...
libsrc/_DEVELOPMENT/math/float/am9511/lam32/c/sccz80/fmod_callee.asm
ahjelm/z88dk
640
27051
<reponame>ahjelm/z88dk SECTION code_fp_am9511 PUBLIC fmod_callee EXTERN cam32_sccz80_fmod_callee defc fmod_callee = cam32_sccz80_fmod_callee IF __CLASSIC ; SDCC bridge for Classic PUBLIC _fmod_callee EXTERN cam32_sdcc_fmod_callee defc _fmod_callee = cam32_sdcc_fmod_callee EN...
notes/talks/MetaVars/Crash.agda
shlevy/agda
1,989
16653
<reponame>shlevy/agda module Crash where data Nat : Set where zero : Nat suc : Nat -> Nat data Bool : Set where true : Bool false : Bool F : Bool -> Set F true = Nat F false = Bool not : Bool -> Bool not true = false not false = true h : ((x : F ?) -> F (not x)) -> Nat h g = g zero
test/Fail/FlatSplitFail.agda
cruhland/agda
1,989
5169
<filename>test/Fail/FlatSplitFail.agda module _ where open import Agda.Builtin.Equality postulate A : Set P : A → Set data Flat (@♭ A : Set) : Set where con : (@♭ x : A) → Flat A -- it should not be able to unify x and y, -- because the equality is not @♭. test4 : (@♭ x : A) (@♭ y : A) → (x ≡ y) → P x → P y t...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/discr_private.ads
best08618/asylo
7
27601
<reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/discr_private.ads<gh_stars>1-10 -- { dg-do compile } -- { dg-options "-gnatws" } package Discr_Private is package Dec is type T_DECIMAL (Prec : Integer := 1) is private; private type T_DECIMAL (Prec : Integer := 1) ...
Scene.g4
EgorSidorov/swiftCompiler
1
370
grammar Scene; program: (expression END_EXPR)* EOF; math_expression: term( plus_minus term )*; create_mass: LEFT_SQUARE_BRACKET number (COMMA number)* RIGHT_SQUARE_BRACKET; mass_elem: (LEFT_SQUARE_BRACKET math_expression RIGHT_SQUARE_BRACKET); expression : math_expression | iff | ...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2326.asm
ljhsiun2/medusa
9
4279
<filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2326.asm .global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r8 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_UC_ht+0x7cfa, %r10 nop add $20958, %rbp vmovups (%r10), %ymm4 vextracti128 $1, %ymm4, %xmm4 vpex...
alloy4fun_models/trashltl/models/13/LxBtoAPjb3twgEqNY.als
Kaixi26/org.alloytools.alloy
0
3752
<reponame>Kaixi26/org.alloytools.alloy open main pred idLxBtoAPjb3twgEqNY_prop14 { always some f : Protected & Trash | (f in Protected & Trash) implies (f not in Protected') } pred __repair { idLxBtoAPjb3twgEqNY_prop14 } check __repair { idLxBtoAPjb3twgEqNY_prop14 <=> prop14o }
tools/tests/copy_macros_test.asm
freespace/nand2tetris
20
168364
<reponame>freespace/nand2tetris<gh_stars>10-100 $copy_mv X 21 $copy_mm Y X // both X and Y should now have 21 in them
src/split.asm
sikorama/still_scrolling
0
170922
; Macro pour generer un bloc de split raster SPLIT_DEFAULT_HEIGHT EQU 16 macro split_raster_line numb exx CHECK_LINE_VRAM 0 exx split_raster_3cycles{numb}: add a,(HL) ; 2 cycles : nop nop nop ; 3 cycles: add a,(hl) nop ; 4 cycles: add a,(hl) add a,(hl) ld HL,(split_...
oeis/078/A078067.asm
neoneye/loda-programs
11
18681
; A078067: Expansion of (1-x)/(1+2*x+2*x^2-2*x^3). ; Submitted by <NAME>(s2) ; 1,-3,4,0,-14,36,-44,-12,184,-432,472,288,-2384,5136,-4928,-5184,30496,-60480,49600,82752,-385664,705024,-473216,-1234944,4826368,-8129280,4135936,17639424,-59809280,92611584,-30325760,-244190208,734255104,-1040781312,124672000,3300728832 mo...
tests/stories-test_data-tests-steps_container.ads
thindil/steamsky
80
10570
<filename>tests/stories-test_data-tests-steps_container.ads<gh_stars>10-100 package Stories.Test_Data.Tests.Steps_Container is end Stories.Test_Data.Tests.Steps_Container;
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0xca.log_21829_1188.asm
ljhsiun2/medusa
9
94769
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r15 push %r8 push %r9 push %rax push %rbx push %rsi lea addresses_WC_ht+0xc064, %rsi clflush (%rsi) nop nop nop nop nop inc %rbx mov (%rsi), %r9 nop nop cmp $30155, %r8 lea addresses_normal_ht+0xb964, %rax nop inc %r15 movups (%rax), %xmm1 vpextrq $0, %xmm1, ...
libsrc/stdio_new/file/fputs.asm
andydansby/z88dk-mk2
1
28609
; wrapper for function pointers XLIB fputs LIB fputs_callee XREF ASMDISP_FPUTS_CALLEE .fputs pop de pop ix pop hl push hl push hl push de jp fputs_callee + ASMDISP_FPUTS_CALLEE
data/example/Test.agda
msuperdock/agda-unused
6
17537
module Test where open import Agda.Builtin.Bool using (Bool; false; true) open import Agda.Builtin.Unit _∧_ : Bool → Bool → Bool false ∧ x = false _ ∧ y = y
Data/Binary/Conversion/Fast.agda
oisdk/agda-playground
6
11438
<reponame>oisdk/agda-playground {-# OPTIONS --without-K --safe #-} module Data.Binary.Conversion.Fast where -- This module provides a conversion function from -- nats which uses built-in functions. -- It is dramatically faster than the normal conversion -- even at smaller numbers. open import Data.Binary.Definition ...
ADL/drivers/stm32g474/stm32-adc.ads
JCGobbi/Nucleo-STM32G474RE
0
20017
<reponame>JCGobbi/Nucleo-STM32G474RE ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2017, AdaCore -- -- ...
ch6-hive/src/main/antlr/Myhive.g4
wangyaomail/my-hadoop
3
1240
<reponame>wangyaomail/my-hadoop<gh_stars>1-10 grammar Myhive; INT : [0-9]+; WS : [ \t\n]+ -> skip; NAME : [a-zA-Z_]+; PLUS : '+'; select_stmt_1 : 'select * from students' EOF ; select_stmt_2 : 'select' col_name 'from' NAME EOF ; col_name : NAME ;
src/Data/Context/Properties.agda
Blaisorblade/f-omega-int-agda
0
12471
<gh_stars>0 ------------------------------------------------------------------------ -- Propierties of abstract typing contexts ------------------------------------------------------------------------ {-# OPTIONS --safe --without-K #-} module Data.Context.Properties where open import Data.Fin using (Fin; zero; suc; ...
SVD2ada/svd/stm32_svd-fdcan.ads
JCGobbi/Nucleo-STM32G474RE
0
10447
pragma Style_Checks (Off); -- This spec has been automatically generated from STM32G474xx.svd pragma Restrictions (No_Elaboration_Code); with HAL; with System; package STM32_SVD.FDCAN is pragma Preelaborate; --------------- -- Registers -- --------------- subtype CREL_DAY_Field is HAL.UInt8; su...
programs/oeis/006/A006044.asm
jmorken/loda
1
15745
; A006044: A traffic light problem. ; 6,96,960,7680,53760,344064,2064384,11796480,64880640,346030080,1799356416,9160359936,45801799680,225485783040,1095216660480,5257039970304,24970939858944,117510305218560,548381424353280,2539871860162560,11683410556747776,53409876830846976 add $0,3 mov $3,4 pow $3,$0 bin $0,3 mov $2...
oeis/165/A165862.asm
neoneye/loda-programs
11
8851
; A165862: Totally multiplicative sequence with a(p) = 41. ; Submitted by <NAME> ; 1,41,41,1681,41,1681,41,68921,1681,1681,41,68921,41,1681,1681,2825761,41,68921,41,68921,1681,1681,41,2825761,1681,1681,68921,68921,41,68921,41,115856201,1681,1681,1681,2825761,41,1681,1681,2825761,41,68921,41,68921,68921,1681,41,11585620...
bug-reports/incorrect-pre-proof/src/foo.ads
TUM-EI-RCS/StratoX
12
19158
<filename>bug-reports/incorrect-pre-proof/src/foo.ads with Ada.Unchecked_Conversion; with Interfaces; use Interfaces; package foo with SPARK_Mode is type Byte is mod 2**8; type Byte_Array is array (Natural range <>) of Byte; type Byte_Array_4 is array (1..4) of Byte; subtype Data_Type is Byte_Array; -- e...
programs/oeis/047/A047411.asm
karttu/loda
1
14784
<filename>programs/oeis/047/A047411.asm ; A047411: Numbers that are congruent to {1, 2, 4, 6} mod 8. ; 1,2,4,6,9,10,12,14,17,18,20,22,25,26,28,30,33,34,36,38,41,42,44,46,49,50,52,54,57,58,60,62,65,66,68,70,73,74,76,78,81,82,84,86,89,90,92,94,97,98,100,102,105,106,108,110,113,114,116,118,121,122,124,126,129,130,132,134,...
sources/ippcp/asm_intel64/pcpaesgcmtable2ku8as.asm
ymarkovitch/ipp-crypto
0
173903
<reponame>ymarkovitch/ipp-crypto ;=============================================================================== ; Copyright 2014-2019 Intel Corporation ; All Rights Reserved. ; ; If this software was obtained under the Intel Simplified Software License, ; the following terms apply: ; ; The source code, informati...
bbbvv/Recursive Files/Movie Recursive File Processing Droplet.applescript
bbelyeu/applescripts
12
4462
-- iDVD supported movie formats property type_list : {"dvc!", "MooV", "M4V ", "mpg4"} property extension_list : {"mov", "mp4", "dv", "m4v"} property typeIDs_list : {"public.mpeg-4", "com.apple.quicktime-movie"} -- This droplet processes files dropped onto the applet on open these_items repeat with i from 1 to the co...
8bitdiv.asm
adey99/8085asmcodes
0
5394
<gh_stars>0 // 8 BIT DIVISION # ORG 2000H # BEGIN 2000H LHLD 2501 LDA 2503 MOV B,A MVI C,08 LOOP: DAD H MOV A,H SUB B JC AHEAD MOV H,A INR L AHEAD: DCR C JNZ LOOP SHLD 2504 HLT # ORG 2501H // LSB OF DIVIDEND , MSB OF DIVIDEND , DIVISOR # DB 9BH,48H,1AH // ANSW...
tk_qsrc/q1source/QW/client/sys_wina.asm
cr88192/bgbtech_btsr1arch
15
100504
.386P .model FLAT externdef _d_zistepu:dword externdef _d_pzbuffer:dword externdef _d_zistepv:dword externdef _d_zrowbytes:dword externdef _d_ziorigin:dword externdef _r_turb_s:dword externdef _r_turb_t:dword externdef _r_turb_pdest:dword externdef _r_turb_spancount:dword externdef _r_turb_turb:dword exter...
programs/oeis/158/A158746.asm
neoneye/loda
22
170865
<reponame>neoneye/loda ; A158746: Numbers n such that 30*n + 13 is prime. ; 0,1,2,3,5,6,7,9,10,12,14,15,17,20,21,22,24,27,28,29,34,35,36,37,38,40,43,47,48,49,51,55,56,57,58,59,62,64,66,68,69,70,71,73,76,79,82,83,86,89,90,93,94,98,105,108,110,111,112,114,115,119,120,121,122,124,126,127 seq $0,132233 ; Primes congruent ...
oeis/175/A175456.asm
neoneye/loda-programs
11
28685
; A175456: (Digit sum of 5^n) mod n. ; Submitted by Jon Maiga ; 0,1,2,1,1,1,2,1,8,0,5,4,10,6,14,10,5,10,2,1,20,1,5,10,2,1,8,1,25,1,11,10,23,1,22,1,30,10,17,10,14,19,20,19,26,20,34,1,11,1,50,26,13,19,2,28,44,37,14,19,11,1,44,38,34,49,51,60,59,53,58,1,2,19,44,19,14,70,63,10,71,1,41,28,2,10,17,10,5,46,38,10,17,37,32,37,2,...
source/utilities/list_devices_c.adb
Vovanium/libusb1-ada
0
16785
<reponame>Vovanium/libusb1-ada with USB; with USB.LibUSB1; with USB.Protocol; with Interfaces.C; with Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Text_IO; use Ada.Integer_Text_IO; use USB.LibUSB1; procedure List_Devices_C is Ctx: aliased Context_Access; R: Status; Ri: Integer; Cnt: ssize_t; Devs: alia...
oeis/290/A290113.asm
neoneye/loda-programs
11
9659
<gh_stars>10-100 ; A290113: Decimal representation of the diagonal from the corner to the origin of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 643", based on the 5-celled von Neumann neighborhood. ; 1,3,5,13,29,61,125,253,509,1021,2045,4093,8189,16381,32765,65533,131069,262141,5...
oeis/041/A041337.asm
neoneye/loda-programs
0
177335
<gh_stars>0 ; A041337: Denominators of continued fraction convergents to sqrt(182). ; Submitted by <NAME> ; 1,2,53,108,2861,5830,154441,314712,8336953,16988618,450041021,917070660,24293878181,49504827022,1311419380753,2672343588528,70792352682481,144257048953490,3821475625473221,7787208299899932,206288891422871453,4203...
dasm/src/test/suite68hc11.asm
zeh/dasmjs
16
176833
<filename>dasm/src/test/suite68hc11.asm ; TEST ADDRESSING MODES processor 68HC11 org 0 aba abx aby adca #1 adca 1 adca 1000 adca 1,x adca 1,y adcb #1 adcb 1 adcb 1000 adcb 1,x adcb 1,y adda #1 adda 1 adda 1000 adda 1,x adda 1,y addb #1 addb 1 addb 1000 addb 1,x addb 1,y addd #1000 a...
bits/src/shift/axiom/logic_right/bitoperations-shift-axiom-logic_right.ads
vasil-sd/ada-tlsf
3
24657
<reponame>vasil-sd/ada-tlsf generic package BitOperations.Shift.Axiom.Logic_Right with SPARK_Mode, Pure, Ghost is pragma Warnings (GNAT, Off, "postcondition does not check the outcome of calling"); procedure Equal_Div_By_Power_2 (Value : Modular; Amount : Natural) with Pre => Amount in 0..Modular'Size...
LibraBFT/Impl/Consensus/TestUtils/MockSharedStorage.agda
oracle/bft-consensus-agda
4
14620
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9. Copyright (c) 2021, Oracle and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl -} import LibraBFT.Base.KVMap as Map open import...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_1665.asm
ljhsiun2/medusa
9
89756
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x8bfc, %rax nop nop nop nop nop sub %rdx, %rdx mov (%rax), %r15 nop nop nop nop xor $44324, %r13 lea addresses_A_ht+0x1abfc, %rsi lea addresses_UC_h...
kiss.agda
logicshan/IAL
0
7296
<reponame>logicshan/IAL module kiss where open import string open import list open import bool open import relations open import product open import unit data formula : Set where $ : string → formula True : formula Implies : formula → formula → formula And : formula → formula → formula ctxt : Set ctxt = 𝕃 f...