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
crates/unflow-parser/src/grammar/Design.g4
IWANABETHATGUY/unflow
61
5386
grammar Design; @tokenfactory{ pub type LocalTokenFactory<'input> = antlr_rust::token_factory::ArenaCommonFactory<'input>; } start: declarations* EOF; declarations : config_decl | flow_decl | page_decl | style_decl | component_decl | library_decl | layout_decl ; config_decl: config...
programs/oeis/186/A186220.asm
neoneye/loda
22
167947
<reponame>neoneye/loda<filename>programs/oeis/186/A186220.asm ; A186220: Adjusted joint rank sequence of (g(i)) and (f(j)) with f(i) before g(j) when f(i)=g(j), where f and g are the triangular numbers and squares. Complement of A186219. ; 2,4,6,9,11,14,16,18,21,23,26,28,30,33,35,38,40,42,45,47,50,52,55,57,59,62,64,67...
MODULE2/6-xor-encoder/xor-decode/xor-decoder.asm
wetw0rk/SLAE
18
81214
; Executable name : xor-decoder ; Designed OS : Linux (32-bit) ; Author : wetw0rk ; Version : 1.0 ; Created Following : SLAE ; Description : An example of xor encoded shellcode ; ; SECTION .text global _start _start: jmp short call_decoder ; JMP to call_decoder deco...
agda/InsertSort/Impl2/Correctness/Permutation/Base.agda
bgbianchi/sorting
6
6531
open import Relation.Binary.Core module InsertSort.Impl2.Correctness.Permutation.Base {A : Set} (_≤_ : A → A → Set) (tot≤ : Total _≤_) where open import Bound.Lower A open import Bound.Lower.Order _≤_ open import Data.List open import Data.Sum open import InsertSort.Impl2 _≤_ tot≤ ...
programs/oeis/113/A113770.asm
karttu/loda
1
177978
; A113770: Partial sums of A113311(n)^2. ; 1,10,26,42,58,74,90,106,122,138,154,170,186,202,218,234,250,266,282,298,314,330,346,362,378,394,410,426,442,458,474,490,506,522,538,554,570,586,602,618,634,650,666,682,698,714,730,746,762,778,794 mul $0,16 mov $1,$0 trn $1,7 add $1,1
src/tiles.asm
fjpena/sword-of-ianna-msx2
43
89894
<filename>src/tiles.asm ; Init tiles ; Initialize the dirty tiles area. Will just zero it out. ; ; Now each dirty rectangle will have a simple 4-byte schema: ; ; Byte 0: X char (min) ; Byte 1: Y char (min) ; Byte 2: X char (max) ; Byte 3: Y char (max) ; ; Potentially, we can have up to 48 dirty rectangles, so 48x4=192 ...
libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_ix/cm48_sdccixp_slong2ds.asm
jpoikela/z88dk
640
13677
<reponame>jpoikela/z88dk ; float __slong2fs (signed long sl) SECTION code_clib SECTION code_fp_math48 PUBLIC cm48_sdccixp_slong2ds EXTERN am48_double32, cm48_sdccixp_m482d cm48_sdccixp_slong2ds: ; signed long to double ; ; enter : stack = signed long sl, ret ; ; exit : dehl = sdcc_float(sl) ; ...
day19/src/day.adb
jwarwick/aoc_2020
3
7623
<filename>day19/src/day.adb -- AoC 2020, Day 19 with Ada.Text_IO; with Ada.Containers.Indefinite_Hashed_Maps; with Ada.Containers.Vectors; use Ada.Containers; with Ada.Strings.Fixed; use Ada.Strings.Fixed; package body Day is package TIO renames Ada.Text_IO; type Rule_Type is (term, nonterm); package Rule_Vect...
libsrc/_DEVELOPMENT/adt/bv_stack/c/sccz80/bv_stack_pop.asm
teknoplop/z88dk
8
243108
<reponame>teknoplop/z88dk<filename>libsrc/_DEVELOPMENT/adt/bv_stack/c/sccz80/bv_stack_pop.asm ; int bv_stack_pop(bv_stack_t *s) SECTION code_clib SECTION code_adt_bv_stack PUBLIC bv_stack_pop EXTERN asm_bv_stack_pop defc bv_stack_pop = asm_bv_stack_pop
Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0x84_notsx.log_18765_954.asm
ljhsiun2/medusa
9
3418
<reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0x84_notsx.log_18765_954.asm .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_D_ht+0x149cf, %r8 nop xor %rdi, %rdi mov (%r8), %ecx nop nop cmp $37...
archive/agda-3/src/Oscar/Class/Symmetrical.agda
m0davis/oscar
0
13063
<reponame>m0davis/oscar open import Oscar.Prelude open import Oscar.Data.Proposequality module Oscar.Class.Symmetrical where private module _ {𝔞} {𝔄 : Ø 𝔞} {𝔟} {𝔅 : Ø 𝔟} where module Visible (_∼_ : 𝔄 → 𝔄 → 𝔅) {ℓ} (_↦_ : 𝔅 → 𝔅 → Ø ℓ) where 𝓼ymmetrical = λ x y → (...
software/libs/math.asm
Arkaeriit/asrm
1
102850
;--------------------- ;This file contain functions used to do some basic math opperations ;--------------------- ;Multiplies R1 by R2 and put the result in R1 label intMult pushr R3 ;tmp result pushr R4 ;loop counter pushr R5 ;end loop pointer pushr R6 ;start loop pointer set 0 cpy R3 cpy ...
Math65/tests/itrig16Test.asm
Martin-H1/6502
3
166511
<filename>Math65/tests/itrig16Test.asm<gh_stars>1-10 ; ----------------------------------------------------------------------------- ; Test for fmath functions under py65mon. ; <NAME> <<EMAIL>> ; ----------------------------------------------------------------------------- .outfile "tests/itrig16Test.rom" .alias RamS...
Cubical/Data/Graph.agda
dan-iel-lee/cubical
0
16679
<filename>Cubical/Data/Graph.agda {-# OPTIONS --cubical --no-import-sorts --safe #-} module Cubical.Data.Graph where open import Cubical.Data.Graph.Base public open import Cubical.Data.Graph.Examples public
programs/oeis/112/A112653.asm
karttu/loda
1
1580
<filename>programs/oeis/112/A112653.asm ; A112653: a(n) squared is congruent to a(n) (mod 13). ; 0,1,13,14,26,27,39,40,52,53,65,66,78,79,91,92,104,105,117,118,130,131,143,144,156,157,169,170,182,183,195,196,208,209,221,222,234,235,247,248,260,261,273,274,286,287,299,300,312,313,325,326,338,339,351,352,364,365,377,378,3...
programs/oeis/105/A105343.asm
neoneye/loda
22
164243
<reponame>neoneye/loda ; A105343: Elements of even index in the sequence gives A005893, points on surface of tetrahedron: 2n^2 + 2 for n > 1. ; 1,3,4,7,10,15,20,27,34,43,52,63,74,87,100,115,130,147,164,183,202,223,244,267,290,315,340,367,394,423,452,483,514,547,580,615,650,687,724,763,802,843,884,927,970,1015,1060,1107...
tools/scitools/conf/understand/ada/ada95/i-cpthre.ads
brucegua/moocos
1
10072
------------------------------------------------------------------------------ -- -- -- GNU ADA RUNTIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
src/algos/line_finder/line_finder_types.ads
yannickmoy/SPARKZumo
6
30372
pragma SPARK_Mode; with Types; use Types; -- @summary -- Types used in the line finder algorithm package Line_Finder_Types is -- States detected by the IR sensors -- @value Lost no line found. Start panicking -- @value Online one line is found somewhere under the middle set of -- sensors -- ...
src/Web/URI/Everything.agda
agda/agda-web-uri
1
2387
module Web.URI.Everything where import Web.URI import Web.URI.Examples.HelloWorld import Web.URI.Primitive import Web.URI.Port import Web.URI.Port.Primitive import Web.URI.Scheme import Web.URI.Scheme.Primitive
src/boot/gdt.asm
KirillAldashkin/OSExperiments
0
102015
<filename>src/boot/gdt.asm<gh_stars>0 GDTStart: dd 0x0 dd 0x0 GDTCode: dw 0xffff dw 0x0 db 0x0 db 10011010b db 11001111b db 0x0 GDTData: dw 0xffff dw 0x0 db 0x0 db 10010010b db 11001111b db 0x0 GDTEnd: GDTDescriptor: dw GDTEnd - GDTStart - 1 dd GDTStart ...
programs/oeis/309/A309307.asm
neoneye/loda
22
177892
; A309307: Number of unitary divisors of n (excluding 1). ; 0,1,1,1,1,3,1,1,1,3,1,3,1,3,3,1,1,3,1,3,3,3,1,3,1,3,1,3,1,7,1,1,3,3,3,3,1,3,3,3,1,7,1,3,3,3,1,3,1,3,3,3,1,3,3,3,3,3,1,7,1,3,3,1,3,7,1,3,3,7,1,3,1,3,3,3,3,7,1,3,1,3,1,7,3,3,3,3,1,7,3,3,3,3,3,3,1,3,3,3 seq $0,1221 ; Number of distinct primes dividing n (also ca...
Tests/yasm-regression/rdrnd.asm
13xforever/x86-assembly-textmate-bundle
69
165069
[bits 64] rdrand cx ; out: 66 0f c7 f1 rdrand ecx ; out: 0f c7 f1 rdrand rcx ; out: 48 0f c7 f1
child_processes-managed.ads
annexi-strayline/AURA
13
26745
<filename>child_processes-managed.ads ------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- ANNEXI-STRAYLINE Reference ...
sk/sfx/4A.asm
Cancer52/flamedriver
9
82652
Sound_4A_Header: smpsHeaderStartSong 3 smpsHeaderVoice Sound_4A_Voices smpsHeaderTempoSFX $01 smpsHeaderChanSFX $01 smpsHeaderSFXChannel cFM5, Sound_4A_FM5, $05, $00 ; FM5 Data Sound_4A_FM5: smpsSetvoice $00 dc.b nE2, $06 smpsStop Sound_4A_Voices: ; Voice $00 ; $3C ; $00, $01, $01, $00, $1F, $...
src/Calf/CostMonoids.agda
jonsterling/agda-calf
29
4551
<reponame>jonsterling/agda-calf {-# OPTIONS --prop --without-K --rewriting #-} -- Common cost monoids. module Calf.CostMonoids where open import Calf.CostMonoid open import Data.Product open import Relation.Binary.PropositionalEquality ℕ-CostMonoid : CostMonoid ℕ-CostMonoid = record { ℂ = ℕ ; _+_ = _+_ ; zero...
Appl/GeoCalc/Document/documentClass.asm
steakknife/pcgeos
504
246623
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: GeoCalc FILE: documentClass.asm AUTHOR: <NAME>, Feb 12, 1991 ROUTINES: Name Description ---- ----------- GLB GeoCalcDocumentClass GeoCalc ...
programs/oeis/095/A095311.asm
neoneye/loda
22
8889
<gh_stars>10-100 ; A095311: 47-gonal numbers. ; 1,47,138,274,455,681,952,1268,1629,2035,2486,2982,3523,4109,4740,5416,6137,6903,7714,8570,9471,10417,11408,12444,13525,14651,15822,17038,18299,19605,20956,22352,23793,25279,26810,28386,30007,31673,33384 mov $1,45 mul $1,$0 add $1,2 mov $2,$0 add $2,1 mul $1,$2 div $1,2 m...
llvm-gcc-4.2-2.9/gcc/ada/opt.adb
vidkidz/crossbridge
1
7780
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
oeis/003/A003071.asm
neoneye/loda-programs
11
5671
<reponame>neoneye/loda-programs<filename>oeis/003/A003071.asm ; A003071: Sorting numbers: maximal number of comparisons for sorting n elements by list merging. ; Submitted by <NAME> ; 0,1,3,5,9,11,14,17,25,27,30,33,38,41,45,49,65,67,70,73,78,81,85,89,98,101,105,109,115,119,124,129,161,163,166,169,174,177,181,185,194,19...
programs/oeis/083/A083120.asm
karttu/loda
1
166492
; A083120: Numbers that are congruent to {0, 2, 4, 5, 7, 9, 10} mod 12. ; 0,2,4,5,7,9,10,12,14,16,17,19,21,22,24,26,28,29,31,33,34,36,38,40,41,43,45,46,48,50,52,53,55,57,58,60,62,64,65,67,69,70,72,74,76,77,79,81,82,84,86,88,89,91,93,94,96,98,100,101,103,105,106,108,110,112,113,115,117,118,120,122,124,125,127,129,130,13...
oeis/020/A020720.asm
loda-lang/loda-programs
11
102499
<filename>oeis/020/A020720.asm ; A020720: Pisot sequences E(7,9), P(7,9). ; Submitted by <NAME> ; 7,9,12,16,21,28,37,49,65,86,114,151,200,265,351,465,616,816,1081,1432,1897,2513,3329,4410,5842,7739,10252,13581,17991,23833,31572,41824,55405,73396,97229,128801,170625,226030,299426,396655,525456,696081,922111,1221537,1618...
main.applescript
Cottin/little-login-manager
0
3865
set logins to {} -- description, username, password set end of logins to {"<EMAIL>", "<PASSWORD>98"} set end of logins to {"<EMAIL>", "asdqwe1"} set end of logins to {"<EMAIL>", "qweasdzxc"} set end of logins to {"<EMAIL>", "<PASSWORD>"} set end of logins to {"<EMAIL>", "<PASSWORD>"} -- to make script move slower so...
programs/oeis/081/A081334.asm
neoneye/loda
22
20922
; A081334: sigma(2*n^2) modulo 4. ; 3,3,3,3,1,3,3,3,3,1,3,3,1,3,1,3,1,3,3,1,3,3,3,3,3,1,3,3,1,1,3,3,3,1,1,3,1,3,1,1,1,3,3,3,1,3,3,3,3,3,1,1,1,3,1,3,3,1,3,1,1,3,3,3,3,3,3,1,3,1,3,3,1,1,3,3,3,1,3,1,3,1,3,3,3,3,1,3,1,1,1,3,3,3,1,3,1,3,3,3 seq $0,7913 ; Squarefree part of n: a(n) is the smallest positive number m such tha...
text/maps/SilphCo3F.asm
AmateurPanda92/pokemon-rby-dx
9
83268
<filename>text/maps/SilphCo3F.asm _SilphCo3Text_59ff9:: text "I work for SILPH." line "What should I do?" done _SilphCo3Text_59ffe:: text "<PLAYER>! You and" line "your #MON" cont "saved us!" done _SilphCo3BattleText1:: text "Quit messing with" line "us, kid!" done _SilphCo3EndBattleText1:: text "I give" ...
Transynther/x86/_processed/US/_zr_/i7-8650U_0xd2.log_1549_394.asm
ljhsiun2/medusa
9
163599
<filename>Transynther/x86/_processed/US/_zr_/i7-8650U_0xd2.log_1549_394.asm .global s_prepare_buffers s_prepare_buffers: push %r15 push %rbx push %rdi push %rdx lea addresses_normal_ht+0xe114, %rdi xor %r15, %r15 movb (%rdi), %bl nop nop nop nop nop xor $56020, %rdx pop %rdx pop %rdi pop %rbx pop %r15 ret .global ...
test/asset/agda-stdlib-1.0/Data/Container/Indexed/FreeMonad.agda
omega12345/agda-mode
0
7642
------------------------------------------------------------------------ -- The Agda standard library -- -- The free monad construction on indexed containers ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe --guardedness #-} module Data.Container.Indexed.FreeMona...
agda-stdlib/src/Data/Product/Relation/Binary/Lex/NonStrict.agda
DreamLinuxer/popl21-artifact
5
7251
------------------------------------------------------------------------ -- The Agda standard library -- -- Lexicographic products of binary relations ------------------------------------------------------------------------ -- The definition of lexicographic product used here is suitable if -- the left-hand relation i...
libsrc/stdio_new/file/vasprintf.asm
andydansby/z88dk-mk2
1
6255
<reponame>andydansby/z88dk-mk2 ; wrapper for function pointers XLIB vasprintf LIB vasprintf_callee XREF ASMDISP_VASPRINTF_CALLEE .vasprintf pop hl pop bc pop de exx pop hl ld de,0 push hl exx push de push bc push hl jp vasprintf_callee + ASMDISP_VASPRINTF_CALLEE
src/RPN_Parser.asm
Juaanma/RPN-Parser
0
247327
; Reverse Polish notation parser in ASM (NASM x86 32 bits). %include "Parser_Helper.asm" SYS_EXIT equ 1 segment .data msg1 db "This is a reverse Polish notation parser written in NASM.", 0xA msg1_len equ $ - msg1 msg2 db "Please enter a valid expression to be evaluated. For example: '3 5 + 2 *'.", 0xA msg2_len equ $...
src/main/fragment/mos6502-common/vbuaa=vbuaa_bor__deref_pbuz1.asm
jbrandwood/kickc
2
3720
ldy #0 ora ({z1}),y
gcc-gcc-7_3_0-release/gcc/ada/a-strunb.ads
best08618/asylo
7
2488
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
libsrc/_DEVELOPMENT/arch/ts2068/display/c/sdcc/tshc_aaddrpright_callee.asm
jpoikela/z88dk
640
161977
; void *tshc_aaddrpright(void *aaddr, uchar bitmask) SECTION code_clib SECTION code_arch PUBLIC _tshc_aaddrpright_callee EXTERN _zx_saddrpright_callee defc _tshc_aaddrpright_callee = _zx_saddrpright_callee
src/lithium-access_log.adb
faelys/lithium3
1
1906
------------------------------------------------------------------------------ -- Copyright (c) 2015, <NAME> -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- purpose ...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr14.adb
best08618/asylo
7
19395
<gh_stars>1-10 -- { dg-do compile } package body Discr14 is procedure ASSIGN( TARGET : in out SW_TYPE_INFO ; SOURCE : in SW_TYPE_INFO ) is begin TARGET := new T_SW_TYPE_DESCRIPTOR( SOURCE.SW_TYPE, SOURCE.DIMENSION ); end ASSIGN; end Discr14;
bin/skypeItAppleScript.scpt
t3rse/skypeit
0
4444
(* phone number needs to come in the format of +15555555555 ,5555# *) on run(arguments) log "start" log arguments set phone_number to item 1 of arguments set dtmf to item 2 of arguments tell application "Skype" log "tell Skype" set active_call to send command "CALL " & phone_number script name...
programs/oeis/092/A092038.asm
neoneye/loda
22
25380
<reponame>neoneye/loda<gh_stars>10-100 ; A092038: a(n+1) = a(n) + (a(n) mod 2)^(n mod a(n)), a(1) = 1. ; 1,2,2,3,4,4,4,5,6,6,6,7,8,8,8,9,10,10,10,11,12,12,12,13,14,14,14,15,16,16,16,17,18,18,18,19,20,20,20,21,22,22,22,23,24,24,24,25,26,26,26,27,28,28,28,29,30,30,30,31,32,32,32,33,34,34,34,35,36,36,36,37,38,38,38,39,40,...
Dave/Algebra/Naturals/Bin.agda
DavidStahl97/formal-proofs
0
10680
module Dave.Algebra.Naturals.Bin where open import Dave.Algebra.Naturals.Definition open import Dave.Algebra.Naturals.Addition open import Dave.Algebra.Naturals.Multiplication open import Dave.Embedding data Bin : Set where ⟨⟩ : Bin _t : Bin → Bin _f : Bin → Bin inc : Bin → Bin inc ⟨⟩ = ⟨⟩...
programs/oeis/168/A168526.asm
neoneye/loda
22
178839
; A168526: a(n) = n^6*(n + 1)/2. ; 0,1,96,1458,10240,46875,163296,470596,1179648,2657205,5500000,10629366,19408896,33787663,56471520,91125000,142606336,217238121,323116128,470458810,672000000,943427331,1303868896,1776430668,2388787200,3173828125,4170362976,5423886846,6987409408,8922349815,11299500000,14200058896,177167...
src/FRP/LTL/ISet/Product.agda
agda/agda-frp-ltl
21
3474
<reponame>agda/agda-frp-ltl<filename>src/FRP/LTL/ISet/Product.agda open import Coinduction using ( ∞ ; ♯_ ; ♭ ) open import Data.Product using ( _×_ ; _,_ ; proj₁ ) open import FRP.LTL.Time.Bound using ( Time∞ ; _≼_ ; _≺_ ; fin ; +∞ ; +∞-top ; ≼-refl ; _≼-trans_ ; ≡-impl-≽ ; ≺-impl-≼ ; ≺-impl-⋡ ; t≺+∞ ; _≼-cas...
examples/GUIgeneric/GUI.agda
stephanadls/state-dependent-gui
2
10600
<reponame>stephanadls/state-dependent-gui<filename>examples/GUIgeneric/GUI.agda module GUIgeneric.GUI where open import GUIgeneric.Prelude open import GUIgeneric.GUIDefinitions Frame : Set Frame = ComponentEls frame logOn : Bool logOn = true log : {A : Set} → String → (f : Unit → IO GuiLev1Interface ∞ A) → ...
apps/ascii-printer/main.asm
MasterQ32/spu-mark-ii
13
245542
; Example application ; Repeatedly prints the values between 0x20 and 0x7F to the ; serial port .include "../library/bios.inc" .org APP_START st UART_TXD, '!' push 'A' loop: st UART_RXD [i1:peek] add 1 cmp [i0:peek] 0x80 [ex:zero] push ' ' [i1:pop] [ex:zero] st UART_TXD, '\r' [ex:zero...
FoldingText 2 plugins and scripts/FTZapTags.applescript
jessegrosjean/tree-tools
1
287
property pTitle : "Batch delete tags from current document" property pVer : "0.2" property pAuthor : "RobTrew" property pDescription : " 1. Shows a sorted menu of the different kinds of tags in the current document, 2. allows choice of one or more tag-types (⌘-click to multi-select) 3. deletes all tags of the chose...
mastersystem/zxb-sms-2012-02-23/zxb-sms/wip/zxb/library-asm/loadstr.asm
gb-archive/really-old-stuff
10
17270
#include once <alloc.asm> ; Loads a string (ptr) from HL ; and duplicates it on dynamic memory again ; Finally, it returns result pointer in HL __ILOADSTR: ; This is the indirect pointer entry HL = (HL) ld a, h or l ret z ld a, (hl) inc hl ld h, (hl) ld l, a __LOADSTR: ; __FASTCALL__ entry ld a, h ...
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c85005g.ada
best08618/asylo
7
27458
-- C85005G.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
source/resolver/program-simple_resolvers.ads
reznikmm/gela
0
30114
-- SPDX-FileCopyrightText: 2020 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Expressions; with Program.Elements.Identifiers; with Program.Cross_Reference_Updaters; private package Program.Simple_Resolvers is pragma Preelab...
Application/AssemblyCode/working_and_tmp_asm_files/SCORE_hundreds.asm
t0ddpar0dy/Handmade_Pacman
0
97094
// simulate caller LUI 51 r1 ORI 246 r1 // current score address MOVI 0 r5 // set current score to 0 STOR r5 r1 MOVI 50 r12 JAL r9 init_score init_score: // find location to write LUI 63 r0 // top left most glyph address ORI 255 r0 ADDI -106 r0 ADDI -106 r0 ADDI -106 r0 ADDI -106 r0 // offset rows by 4 down A...
common/debug.asm
temisu/BR4096
8
160399
<reponame>temisu/BR4096 ; Copyright (C) <NAME> %macro DEBUG_PLAIN 1 %ifdef DEBUG_BUILD [section .data] %%dbg_text: db %1 db 0 __SECT__ mov edi,%%dbg_text LIBCALL _printf %endif %endm %macro DEBUG 1 %ifdef DEBUG_BUILD pushad mov esi,__LINE__ DEBUG_PLAIN {"[",__FILE__,":%d] ",%1,10} popad %endif %endm %macro...
sh.asm
bilalsaad/realos
0
10892
_sh: file format elf32-i386 Disassembly of section .text: 00000000 <strcmpaa>: void panic(char*); struct cmd *parsecmd(char*); void display_history(); int strcmpaa(const char *p, const char *q, uint n) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp while(n > 0 &...
libsrc/_DEVELOPMENT/math/float/am9511/c/sccz80/cam32_sccz80_neg.asm
dikdom/z88dk
1
81714
SECTION code_fp_am9511 PUBLIC cam32_sccz80_neg EXTERN asm_sccz80_read1, asm_am9511_neg ; negate sccz80 floats ; ; enter : stack = sccz80_float number, ret ; ; exit : DEHL = sccz80_float(-number) ; ; uses : af, bc, de, hl .cam32_sccz80_neg call asm_sccz80_read1 jp asm_am9511_n...
src/Categories/Category/Construction/Pullbacks.agda
MirceaS/agda-categories
0
6942
<reponame>MirceaS/agda-categories<filename>src/Categories/Category/Construction/Pullbacks.agda {-# OPTIONS --without-K --safe #-} open import Categories.Category module Categories.Category.Construction.Pullbacks {o ℓ e} (C : Category o ℓ e) where open import Level using (_⊔_) open import Function using (_$_) open im...
src/sdl-video.adb
rveenker/sdlada
1
486
<reponame>rveenker/sdlada -------------------------------------------------------------------------------------------------------------------- -- Copyright (c) 2013-2020, <NAME> -- -- This software is provided 'as-is', without any express or implied -- warranty. In no event will the authors be held liable for any da...
utils.asm
vipoo/bbcbasic-z80
2
14645
PUBLIC DIV_HL_C, MATH_ABS_HL, MATH_POS_HL, MATH_NEG_HL, MATH_CP_HL_DE ; THE FOLLOWING ROUTINE DIVIDES HL BY C AND PLACES THE QUOTIENT IN HL AND THE REMAINDER IN A ; https://wikiti.brandonw.net/index.php?title=Z80_Routines:Math:Division#16.2F16_division DIV_HL_C: XOR A LD B, 16 LOOP: ADD HL, HL RLA JR C, DIV_H...
src/main/antlr/org/zavodnikov/antlr4/expr/advanced/ExprAdvanced.g4
dzavodnikov/ANTLR4
3
2197
// Define a grammar called ExprAdvanced. grammar ExprAdvanced; @header { package org.zavodnikov.antlr4.expr.advanced; } // Import rules from another file. import CommonLexerRules; // Parser rules (starts with lowercase letter). prog : stat+ ; // Labels definitions. s...
Partiality.agda
scturtle/fun.hs
2
4504
<reponame>scturtle/fun.hs module Partiality where {- port from http://www.soimort.org/posts/programs-and-proofs/ -} open import Data.Bool using (Bool; false; true) open import Data.Maybe using (Maybe; just; nothing) open import Data.Char using (_==_) renaming (Char to Symbol) open import Coinduction using (∞; ♯_; ♭) ...
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48.log_21829_2781.asm
ljhsiun2/medusa
9
103056
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r14 push %r15 push %r9 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x15974, %r9 clflush (%r9) nop nop dec %rax mov $0x6162636465666768, %rdx movq %rdx, %xmm2 vmovups %ymm2, (%r9) nop nop inc %r15 lea addresses_A_ht+0x1...
src/actions-comment.adb
psyomn/agen
1
807
-- Copyright 2014-2019 <NAME> (psyomn) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed...
test/Succeed/Issue1997.agda
alhassy/agda
3
12815
<gh_stars>1-10 -- Andreas, 2016-06-01, issue 1997 reported by Andres {-# OPTIONS --rewriting #-} infix 4 _≡_ infixl 6 _+_ data _≡_ {a} {A : Set a} (x : A) : A → Set a where refl : x ≡ x {-# BUILTIN REWRITE _≡_ #-} cong : ∀ {a b} {A : Set a} {B : Set b} (f : A → B) {x y} → x ≡ y → f x ≡ f y cong f refl = ...
src/el-beans.ads
My-Colaborations/ada-el
0
18390
<reponame>My-Colaborations/ada-el ----------------------------------------------------------------------- -- EL.Beans -- Bean utilities -- Copyright (C) 2011 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in comp...
Des_Ada/src/concrete_handler/p_stephandler-outputhandler.ads
VMika/Des_Ada
0
11339
WITH P_StepHandler; USE P_StepHandler; WITH Ada.Strings.Unbounded.Text_IO; WITH P_StructuralTypes; USE P_StructuralTypes; WITH Ada.Sequential_IO; package P_StepHandler.OutputHandler is type OutputHandler is new T_StepHandler with private; type Ptr_OutputHandler is access OutputHandler; --- CONS...
botw-freecam/src/interceptor.asm
S41L0R/botw-freecam
0
25610
<reponame>S41L0R/botw-freecam .data EXTERN g_get_camera_data: qword EXTERN g_camera_active: byte EXTERN g_camera_struct: qword .code asm_get_camera_data PROC pushf ; Steal the camera pointer push rbx lea rbx, [r13 + rdx + 654h] sub rbx, 24h mov [g_camera_struct], rbx pop rbx ...
non_regression/switch_x86_linux_2.att.s.asm
LRGH/plasmasm
1
173607
<reponame>LRGH/plasmasm<filename>non_regression/switch_x86_linux_2.att.s.asm .file "a28.c" .text .p2align 4,,15 # ---------------------- .globl PyToken_OneChar .type PyToken_OneChar, @function PyToken_OneChar: .cfi_startproc movl 4(%esp), %edx movl $51, %eax leal -37(%edx), %ecx cmpl $89, ...
Logic/Predicate.agda
Lolirofle/stuff-in-agda
6
15488
<filename>Logic/Predicate.agda module Logic.Predicate where open import Functional import Lvl open import Logic open import Logic.Propositional open import Type open import Type.Properties.Inhabited ------------------------------------------ -- Existential quantification (Existance, Exists) module _ {ℓ₁}{ℓ₂} wh...
oeis/002/A002720.asm
neoneye/loda-programs
11
94319
; A002720: Number of partial permutations of an n-set; number of n X n binary matrices with at most one 1 in each row and column. ; Submitted by <NAME> ; 1,2,7,34,209,1546,13327,130922,1441729,17572114,234662231,3405357682,53334454417,896324308634,16083557845279,306827170866106,6199668952527617,132240988644215842,29689...
src/main/antlr4/xl/playground/expression/parse/Expression.g4
bernard-xl/PlainOldExpression
2
1333
grammar Expression; expression : '(' expression ')' #parenExpression | primary #value | left=expression op='.' Identifier #fieldAc...
oeis/001/A001421.asm
neoneye/loda-programs
11
10029
; A001421: a(n) = (6n)!/((n!)^3*(3n)!). ; Submitted by <NAME>(w2) ; 1,120,83160,81681600,93699005400,117386113965120,155667030019300800,214804163196079142400,305240072216678400087000,443655767845074392936328000,656486312795713480715743268160,985646873056680684690542988249600,1497786250388951255453847206769124800,229924...
thirdparty/adasdl/thin/adasdl/AdaSDL/binding/sdl-events.ads
Lucretia/old_nehe_ada95
0
10878
-- ----------------------------------------------------------------- -- -- AdaSDL -- -- Binding to Simple Direct Media Layer -- -- Copyright (C) 2001 A.M.F.Vargas -- -- <NAME> ...
programs/oeis/002/A002960.asm
jmorken/loda
1
176127
<filename>programs/oeis/002/A002960.asm ; A002960: The square sieve. ; 2,5,8,12,17,22,28,34,41,48,56,65,74,84,94,105,116,128,140,153,166,180,194,209,224,240,257,274,292,310,329,348,368,388,409,430,452,474,497,520,544,568,593,618,644,670,697,724,752,780,809,838,868,898,929,960,992,1025,1058,1092,1126,1161,1196,1232,1268...
src/create_patches.asm
Shinao/Malicious
82
90944
<filename>src/create_patches.asm ; CREATING DECRYPTER mov edi, [DELTA PeFileMap] add edi, [DELTA PointerToRawData] mov eax, 0BFh ; Mov edi stosb mov eax, DECRYPTER_SIZE + PATCHER_SIZE ; Address of our section to decrypt add eax, [DELTA BaseImage] add eax, [DELTA VirtualAddress] stosd mov eax, 0F78Bh ; mov esi, edi stos...
tests/mult.asm
bynect/intel-8080-kit
0
104121
<reponame>bynect/intel-8080-kit mult: mvi b, 0 mvi e, 9 mult_00: mov a, c rar mov c, a dcr e jz mult_end mov a, b jnc mult_01 add d mult_01: rar mov b, a jmp mult_00 ;this is a comment mult_end: ret
src/asm/boot1.asm
pwestrich/csc_4100
0
97228
<gh_stars>0 ; boot12.asm FAT12 bootstrap for real mode image or loader ; Version 1.0, Jul 5, 1999 ; Sample code ; by <NAME> <EMAIL> ; I do not place any restrictions on your use of this source code ; I do not provide any warranty of the correctness of this source code ;__________________________________________...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1258.asm
ljhsiun2/medusa
9
179785
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r8 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x4ab8, %rdx clflush (%rdx) nop add $19651, %r12 movb $0x61, (%rdx) nop nop nop and $29049, %rbx lea addresses_A_ht+0xe768, %rsi lea addresses_UC_ht+0x1a9e8, %rdi...
libsrc/_DEVELOPMENT/target/yaz180/driver/i2c/c/sccz80/i2c_set_speed.asm
Frodevan/z88dk
640
103362
<reponame>Frodevan/z88dk SECTION code_driver EXTERN asm_i2c_set_speed PUBLIC i2c_set_speed ;------------------------------------------------------------------------------ ; Set the PCA9665 device speed mode ; ; set the speed mode relevant for the specific device ; input HL = desired speed mode, 0, 1, 2, 3 ; ...
docs/CTParser.g4
neoncitylights/ContextualTime
0
1832
parser grammar CTParser; options { tokenVocab=CTLexer }; phrase_on : ON ' ' DAYOFWEEK ; phrase_in : MONTH ;
source/ada_lapack-extras.ads
leo-brewin/ada-lapack
5
17343
<filename>source/ada_lapack-extras.ads generic package Ada_Lapack.Extras is ---------------------------------------------------------------------------------- -- Some extra procedures built upon the Lapack routines. -- determinants of a square marix ------------------------------------------------ functio...
test/Fail/ParseForallAbsurd.agda
cruhland/agda
1,989
15071
<reponame>cruhland/agda -- Andreas, 2010-09-24 module ParseForallAbsurd where parseFails : forall () -> Set1 parseFails x = Set -- this does no longer give the error message -- "absurd lambda cannot have a body"
libsrc/nc100/txtunderlineon.asm
meesokim/z88dk
0
99721
PUBLIC txtunderlineon .txtunderlineon jp 0xB84B
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0_notsx.log_1_1621.asm
ljhsiun2/medusa
9
102369
<filename>Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0_notsx.log_1_1621.asm .global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0xb008, %rsi lea addresses_WC_ht+0x19c88, %rdi inc %rax mov $36, %rcx rep movsq nop nop nop xor $571...
vbox/src/VBox/Devices/PC/BIOS/VBoxBiosAlternative8086.asm
Nurzamal/rest_api_docker
0
103010
; $Id: VBoxBiosAlternative8086.asm 69807 2017-11-22 13:55:09Z vboxsync $ ;; @file ; Auto Generated source file. Do not edit. ; ; ; Source file: post.c ; ; $Id: VBoxBiosAlternative8086.asm 69807 2017-11-22 13:55:09Z vboxsync $ ; BIOS POST routines. Used only during initialization. ; ; ; ; Copyright (C) 2004-2...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_19.asm
ljhsiun2/medusa
9
29644
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r8 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0xd281, %r8 nop xor %rbp, %rbp mov (%r8), %r9 nop nop nop and $621, %r11 lea addresses_WC_ht+0x18751, %rsi lea addresses_D_ht+0x401, %rdi nop nop nop cmp $40465, %r9 mov $11, %rcx rep...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2602.asm
ljhsiun2/medusa
9
4247
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r14 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x4820, %rsi lea addresses_D_ht+0x73a0, %rdi nop dec %r11 mov $42, %rcx rep movsb nop nop nop nop nop add $48450, %r9 lea addresses_WT_ht+0x2a0, %r13 nop nop nop nop and $48680,...
PIM/TD2_Raffinage/pgcd.adb
Hathoute/ENSEEIHT
1
20647
-- Score PIXAL le 07/10/2020 à 17:48 : 100% with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; -- Afficher le PGCD de deux entiers positifs. procedure PGCD is A, B: Integer; n_A, n_B: Integer; pgcd: Integer; begin -- Demander deux entiers A et B Pu...
Application/AssemblyCode/working_and_tmp_asm_files/clearScreen.asm
t0ddpar0dy/Handmade_Pacman
0
174561
JAL r6 clearscreen BUC 0 // uses r2, r3, r4 clearscreen: LUI 63 r2 ORI 255 r2 # r2 is current fb index LUI 55 r3 ORI 183 r3 # r3 is last square outside of fp MOVI 1 r4 # load fb with glyph 0 loop: CMP r3 r2 BEQ endloop STOR r4 r2 ADDI -1 r2 BUC loop endloop: RETX
musPlayer/Sound.asm
a0r10n/MML6-compiler
1
25698
;Sound player 5.0 .DEFINE VISUALS ;Enables code providing data to the graphical side .define channelonebase $CE04 .define channeltwobase $CE36 .define channelthreebase $CE68 .define channelfourbase $CE9A .define channelcontrolbase $CECC .define channelsize $32 .defi...
scripts/mtmoonpokecenter2.asm
adhi-thirumala/EvoYellow
16
18538
<gh_stars>10-100 MagikarpSalesman: CheckEvent EVENT_BOUGHT_MAGIKARP, 1 jp c, .alreadyBoughtMagikarp ld hl, .Text1 call PrintText ld a, MONEY_BOX ld [wTextBoxID], a call DisplayTextBoxID call YesNoChoice ld a, [wCurrentMenuItem] and a jp nz, .choseNo ; $000500 xor a ld [hMoney], a ld [hMoney + 2], a ld a...
src/fot/LTC-PCF/Program/GCD/Partial/GCD.agda
asr/fotc
11
9813
------------------------------------------------------------------------------ -- Definition of the gcd of two natural numbers using the Euclid's algorithm ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-...
libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sccz80/fmod.asm
Frodevan/z88dk
640
164001
<reponame>Frodevan/z88dk SECTION code_fp_math32 PUBLIC fmod EXTERN cm32_sccz80_fmod defc fmod = cm32_sccz80_fmod ; SDCC bridge for Classic IF __CLASSIC PUBLIC _fmod EXTERN cm32_sdcc_fmod defc _fmod = cm32_sdcc_fmod ENDIF
src/asmtutor.com/src/helloworld-lf.asm
ishirshov/NASM-tutorial-for-Unix
0
8391
<reponame>ishirshov/NASM-tutorial-for-Unix %include 'functions.asm' SECTION .data msg1 db 'Hello, brave world!', 0h msg2 db 'This is how we recycle in NASM', 0h SECTION .text global _start _start: mov eax, msg1 call sprintLF mov eax, msg2 call sprintLF call ...
kernel.asm
zzddhhtjzz/xv6
0
98148
<reponame>zzddhhtjzz/xv6<filename>kernel.asm kernel: file format elf32-i386 Disassembly of section .text: 80100000 <multiboot_header>: 80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh 80100006: 00 00 add %al,(%eax) 80100008: fe 4f 52 decb 0x52(%edi) 8010000b: e4 0f ...
models/tests/test14.als
transclosure/Amalgam
4
3269
<reponame>transclosure/Amalgam<filename>models/tests/test14.als module tests/test // Bugpost by g.a.c.rijnders AT gmail.com sig Foo { Foo: one Foo } run {} expect 1
alloy4fun_models/trashltl/models/16/uaonLsn4PrcdpY8hC.als
Kaixi26/org.alloytools.alloy
0
2639
open main pred iduaonLsn4PrcdpY8hC_prop17 { all f: File |always ( f in Trash implies File' = File - f) } pred __repair { iduaonLsn4PrcdpY8hC_prop17 } check __repair { iduaonLsn4PrcdpY8hC_prop17 <=> prop17o }