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
Reversing/Projects/StringMap.asm
Joey35233/FoxKit-3
3
92411
; Structure StringMap<int> ; { ; 0 uint* 4 vfptr ; 4 undefined4 4 unknown ; 8 uint 4 count ; 12 uint 4 capacity ; 16 StringMap<int>::Cell** 4 cells ; 20 StringMap<int>::Cell* 4 smUnknown0 ; 24...
libsrc/_DEVELOPMENT/target/zx/driver/terminal/zx_01_output_char_32_tty_z88dk/zx_01_output_char_32_tty_z88dk_02_font_address.asm
jpoikela/z88dk
640
163877
SECTION code_driver SECTION code_driver_terminal_output PUBLIC zx_01_output_char_32_tty_z88dk_02_font_address zx_01_output_char_32_tty_z88dk_02_font_address: ; de = parameters * ld a,(de) ; a = MSB font address inc de ld (ix+22),a ld a,(de) ; a = LSB of fo...
programs/oeis/165/A165994.asm
neoneye/loda
22
245449
; A165994: a(n) is the number of nonzero values of floor (j^2/prime(n)), over 1 <= j < prime(n). ; 0,1,2,4,7,9,12,14,18,23,25,30,34,36,40,45,51,53,58,62,64,70,73,79,87,90,92,96,98,102,115,119,125,127,136,138,144,150,154,159,165,167,177,179,182,184,196,208,211,213,217,223,225,235,240,246,252,254,260,264,266,275,289,293,...
orka/src/orka/implementation/orka-atomics.adb
onox/orka
52
13441
<filename>orka/src/orka/implementation/orka-atomics.adb -- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2017 onox <<EMAIL>> -- -- 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...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/loop_optimization8.adb
best08618/asylo
7
17245
-- { dg-do run } -- { dg-options "-O -gnatn" } with Loop_Optimization8_Pkg1; procedure Loop_Optimization8 is Data : Loop_Optimization8_Pkg1.T; procedure Check_1 (N : in Natural) is begin if N /= 0 then for I in 1 .. Data.Last loop declare F : constant Natural := Data.Elements (...
archive/agda-1/HasNeitherNor.agda
m0davis/oscar
0
9951
module HasNeitherNor where record HasNeitherNor (A : Set) : Set where field _⊗_ : A → A → A open HasNeitherNor ⦃ … ⦄ public
oeis/180/A180060.asm
neoneye/loda-programs
11
4939
; A180060: 2^(2^n mod n) mod n. ; Submitted by <NAME> ; 0,1,1,1,4,4,4,1,4,6,4,4,4,2,1,1,4,16,4,16,4,16,4,16,3,16,13,16,4,16,4,1,25,16,29,16,4,16,22,16,4,16,4,20,32,16,4,16,22,16,1,16,4,52,8,32,28,16,4,16,4,16,4,1,61,16,4,52,49,46,4,16,4,16,31,24,36,16,4,16,40,16,4,16,1,16,82,56,4,16,2,32,70,16,22,64,4,92,95,36 mov $1,...
data/pokemon/dex_entries/zangoose.asm
AtmaBuster/pokeplat-gen2
6
244449
<gh_stars>1-10 db "<NAME>@" ; species name db "Its fur will stand" next "on end if it" next "smells a SEVIPER" page "nearby. It uses" next "its sharp claws to" next "tear up its foes.@"
libsrc/_DEVELOPMENT/env/esxdos/c/sdcc_iy/getenv.asm
jpoikela/z88dk
640
23482
; char *getenv(const char *name) SECTION code_env PUBLIC _getenv EXTERN _getenv_fastcall _getenv: pop af pop hl push hl push af jp _getenv_fastcall
Transynther/x86/_processed/US/_zr_/i7-8650U_0xd2.log_19024_1444.asm
ljhsiun2/medusa
9
100971
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r15 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x1adf7, %rax nop nop and $20535, %r14 movb $0x61, (%rax) sub $17355, %rbx lea addresses_normal_ht+0x10751, %rsi lea addresses_A_ht+0x177f0, %rdi nop nop nop nop and $21527, %r...
Program 2/AddTwo.asm
smitc29/Assembly_Projects
0
29063
; <NAME> Project 2 ; CSCI 231 Professor <NAME> ; Oct 2, 2016 ; Reverse a string TITLE MASM Template INCLUDE Irvine32.inc .data source BYTE "This is the source string",0 target BYTE SIZEOF source DUP('#') .code main proc mov ebx, [SIZEOF source]-1 ; Find location for last character of sour...
xasm/common/test/equstest.asm
gb-archive/asmotor
0
168473
SECTION "Test",CODE Print EQUS "\tPRINTT \"First\\n\"\nPRINTT \"Second\\n\"\n" REPT 3 Print REPT 2 PRINTT "\t2nd REPT\n" ENDR ENDR
programs/oeis/197/A197649.asm
jmorken/loda
1
81227
; A197649: Sum(k*Fibonacci(2*k), k=0..n), Fibonacci(n)=A000045(n) ; 0,1,7,31,115,390,1254,3893,11789,35045,102695,297516,853932,2432041,6881395,19361995,54214939,151164018,419910354,1162585565,3209268665,8835468881,24266461007,66501634776,181882282200,496539007825,1353272290399,3682496714743 lpb $0 add $2,$1 add $...
dino/lcs/123p/E7.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
6
94301
copyright zengfr site:http://github.com/zengfr/romhack 0324CA addq.b #1, ($e7,A2) 0324CE dbra D6, $3245e [123p+ E7] 032C80 cmpi.b #$3, ($e7,A0) 032C86 blt $32c8c [123p+ E7] copyright zengfr site:http://github.com/zengfr/romhack
libsrc/_DEVELOPMENT/arch/zx/esxdos/c/sdcc_iy/esxdos_f_write.asm
jpoikela/z88dk
640
240796
; int esxdos_f_write(uchar handle, void *src, size_t nbyte) SECTION code_clib SECTION code_esxdos PUBLIC _esxdos_f_write EXTERN l0_esxdos_f_write_callee _esxdos_f_write: pop de dec sp pop af pop hl pop bc push bc push hl dec sp push de jp l0_esxdos_f_write_callee
source/image/s-valerr.adb
ytomino/drake
33
16347
with System.Runtime_Context; pragma Warnings (Off, System.Runtime_Context); -- break "pure" rule package body System.Value_Errors is procedure Raise_Value_Failure (T : String; S : String) is T_Length : constant Natural := T'Length; Message : String (1 .. T_Length + S'Length * 2 + 11); Last : Natur...
programs/oeis/249/A249983.asm
neoneye/loda
22
102636
<gh_stars>10-100 ; A249983: Number of length 3+1 0..2*n arrays with the sum of the absolute values of adjacent differences equal to 3*n. ; 20,88,208,426,728,1178,1744,2508,3420,4580,5920,7558,9408,11606,14048,16888,20004,23568,27440,31810,36520,41778,47408,53636,60268,67548,75264,83678,92560,102190,112320,123248,134708...
Mixing Desk Programming/Create PM scene recall.applescript
bsmith96/Qlab-Scripts
1
213
-- @description Create PM scene recall -- @author <NAME> -- @link bensmithsound.uk -- @version 2.0 -- @testedmacos 10.13.6 -- @testedqlab 4.6.9 -- @about Creates a midi cue to recall a scene on Yamaha Rivage PM mixing desks -- @separateprocess TRUE -- @changelog -- v2.0 + moved common functions to external script ...
src/keystore-io-headers.adb
My-Colaborations/ada-keystore
25
11705
<reponame>My-Colaborations/ada-keystore<gh_stars>10-100 ----------------------------------------------------------------------- -- keystore-io-headers -- Keystore file header operations -- Copyright (C) 2019, 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "Licen...
3-mid/opengl/source/lean/opengl-visual.adb
charlie5/lace-alire
1
1537
with ada.unchecked_Deallocation; package body openGL.Visual is package body Forge is function new_Visual (Model : in openGL.Model.view; Scale : in Vector_3 := (1.0, 1.0, 1.0); is_Terrain : in Boolean := False) return openGL.Visual.view ...
vbdefines.asm
enthusi/VBeat
6
3701
BG_MAP equ $00020000 BRTA equ $0005F824 BRTA_DEFAULT equ 42 BRTB_DEFAULT equ 84 BRTC_DEFAULT equ 0 CHAR_TBL equ $00078000 DPCTRL equ $0005f822 DP_DISP equ %0000000000000010 DP_RE equ %0000000100000000 DP_SYNCE equ %0000001000000000 FRMCYC equ $0005f82e GPLT0 equ $0005f860 INTCLR equ $0005f804 ...
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xca_notsx.log_21829_1787.asm
ljhsiun2/medusa
9
17820
<reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xca_notsx.log_21829_1787.asm .global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r9 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x17288, %rsi xor %rdx, %rdx mov (%rsi), %cx nop nop nop no...
gcc-gcc-7_3_0-release/gcc/ada/exp_prag.ads
best08618/asylo
7
16397
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
src/apsepp-generic_shared_instance-access_setter.adb
thierr26/ada-apsepp
0
12007
-- Copyright (C) 2019 <NAME> <<EMAIL>> -- MIT license. Please refer to the LICENSE file. package body Apsepp.Generic_Shared_Instance.Access_Setter is ---------------------------------------------------------------------------- Locker : SB_L_Locker (Lock'Access); --------------------------------------------...
programs/oeis/283/A283123.asm
neoneye/loda
22
17167
; A283123: a(n) = sigma(9*n). ; 13,39,40,91,78,120,104,195,121,234,156,280,182,312,240,403,234,363,260,546,320,468,312,600,403,546,364,728,390,720,416,819,480,702,624,847,494,780,560,1170,546,960,572,1092,726,936,624,1240,741,1209,720,1274,702,1092,936,1560,800,1170,780,1680,806,1248,968,1651,1092,1440,884,1638,960,187...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1092.asm
ljhsiun2/medusa
9
241472
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r11 push %r15 push %r8 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x18feb, %rsi lea addresses_normal_ht+0xcb4b, %rdi nop nop nop nop xor $5714, %r8 mov $109, %rcx rep movsb nop nop nop nop xor $64146, %rax lea addresses_WC_ht+0...
y2s2/csa/practicals/prac-5/16-challenge-3-1.asm
ouldevloper/university
8
19809
<filename>y2s2/csa/practicals/prac-5/16-challenge-3-1.asm<gh_stars>1-10 ; Display 1-9 vertically .MODEL SMALL .STACK 100 .DATA NL DB 13,10, "$" num DB "1" trailer DB " x$" .CODE MAIN PROC MOV AX,@DATA MOV DS,AX MOV CX, 9 DISP: MOV AH, 02H MOV DL, num INT 21H ...
src/titlescreen.asm
NEPETAISCUTE/simon-gameboy
1
164340
ld a, [wIsFirstFrame] ;checks if it's the first frame of that specific game state cp a, False jp z, .skipFirstScreenLoading .titleScreenLoading xor a, a ld [wIsFirstFrame], a ld a, $99 ld [wVRAMCopyDest], a ld a, $04 ld [wVRAMCopyDest+1], a ld a, 13 ld [wVRAMCopyLen], a ld c, a xor a, a ...
source/3dasm/draw.asm
arbruijn/d2gl
0
20165
<filename>source/3dasm/draw.asm ; THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX ; SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO ; END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A ; ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY...
unused/EffectUtil.agda
Zalastax/singly-typed-actors
1
5448
module EffectUtil where open import Data.List open import Data.List.All open import Data.List.Any open import Level open import Relation.Binary.PropositionalEquality hiding ([_]) open import Function open import Category.Monad open import Data.Product -- open import EffectUtil open import Membership-equality hiding (...
scripts/.finder-selection.applescript
looking-for-a-job/mac-finder.py
7
4055
<filename>scripts/.finder-selection.applescript #!/usr/bin/env oascript tell application "Finder" set _selection to (get selection) if count of _selection is 0 then return POSIX path of (target of front Finder window as text) else repeat with s in _selection try log (POSIX path of (s as al...
data/mapObjects/ceruleanmart.asm
adhi-thirumala/EvoYellow
16
21383
<filename>data/mapObjects/ceruleanmart.asm CeruleanMartObject: db $0 ; border block db $2 ; warps db $7, $3, $5, $ff db $7, $4, $5, $ff db $0 ; signs db $3 ; objects object SPRITE_MART_GUY, $0, $5, STAY, RIGHT, $1 ; person object SPRITE_BLACK_HAIR_BOY_1, $3, $4, WALK, $1, $2 ; person object SPRITE_LASS, $6,...
oeis/111/A111406.asm
neoneye/loda-programs
11
163479
; A111406: a(n) = f(f(n+1)) - f(f(n)), where f(m) = pi(m) = A000720(m), with f(0) = 0. ; 0,0,1,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 mov $3,$0 mov $5,2 lpb $5 mo...
Task/Boolean-values/AppleScript/boolean-values-3.applescript
LaudateCorpus1/RosettaCodeData
1
2858
sortItems from L given reversal : true
programs/oeis/282/A282779.asm
neoneye/loda
22
92775
; A282779: Period of cubes mod n. ; 1,2,3,4,5,6,7,8,3,10,11,12,13,14,15,16,17,6,19,20,21,22,23,24,25,26,9,28,29,30,31,32,33,34,35,12,37,38,39,40,41,42,43,44,15,46,47,48,49,50,51,52,53,18,55,56,57,58,59,60,61,62,21,64,65,66,67,68,69,70,71,24,73,74,75,76,77,78,79,80,27 mov $1,$0 add $0,1 add $1,1 div $1,3 gcd $1,3 dif $...
oeis/144/A144328.asm
neoneye/loda-programs
11
246359
; A144328: A002260 preceded by a column of 1's: a (1, 1, 2, 3, 4, 5,...) crescendo triangle by rows. ; Submitted by <NAME> ; 1,1,1,1,1,2,1,1,2,3,1,1,2,3,4,1,1,2,3,4,5,1,1,2,3,4,5,6,1,1,2,3,4,5,6,7,1,1,2,3,4,5,6,7,8,1,1,2,3,4,5,6,7,8,9,1,1,2,3,4,5,6,7,8,9,10,1,1,2,3,4,5,6,7,8,9,10,11,1,1,2,3,4,5,6,7,8,9,10,11,12,1,1,2,3...
courses/fundamentals_of_ada/labs/prompts/180_polymorphism/shapes.adb
AdaCore/training_material
15
10196
<reponame>AdaCore/training_material with Ada.Numerics.Generic_Elementary_Functions; package body Shapes is package Math is new Ada.Numerics.Generic_Elementary_Functions (Float_T); function Distance (Vertex1 : Vertex_T; Vertex2 : Vertex_T) return Float_T is begin return Math.Sqrt...
agda-stdlib-0.9/src/Coinduction.agda
qwe2/try-agda
1
11320
------------------------------------------------------------------------ -- The Agda standard library -- -- Basic types related to coinduction ------------------------------------------------------------------------ module Coinduction where import Level ---------------------------------------------------------------...
Cubical/Structures/MultiSet.agda
cmester0/cubical
1
4589
<reponame>cmester0/cubical {-# OPTIONS --cubical --no-exact-split --safe #-} module Cubical.Structures.MultiSet where open import Cubical.Foundations.Prelude open import Cubical.Foundations.Function open import Cubical.Foundations.HLevels open import Cubical.Foundations.Equiv open import Cubical.Foundations.SIP renami...
programs/oeis/096/A096501.asm
karttu/loda
0
12560
; A096501: Difference between primes preceding n+1 and n. ; 0,4,1,0,2,0,2,0,0,0,4,0,2,0,0,0,4,0,2,0,0,0,4,0,0,0,0,0,6,0,2,0,0,0,0,0,6,0,0,0,4,0,2,0,0,0,4,0,0,0,0,0,6,0,0,0,0,0,6,0,2,0,0,0,0,0,6,0,0,0,4,0,2,0,0,0,0,0,6,0,0,0,4,0,0,0,0,0,6,0,0,0,0,0,0,0,8,0,0,0,4,0,2,0,0,0,4,0,2,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,14,0,0,0...
alloy4fun_models/trashltl/models/16/JjwPXD86vztdPJJrw.als
Kaixi26/org.alloytools.alloy
0
1500
<gh_stars>0 open main pred idJjwPXD86vztdPJJrw_prop17 { all f: File |always (eventually f in Trash) implies after f not in File } pred __repair { idJjwPXD86vztdPJJrw_prop17 } check __repair { idJjwPXD86vztdPJJrw_prop17 <=> prop17o }
oeis/192/A192917.asm
neoneye/loda-programs
11
90291
<filename>oeis/192/A192917.asm ; A192917: Coefficient of x in the reduction by (x^2 -> x+1) of the polynomial C(n)*x^n, where C=A022095. ; Submitted by <NAME> ; 0,5,6,22,51,140,360,949,2478,6494,16995,44500,116496,304997,798486,2090470,5472915,14328284,37511928,98207509,257110590,673124270,1762262211,4613662372,1207872...
wof/lcs/base/318.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
6
103776
copyright zengfr site:http://github.com/zengfr/romhack 00162E addq.w #1, ($318,A5) [base+324] 001632 rts [base+318] 008804 beq $882e [base+318] 008C04 beq $8c48 [base+318] 008FFE beq $9048 [base+318] 009282 beq $92ac [base+318] 00956C beq $9594 [base+318] 0096F6 beq $9720 [base+318] 00...
libsrc/_DEVELOPMENT/alloc/obstack/c/sccz80/obstack_room.asm
teknoplop/z88dk
8
23920
; =============================================================== ; Dec 2013 ; =============================================================== ; ; size_t obstack_room(struct obstack *ob) ; ; Number of free bytes available in the obstack. ; ; =============================================================== SECTION cod...
data/mapObjects/fuchsiagym.asm
etdv-thevoid/pokemon-rgb-enhanced
1
90636
FuchsiaGymObject: db $3 ; border block db $2 ; warps db $11, $4, $5, $ff db $11, $5, $5, $ff db $0 ; signs db $8 ; objects object SPRITE_KOGA, $4, $a, STAY, DOWN, $1, OPP_KOGA, $1 object SPRITE_ROCKER, $8, $d, STAY, DOWN, $2, OPP_JUGGLER, $4 object SPRITE_ROCKER, $7, $8, STAY, RIGHT, $3, OPP_JUGGLER, $2 ob...
problems/049/a049.adb
melwyncarlo/ProjectEuler
0
13369
with Ada.Text_IO; with Ada.Integer_Text_IO; -- Copyright 2021 <NAME> procedure A049 is use Ada.Text_IO; use Ada.Integer_Text_IO; -- File Reference: http://www.naturalnumbers.org/primes.html N : constant Integer := 10; FT : File_Type; Last_Index : Natural; ...
src/main/antlr/Expr.g4
kylepls/Expr3
1
121
grammar Expr; operation : assignment | expr ; expr: function_call # OP_FUNC | expr EXP<assoc=right> expr # OP_EXP | expr op=(MUL|DIV) expr # OP_MULDIV | expr (MOD) expr ...
data/test-files/Absurd.agda
carlostome/martin
0
9596
<gh_stars>0 module Absurd where open import Prelude absurd : {A : Set} -> Empty -> A absurd x = {!!}
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1569.asm
ljhsiun2/medusa
9
245964
.global s_prepare_buffers s_prepare_buffers: push %r13 push %rax push %rdx push %rsi lea addresses_WT_ht+0xfd1f, %r13 nop nop nop nop nop add %rsi, %rsi mov $0x6162636465666768, %rax movq %rax, %xmm0 and $0xffffffffffffffc0, %r13 movaps %xmm0, (%r13) add %rdx, %rdx pop %rsi pop %rdx pop %rax pop %r13 ret .global s...
source/data/zeropage.asm
mega65dev/rom-assembler
0
160328
; ******************************************************************************************** ; ******************************************************************************************** ; ; Name : zeropage.asm ; Purpose : .. ; Created : 15th Nov 1991 ; Updated : 4th Jan 2021 ; Authors : <NAME> ; ; ****...
programs/oeis/071/A071792.asm
jmorken/loda
1
172861
; A071792: Decimal expansion of the fourth (of 10) decimal selvage number; the n-th digit of a decimal selvage number, x, is equal to the tenths digit of n*x. ; 3,7,1,4,8,2,6,9,3,7,0,4,8,2,5,9,3,6,0,4,8,1,5,9,2,6,0,4,7,1,5,8,2,6,0,3,7,1,4,8,2,6,9,3,7,0,4,8,2,5,9,3,6,0,4,8,1,5,9,2,6,0,4,7,1,5,8,2,6,0,3,7,1,4,8,2,6,9,3,7...
src/ASN1/Untyped.agda
semenov-vladyslav/asn1-agda
0
801
module ASN1.Untyped where open import Data.Word8 using (Word8; _and_; _or_; _==_) renaming (primWord8fromNat to to𝕎; primWord8toNat to from𝕎) open import Data.ByteString using (ByteString; Strict; empty; pack; fromChunks; toStrict) open import Data.ByteString.Utf8 using (packStrict) open import Data.Bool using (Bool...
libsrc/video/tms9918/l_tms9918_disable_interrupts_im1.asm
jpoikela/z88dk
640
92348
<filename>libsrc/video/tms9918/l_tms9918_disable_interrupts_im1.asm SECTION code_clib PUBLIC l_tms9918_disable_interrupts PUBLIC l_tms9918_enable_interrupts EXTERN l_push_di EXTERN l_pop_ei defc l_tms9918_disable_interrupts = l_push_di defc l_tms9918_enable_interrupts = l_pop_ei
src/PJ/input/doskeysh.asm
AnimatorPro/Animator-Pro
119
174670
CGROUP group code code segment dword 'CODE' assume cs:CGROUP,ds:CGROUP include errcodes.i public dos_key_shift ;dos_key_shift() ; returns keyboard shift/control/alt state dos_key_shift proc near mov ah,2 int 16h and eax,0ffh ret dos_key_shift endp code ends end
oeis/068/A068012.asm
neoneye/loda-programs
11
26063
<filename>oeis/068/A068012.asm<gh_stars>10-100 ; A068012: Number of subsets of {1,2,3,...,n} that sum to 0 mod 6. ; Submitted by <NAME> ; 1,1,1,2,3,6,12,22,44,88,172,344,688,1368,2736,5472,10928,21856,43712,87392,174784,349568,699072,1398144,2796288,5592448,11184896,22369792,44739328,89478656,178957312,357914112,715828...
agda-stdlib/src/Data/List/Relation/BagAndSetEquality.agda
DreamLinuxer/popl21-artifact
5
11701
------------------------------------------------------------------------ -- The Agda standard library -- -- This module is DEPRECATED. Please use -- Data.List.Relation.Binary.BagAndSetEquality directly. ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} module ...
src/security-policies-roles.ads
jquorning/ada-security
19
1748
<filename>src/security-policies-roles.ads ----------------------------------------------------------------------- -- security-policies-roles -- Role based policies -- Copyright (C) 2010, 2011, 2012, 2017, 2018 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License")...
cpp-macro-parser/Preprocessor.g4
zoloypzuo/regex_engine
0
3911
grammar Preprocessor; chunk : block EOF; // MSDN本来用text这个词,但是很模糊,text还包含C++代码部分,不只是宏语言 // 这里我使用block // MSDN在这里描述模糊,我自己的理解是,每行至多一个宏指令语句 // 所以换行符被算入语法,不是当作空白符跳过 // text: Any sequence of text // // 首先源文本可以是空的 // 然后最后一行可以没有换行 // // antlr能解析,我不能 // stat Newline // Newline // stat // 最后一行可以没有空格,但是空格是分开stat之间的 block : (sta...
source/required/s-pack15.ads
ytomino/drake
33
12359
<filename>source/required/s-pack15.ads pragma License (Unrestricted); -- implementation unit required by compiler with System.Packed_Arrays; package System.Pack_15 is pragma Preelaborate; -- It can not be Pure, subprograms would become __attribute__((const)). type Bits_15 is mod 2 ** 15; for Bits_15'S...
Cubical/HITs/FreeGroupoid/GroupoidActions.agda
thomas-lamiaux/cubical
1
12594
<reponame>thomas-lamiaux/cubical<gh_stars>1-10 {- This file contains: - Natural functions from FreeGroupoid into FreeGroupoid - Proofs that they induce equivalences - Natural paths in Universe from FreeGroupoid to FreeGroupoid - Proofs that these functions and paths respect the groupoid structure of FreeGroupoid -} ...
src/box_info.adb
SKNZ/BoiteMaker
0
18465
with ada.characters.latin_1; with logger; use logger; package body box_info is function initialize_box(t, w, l, h, q, b : integer) return box_info_t is box : constant box_info_t := (thickness => t, height => h, width => w, ...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_1589.asm
ljhsiun2/medusa
9
3433
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r8 push %r9 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_WT_ht+0x706d, %rbp sub %rcx, %rcx movl $0x61626364, (%rbp) nop nop nop nop nop and $11623, %r9 lea addresses_WC_ht+0x16154, %rdi nop nop and %rax, %rax mov (%rdi), %r12w nop nop sub $...
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0xca_notsx.log_21829_1226.asm
ljhsiun2/medusa
9
170251
<filename>Transynther/x86/_processed/NC/_zr_/i7-7700_9_0xca_notsx.log_21829_1226.asm .global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r11 push %r8 push %r9 push %rbp push %rbx push %rcx push %rdi // Load lea addresses_UC+0x17ab9, %r11 nop nop nop nop nop inc %rbx movb (%...
3-mid/opengl/source/lean/model/opengl-model-sphere-colored.ads
charlie5/lace
20
9910
<reponame>charlie5/lace<filename>3-mid/opengl/source/lean/model/opengl-model-sphere-colored.ads with openGL.Geometry; package openGL.Model.sphere.colored -- -- Models a colored sphere. -- is type Item is new openGL.Model.sphere.item with -- TODO: Make private. record Color : lucid_Color; ...
source/textio/a-lfteio.ads
ytomino/drake
33
12313
pragma License (Unrestricted); with Ada.Text_IO; package Ada.Long_Float_Text_IO is new Text_IO.Float_IO (Long_Float);
SLIDE_Ring0.asm
XlogicX/CactusCon2017
2
25451
<reponame>XlogicX/CactusCon2017 %include 'textmode.h' call draw_border mov di, 160 * 2 + 8 ;where to place cursor mov si, line01 ;fetch the text mov ah, 0x0A ;color call slide_line mov di, 160 * 4 + 8 ;where to place cursor mov si, line02 ;fetch the text call slide_line mov di, 160 * 6 + 8 ;where to pl...
TasteModel/blsclient/blsclient.ads
ESROCOS/control-mc_watchdog
0
29210
-- This file was generated automatically: DO NOT MODIFY IT ! with Base_Types; use Base_Types; with TASTE_ExtendedTypes; use TASTE_ExtendedTypes; with TASTE_BasicTypes; use TASTE_BasicTypes; with UserDefs_Base_Types; use UserDefs_Base_Types; with adaasn1rtl; use adaasn1rtl; package blsclient is -- Provided inter...
agda/BBHeap/Height/Log.agda
bgbianchi/sorting
6
7854
<reponame>bgbianchi/sorting {-# OPTIONS --sized-types #-} open import Relation.Binary.Core module BBHeap.Height.Log {A : Set} (_≤_ : A → A → Set) (tot≤ : Total _≤_ ) where open import BBHeap _≤_ hiding (#) open import BBHeap.Height _≤_ open import BBHeap.Properties _≤_ open impor...
msx/rc2014-extended/rc2014-extended.asm
zoggins/yellow-msx-series-for-rc2014
19
85988
ORG 08000H include "msx.inc" INCLUDE "fossil.sym" INCLUDE "sio.inc" ; +0 ID Put these first two bytes at 041H and 042H ("AB") to indicate that it is an additional ROM. ; +2 INIT Address of the routine to call to initialize a work area or I/O ports, or run a game, etc. ; +4 STATEMENT Runtime address of a progra...
src/arch/socs/stm32f439/soc-usart-interfaces.adb
PThierry/ewok-kernel
65
19918
<reponame>PThierry/ewok-kernel -- -- Copyright 2018 The wookey project team <<EMAIL>> -- - <NAME> -- - <NAME> -- - <NAME> -- - <NAME> -- - <NAME> -- -- 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 o...
display.adb
thieryw/game_of_life
0
24372
with ada.text_io,ada.integer_text_io ; use ada.text_io ; package body display is procedure render(screen : grid) is --Clear screen character for UNIX procedure clear_screen is begin ada.text_io.put(ASCII.ESC & "[2J") ; en...
data/mapHeaders/fuchsiamart.asm
adhi-thirumala/EvoYellow
16
177754
<reponame>adhi-thirumala/EvoYellow<filename>data/mapHeaders/fuchsiamart.asm<gh_stars>10-100 FuchsiaMart_h: db MART ; tileset db FUCHSIA_MART_HEIGHT, FUCHSIA_MART_WIDTH ; dimensions (y, x) dw FuchsiaMartBlocks, FuchsiaMartTextPointers, FuchsiaMartScript ; blocks, texts, scripts db $00 ; connections dw FuchsiaMartOb...
alloy4fun_models/trashltl/models/1/6QtDHDof7WXKYH6tD.als
Kaixi26/org.alloytools.alloy
0
249
<filename>alloy4fun_models/trashltl/models/1/6QtDHDof7WXKYH6tD.als open main pred id6QtDHDof7WXKYH6tD_prop2 { no File and eventually some File } pred __repair { id6QtDHDof7WXKYH6tD_prop2 } check __repair { id6QtDHDof7WXKYH6tD_prop2 <=> prop2o }
Sources/Graphics/graphics_data.ads
ForYouEyesOnly/Space-Convoy
1
28358
<reponame>ForYouEyesOnly/Space-Convoy<gh_stars>1-10 -- -- Jan & <NAME>, Australia, July 2011 -- with GLOBE_3D; with Graphics_Configuration; use Graphics_Configuration; with Graphics_Structures; use Graphics_Structures; with Models; use Models; with Rotations; use Rotations; ...
alloy4fun_models/trashltl/models/19/oLb4DwxknzScBNk7e.als
Kaixi26/org.alloytools.alloy
0
3016
open main pred idoLb4DwxknzScBNk7e_prop20 { always (all f:File | f in Trash since no (f&Protected) ) } pred __repair { idoLb4DwxknzScBNk7e_prop20 } check __repair { idoLb4DwxknzScBNk7e_prop20 <=> prop20o }
examples/litera.asm
Cichy3D/Komp2IDE
0
4695
<reponame>Cichy3D/Komp2IDE<filename>examples/litera.asm :start Print "Enter one character" load a 0a; mov e a; print e input b; print "Character entered: " print b print e goto :start
Library/Trans/Database/DBase3/Import/importFile.asm
steakknife/pcgeos
504
90601
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: dBase III MODULE: Import FILE: importFile.asm AUTHOR: <NAME>, 9/14/92 ROUTINES: Name Description ---- ----------- TransGetFormat Check for the format of import fil...
oeis/253/A253457.asm
neoneye/loda-programs
11
242497
; A253457: Indices of centered hexagonal numbers (A003215) which are also centered heptagonal numbers (A069099). ; Submitted by <NAME> ; 1,14,351,9100,236237,6133050,159223051,4133666264,107316099801,2786084928550,72330892042487,1877817108176100,48750913920536101,1265645944825762514,32858043651549289251,853043488995455...
stdlib-exts/IO/Exts.agda
WhatisRT/meta-cedille
35
12766
{-# OPTIONS --type-in-type --guardedness #-} module IO.Exts where import IO.Primitive as Prim open import Class.Monad open import Class.Functor open import Data.List open import Data.Nat using (ℕ) open import Data.String open import Data.Sum open import Data.Unit open import Function open import IO using (IO; run; re...
5/5-1.asm
userElaina/MicrocomputerLab
0
174078
<reponame>userElaina/MicrocomputerLab<gh_stars>0 DATA SEGMENT NUMBER1 DB 8 DUP(0) NUMBER2 DB 8 DUP(0) NUMBER3 DB 9 DUP(0) DATA ENDS CODE SEGMENT ASSUME CS:CODE,DS:DATA MAIN PROC FAR MOV AX,DATA MOV DS,AX CALL SUB1 POP CX LEA BX,NUMBER1 AA3: POP...
engine/events/move_tutor.asm
genterz/pokecross
28
7746
MoveTutor: call FadeToMenu call ClearBGPalettes call ClearScreen call DelayFrame ld b, SCGB_PACKPALS call GetSGBLayout xor a ld [wItemAttributeParamBuffer], a call .GetMoveTutorMove ld [wNamedObjectIndexBuffer], a ld [wPutativeTMHMMove], a call GetMoveName call CopyName1 farcall ChooseMonToLearnTMHM jr c...
oeis/052/A052699.asm
neoneye/loda-programs
11
99266
<gh_stars>10-100 ; A052699: E.g.f. (1+x^5-x^6)/(1-x). ; Submitted by <NAME> ; 1,1,2,6,24,240,720,5040,40320,362880,3628800,39916800,479001600,6227020800,87178291200,1307674368000,20922789888000,355687428096000,6402373705728000,121645100408832000,2432902008176640000,51090942171709440000,1124000727777607680000,2585201673...
alloy4fun_models/trashltl/models/12/mKy5z8gqSsy3K7eS9.als
Kaixi26/org.alloytools.alloy
0
358
<gh_stars>0 open main pred idmKy5z8gqSsy3K7eS9_prop13 { some f : Trash | once f not in Trash } pred __repair { idmKy5z8gqSsy3K7eS9_prop13 } check __repair { idmKy5z8gqSsy3K7eS9_prop13 <=> prop13o }
c4/C4.g4
marked42/jsjs
0
2432
<filename>c4/C4.g4<gh_stars>0 grammar C4; program: globalDeclaration+; globalDeclaration: enumDeclaration | variableDeclaration | functionDeclaration; enumDeclaration: 'enum' Identifier? '{' enumMember (',' enumMember)* '}'; enumMember: Identifier ('=' NumericLiteral)?; // 不支持变量声明的同时初始化 variableDeclaration: typ...
test/interaction/PragmasRespected.agda
asr/agda-kanso
1
1880
{-# OPTIONS --show-implicit #-} module PragmasRespected where postulate Foo : {A : Set₁} → Set Bar : Foo {A = Set}
text/maps/route_4.asm
adhi-thirumala/EvoYellow
16
103786
_Route4Text1:: text "Ouch! I tripped" line "over a rocky" cont "#MON, GEODUDE!" done _Route4BattleText1:: text "I came to get my" line "mushroom #MON!" done _Route4EndBattleText1:: text "Oh! My cute" line "mushroom #MON!" prompt _Route4AfterBattleText1:: text "There might not" line "be any more" cont "m...
transformy/tables/gen/004e.asm
mborik/regression
3
1621
ld a, 102 ld d,a ld e,a ld (basescradr + #01ed), de ld (basescradr + #02ed), de ld (basescradr + #06ae), de ld (basescradr + #0989), de ld (basescradr + #0a0c), de ld (basescradr + #0d2b), de ld (basescradr + #0d4a), de ld (basescradr + #0e4a), de ld (basescradr + #01ce), a ld (basescradr + #0...
alloy4fun_models/trashltl/models/5/Kd5iRenzATR6S3DL4.als
Kaixi26/org.alloytools.alloy
0
4932
open main pred idKd5iRenzATR6S3DL4_prop6 { always some f:File | f in Trash implies f in Trash' } pred __repair { idKd5iRenzATR6S3DL4_prop6 } check __repair { idKd5iRenzATR6S3DL4_prop6 <=> prop6o }
Examples/ASM/keyboard.asm
Tashenea/F20-243-course-materials
1
161417
@direction M = 0 @y_coord M = 0 @x_coord M = 0 @i M = 0 (:Main) //start at top of screen @SCREEN D = A @x_coord M = D //offset by 1 @y_coord D = M @x_coord M = M + D //initialize counter to 25 @25 D = A @i M = D (:DrawLoop) @i D = M //draw single line @x_coord A = M D = -1 M = D //increment line D = A @32 D = ...
AP1/kernel_pr.asm
KilnerJhow/ihs
1
176671
org 0x7E00 jmp 0x0000:start section .text start: ; call registerAcc call clearscreen mov ax, 0 mov si, ax mov di, ax mov ds, ax mov es, ax call printWelcomeScreen .loop: call readOption cmp ax, 255 je .cheio ca...
src/sys/encoders/util-encoders-ecc.ads
RREE/ada-util
60
22943
<reponame>RREE/ada-util<gh_stars>10-100 ----------------------------------------------------------------------- -- util-encoders-ecc -- Error Correction Code -- Copyright (C) 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this fil...
oeis/015/A015015.asm
neoneye/loda-programs
11
7371
; A015015: q-factorial numbers for q=-3. ; Submitted by <NAME> ; 1,-2,-14,280,17080,-3108560,-1700382320,2788627004800,13722833490620800,-202576467988544249600,-8971504037808659182035200,1191954026463258458925196672000,475090227821752019816863814722432000,-568085339196037403679856371543830284544000,-2037851067068183667...
libsrc/_DEVELOPMENT/temp/sp1/zx/sprites/asm_sp1_PutSprClr.asm
jpoikela/z88dk
640
8915
<reponame>jpoikela/z88dk ; void sp1_PutSprClr(uchar **sprdest, struct sp1_ap *src, uchar n) ; 02.2006 aralbrec, Sprite Pack v3.0 ; sinclair spectrum version SECTION code_clib SECTION code_temp_sp1 PUBLIC asm_sp1_PutSprClr asm_sp1_PutSprClr: ; Colour sprite by writing (mask,attr) pairs into each ; struct_sp1_cs whos...
examples/program6.asm
hleonps/Micro-To-MIPS32-Compiler
1
173391
<gh_stars>1-10 .text .globl main main: li $v0, 5 syscall sw $v0, var1 lw $t0, var1 li $t1, 0 beq $t0, $t1, .label0 li $t0, 0 j .label1 .label0: li $t0, 1 .label1: sw $t0, var2 li $t2, 0 lw $t3, var2 beq $t3, $t2, .label2 li $t4, 123 sw $t4, var2 j .label3 .label2: li $t5, 3 sw $t5, var2 .label3: lw $t7, var2 li $t8, 60...
programs/oeis/090/A090973.asm
neoneye/loda
22
88761
<reponame>neoneye/loda<gh_stars>10-100 ; A090973: a(n) = ceiling((prime(n)/n). ; 2,2,2,2,3,3,3,3,3,3,3,4,4,4,4,4,4,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,5,5,5,5,5,5,5,5,5,6,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,6 mov $1,$0 add $0,1 seq $1,40 ; The pri...
src/system_random.ads
AntonMeep/system_random
0
2350
with Interfaces; use Interfaces; with Interfaces.C; use Interfaces.C; generic type Element is mod <>; -- ELement type, must be mod 2**8, i.e. represent a byte type Index is range <>; -- Index type type Element_Array is array (Index range <>) of aliased Element; -- An array of aliased Elements ...
snake.asm
HELLKING66666/snake
0
104097
<gh_stars>0 org 0x100 mov ax, cs mov es, ax mov ds, ax mov ss, ax ; 设置堆栈指针 mov sp, 100h - 8 ; 环境设置 mov ah, 0x01 mov cx, 0x2000 int 0x10 ; 利用10号中断停止光标闪烁 mov ax, 0x0305 mov bx, 0x031F int 0x16 ; 增加重复键入延迟 call game_loop game_loop: call cls ; 清屏 push word [snake_pos] ; 讲蛇头位置压栈保存 mov ah, 0x01 ; 调用功能号为01的16中断...
ejercicios5/lab10_03.ads
iyan22/AprendeAda
0
12034
<filename>ejercicios5/lab10_03.ads package Lab10_03 is type T_Vector is array (Integer range <>) of Natural; type T_Lista_Estatica is record Elem : T_Vector (1 .. 10); Cont : Natural; end record; procedure Escribir_Lista (L : in T_Lista_Estatica); --Pre: --Post: s...
linux/contrib/libjpeg-turbo-dev/simd/i386/jdmrgext-mmx.asm
darthrake/openpnp-capture
76
170290
; ; jdmrgext.asm - merged upsampling/color conversion (MMX) ; ; Copyright 2009 Pierre Ossman <<EMAIL>> for Cendio AB ; Copyright (C) 2016, <NAME>. ; ; Based on the x86 SIMD extension for IJG JPEG library ; Copyright (C) 1999-2006, MIYASAKA Masaru. ; For conditions of distribution and use, see copyright notice in jsimde...
tests/typing/bad/testfile-params-4.adb
xuedong/mini-ada
0
14272
with Ada.Text_IO; use Ada.Text_IO; procedure Test is function F(A: integer; A: character) return integer is begin return 0; end; begin New_Line; end;