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
agda-stdlib/src/Data/List/Relation/Binary/Sublist/Propositional.agda
DreamLinuxer/popl21-artifact
5
7756
<reponame>DreamLinuxer/popl21-artifact ------------------------------------------------------------------------ -- The Agda standard library -- -- An inductive definition of the sublist relation. This is commonly -- known as Order Preserving Embeddings (OPE). ------------------------------------------------------------...
programs/oeis/027/A027788.asm
neoneye/loda
22
13945
<gh_stars>10-100 ; A027788: a(n) = 15*(n+1)*C(n+2,15)/2. ; 105,1800,16320,104040,523260,2209320,8139600,26860680,80901810,225544440,588376800,1448655000,3389852700,7582037400,16287339600,33738060600,67621543875,131530532400,248917996800,459351961200,828225505800,1461574422000,2528333935200,4293282020400,7165139588100,1...
src/oberon-parser.ads
Lucretia/so
8
7161
------------------------------------------------------------------------------------------------------------------------ -- See COPYING for licence information. ------------------------------------------------------------------------------------------------------------------------ -- Oberon.Parser -- This is the roo...
notes/FOT/FOTC/Program/Mirror/Tree/Induction/Instances/TotalityATP.agda
asr/fotc
11
3995
<reponame>asr/fotc ------------------------------------------------------------------------------ -- Totality properties for Tree using induction instance ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-}...
generated/natools-static_maps-s_expressions-templates-dates-zones.ads
faelys/natools
0
28298
<reponame>faelys/natools package Natools.Static_Maps.S_Expressions.Templates.Dates.Zones is pragma Pure; function Hash (S : String) return Natural; end Natools.Static_Maps.S_Expressions.Templates.Dates.Zones;
zombie.asm
Samyak005/Enhanced-MIT-xv6-OS
0
178912
_zombie: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" int main(void) { 0: f3 0f 1e fb endbr32 4: 8d 4c 24 04 lea 0x4(%esp),%ecx 8: 83 e4 f0 and $0xfffffff0,%esp b: ff 71 fc pushl -0x4(...
Everything.agda
guilhermehas/typing-linear-pi
26
6376
import PiCalculus.Utils import PiCalculus.Syntax import PiCalculus.Syntax.Properties import PiCalculus.Semantics import PiCalculus.Semantics.Properties import PiCalculus.LinearTypeSystem import PiCalculus.LinearTypeSystem.Algebras import PiCalculus.LinearTypeSystem.Algebras.Graded import PiCalculus.LinearTypeSystem.Alg...
oeis/110/A110208.asm
neoneye/loda-programs
11
175216
; A110208: 1 + sum of first n semiprimes. ; Submitted by <NAME> ; 1,5,11,20,30,44,59,80,102,127,153,186,220,255,293,332,378,427,478,533,590,648,710,775,844,918,995,1077,1162,1248,1335,1426,1519,1613,1708,1814,1925,2040,2158,2277,2398,2520,2643,2772,2905,3039,3180,3322,3465 lpb $0 mov $2,$0 sub $2,1 mov $0,$2 m...
programs/oeis/040/A040329.asm
neoneye/loda
22
247616
<reponame>neoneye/loda ; A040329: Continued fraction for sqrt(348). ; 18,1,1,1,8,1,1,1,36,1,1,1,8,1,1,1,36,1,1,1,8,1,1,1,36,1,1,1,8,1,1,1,36,1,1,1,8,1,1,1,36,1,1,1,8,1,1,1,36,1,1,1,8,1,1,1,36,1,1,1,8,1,1,1,36,1,1,1,8,1,1,1,36,1,1,1,8,1,1,1,36,1,1,1,8,1,1,1 mov $1,$0 gcd $0,8 mov $3,10 lpb $1 add $0,6 mov $1,0 mo...
FactorioScript.g4
un0btanium/FactorioScript
13
6297
<reponame>un0btanium/FactorioScript<gh_stars>10-100 grammar FactorioScript; statementList : s=statement sl=statementList #multipleStatementList | s=statement #singleStatementList ; statement : statementCompiler | statementAssign | statementIf ; statementC...
src/lang/antlr/JSONLexer.g4
fossabot/confort
1
6447
lexer grammar JSONLexer; fragment ESC : '\\' (["\\/bfnrt] | UNICODE) ; fragment UNICODE : 'u' HEX HEX HEX HEX ; fragment HEX : [0-9a-fA-F] ; fragment SAFECODEPOINT : ~ ["\\\u0000-\u001F] ; NUMBER : '-'? INT ('.' [0-9] +)? EXP? ; fragment INT : '0' | [1-9] [0-9]* ; // no ...
src/test/resources/data/searchtests/opt-test4.asm
cpcitor/mdlz80optimizer
0
96161
<reponame>cpcitor/mdlz80optimizer org #4000 ld d,#0c ld hl, #c004 ld e, 4 ld (#d001),a ; two instructions in the middle, just so that "ld a, 4" and "ld e, 4" ld (#d002),a ; are not together in a single optimization block. ld a, 4 ld (#d003), a inc de ld a, 4 ld (#d004), a...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1981.asm
ljhsiun2/medusa
9
12602
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r8 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0xbc55, %r13 nop add $5725, %rbx movb (%r13), %dl nop nop nop nop nop add %r11, %r11 lea addresses_UC_ht+0x3147, %rdi and $37800, %rsi movb $0x61, (%rdi) sub $46794, %r13 lea a...
regtests/asf-models-selects-tests.adb
jquorning/ada-asf
12
14235
<filename>regtests/asf-models-selects-tests.adb ----------------------------------------------------------------------- -- asf-models-selects-tests - Unit tests for UI select model -- Copyright (C) 2011 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- y...
gdb/testsuite/gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads
greyblue9/binutils-gdb
1
11125
<filename>gdb/testsuite/gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads<gh_stars>1-10 -- Copyright 2018-2021 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; ...
src/Lambda/Interpreter/Stack-sizes/Example.agda
nad/definitional-interpreters
0
1261
------------------------------------------------------------------------ -- An example: A non-terminating program that runs in bounded stack -- space ------------------------------------------------------------------------ module Lambda.Interpreter.Stack-sizes.Example where open import Equality.Propositional as E usi...
Transynther/x86/_processed/AVXALIGN/_st_zr_sm_/i9-9900K_12_0xca_notsx.log_21829_1018.asm
ljhsiun2/medusa
9
95561
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r15 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi // Store lea addresses_UC+0x8d85, %rdx nop nop nop nop nop cmp %rbx, %rbx movw $0x5152, (%rdx) nop and $10849, %r11 // Load lea addresses...
libsrc/zx81/basic/zx_basemem.asm
meesokim/z88dk
0
7607
<reponame>meesokim/z88dk ; ; ZX 81 specific routines ; by <NAME>, 25/07/2008 ; ; int zx_basemem; ; ; This function returns the base memory size in kbytes ; Measures only up to the RAMPTOP limit ; ; $Id: zx_basemem.asm,v 1.2 2015/01/19 01:33:26 pauloscustodio Exp $ ; PUBLIC zx_basemem zx_basemem: ld a,(16389) srl ...
SOAS/Syntax/Build.agda
JoeyEremondi/agda-soas
0
17043
<filename>SOAS/Syntax/Build.agda -- Helper operations to construct and build signatures module SOAS.Syntax.Build (T : Set) where open import SOAS.Common open import SOAS.Families.Build {T} open import SOAS.Context {T} open import Data.List.Base open import SOAS.Syntax.Signature T -- Syntactic sugar to construct ari...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_1849.asm
ljhsiun2/medusa
9
174375
<reponame>ljhsiun2/medusa<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %r14 push %r15 push %rbp push %rsi lea addresses_WC_ht+0x71d5, %r14 nop nop nop nop nop add $6252, %r11 movl $0x61626364, (%r14) nop nop nop nop nop sub %r15, %r15 lea addresses_normal_ht+0xae75, %rsi...
libsrc/video/tms9918/graphics/plotpixl.asm
jpoikela/z88dk
640
21525
<filename>libsrc/video/tms9918/graphics/plotpixl.asm MODULE __tms9918_plotpixel SECTION code_clib PUBLIC __tms9918_plotpixel EXTERN __tms9918_pixeladdress EXTERN __gfx_coords EXTERN __tms9918_pix_return INCLUDE "graphics/grafix.inc" INCLUDE "video/...
scripts/oldstims/rand_stim_1588482132_v0.3_s1024_test.asm
grantsimmons/GameBuddy-Verilog
1
87730
<filename>scripts/oldstims/rand_stim_1588482132_v0.3_s1024_test.asm RRA ADDAC RES0D SET4mHL LDDmHL BIT3L LDED ADCAD RES2D ORH LDEC XORA INCL RES7C LDmHLH INCL RLCmHL LDEL LDEC BIT0L SET0mHL LDCA LDBC RES4L RLL RES1H SCF LDEmHL SRAL RES4mHL LDHD RES4A SRAmHL RRCC SET4mHL BIT5D LDmHLL ...
programs/oeis/228/A228219.asm
karttu/loda
0
14008
<filename>programs/oeis/228/A228219.asm ; A228219: Number of second differences of arrays of length 4 of numbers in 0..n. ; 15,49,103,177,271,385,519,673,847,1041,1255,1489,1743,2017,2311,2625,2959,3313,3687,4081,4495,4929,5383,5857,6351,6865,7399,7953,8527,9121,9735,10369,11023,11697,12391,13105,13839,14593,15367,1616...
src/main/java/org/naivedb/Statement/grammar/sql.g4
ycdfwzy/NaiveDB
0
7457
grammar sql; parse : ( sql_stmt_list | error )* EOF ; error : UNEXPECTED_CHAR { throw new RuntimeException("UNEXPECTED_CHAR=" + $UNEXPECTED_CHAR.text ); } ; sql_stmt_list : sql_stmt ( ';'+ sql_stmt )* ';' ; sql_stmt : create_db_stmt | create_table_stmt | drop_stmt | insert_stmt | d...
workflow/type-clipboard.scpt
ramiroaraujo/alfred-type-clipboard-workflow
7
3905
set chars to count (get the clipboard) if chars > 500 then do shell script "afplay /System/Library/Sounds/Funk.aiff" else tell application "System Events" delay 0.05 keystroke (get the clipboard) end tell end if
Modul 1/latih2.asm
hyuwah/fu-praktikum-smd
0
103728
;------------------------------------------------------------------------------- ; Praktikum SMD 2015 ; M.Wahyudin (140310120031) ; ; Name : LATIH2.ASM ; Desc : Baca DIPSWITCH di P1, tampilkan ke P2 dan P3 ; Input : DIPSWITCH di P1 ; Output: LED P2 dan P3 ;-------------------------------------------------------------...
alloy4fun_models/trashltl/models/3/djDkYfZvCttpjvtWg.als
Kaixi26/org.alloytools.alloy
0
2166
open main pred iddjDkYfZvCttpjvtWg_prop4 { some f: File | always f not in Protected implies eventually (always f in Trash) and eventually (always f.link in Trash) } pred __repair { iddjDkYfZvCttpjvtWg_prop4 } check __repair { iddjDkYfZvCttpjvtWg_prop4 <=> prop4o }
MarkO/BIN2HEX.asm
MarkO-555/CoCoIO-NIC-Base-Code
1
25061
<gh_stars>1-10 ; BIN2HEX ``` start: lda #220 cmp #200 blt under2 ``` BIN2HEX: ; Read $40 and Output HEX in ASCII to $41 LDA $40 ; GET DATA CMPA #9 ; IS DATA 9 OR LESS? BLS ASCZ ADDA #'A-'9-1 ; NO, ADD OFFSET FOR LETTERS ASCZ: ADDA #'O ; CONVERT DATA TO ASCII STA $41 ; STORE A...
src/Categories/NaturalTransformation/Equivalence.agda
Trebor-Huang/agda-categories
279
9147
<reponame>Trebor-Huang/agda-categories<filename>src/Categories/NaturalTransformation/Equivalence.agda {-# OPTIONS --without-K --safe #-} -- define a less-than-great equivalence on natural transformations module Categories.NaturalTransformation.Equivalence where open import Level open import Relation.Binary using (Rel...
unittests/ASM/TwoByte/0F_F7.asm
cobalt2727/FEX
628
82714
<gh_stars>100-1000 %ifdef CONFIG { "RegData": { "RAX": "0x4142434445464748", "RBX": "0x41424344FFFFFFFF", "RCX": "0xFFFFFFFFFFFFFFFF" } } %endif mov rdx, 0xe0000000 mov rax, 0x4142434445464748 mov [rdx + 8 * 0], rax mov rax, 0x8080808080808080 mov [rdx + 8 * 1], rax mov rax, 0x8080808000000000 mov [rd...
Transynther/x86/_processed/NONE/_zr_/i3-7100_9_0x84_notsx.log_21829_1585.asm
ljhsiun2/medusa
9
28393
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r15 push %rax push %rcx push %rdi push %rsi lea addresses_normal_ht+0x4e34, %rsi lea addresses_normal_ht+0xdb34, %rdi nop nop inc %r15 mov $37, %rcx rep movsq nop nop nop cmp %r10, %r10 lea addresses_A_ht+0x30b4, %rdi nop cmp %r11, %r11 vm...
PascalAnalizaitorLexico/PascalLang.g4
GusRigor/Compilador-Mini-Pascal
0
5850
<gh_stars>0 grammar PascalLang; //Programa e Bloco programa : PROGRAM identificador PV bloco ; bloco : part_decl_var? part_decl_sub_rotinas? comando_composto ; //Declarações part_decl_var : decl_vars (PV decl_vars)* PV ; decl_vars : tipo lista_identificadores ; lista_identificadores : ident...
_maps/Springs.asm
kodishmediacenter/msu-md-sonic
9
240224
<gh_stars>1-10 ; --------------------------------------------------------------------------- ; Sprite mappings - springs ; --------------------------------------------------------------------------- Map_Spring_internal: dc.w M_Spg_Up-Map_Spring_internal dc.w M_Spg_UpFlat-Map_Spring_internal dc.w M_Spg_UpExt-Map_S...
programs/oeis/240/A240134.asm
karttu/loda
0
12400
; A240134: Numerator of (n-1) * ceiling(n/2) / n. ; 0,1,4,3,12,5,24,7,40,9,60,11,84,13,112,15,144,17,180,19,220,21,264,23,312,25,364,27,420,29,480,31,544,33,612,35,684,37,760,39,840,41,924,43,1012,45,1104,47,1200,49,1300,51,1404,53,1512,55,1624,57,1740,59,1860,61,1984,63,2112,65 mov $1,$0 mov $2,$0 lpb $2,1 sub $2,1...
Univalence/Obsolete/FiniteTypeEquiv.agda
JacquesCarette/pi-dual
14
6712
<gh_stars>10-100 {-# OPTIONS --without-K #-} module FiniteTypeEquiv where open import Level open import Data.Nat using (ℕ) open import Data.Fin using (Fin) open import Data.Product open import Relation.Binary open import Relation.Binary.PropositionalEquality open import Function.Equality using (_∘_; _⟶_; _⟨$⟩_) open...
osascripts/darwin/active_app.applescript
liangjingyang/voice_kit
0
3912
on run avgs if (count of avgs) >= 1 then set appName to item 1 of avgs tell application appName to activate end if end run
programs/oeis/029/A029836.asm
neoneye/loda
22
3417
; A029836: log( n-th prime) rounded to nearest integer. ; 1,1,2,2,2,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6 pow $0,2 mul $0,2 div $0,7 mov $1,1 lpb $0 sub $0,1 div $0,5 add $2,$1 lpe add $1,$2 mov $0,$1
ejercicios5/prueba_quitar_repetidos_primero.adb
iyan22/AprendeAda
0
26384
with Ada.Text_IO, Lab10_03; use Ada.Text_IO, Lab10_03; procedure Prueba_quitar_repetidos_primero is L1: T_Lista_Estatica; begin Put_Line(" QUITAR REPETIDOS PRIMERO - PRUEBAS"); Put_Line("--------------------------------------"); Put_Line("Caso 01: ()"); Put_Line("--> ()"); L1.Cont := 0; Quitar_...
src/main/fragment/mos6502-common/vwum1=vwuc1_plus__word1_vdum2.asm
jbrandwood/kickc
2
165236
lda #<{c1} clc adc {m2}+2 sta {m1} lda #>{c1} adc {m2}+3 sta {m1}+1
versions/05-welcome_effect/bootloader.asm
EliasJuk/GhostSystem
0
170924
<gh_stars>0 [BITS 16] [ORG 7C00h] call LoadSystem jmp 0800h:0000h LoadSystem: mov ah, 02h mov al, 1 mov ch, 0 mov cl, 2 mov dh, 0 mov dl, 80h mov bx, 0800h mov es, bx mov bx, 0000h int 13h ret times 510 - ($-$$) db 0 dw 0xAA55
Opus/asm/disp1n.asm
Computer-history-Museum/MS-Word-for-Windows-v1.1
2
95007
include w2.inc include noxport.inc include consts.inc include structs.inc include windows.inc createSeg disp1_PCODE,disp1,byte,public,CODE ; DEBUGGING DECLARATIONS ifdef DEBUG midDisp1n equ 10 ; module ID, for native asserts NatPause equ 1 endif ifdef NatPause PAUSE MACRO int 3 ENDM els...
programs/oeis/234/A234253.asm
neoneye/loda
22
167498
<reponame>neoneye/loda<gh_stars>10-100 ; A234253: a(n) = sum_{i=1..n} C(7+i,8)^2. ; 1,82,2107,29332,274357,1930726,10948735,52357960,217994860,808970960,2723733524,8436372248,24304813148,65712993248,167965846148,408373664744,949291256585,2119095737210,4559798912835,9488531918460,19148848609485,37571357310510,7182808836...
Transynther/x86/_processed/AVXALIGN/_ht_/i3-7100_9_0x84_notsx.log_16615_2425.asm
ljhsiun2/medusa
9
16604
<filename>Transynther/x86/_processed/AVXALIGN/_ht_/i3-7100_9_0x84_notsx.log_16615_2425.asm<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r15 push %rax push %rcx push %rdi push %rsi lea addresses_D_ht+0xfe95, %rsi lea addresses_WC_ht+0xed95, %rdi nop cmp %r15, %r15 mov $13, %rcx re...
libsrc/_DEVELOPMENT/math/float/am9511/c/sdcc/cam32_sdcc_lsub_callee.asm
ahjelm/z88dk
640
5396
; long __lsub_callee (long left, long right) SECTION code_clib SECTION code_fp_am9511 PUBLIC _am9511_lsub_callee PUBLIC cam32_sdcc_lsub_callee EXTERN cam32_sdcc_readr_callee, asm_am9511_lsub_callee DEFC _am9511_lsub_callee = cam32_sdcc_lsub_callee .cam32_sdcc_lsub_callee ; subtract sdcc long from sdcc long ...
Assembly/Project/Spc700/pl1-3.asm
Myself086/Project-Nested
338
241301
<reponame>Myself086/Project-Nested<gh_stars>100-1000 // Old //.db 0xB0,0x44,0x44,0x44,0x44,0x44,0x44,0x44,0x44 //.db 0xB3,0x44,0x44,0x44,0x44,0xBB,0xBB,0xBB,0xBB // New // [b0] 5444444444444444 // [b3] 44444444abbbbbbb .db 0xb0, 0x54, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44 .db 0xb3, 0x44, 0x44, 0x44...
oeis/320/A320059.asm
neoneye/loda-programs
11
15513
; A320059: Sum of divisors of n^2 that do not divide n. ; Submitted by <NAME>(s2) ; 0,4,9,24,25,79,49,112,108,199,121,375,169,375,379,480,289,808,361,919,709,895,529,1591,750,1239,1053,1711,841,2749,961,1984,1681,2095,1719,3660,1369,2607,2323,3847,1681,5091,1849,4039,3673,3799,2209,6519,2744,5374,3919,5575,2809,7531,40...
test/autogen/gen_mc68hc05.asm
tgtakaoka/libasm
15
2293
<gh_stars>10-100 ;;; AUTO GENERATED FILE ;;; generated by: gen_mc6805 -u -C 68hc05 -o gen_mc68hc05.asm -l gen_mc68hc05.lst CPU 68hc05 ORG $0100 BRSET 0, $01, *+5 BRSET 0, $01, *-125 BRSET 0, $01, * BRCLR 0, $02, *+6 BRCLR 0, $02, *-125 BRCLR 0, $02, * BSET 0, $...
agda/PLRTree/Equality.agda
bgbianchi/sorting
6
11712
module PLRTree.Equality {A : Set} where open import PLRTree {A} data _≃_ : PLRTree → PLRTree → Set where ≃lf : leaf ≃ leaf ≃nd : {l r l' r' : PLRTree} (x x' : A) → l ≃ r → l' ≃ r' → l ≃ l' → node perfect x l r ≃ no...
asm/factorial.asm
64/riscv-sim
1
18737
; Compile with -mabi=ilp32 -march=rv32im ; ; ; uint64_t factorial(int x) { ; if (x == 0) { ; return 1; ; } else { ; return x * factorial(x - 1); ; } ; } wrap: call factorial j .end factorial: addi sp, sp, -32 sw ra, 28(sp) ...
oeis/098/A098316.asm
neoneye/loda-programs
11
12497
<filename>oeis/098/A098316.asm<gh_stars>10-100 ; A098316: Decimal expansion of [3, 3, ...] = (3 + sqrt(13))/2. ; Submitted by <NAME> ; 3,3,0,2,7,7,5,6,3,7,7,3,1,9,9,4,6,4,6,5,5,9,6,1,0,6,3,3,7,3,5,2,4,7,9,7,3,1,2,5,6,4,8,2,8,6,9,2,2,6,2,3,1,0,6,3,5,5,2,2,6,5,2,8,1,1,3,5,8,3,4,7,4,1,4,6,5,0,5,2,2,2,6,0,2,3,0,9,5,4,1,0,0...
old/Integers.agda
timjb/HoTT-Agda
294
2618
<filename>old/Integers.agda {-# OPTIONS --without-K #-} open import Base module Integers where succ : ℤ → ℤ succ O = pos O succ (pos n) = pos (S n) succ (neg O) = O succ (neg (S n)) = neg n pred : ℤ → ℤ pred O = neg O pred (pos O) = O pred (pos (S n)) = pos n pred (neg n) = neg (S n) abstract succ-pred : (n : ℤ)...
1A/S5/PIM/projet/src/display_shell.ads
MOUDDENEHamza/ENSEEIHT
4
17293
------------------------------------------------------------------------------- -- Fichier : display_shell.adb -- Auteur : <NAME> & <NAME> -- Objectif : Spécification du package Display_Shell -- Crée : Dimanche Nov 25 2019 -------------------------------------------------------------------------------- wit...
test/fail/CantOpenConstructorsFromRecordModule.agda
asr/agda-kanso
1
6424
<reponame>asr/agda-kanso module CantOpenConstructorsFromRecordModule where module Datatypes where record Foo : Set where constructor foo ok : Datatypes.Foo ok = Datatypes.foo open Datatypes.Foo bad : Datatypes.Foo bad = foo
code/hu.bme.mit.plcspec.testsuitegenerator.examples/src/stopwatch/statecoverage.als
thesnapdragon/msc-thesis
0
1784
module statecoverage open util/integer open util/boolean abstract sig System {} abstract sig State {system: one System} abstract sig Transition {from, to: one State} sig Coverage { paths: some Path } sig Path { firstStep: one Step } sig Step { from, to: one State, via: one Transition, nextStep: lone Step } { via....
FormalAnalyzer/models/meta/cap_washerMode.als
Mohannadcse/IoTCOM_BehavioralRuleExtractor
0
3928
// filename: cap_washerMode.als module cap_washerMode open IoTBottomUp one sig cap_washerMode extends Capability {} { attributes = cap_washerMode_attr } abstract sig cap_washerMode_attr extends Attribute {} one sig cap_washerMode_attr_washerMode extends cap_washerMode_attr {} { values = cap_washerMode_attr_was...
programs/oeis/017/A017768.asm
jmorken/loda
1
161238
<reponame>jmorken/loda<filename>programs/oeis/017/A017768.asm ; A017768: Binomial coefficients C(52,n). ; 1,52,1326,22100,270725,2598960,20358520,133784560,752538150,3679075400,15820024220,60403728840,206379406870,635013559600,1768966344600,4481381406320,10363194502115,21945588357420,42671977361650,76360380541900,12599...
source/strings/a-seaswi.ads
ytomino/drake
33
29009
<reponame>ytomino/drake pragma License (Unrestricted); -- extended unit package Ada.Strings.East_Asian_Width is -- Unicode property "east asian width". pragma Pure; type Width_Kind is ( Neutral, Narrow, Half_Width, Ambiguous, Wide, Full_Width); function Kind (C : Wide...
src/asis/asis-iterator.adb
My-Colaborations/dynamo
15
12789
<reponame>My-Colaborations/dynamo<filename>src/asis/asis-iterator.adb<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT IMPLEMENTATION COMPONENTS ...
src/ltl2lustre/parsing/ltl.g4
mwwhalen/ltl2lustre
0
1824
grammar ltl; @header { package ltl2lustre.parsing; } program: (ltl_spec*) EOF; ltl_spec : 'LTLSPEC' expr=ltl_expr ';' # anonymousLtlExpr | 'LTLSPEC' 'NAME' name=ID ':=' expr=ltl_expr ';' # namedLtlExpr ; ltl_expr : op=('!' | 'X' | 'G' | 'Y' | ...
oeis/026/A026674.asm
neoneye/loda-programs
11
22223
; A026674: a(n) = T(2n-1,n-1) = T(2n,n+1), T given by A026725. ; Submitted by <NAME> ; 1,4,16,65,267,1105,4597,19196,80380,337284,1417582,5965622,25130844,105954110,447015744,1886996681,7969339643,33670068133,142301618265,601586916703,2543852427847,10759094481491,45513214057191,192560373660245,814807864164497,344821978...
src/tools/Dependency_Graph_Extractor/src/extraction.adb
selroc/Renaissance-Ada
1
16732
with Ada.Exceptions; with Ada.Strings.Equal_Case_Insensitive; with Ada.Text_IO; with Extraction.Bodies_For_Decls; with Extraction.Bodies_For_Entries; with Extraction.Decls; with Extraction.Deferred_Constants; with Extraction.Derived_Type_Defs; with Extraction.Direct_Calls; with Extraction.File_System; with Extraction.G...
programs/oeis/339/A339276.asm
karttu/loda
0
241211
<filename>programs/oeis/339/A339276.asm ; A339276: Nearest integer to the fourth root of n. ; 1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3 lpb $0,1 add $1,24 add $0,$1 div $0,7 lpe div...
bin/Alloy/models/cloudnet/tosca_simple_yaml_1_0.als
JLCoulin/Cloudnet-TOSCA-toolbox
1
2642
<reponame>JLCoulin/Cloudnet-TOSCA-toolbox<gh_stars>1-10 /****************************************************************************** * * Software Name : Cloudnet TOSCA toolbox * Version: 1.0 * SPDX-FileCopyrightText: Copyright (c) 2020-21 Orange * SPDX-License-Identifier: Apache-2.0 * * This software is distr...
src/apsepp-output_class-standard.adb
thierr26/ada-apsepp
0
2884
-- Copyright (C) 2019 <NAME> <<EMAIL>> -- MIT license. Please refer to the LICENSE file. with Ada.Text_IO; package body Apsepp.Output_Class.Standard is ---------------------------------------------------------------------------- protected body Output_Standard is ----------------------------------------...
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xa0_notsx.log_21829_1084.asm
ljhsiun2/medusa
9
245052
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %r15 push %r9 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_WT_ht+0x4968, %r9 nop nop nop nop and %rbp, %rbp mov (%r9), %r15d nop nop nop xor $14469, %r13 lea addresses_WT_ht+0xf288, %r15 nop nop nop sub $16062, %rax movb ...
applet/aide/source/aide-gui.adb
charlie5/aIDE
3
16899
<filename>applet/aide/source/aide-gui.adb with aIDE.Editor.of_subprogram, aIDE.Editor.of_block, aIDE.Editor.of_package, aIDE.Editor.of_pragma, aIDE.Palette.of_source_Entities, aIDE.Palette.of_pragmas, aIDE.Palette.of_exceptions, aIDE.Palette.of_types, adaM.a_Pragma, C...
asm/link.asm
RockmanEXEZone/MMBN45-English-Translation
6
168607
@LINK_ID equ (VAR_LINK_EU ? 0x42345750 : 0x42345745) // Change Link ID from B4WJ (EXE4) to B4WE/B4WP (BN4). // Note that this also breaks compatibility with unpatched EXE4.5. .org 0x0803C814 .dw @LINK_ID .org 0x0803C890 .dw @LINK_ID .org 0x08044C00 .dw @LINK_ID .org 0x08044D44 .dw @LINK_ID .org 0x08044D84 .dw @LI...
library/fmGUI_Database/databaseNamesOfVisibleWindows.applescript
NYHTC/applescript-fm-helper
1
934
<filename>library/fmGUI_Database/databaseNamesOfVisibleWindows.applescript -- databaseNamesOfVisibleWindows({fmAppType:"Pro"}) -- <NAME>, NYHTC -- return a list of db names for the specified window names (* HISTORY: 1.7 - 2018-10-16 ( eshagdar ): FM17 has only FMP ( no more FMA) 1.6 - 2018-09-20 ( eshagdar ): FileM...
packages/external/libmpg123-1.22.x/src/asm_nasm/dct36_sse.asm
sezero/SDL2-OS2
2
80082
<filename>packages/external/libmpg123-1.22.x/src/asm_nasm/dct36_sse.asm ; 1 "dct36_sse.S" ; 1 "<built-in>" ; 1 "<command line>" ; 1 "dct36_sse.S" ; 9 "dct36_sse.S" ; 1 "mangle.h" 1 ; 13 "mangle.h" ; 1 "config.h" 1 ; 14 "mangle.h" 2 ; 1 "intsym.h" 1 ; 15 "mangle.h" 2 ; 10 "dct36_sse.S" 2 ; 23 "dct36_sse.S" %include "as...
same-origin-policy/src/model/example.als
cfbolz/500lines
2
2445
/** * example.als * A model of an Email application */ module example open analysis /** * Components * Instantiations of servers, browser, and script */ // Email application one sig EmailServer extends Server {} // Document loaded from the email server one sig InboxPage extends Document {}{ domain.init...
out/Lens/Equality.agda
JoeyEremondi/agda-soas
39
937
<filename>out/Lens/Equality.agda {- This second-order equational theory was created from the following second-order syntax description: syntax Lens | L type S : 0-ary A : 0-ary term get : S -> A put : S A -> S theory (PG) s : S a : A |> get (put (s, a)) = a (GP) s : S |> put (s, get(s...
programs/oeis/031/A031381.asm
neoneye/loda
22
18909
<gh_stars>10-100 ; A031381: a(n) = prime(7*n - 2). ; 11,37,67,101,137,173,211,251,283,337,379,421,461,503,563,601,643,683,739,787,829,881,937,983,1031,1069,1117,1181,1229,1283,1319,1399,1447,1487,1543,1583,1621,1693,1741,1789,1867,1907,1979,2017,2081,2129,2179,2243,2293,2347,2389,2441,2521,2579,2647,2687,2719,2777,2833...
Transynther/x86/_processed/AVXALIGN/_ht_zr_un_/i3-7100_9_0x84_notsx.log_21829_2238.asm
ljhsiun2/medusa
9
94611
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r15 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x38ca, %rdi nop nop nop add $25827, %r15 and $0xffffffffffffffc0, %rdi vmovntdqa (%rdi), %ymm7 vextracti128 $1, %ymm7, %xmm7 vpextrq $0, %xmm7, %rdx nop nop no...
src/map.asm
santiontanon/triton
41
170495
<filename>src/map.asm ;----------------------------------------------- draw_map: ld a,(starfield_scroll_speed) cp 4 jp z,draw_map_no_scroll ld hl,NAMTBL2 call SETWRT ld a,(VDP.DW) ld c,a ld de,tileTypeBuffers ld a,(scroll_x_half_pixel) srl a srl a ; scroll is 2 by ...
specification_scanner-scan_subprogram.adb
annexi-strayline/AURA
13
5468
------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- ANNEXI-STRAYLINE Reference Implementation -- -- ...
tier-1/xcb/source/thin/xcb-xcb_change_pointer_control_request_t.ads
charlie5/cBound
2
12902
<reponame>charlie5/cBound<gh_stars>1-10 -- This file is generated by SWIG. Please do not modify by hand. -- with Interfaces; with Interfaces.C; with Interfaces.C.Pointers; package xcb.xcb_change_pointer_control_request_t is -- Item -- type Item is record major_opcode : aliased Interfaces.U...
source/contexts/plain/program-library_environments.ads
reznikmm/gela
0
14900
-- SPDX-FileCopyrightText: 2020 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Ada.Containers.Hashed_Maps; with Program.Visibility; with Program.Symbol_Lists; package Program.Library_Environments is pragma Preelaborate; type Library_Env...
source/oasis/program-elements-generic_package_declarations.ads
reznikmm/gela
0
6899
<gh_stars>0 -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Declarations; with Program.Lexical_Elements; with Program.Element_Vectors; with Program.Elements.Defining_Names; with Program.Elements.As...
Exercicios/Teste04.asm
LZattera/MIPS-MARS
0
1984
<filename>Exercicios/Teste04.asm #SOMA .data#random access memory n1: .word 5 n2: .word 10 .text lw $t0, n1($zero) #carregou o valor das variaveis para os registradores lw $t1, n2($zero) add $t2, $t0, $t1 # n1+n2 (t2 = t0 + t1) #print o resultado li $v0, 1 add $a0, $zero, $t2 #coloca no reg a0 o resultado...
ary-stack.asm
kosmospredanie/mips-asm-examples
0
11459
<reponame>kosmospredanie/mips-asm-examples # ary-stack.asm # # Implement Stack using an array (stack capacity: 10) # ## DATA ## .data # Current length len: .word 0 # Array (cap: 10) arr: .word 0 0 0 0 0 0 0 0 0 0 ## MACROS ## .include "macros.asm" .eqv CAPACITY 10 # Gets the address to (base + idx*4) # # @param %ba...
programs/oeis/075/A075123.asm
karttu/loda
0
93430
<gh_stars>0 ; A075123: a(n) is the least positive integer > a(n-1) and a(n) is not 2*a(i)+a(j) for 1<=i<j<n. ; 1,2,3,6,9,14,17,22,25,30,33,38,41,46,49,54,57,62,65,70,73,78,81,86,89,94,97,102,105,110,113,118,121,126,129,134,137,142,145,150,153,158,161,166,169,174,177,182,185,190,193,198,201,206,209,214,217,222,225,230 ...
src/frontend/Experimental_Ada_ROSE_Connection/parser/ada_c_demo/source/ada_code.ads
ouankou/rose
488
1067
<filename>src/frontend/Experimental_Ada_ROSE_Connection/parser/ada_c_demo/source/ada_code.ads package Ada_Code is procedure Ada_Proc; pragma Export (C, Ada_Proc, "Ada_Proc"); procedure Ada_C_Caller; pragma Export (C, Ada_C_Caller, "Ada_C_Caller"); end Ada_Code;
P2/palindrone.asm
alxzzhou/BUAA_CO_2020
1
174235
.data buf: .space 32 .macro getstr(%s) li $v0,12 syscall move %s,$v0 .end_macro .text li $v0,5 syscall move $s0,$v0 li $t0,0 li $t1,0 read_buf: beq $t0,$s0,read_end getstr($t2) sb $t2,buf($t1) addi $t1,$t1,1 addi $t0,$t0,1 j read_buf read_end: li $t0,0 li $t1,0 li $t2,0 subi $s1,$s0,1 #s1 = s0 - 1 = ...
tictactoe.asm
FinnishArmy/ASM-Tic-Tac-Toe
0
246202
<reponame>FinnishArmy/ASM-Tic-Tac-Toe #Tic-Tac-Toe #<NAME> .data grid: .word '_' '_' '_' '_' '_' '_' '_' '_' '_' prompt: .asciiz "\nAre you 'X' or 'O':" input: .asciiz "\nEnter a number from 1-9 starting from the top left:" player2: .asciiz "\nO has won." player1: .asciiz "\nX has won." playAgain: .asciiz "\nNew game?...
ElementScripter_AppSpecific.scpt
sancarn/Element-Scripter
7
3201
//Element Scripter for specific programs. //Add this script to a service and bind it to a keyboard shortcut for quick documentation of GUI elements. //Great for complex applications which may have many GUIs var procName = "Safari" var wndID = 0 //SIMULATE EXIT-SUB WITH BREAK: Script: { //Setup app for notification...
tests/misc/dir_align.asm
cizo2000/sjasmplus
0
173349
DEVICE ZXSPECTRUM48 org $8000 ; 17 bytes block of "default" memory values db "ABCDEFGHIJKLMNOPZ" ALIGN 0 ; error ALIGN 1,-1 ; error ALIGN 1,256 ; error ALIGN 3 ; error ALIGN 5,10 ; error ALIGN $10000 ; error ; re-run over the initia...
programs/oeis/052/A052530.asm
jmorken/loda
1
20861
; A052530: a(n) = 4*a(n-1) - a(n-2), with a(0) = 0, a(1) = 2. ; 0,2,8,30,112,418,1560,5822,21728,81090,302632,1129438,4215120,15731042,58709048,219105150,817711552,3051741058,11389252680,42505269662,158631825968,592022034210,2209456310872,8245803209278,30773756526240,114849222895682,428623135056488,1599643317330270,596...
FoldingText.lbaction/Contents/Scripts/getvisible.scpt
raguay/MyLaunchBarActions
29
2918
tell application "FoldingText" tell front document evaluate script "function(editor, options) { var Pasteboard = require('ft/system/pasteboard').Pasteboard, tree = editor.tree(), results = []; tree.nodes().forEach(function(each) { if (!editor.nodeIsHiddenInFold(each) && !editor.isCollapsed(each...
src/apsepp-output_class-standard.ads
thierr26/ada-apsepp
0
20755
-- Copyright (C) 2019 <NAME> <<EMAIL>> -- MIT license. Please refer to the LICENSE file. package Apsepp.Output_Class.Standard is ---------------------------------------------------------------------------- protected type Output_Standard is new Output_Interfa with overriding procedure Put_Line (S :...
out/TLC/Equality.agda
JoeyEremondi/agda-soas
39
13240
<filename>out/TLC/Equality.agda {- This second-order equational theory was created from the following second-order syntax description: syntax TLC | Λ type N : 0-ary _↣_ : 2-ary | r30 𝟙 : 0-ary _⊗_ : 2-ary | l40 𝟘 : 0-ary _⊕_ : 2-ary | l30 term app : α ↣ β α -> β | _$_ l20 lam : α.β ->...
examples/indx.asm
x86128/pymesm
2
95022
org -0x1000 ptr uart 1000 xta uart-1,1 xta uart+5,2 xta uart[-2],3 stop 1234,4 vtm 10,5 dorg -2048
Altair101/asm/programsUntested/pBootPlay.asm
tigerfarm/arduino
2
243075
<gh_stars>1-10 ; ------------------------------------------------ ; Play MP3 files. ; ; ------------------------------------------------ Begin: ...
programs/streamplay/wavefile.asm
chaos4ever/chaos-old
0
89030
global wavefile, wavefile_end wavefile: incbin "wavefile.wav" wavefile_end:
FlashLedDelay/boardsetup.asm
peteri/stm8ldiscovery
0
171814
stm8/ #include "mapping.inc" #include "variables.inc" #include "stm8l152c6.inc" ram0_start.b EQU $ram0_segment_start ram0_end.b EQU $ram0_segment_end ram1_start.w EQU $ram1_segment_start ram1_end.w EQU $ram1_segment_end segment 'rom' ; ; Setup up the gpio ports ; .init_gpio.l ; set everything to have a pullup resi...
Sem IV Microprocessors Lab/Hardware Programs (part b)/elev.asm
prithvihv/VTU_CSE_LABS
1
20481
UP MACRO N LOCAL AGN MOV AL,0F0H AGN:MOV DX,PA OUT DX,AL DELAY INC AL CMP AL,N JLE AGN ENDM DOWN MACRO M LOCAL AGN MOV AL,M AGN: MOV DX,PA OUT DX,AL DEL...
examples/simple/quantifierIn/quantifierIn-output.agda
wenkokke/vehicle
11
13035
<gh_stars>10-100 -- WARNING: This file was generated automatically by Vehicle -- and should not be modified manually! -- Metadata -- - Agda version: 2.6.2 -- - AISEC version: 0.1.0.1 -- - Time generated: ??? {-# OPTIONS --allow-exec #-} open import Vehicle open import Data.Unit open import Data.Integer as ℤ using ...
test/interaction/Issue591/M.agda
cruhland/agda
1,989
7538
module Issue591.M where
data/baseStats/nidoranm.asm
etdv-thevoid/pokemon-rgb-enhanced
1
92977
db NIDORAN_M ; pokedex id db 46 ; base hp db 57 ; base attack db 40 ; base defense db 50 ; base speed db 40 ; base special db POISON ; species type 1 db POISON ; species type 2 db 235 ; catch rate db 60 ; base exp yield INCBIN "pic/gsmon/nidoranm.pic",0,1 ; 55, sprite dimensions dw NidoranMPicFront dw NidoranMPicBack ;...
oeis/108/A108165.asm
neoneye/loda-programs
11
163756
<gh_stars>10-100 ; A108165: a(n)=a(n-1) +A108173(n+1) -A108173(n). ; Submitted by <NAME> ; 2,5,9,12,15,19,22,26,29,32,36,39,42,46,49,53,56,59,63,66,70,73,76,80,83,86,90,93,97,100,103,107,110,114,117,120,124,127,130,134,137,141,144,147,151,154,157,161,164,168,171,174,178,181,185,188,191,195,198,201 add $0,1 mov $1,114 ...
code_sender/safari/safari-rstudio.applescript
fredcallaway/SendCode
177
1408
on run argv tell application "Safari" tell front window's current tab to do JavaScript " var input = document.getElementById('rstudio_console_input'); var textarea = input.getElementsByTagName('textarea')[0]; textarea.value += \"" & item 1 of argv & "\"; var e...