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/assembler/programs/io.asm
hughcoleman/subleq
1
29861
<reponame>hughcoleman/subleq ;------------------------------------------------------------------------------ ; io.asm ; A demonstration of the I/O statement offered by the SUBLEQ assembler ;------------------------------------------------------------------------------ #set ENTRY=main m: int 32 main: out m ...
Assignment/passwordmanager.adb
vivianjia123/Password-Manager
0
18502
with Ada.Text_IO; use Ada.Text_IO; with Ada.Containers; use Ada.Containers; with Ada.Characters; use Ada.Characters; with PIN; with PasswordDatabase; package body PasswordManager with SPARK_Mode is -- Initiates the Password Manager procedure Init(Pin_Input : in String; Manager_Information : ou...
tests/bases-trade-test_data-tests.ads
thindil/steamsky
80
25437
<reponame>thindil/steamsky<gh_stars>10-100 -- This package has been generated automatically by GNATtest. -- Do not edit any part of it, see GNATtest documentation for more details. -- begin read only with Gnattest_Generated; package Bases.Trade.Test_Data.Tests is type Test is new GNATtest_Generated.GNATtest_St...
src/asf-routes-servlets.ads
jquorning/ada-asf
12
13788
----------------------------------------------------------------------- -- asf-routes-servlets -- Servlet request routing -- Copyright (C) 2015 <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...
Ada/DataStructures/List/generic_list.ads
egustafson/sandbox
2
16891
-- generic_list.ads -*- Ada -*- -- -- This package defines a generic list and list iterator. -- -- Author: <NAME> -- Date: 11 August 1998 -- -- ------------------------------------------------------------ -- -- $Revision$ -- -- $Log$ -- ------------------------------------------------------------ gener...
programs/oeis/037/A037227.asm
neoneye/loda
22
165182
; A037227: If n = 2^m*k, k odd, then a(n) = 2*m+1. ; 1,3,1,5,1,3,1,7,1,3,1,5,1,3,1,9,1,3,1,5,1,3,1,7,1,3,1,5,1,3,1,11,1,3,1,5,1,3,1,7,1,3,1,5,1,3,1,9,1,3,1,5,1,3,1,7,1,3,1,5,1,3,1,13,1,3,1,5,1,3,1,7,1,3,1,5,1,3,1,9,1,3,1,5,1,3,1,7,1,3,1,5,1,3,1,11,1,3,1,5 add $0,1 lpb $0 dif $0,2 add $1,2 lpe add $1,1 mov $0,$1
pin-3.22-98547-g7a303a835-gcc-linux/source/tools/ToolUnitTests/analysis_flag_overwrite_tool1_win.asm
ArthasZhang007/15418FinalProject
0
23308
<reponame>ArthasZhang007/15418FinalProject ; ; Copyright (C) 2007-2012 Intel Corporation. ; SPDX-License-Identifier: MIT ; PUBLIC ReadWriteFlags_asm .686 .model flat, c .code ReadWriteFlags_asm PROC pushfd pop eax mov eax, 0 add eax, eax ret ReadWriteFlags_asm ENDP en...
ada_formatter.adb
micahwelf/ada_launch
0
22197
<gh_stars>0 with Ada.Text_IO; with Ada.Text_IO.Text_Streams; with Ada.Streams.Stream_IO; with Ada.Command_Line; with Ada.Directories; with Ada.Characters; with Ada.Characters.Latin_1; with GNAT.OS_Lib; with Ada; use Ada; procedure Ada_Formatter is -- Nano formatting tool for the Ada language. use Ada.Text_IO; ...
memsim-master/src/memory-prefetch.adb
strenkml/EE368
0
30907
<gh_stars>0 package body Memory.Prefetch is function Create_Prefetch(mem : access Memory_Type'Class; stride : Address_Type := 1) return Prefetch_Pointer is result : constant Prefetch_Pointer := new Prefetch_Type; begin result.stride ...
programs/oeis/093/A093050.asm
karttu/loda
0
8966
<reponame>karttu/loda ; A093050: Exponent of 2 in (3^n-3)*2^(n-1). ; 0,0,3,2,6,4,7,6,11,8,11,10,14,12,15,14,20,16,19,18,22,20,23,22,27,24,27,26,30,28,31,30,37,32,35,34,38,36,39,38,43,40,43,42,46,44,47,46,52,48,51,50,54,52,55,54,59,56,59,58,62,60,63,62,70,64,67,66,70 mov $5,$0 mov $7,2 lpb $7,1 clr $0,5 mov $0,$5 ...
programs/oeis/067/A067623.asm
jmorken/loda
1
12799
<filename>programs/oeis/067/A067623.asm ; A067623: Consider the power series (x+1)^(1/3)=1+x/3-x^2/9+5x^3/81+...; sequence gives denominators of coefficients. ; 1,3,9,81,243,729,6561,19683,59049,1594323,4782969,14348907,129140163,387420489,1162261467,10460353203,31381059609,94143178827,2541865828329,7625597484987,22876...
vb6/VisualBasic6.g4
augustand/grammars-v4
0
5225
<gh_stars>0 /* * Copyright (C) 2016, <NAME> <<EMAIL>> * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD 3-clause license. See the LICENSE file for details. */ /* * Visual Basic 6.0 Grammar for ANTLR4 * * This is an approximate grammar for Visual Basic 6.0 and the par...
1581/64tass/memrw.asm
silverdr/assembly
23
85088
<reponame>silverdr/assembly ; memory access commands ; "-" must be 2nd char mem lda cmdbuf+1 cmp #'-' bne cmer lda cmdbuf+3 ; set adr in temp sta temp lda cmdbuf+4 sta temp+1 ldy #0 lda cmdbuf+2 cmp #'R' beq memrd ;...
src/util/strg/cmpst.asm
olifink/qspread
0
241930
<reponame>olifink/qspread ; compare to string (using QDOS ut.cstr) section string include win1_keys_err include win1_keys_qlv xdef st_cmpst ; append a character ;+++ ; compare two strings (see ut.cstr) ; ; Entry Exit ; d0.b comparison type -1,0 or +1 (0=same) ; 0=file ; 1=bas...
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xa0.log_21829_911.asm
ljhsiun2/medusa
9
168975
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x6269, %rdi nop nop nop xor %rsi, %rsi movups (%rdi), %xmm1 vpextrq $0, %xmm1, %rbx and %r9, %r9 lea addresses_normal_ht+0x190e1, %r9 nop and $17138, %r13 movups (%r9), %xmm1 vpextrq $1,...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_532.asm
ljhsiun2/medusa
9
160675
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r13 push %rax push %rcx push %rdi push %rdx push %rsi // Faulty Load lea addresses_WT+0xe02b, %rsi nop nop nop nop xor %rdx, %rdx movb (%rsi), %cl lea oracles, %rdi and $0xff, %rcx shlq $12, %rcx mov (%rdi,%rcx,1), %rcx po...
src/Fragment/Examples/CSemigroup/Arith/Functions.agda
yallop/agda-fragment
18
1396
<filename>src/Fragment/Examples/CSemigroup/Arith/Functions.agda {-# OPTIONS --without-K --safe #-} module Fragment.Examples.CSemigroup.Arith.Functions where open import Fragment.Examples.CSemigroup.Arith.Base -- Fully dynamic associativity +-dyn-assoc₁ : ∀ {f : ℕ → ℕ} {m n o} → (f m + n) + o ≡ f m + (n + o) +-dyn-a...
oeis/186/A186432.asm
neoneye/loda-programs
11
169164
; A186432: Triangle associated with the set S of squares {0,1,4,9,16,...}. ; Submitted by <NAME> ; 1,1,1,1,12,1,1,30,30,1,1,56,140,56,1,1,90,420,420,90,1,1,132,990,1848,990,132,1,1,182,2002,6006,6006,2002,182,1,1,240,3640,16016,25740,16016,3640,240,1,1,306,6120,37128,87516,87516,37128,6120,306,1,1,380,9690,77520,251940...
oeis/321/A321826.asm
neoneye/loda-programs
11
88259
<filename>oeis/321/A321826.asm ; A321826: a(n) = Sum_{d|n, d==1 mod 4} d^10 - Sum_{d|n, d==3 mod 4} d^10. ; Submitted by <NAME> ; 1,1,-59048,1,9765626,-59048,-282475248,1,3486725353,9765626,-25937424600,-59048,137858491850,-282475248,-576640684048,1,2015993900450,3486725353,-6131066257800,9765626,16679598443904,-259374...
programs/oeis/334/A334084.asm
neoneye/loda
22
19373
; A334084: Integers m such that only 2 binomial coefficients C(m,k), with 0<=k<=m, are practical numbers. ; 1,3,5,7,15,31,63,127,255,511,1023 mov $1,$0 sub $1,1 mov $2,2 pow $2,$1 bin $0,$2 add $0,$2 sub $0,1 mul $0,2 add $0,1
firmware/coreboot/3rdparty/libgfxinit/common/broxton/hw-gfx-gma-power_and_clocks.adb
fabiojna02/OpenCellular
1
15328
<filename>firmware/coreboot/3rdparty/libgfxinit/common/broxton/hw-gfx-gma-power_and_clocks.adb -- -- Copyright (C) 2014-2017 secunet Security Networks AG -- -- 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 Softwar...
src/Categories/Functor/Limits.agda
Trebor-Huang/agda-categories
279
16017
{-# OPTIONS --without-K --safe #-} module Categories.Functor.Limits where open import Level open import Categories.Category open import Categories.Functor open import Categories.Functor.Properties open import Categories.Object.Terminal open import Categories.Object.Initial open import Categories.Diagram.Limit open i...
Ada/inc/Problem_09.ads
Tim-Tom/project-euler
0
27240
package Problem_09 is procedure Solve; end Problem_09;
programs/oeis/155/A155122.asm
karttu/loda
1
100564
; A155122: 4*(3*n+2)*(2*n+1)*(n+2)*(n+1). ; 0,16,360,1920,6160,15120,31416,58240,99360,159120,242440,354816,502320,691600,929880,1224960,1585216,2019600,2537640,3149440,3865680,4697616,5657080,6756480,8008800,9427600,11027016,12821760,14827120,17058960 mov $1,$0 mul $1,2 mov $2,$0 add $2,1 mov $3,2 mov $4,$0 add $4,2 ...
evaluation/2a_more_vulns/spectre_v2.asm
mguarnieri/revizor
0
162321
<gh_stars>0 .intel_syntax noprefix LFENCE AND rax, 0b111111000000 # keep the mem. access within the sandbox AND rbx, 0b1 # reduce the range of values for rbx to {0,1} # prepare jump targets LEA rdx, [rip + .l1] LEA rsi, [rip + .l2] CMP rbx, 0 CMOVE rsi, rdx CMP rbx, 0 JMP rsi # misprediction .l1: MOV rax, [r1...
test/Succeed/Issue5336.agda
cagix/agda
1,989
225
<gh_stars>1000+ -- Andreas, 2021-04-28, issue #5336 -- data...where is already extensible. module _ where module C where postulate Name QName : Set variable x y : C.Name xs ys : C.QName interleaved mutual -- Scope of a declaration. data Scope : Set variable sc sc' : Scope -- Declarations ...
Safari/Save Safari Session URLs.applescript
larryv/applescripts
7
3602
#!/usr/bin/osascript (* * Save Safari Session URLs * * Given one or more Safari session files, extracts all URLs contained * therein. Each URL is output with a newline terminator; URLs from the * same window are grouped together and separated from other windows' * URLs with blank lines. * * If saved as a scrip...
asm/bootloader/print.asm
damilolarandolph/pong-os
2
179887
[bits 16] print: push ax, push bx, mov ah, 0x0e .printchar: cmp byte [bx], byte 0 je .done mov al, [bx] int 0x10 inc bx jmp .printchar .done: pop bx pop ax ret str: db 'Hello World!',0 hello_zig: db 'Hello, Zig!', 0
programs/oeis/119/A119346.asm
neoneye/loda
22
10131
; A119346: Sequence of nim-values for the game in which two players alternately cut off one inch or root two inches from a piece of string of length n. Player who runs out of string loses. ; 0,1,2,0,1,0,1,2,0,1,0,1,2,0,1,0,1,0,1,2,0,1,0,1,2,0,1,0,1,0,1,2,0,1,0,1,2,0,1,0,1,2,0,1,0,1,0,1,2,0,1,0,1,2,0,1,0,1,0,1,2,0,1,0,1...
jsonLTParser/parser/jsonLT.g4
un1q/jtl
1
5364
grammar JsonLT; json : elements ; obj : '{' member (',' member)* '}' | '{' '}' ; member : STRING ':' elements ; array : '[' elements (',' elements)* ']' | '[' ']' ; elements : element element* ; element : STRING | NUMBER | obj | array | TRUE | FALSE | NULL | path ; TRUE ...
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xa0_notsx.log_21829_703.asm
ljhsiun2/medusa
9
174334
<filename>Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xa0_notsx.log_21829_703.asm .global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r14 push %r15 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x1b053, %rdi nop nop cmp %r12, %r12 mov $0x6162636465666768, %r10 movq %r...
experiments/test-suite/mutation-based/10/10/fullTree.als
kaiyuanw/AlloyFLCore
1
2305
<gh_stars>1-10 pred test13 { some disj Node0, Node1: Node { Node = Node0 + Node1 left = Node1->Node0 right = Node1->Node1 Acyclic[] } } run test13 for 3 expect 0 pred test12 { some disj Node0, Node1: Node { Node = Node0 + Node1 left = Node1->Node0 right = Node1->Node0 Acyclic[] } } run test12 for 3 expect 0 pred test30...
oeis/135/A135175.asm
neoneye/loda-programs
11
93955
; A135175: 5^p + 3^p - 2^p, where p = prime(n). ; Submitted by <NAME> ; 30,144,3336,80184,49003224,1222289256,763068462216,19074648065304,11921023089868344,186264583552936197096,4656613490748641378424,72759576592118027485247016,45474735125119406073899483976,1136868377544417255992242883544,710542735786689000089344282510...
day10/src/day.adb
jwarwick/aoc_2020
3
20873
<filename>day10/src/day.adb<gh_stars>1-10 -- AoC 2020, Day 10 with Ada.Text_IO; with Ada.Containers.Ordered_Maps; package body Day is package TIO renames Ada.Text_IO; function load_file(filename : in String) return Adaptors.Vector is package Natural_Text_IO is new Ada.Text_IO.Integer_IO(Natural); package ...
Bye, Parallels!/AppDelegate.applescript
danijeljw/remparallels
5
4246
<reponame>danijeljw/remparallels<filename>Bye, Parallels!/AppDelegate.applescript -- -- AppDelegate.applescript -- Bye, Parallels! -- -- Created by <NAME> on 10/11/2013. -- Copyright (c) 2013 <NAME>. All rights reserved. -- -- Permission is hereby granted, free of charge, to any person obtaining a copy of -- this...
oeis/305/A305326.asm
neoneye/loda-programs
11
10778
; A305326: Decimal expansion of the greatest x such that 1/x + 1/(x+1) + 1/(x+2) = 1. ; Submitted by <NAME>(s3.) ; 2,2,1,4,3,1,9,7,4,3,3,7,7,5,3,5,1,8,7,4,1,5,4,9,7,7,0,0,8,4,8,5,8,0,4,8,8,9,0,7,9,1,9,6,3,7,2,1,9,4,9,9,4,3,4,3,3,1,3,8,2,3,1,6,5,0,9,1,2,8,0,4,6,4,3,3,2,6,6,2,7,4,7,9,5,9 mov $1,2 mov $2,1 mov $3,$0 mul ...
asm/gimmick_text.asm
unknownbrackets/tomatotrans
14
99983
; This simply patches the game to use different addresses for the text. ; Normally, name is 0x08 bytes at i * 0x58 + 0, and description is 0x1A bytes at i * 0x58 + 8. ; Original data was at 0x0862C250. ; Original struct guesses: ; char name[8]; ; char desc[26]; ; uint8_t atk; ; uint8_t maxBattery; ; uint8_t unk24; ; u...
libsrc/_DEVELOPMENT/arch/zx/display/c/sccz80/zx_aaddr2saddr.asm
jpoikela/z88dk
38
169871
; void *zx_aaddr2saddr(void *attraddr) SECTION code_clib SECTION code_arch PUBLIC zx_aaddr2saddr EXTERN asm_zx_aaddr2saddr defc zx_aaddr2saddr = asm_zx_aaddr2saddr
programs/oeis/161/A161175.asm
karttu/loda
0
5519
<filename>programs/oeis/161/A161175.asm ; A161175: Triangle read by rows, modified Thue-Morse sequence (A010060 with offset 1): change 0 to 2, else 1. ; 1,1,2,1,2,2,1,1,2,2,1,2,1,1,2,1,2,2,1,2,1,1,2,2,1,1,2,1,2,2,1,1,2,2,1,2,1,1,2,2,1,1,2,1,2,2,1,2,1,1,2,1,2,2,1,1,2,2,1,2,1,1,2 lpb $0,1 sub $0,1 add $1,$0 div $0...
code/Forec/t36.asm
KongoHuster/assembly-exercise
1
27582
<filename>code/Forec/t36.asm ;; last edit date: 2016/10/25 ;; author: Forec ;; LICENSE ;; Copyright (c) 2015-2017, Forec <<EMAIL>> ;; Permission to use, copy, modify, and/or distribute this code for any ;; purpose with or without fee is hereby granted, provided that the above ;; copyright notice and this permission no...
data/baseStats/typhlosion.asm
adhi-thirumala/EvoYellow
16
244417
db DEX_TYPHLOSION ; pokedex id db 78 ; base hp db 84 ; base attack db 78 ; base defense db 109 ; base speed db 92 ; base special db FIRE ; species type 1 db FIRE ; species type 2 db 31 ; catch rate db 209 ; base exp yield INCBIN "pic/ymon/typhlosion.pic",0,1 ; sprite dimensions dw TyphlosionPicFront dw Typh...
libsrc/_DEVELOPMENT/math/float/am9511/lam32/c/sdcc/tanh.asm
ahjelm/z88dk
640
169071
<gh_stars>100-1000 SECTION code_fp_am9511 PUBLIC _tanh EXTERN cam32_sdcc_tanh defc _tanh = cam32_sdcc_tanh
src/main/fragment/mos6502-common/vwsm1_ge_vwsm2_then_la1.asm
jbrandwood/kickc
2
21496
<filename>src/main/fragment/mos6502-common/vwsm1_ge_vwsm2_then_la1.asm lda {m1} cmp {m2} lda {m1}+1 sbc {m2}+1 bvc !+ eor #$80 !: bpl {la1}
assign5/assign5.asm
Andrew-Slade/Assembler
0
96847
//KC03H99A JOB ,'<NAME>',MSGCLASS=H 00010001 //JSTEP01 EXEC PGM=ASSIST 00020001 //STEPLIB DD DSN=KC00NIU.ASSIST.LOADLIB,DISP=SHR 00030001 //SYSPRINT DD SYSOUT=* 00040001 //...
alloy4fun_models/trainstlt/models/2/XqznFbPEqmRj3y7TT.als
Kaixi26/org.alloytools.alloy
0
1818
open main pred idXqznFbPEqmRj3y7TT_prop3 { always all t: Train, tk: Track | t->tk in pos implies always t->tk in pos and t->tk not in pos implies always t->tk not in pos } pred __repair { idXqznFbPEqmRj3y7TT_prop3 } check __repair { idXqznFbPEqmRj3y7TT_prop3 <=> prop3o }
oeis/052/A052897.asm
neoneye/loda-programs
11
82380
<reponame>neoneye/loda-programs ; A052897: Expansion of e.g.f.: exp(2*x/(1-x)). ; Submitted by <NAME>(s4) ; 1,2,8,44,304,2512,24064,261536,3173888,42483968,621159424,9841950208,167879268352,3065723549696,59651093528576,1231571119812608,26883546193002496,618463501807058944,14952361500557443072,378939905468222799872,1004...
[4] Variables/Multiple Variable Initializations/main.asm
SonarSystems/Assembly-Programming
6
166012
;nasm 2.11.08 section .data hello: db 'Hello world!',10 ; 'Hello world!' plus a linefeed character helloLen: equ $-hello ; Length of the 'Hello world!' string zeros: TIMES 5 db "0" zerosLen: equ $-zeros section .text global _start _start: mov eax,4 ; The system call f...
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_107_1466.asm
ljhsiun2/medusa
9
102483
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r12 push %r15 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_D_ht+0x9a8f, %r15 nop nop nop dec %r8 movl $0x61626364, (%r15) nop nop nop nop nop and %r8, %r8 lea addresses_D_ht+0x1ca7f, %rsi nop add %r12, %r12 vmovups (%rsi), %ym...
slides/Background.agda
larrytheliquid/generic-elim
11
12934
<gh_stars>10-100 module Background where postulate Bits : Set module Open where data U : Set where postulate El : U → Set marshal : (u : U) → El u → Bits module Closed where data Desc : Set where postulate μ : Desc → Set marshal : (D : Desc) → μ D → Bits
test/asm/nested-break.asm
michealccc/rgbds
522
5258
<reponame>michealccc/rgbds n=1 rept 10 print "A" for x, 10 print "a" if x==n break endc print "z" endr if n==6 break endc println "Z" n=n+1 endr println "\nn={d:n} x={d:x}"
Transynther/x86/_processed/NONE/_zr_/i3-7100_9_0x84_notsx.log_66_745.asm
ljhsiun2/medusa
9
6982
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r14 push %r15 push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x7ff0, %rcx nop nop sub $5676, %r15 movl $0x61626364, (%rcx) nop nop nop cmp %r14, %r14 lea addresses_WT_ht+0xebb0, %rsi lea addresses_normal_ht+0x1...
programs/oeis/301/A301718.asm
karttu/loda
0
246189
<filename>programs/oeis/301/A301718.asm ; A301718: Coordination sequence for node of type V2 in "kre" 2-D tiling (or net). ; 1,5,11,17,23,28,33,39,45,51,56,61,67,73,79,84,89,95,101,107,112,117,123,129,135,140,145,151,157,163,168,173,179,185,191,196,201,207,213,219,224,229,235,241,247,252,257,263,269,275,280,285,291,297...
programs/oeis/128/A128174.asm
jmorken/loda
1
97430
; A128174: Transform, (1,0,1,...) in every column. ; 1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1...
test/Succeed/AbstractCoinduction.agda
caryoscelus/agda
0
2991
<filename>test/Succeed/AbstractCoinduction.agda -- Andreas, 2016-10-03, re issue #2231 -- Testing whether the musical coinduction works fine in abstract blocks {-# OPTIONS --guardedness #-} module AbstractCoinduction where {-# BUILTIN INFINITY ∞_ #-} {-# BUILTIN SHARP ♯_ #-} {-# BUILTIN FLAT ♭ #-} infixr 5...
src/stars/tests/tests/preprocess/toInclude.asm
kevintmcdonnell/stars
9
171109
.text li $v0, 10 syscall .data jello: .word 4
src/main/fragment/wdc65c02-specific/isr_hardware_all_entry.asm
jbrandwood/kickc
2
18705
<filename>src/main/fragment/wdc65c02-specific/isr_hardware_all_entry.asm pha @clob_a phx @clob_x phy @clob_y
osloader/osloader.asm
4dro/boot
1
27207
cpu 286 bits 16 ; make it 75Kb - more than any cluster size SECTORS_OCCUPY equ 150 ; any number is OK for signature SIGNATURE equ 0F629h segment code start: ; dl - boot drive ; cs:ip our absolute address ; expecting we are loaded at 2000:0 ; but need to check this (could be loaded b...
programs/oeis/133/A133655.asm
neoneye/loda
22
18131
<filename>programs/oeis/133/A133655.asm ; A133655: a(n) = 2*A016777(n) + A016777(n-1) - (n+1). ; 1,7,15,23,31,39,47,55,63,71,79,87,95,103,111,119,127,135,143,151,159,167,175,183,191,199,207,215,223,231,239,247,255,263,271,279,287,295,303,311,319,327,335,343,351,359,367,375,383,391,399,407,415 mul $0,8 trn $0,2 add $0,...
programs/oeis/265/A265411.asm
jmorken/loda
1
9972
; A265411: a(0) = 1, a(1) = 7, otherwise, if A240025(n-1) = 1 [when n is in A033638] a(n) = 3, otherwise a(n) = 1. ; 1,7,3,3,1,3,1,3,1,1,3,1,1,3,1,1,1,3,1,1,1,3,1,1,1,1,3,1,1,1,1,3,1,1,1,1,1,3,1,1,1,1,1,3,1,1,1,1,1,1,3,1,1,1,1,1,1,3,1,1,1,1,1,1,1,3,1,1,1,1,1,1,1,3,1,1,1,1,1,1,1,1,3,1,1,1,1,1,1,1,1,3,1,1,1,1,1,1,1,1,1,3...
oeis/079/A079289.asm
neoneye/loda-programs
11
241583
<gh_stars>10-100 ; A079289: For even n, a(n) = a(n-2) + a(n-1) + 2^(n/2-2), n>2. For odd n, a(n) = a(n-2) + a(n-1). ; Submitted by <NAME>(s2) ; 1,1,2,3,6,9,17,26,47,73,128,201,345,546,923,1469,2456,3925,6509,10434,17199,27633,45344,72977,119345,192322,313715,506037,823848,1329885,2161925,3491810,5670119,9161929,1486481...
awa/regtests/awa-wikis-writers-tests.ads
fuzzysloth/ada-awa
0
8946
----------------------------------------------------------------------- -- Render Tests - Unit tests for AWA Wiki rendering -- Copyright (C) 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 Li...
dosshell/swapper/woakkc.asm
minblock/msdos
0
14858
;/* ; * Microsoft Confidential ; * Copyright (C) Microsoft Corporation 1985-1991 ; * All Rights Reserved. ; */ ifdef JAPAN ; ### if JAPAN ### ;----------------------------------------------------------------------------; ; This module contains routines re...
libpal/intel_64bit_systemv_nasm/write_cr3.asm
mars-research/pal
26
167637
bits 64 default rel section .text global pal_execute_write_cr3 pal_execute_write_cr3 : mov cr3, rdi ret
programs/oeis/243/A243883.asm
karttu/loda
0
88036
<reponame>karttu/loda ; A243883: Numerator of circle radius r(n) at constant unit length sagitta and chord length = n. ; 5,1,13,5,29,5,53,17,85,13,125,37,173,25,229,65,293,41,365,101,445,61,533,145,629,85,733,197,845,113,965,257,1093,145,1229,325,1373,181,1525,401,1685,221,1853,485,2029,265,2213,577,2405,313,2605,677,2...
interrupts/lcd_irq_delay_timer_halt_gbc_mode/main.asm
AntonioND/gbc-hw-tests
6
83817
<gh_stars>1-10 INCLUDE "hardware.inc" INCLUDE "header.inc" ;-------------------------------------------------------------------------- SECTION "Main",HOME ;-------------------------------------------------------------------------- ;- Main() - ;-----...
oeis/033/A033903.asm
neoneye/loda-programs
11
102647
; A033903: Sort then Add!. ; Submitted by <NAME> ; 27,54,99,198,387,765,1332,2565,5121,6246,8712,9990,10989,12888,25776,51453,64908,69597,126396,250065,252621,374877,722655,948222,1170711,1281888,2410776,2535453,4870008,4874796,9342585,11688174,22834962 mov $1,27 lpb $0 sub $0,1 seq $1,70196 ; a(n)=n plus the sort...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_1750.asm
ljhsiun2/medusa
9
174285
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r15 push %r8 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x2e0c, %rsi lea addresses_UC_ht+0x65cc, %rdi nop nop nop nop and $42317, %r10 mov $62, %rcx rep movsb nop xor %r15, %r15 lea addresses_normal_ht+0x10f0c, %rcx xor %r8, %r8 ...
Lab1/Lab001/Debug/main.asm
Inscrupulous/MSP430
0
162680
;****************************************************************************** ;* MSP430 G3 C/C++ Codegen PC v20.2.1.LTS * ;* Date/Time created: Fri Aug 28 13:49:55 2020 * ;*******************************************************************...
same-origin-policy/src/model/cors.als
cfbolz/500lines
2
1049
<filename>same-origin-policy/src/model/cors.als /** * cors.als * A model of the cross-origin resource sharing (CORS) mechanism * intended for cross-domain communication from a script and a server */ module cors open script open origin sig CorsRequest in XmlHttpRequest { -- "origin" header in request ...
ada-main-big/src/main.adb
dksmiffs/gnatmake-examples
0
16974
with Ada.Text_IO; use Ada.Text_IO; with I_Am_Ada; with I_Am_Ada_Too; procedure Main is procedure Cpp_Fun; pragma Import(C, Cpp_Fun, "i_am_adaInterface"); procedure C_Fun; pragma Import(C, C_Fun, "i_am_c"); begin Put_Line("Calling external C++ code from Ada main."); Cpp_Fun; Put_Line("Calling external C c...
testA20.asm
ears99/JOS
0
25326
<reponame>ears99/JOS ;test the A20 line - if we can enable it (assuming it's off by default) then we get access to all the memory on offer to us. ; We're not trying to write an OS that's compatible with 8086 hardware, so we need it enabled. testA20: pusha ;set up a reference so we have something to test from. mov...
antlr-editing-plugins/antlr-in-memory-build/src/test/resources/org/nemesis/antlr/memory/ReturnsTest.g4
timboudreau/ANTLR4-Plugins-for-NetBeans
1
5029
/* * Copyright 2020 Mastfrog Technologies. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
programs/oeis/006/A006918.asm
neoneye/loda
22
90315
; A006918: a(n) = binomial(n+3, 3)/4, n odd; n(n+2)(n+4)/24, n even. ; 0,1,2,5,8,14,20,30,40,55,70,91,112,140,168,204,240,285,330,385,440,506,572,650,728,819,910,1015,1120,1240,1360,1496,1632,1785,1938,2109,2280,2470,2660,2870,3080,3311,3542,3795,4048,4324,4600,4900,5200,5525,5850,6201,6552,6930,7308,7714,8120,8555,899...
alloy4fun_models/trashltl/models/7/G8HajbvgtAHKtHRdq.als
Kaixi26/org.alloytools.alloy
0
2039
open main pred idG8HajbvgtAHKtHRdq_prop8 { always (some f : File| f in link.File implies eventually f in Trash) } pred __repair { idG8HajbvgtAHKtHRdq_prop8 } check __repair { idG8HajbvgtAHKtHRdq_prop8 <=> prop8o }
Opus/asm/inssubsn.asm
Computer-history-Museum/MS-Word-for-Windows-v1.1
2
171843
<filename>Opus/asm/inssubsn.asm include w2.inc include noxport.inc include consts.inc include structs.inc createSeg inssubs_PCODE,inssubs,byte,public,CODE ; DEBUGGING DECLARATIONS ifdef DEBUG midInssubsn equ 12 ; module ID, for native asserts endif ; EXTERNAL FUNCTIONS externFP <Re...
agda/SNat/Order/Properties.agda
bgbianchi/sorting
6
10366
<filename>agda/SNat/Order/Properties.agda {-# OPTIONS --sized-types #-} module SNat.Order.Properties where open import Data.Sum renaming (_⊎_ to _∨_) open import Relation.Binary.PropositionalEquality open import Size open import SNat open import SNat.Order tot≤ : {ι ι' : Size} → (m : SNat {ι}) → (n : SNat {ι'}) → m ≤...
test/interaction/Issue5341.agda
cruhland/agda
1,989
2797
postulate @0 A : Set _ : (@0 B : Set) .(C : Set) → Set _ = λ B C → ?
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_745.asm
ljhsiun2/medusa
9
24248
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r14 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x1c186, %r13 nop nop nop nop nop dec %r9 mov (%r13), %edi nop nop nop add %rsi, %rsi lea addresses_normal_ht+0x8d06, %r12 clflush (%r12) nop nop nop n...
agda/PLRTree/Complete.agda
bgbianchi/sorting
6
643
module PLRTree.Complete {A : Set} where open import PLRTree {A} open import PLRTree.Equality {A} data _⋗_ : PLRTree → PLRTree → Set where ⋗lf : (x : A) → node perfect x leaf leaf ⋗ leaf ⋗nd : {l r l' r' : PLRTree} (x x' : A) → l ≃ r → ...
config.tests/firebird/main.adb
svn2github/matreshka
24
2211
<filename>config.tests/firebird/main.adb ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
programs/oeis/184/A184524.asm
neoneye/loda
22
6675
; A184524: Lower s-Wythoff sequence, where s=5n-1. Complement of A184525. ; 1,2,3,4,6,7,8,9,10,12,13,14,15,16,18,19,20,21,22,24,25,26,27,28,29,31,32,33,34,35,37,38,39,40,41,43,44,45,46,47,49,50,51,52,53,55,56,57,58,59,60,62,63,64,65,66,68,69,70,71,72,74,75,76,77,78,80,81,82,83,84,86,87,88,89,90,91,93,94,95,96,97,99,10...
alloy-models/MDC.als
gleguern/BDM-metamodel-explorer
0
1423
// Copyright (c) 2018, <NAME> // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright notice, this // list of conditions and ...
libsrc/stdio/ansi/cpc/f_ansi_char.asm
andydansby/z88dk-mk2
1
96534
; ; ANSI Video handling for the Amstrad CPC ; ; Handles colors referring to current PAPER/INK/etc. settings ; ; set it up with: ; .text_cols = max columns ; .text_rows = max rows ; ; Display a char in location (ansi_ROW),(ansi_COLUMN) ; A=char to display ; ; ; $Id: f_ansi_char.asm,v 1.4 2009/06/22 21:44:17 dom Exp $ ...
projects/batfish/src/main/antlr4/org/batfish/grammar/cumulus_nclu/CumulusNcluLexer.g4
yrll/batfish-repair
0
7513
lexer grammar CumulusNcluLexer; options { superClass = 'org.batfish.grammar.BatfishLexer'; } tokens { ALIAS_BODY, EXTRA_CONFIGURATION_FOOTER, USERNAME } @members { // Java code to end up in F5BigipImishLexer.java goes here private int lastTokenType = -1; @Override public void emit(Token token) { super....
libsrc/x1/set_crtc.asm
meesokim/z88dk
0
179151
; ; Sharp X1 specific routines ; Set 14 6845 CRTC registers at once ; ; void set_crtc(void *reg_list); ; ; Set 16 6845 CRTC registers at once ; ; $Id: set_crtc.asm,v 1.2 2015/01/19 01:33:25 pauloscustodio Exp $ ; PUBLIC set_crtc set_crtc: ; __FASTCALL__ : CRTC table ptr in HL LD DE,000Ch LD BC,1800h ; CRT...
src/NativeIO.agda
stephanadls/state-dependent-gui
2
633
<gh_stars>1-10 module NativeIO where open import Unit public open import Data.List open import Data.Nat open import Data.String.Base using (String) public {-# FOREIGN GHC import qualified Data.Text #-} {-# FOREIGN GHC import qualified System.Environment #-} postulate NativeIO : Set → Set nativeReturn : {A :...
Monads/CatofAdj/TermAdjUniq.agda
jmchapman/Relative-Monads
21
4523
<reponame>jmchapman/Relative-Monads open import Categories open import Monads import Monads.CatofAdj import Monads.CatofAdj.TermAdjObj module Monads.CatofAdj.TermAdjUniq {a b} {C : Cat {a}{b}} (M : Monad C) (A : Monads.CatofAdj.ObjAdj M) (V : Monads.CatofAdj.HomAdj M A (Monads.CatofAdj.TermAdjObj.EMObj M))...
test/fixtures/add-enter-exit.asm
majacQ/retroputer
58
24660
<reponame>majacQ/retroputer # code.regs: A=0x0357 .segment code 0x02000 { ld a, 0x123 push a # arg a, bp + 8 ld a, 0x234 push a # arg b, bp + 6 ld a, 0x000 push a # return, bp + 4 call proc-add po...
boot/legacy/Print32.asm
AstralVX/AstralOS
0
92418
<reponame>AstralVX/AstralOS<filename>boot/legacy/Print32.asm<gh_stars>0 ; ; Print a string to the 'text screen video memory', where we hold a global ; x and y offset into the linear buffer. ; Use \n to get a new line, otherwise it prints from the previous ending ; ; Args: ; esi = text string ; ; Clobbers: ; ; Pri...
test/Succeed/PruneLHS.agda
shlevy/agda
1,989
1665
-- {-# OPTIONS -v tc.meta:20 #-} -- Andreas, 2011-04-21 module PruneLHS where data _≡_ {A : Set}(a : A) : A -> Set where refl : a ≡ a data Bool : Set where true false : Bool test : let X : Bool -> Bool -> Bool -> Bool X = _ in (C : Set) -> (({x y : Bool} -> X x y x ≡ x) -> ({...
src/open_weather_map-client.adb
Jellix/open_weather_map_api
1
23934
<reponame>Jellix/open_weather_map_api<filename>src/open_weather_map-client.adb<gh_stars>1-10 -------------------------------------------------------------------------------- -- Copyright (C) 2020 by Heisenbug Ltd. (<EMAIL>) -- -- This work is free. You can redistribute it and/or modify it under the -- terms of the D...
programs/oeis/257/A257564.asm
jmorken/loda
1
179967
; A257564: Irregular triangle read by rows: T(n,k) = r(n+k)+r(n-k) with r(n) = (n-(n mod 2))/2 for n>=0 and -n<=k<=n. ; 0,1,0,1,2,1,2,1,2,3,2,3,2,3,2,3,4,3,4,3,4,3,4,3,4,5,4,5,4,5,4,5,4,5,4,5,6,5,6,5,6,5,6,5,6,5,6,5,6,7,6,7,6,7,6,7,6,7,6,7,6,7,6,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8 add $0,1 mov $1,$0 mov $3,$0 lpb $1 ...
rego-grammar/src/main/antlr4/com/amazon/antlr4/rego/Rego.g4
alexa-labs/rego-interpreter-java
3
2748
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 grammar Rego; /* https://www.openpolicyagent.org/docs/latest/policy-reference/#grammar */ module : rpackage rimport* policy EOF ; rpackage : 'package' VAR ('.' VAR)* ; rimport : 'imp...
src/main/java/antlr/JsonGraphParser.g4
OlofMorra/GQL-parser
18
97
<gh_stars>10-100 parser grammar JsonGraphParser; @header { package antlr; } options { language=Java; tokenVocab=JsonGraphLexer; } jsonFile : jsonNodeFile | jsonEdgeFile ; jsonNodeFile : LEFT_BRACE node (COMMA node)* RIGHT_BRACE EOF | LEFT_BRACE RIGHT_BRACE EOF ; jsonEdgeFile ...
data/pokemon/base_stats/anorith.asm
TastySnax12/pokecrystal16-493-plus
2
82435
<filename>data/pokemon/base_stats/anorith.asm db 0 ; species ID placeholder db 45, 95, 50, 75, 40, 50 ; hp atk def spd sat sdf db ROCK, BUG ; type db 45 ; catch rate db 119 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F12_5 ; gender ratio db 100 ; unknown 1 db 30 ; step cycles to hatch db ...
libsrc/math/zxmath/ifix.asm
teknoplop/z88dk
0
168780
<reponame>teknoplop/z88dk ; ; ; ZX Maths Routines ; ; 9/12/02 - <NAME> ; ; $Id: ifix.asm,v 1.4 2015/08/10 08:52:13 stefano Exp $ ; ; Convert fp in FA to a long or an integer (if in tiny mode) ; DEHL keeps the value, CARRY has the overflow bit IF FORzx INCLUDE "zxfp.def" ENDIF IF FORzx81 INCLU...
programs/oeis/159/A159038.asm
neoneye/loda
22
160292
; A159038: a(n) = 8 * n!. ; 8,16,48,192,960,5760,40320,322560,2903040,29030400,319334400,3832012800,49816166400,697426329600,10461394944000,167382319104000,2845499424768000,51218989645824000,973160803270656000 add $0,1 mov $1,1 lpb $0 mul $1,$0 sub $0,1 lpe mul $1,8 mov $0,$1
vscode-pvs/server/src/core/DdlPrettyPrinter.g4
pmasci/vscode-pvs
30
2313
/** * ANTLR4 parser rules for pretty-printing PVS dynamic logic * @author <NAME> * @date 2020.04.22 * @copyright * Copyright 2019 United States Government as represented by the Administrator * of the National Aeronautics and Space Administration. All Rights Reserved. * * Disclaimers * * No Warranty: THE SUB...
software/obsolete/simple-monitor-rom/keyboard.asm
Noah1989/loopmicro
1
92722
<filename>software/obsolete/simple-monitor-rom/keyboard.asm entrypoint init_keyboard .block ld hl, data ld c, $C1 ld b, 6 otir ret data: .db $04, $07 .db $03, $C1 .db $05, $E0 .endblock entrypoint get_key .block in a, $C1 and $01 ret z in a, $C0 cp $E0 jr nz, normal call next_byte call normal scf ret normal: cp $F0 jr...
Cats/Category/Setoids/Facts/Initial.agda
JLimperg/cats
24
5550
{-# OPTIONS --without-K --safe #-} module Cats.Category.Setoids.Facts.Initial where open import Level open import Relation.Binary using (Setoid) open import Cats.Category open import Cats.Category.Setoids using (Setoids ; ≈-intro) import Data.Empty as Empty ⊥ : ∀ {l l′} → Setoid l l′ ⊥ = record { Carrier = Lift ...