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/CategoryTheory/Categories.agda
DimaSamoz/temporal-type-systems
4
3042
{- Type classes and instances for categories. -} module CategoryTheory.Categories where open import Relation.Binary.PropositionalEquality using (_≡_ ; refl ; sym ; trans ; subst ; cong) public open import Relation.Binary using (IsEquivalence) open import Agda.Primitive using (Level ; _⊔_ ; lzero ; lsuc) p...
src/io/InputOnMouseWheel.asm
jhm-ciberman/calculator-asm
2
100063
proc InputOnMouseWheel, delta:WORD xor eax, eax mov ax, cx cwd mov cx, 120 idiv cx cwde shl eax, 4 fastcall AppLogOffsetIncrement, eax ret endp
oeis/061/A061356.asm
neoneye/loda-programs
11
172202
<reponame>neoneye/loda-programs ; A061356: Triangle T(n,k) = labeled trees on n nodes with maximal node degree k (0 < k < n). ; Submitted by <NAME> ; 1,2,1,9,6,1,64,48,12,1,625,500,150,20,1,7776,6480,2160,360,30,1,117649,100842,36015,6860,735,42,1,2097152,1835008,688128,143360,17920,1344,56,1,43046721,38263752,14880348...
test/create_window.adb
treggit/sdlada
89
7797
with Ada.Strings.Unbounded; with SDL; with SDL.Timers; with SDL.Video.Pixel_Formats; with SDL.Video.Surfaces; with SDL.Video.Windows; with SDL.Video.Windows.Makers; procedure Create_Window is package US renames Ada.Strings.Unbounded; function "+" (S : String) return US.Unbounded_String renames US.To_Unbo...
AssemblyLanguage_Lab/ASB_LAB_4/main1.asm
strawberrylin/Hust_CS_Lab
1
11894
<filename>AssemblyLanguage_Lab/ASB_LAB_4/main1.asm ;main source code ;@author strawberrylin .386 data segment use16 bufc db '1:Input the name and score',0ah,0dh, '2:Figure the sum and the average score',0ah,0dh, '3:Sort the score',0ah,0dh, '4:Output the score from high to ...
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_21829_1750.asm
ljhsiun2/medusa
9
25976
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r9 push %rax push %rbp push %rbx push %rdi lea addresses_UC_ht+0x1871, %rdi clflush (%rdi) nop nop nop nop nop and $8705, %rbx mov $0x6162636465666768, %r9 movq %r9, (%rdi) nop nop nop and %rax, %rax lea addresses_WC_ht+0xcfb7, %r12 dec %rbp and $0x...
oeis/272/A272952.asm
neoneye/loda-programs
11
89913
<filename>oeis/272/A272952.asm<gh_stars>10-100 ; A272952: Number of n X 2 0..1 arrays with exactly n+2-2 having value 1 and no three 1s forming an isosceles right triangle. ; Submitted by <NAME> ; 2,6,10,21,34,62,100,171,276,458,740,1211,1958,3184,5150,8351,13510,21880,35400,57301,92712,150036,242760,392821,635594,1028...
factorial/fact.asm
AbderrhmanAbdellatif/SysPro
0
16380
<filename>factorial/fact.asm segment .text global fact fact: push ebp mov ebp,esp sub esp,4 mov dword [ebp-4],1 mov ecx,[ebp+8] back: mov eax,[ebp-4] mul ecx mov [ebp-4],eax dec ecx cmp ecx,1 jne back mov eax,[ebp-4] mov esp,ebp pop ebp ret
alloy4fun_models/trashltl/models/5/SLE5eXHevzSu5XrJd.als
Kaixi26/org.alloytools.alloy
0
141
open main pred idSLE5eXHevzSu5XrJd_prop6 { some f : File | always eventually f in Trash } pred __repair { idSLE5eXHevzSu5XrJd_prop6 } check __repair { idSLE5eXHevzSu5XrJd_prop6 <=> prop6o }
libsrc/stdio/m5/getk.asm
RC2014Z80/z88dk
8
245734
; ; SORD M5 Stdio ; ; getk() Read key status ; ; <NAME> - 18/5/2001 ; ; ; $Id: getk.asm,v 1.8+ (GIT imported) $ ; SECTION code_clib PUBLIC getk PUBLIC _getk EXTERN msxbios INCLUDE "m5bios.def" .getk ._getk ld ix,ACECH0 call msxbios IF STANDARDESCAPECHARS cp 13 jr nz,not_return ld a,10 .not_return E...
SourceCode/subrtraction.asm
Nuthi-Sriram/Assembly-Level-Code-for-8086
0
166747
<reponame>Nuthi-Sriram/Assembly-Level-Code-for-8086<gh_stars>0 .MODEL small .STACK .DATA .CODE mov ax,-3 mov bx,-4 sub ax,bx end
test/Fail/Issue3807.agda
cruhland/agda
1,989
4289
<gh_stars>1000+ module _ (X : Set) where open import Agda.Builtin.Equality postulate A : Set data D : Set where c : A → D variable P : D → Set postulate p : (f : ∀ x → P (c x)) (x y : A) → f x ≡ f y
test/test_kp.asm
kjkszpj/arch8
1
173625
ld a0, C000h mov a1, #2h sub a0, a1 jp print jmp loop print: ld a2, 8001h checkPrinter: ld a0, C000h or a0, #80h mov a1, #81h sub a0, a1 jnz checkPrinter st a2, 8002h jmp loop
1-source-files/main-sources/elite-readme.asm
markmoxon/elite-beebasm
251
19891
\ ****************************************************************************** \ \ ELITE README \ \ Elite was written by <NAME> and <NAME> and is copyright Acornsoft 1984 \ \ The code on this site is identical to the source discs released on Ian Bell's \ personal website at http://www.elitehomepage.org/ (it's just be...
other.7z/SFC.7z/SFC/ソースデータ/srd13-SFCマリオコレクション/export/mario-z/linkp/mario_n3/mn_hp_mr3bgd5.asm
prismotizm/gigaleak
0
160544
<filename>other.7z/SFC.7z/SFC/ソースデータ/srd13-SFCマリオコレクション/export/mario-z/linkp/mario_n3/mn_hp_mr3bgd5.asm Name: mn_hp_mr3bgd5.asm Type: file Size: 4608 Last-Modified: '2013-06-27T06:41:24Z' SHA-1: 2614192461767516A666F9CB2E0F3762AA599A8A Description: null
programs/oeis/119/A119692.asm
neoneye/loda
22
24607
; A119692: Binomial(2*n,n)*fib(n). ; 0,2,6,40,210,1260,7392,44616,270270,1653080,10161580,62783448,389398464,2423339800,15123958200,94621687200,593266344930,3726769133340,23450149615200,147778547947800,932531767467300 mov $1,$0 mul $0,2 bin $0,$1 seq $1,45 ; Fibonacci numbers: F(n) = F(n-1) + F(n-2) with F(0) = 0 and ...
tests/testAssembler/testCases/prog.asm
1sand0s/Lc3B-Assembler
0
242469
;This program counts from 10 to 0 .ORIG x3000 LEA R0, TEN ;This instruction will be loaded into memory location x3000 LDW R1, R0, #31 START RSHFL R1, R1, #15 BRZ DONE BR START ;blank line DONE TRAP x25 ;The last executable instruction TEN .FILL x-00A ;This is 10 in 2's comp, hexadecimal NOP RET JMP R0 JSR DONE JSRR R6 ...
3-mid/opengl/source/platform/egl/private/opengl-surface-privvy.adb
charlie5/lace
20
2022
<reponame>charlie5/lace<filename>3-mid/opengl/source/platform/egl/private/opengl-surface-privvy.adb<gh_stars>10-100 package body opengl.Surface.privvy is function to_eGL (Self : in Surface.item'Class) return egl.EGLSurface is begin return Self.egl_Surface; end to_eGL; end opengl.Surface.privvy;
video/gl_init.asm
temisu/BR4096
8
177212
<filename>video/gl_init.asm ; Copyright (C) <NAME> %ifdef NO_LATURI [section .data] gl_init_attribs: ; dd SOLVE(kCGLPFADoubleBuffer) ; seems to work with only double buffering dd 0 __SECT__ %endif extern _gl_main_fragment_shader gl_init: DEBUG "Capture displays" ; LIBCALL_NOSTACK _CGCaptureAllDisplays %ifdef NO...
src/inidisp-glitch/inidisp_hammer_0f_long.asm
undisbeliever/snes-test-roms
7
20809
<filename>src/inidisp-glitch/inidisp_hammer_0f_long.asm // Constantly writes 0x0f to address $802100 // // Copyright (c) 2021, <NAME> <<EMAIL>>. // Distributed under The MIT License: https://opensource.org/licenses/MIT define ROM_NAME = "INIDISP HAMMER TEST" define VERSION = 1 include "_inidisp_d7_common.inc" au()...
sorcery.asm
TheMachine02/Sorcery
14
10383
<gh_stars>10-100 include 'header/include/ez80.inc' include 'header/include/tiformat.inc' include 'header/include/os.inc' ; kernel header include 'header/asm-errno.inc' include 'header/asm-signal.inc' include 'header/asm-leaf-def.inc' include 'header/asm-boot.inc' ; kernel build config include 'config' forma...
backupAddressBook.scpt
MidnightSkulker/AppleContactsParse
1
3350
<filename>backupAddressBook.scpt tell application "Contacts" set the clipboard to (vcard of people) as text do shell script "pbpaste >." end tell
smsq/sbas/procs/reset.asm
olifink/smsqe
0
4462
; SBAS_PROCS_RESET - SBASIC Reset V2.01  2000 <NAME> section exten xdef reset xref smsq_sreset include 'dev8_keys_qdos_sms' ;+++ ; RESET ;--- reset moveq #sms.xtop,d0 trap #1 ; go to supervisor mode jmp smsq_sreset ; do standard soft reset end
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/g-lists.ads
orb-zhuchen/Orb
0
10664
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
oeis/197/A197682.asm
neoneye/loda-programs
11
245739
; A197682: Decimal expansion of Pi/(2 + 2*Pi). ; Submitted by <NAME>(l1) ; 3,7,9,2,7,3,4,9,6,4,9,7,3,8,8,0,7,2,6,7,2,2,1,5,3,4,4,5,2,2,4,4,6,4,3,2,0,6,9,2,1,3,1,8,2,8,2,0,2,6,5,4,9,8,3,3,4,4,9,4,1,0,6,8,9,1,2,7,4,0,6,8,5,5,0,4,7,8,6,8,8,1,6,0,3,1,6,5,8,7,0,0,7,6,7,7,8,8,6 add $0,1 mov $2,1 mov $3,$0 mul $3,5 lpb $3 ...
gfx/pokemon/koffing/anim.asm
Dev727/ancientplatinum
28
97273
frame 1, 20 frame 2, 06 frame 3, 05 frame 4, 10 frame 5, 15 endanim
magnemite.asm
martianworm17/college-assembly-drawing
0
82755
.model small .stack .code start: mov ah, 06h mov bh, 70h mov ch, 0 mov cl, 0 mov dh, 50 mov dl, 50 int 10h ;body mov ah, 06h mov bh, 130 mov ch, 2 mov cl, 20 mov dh, 2 mov dl, 26 int 10h...
raid/Setup/list/drvsetup.asm
OS2World/DRV-VRAID
0
14484
<filename>raid/Setup/list/drvsetup.asm title drvsetup.cpp .386 .387 includelib CPPOM30.LIB includelib OS2386.LIB CODE32 segment dword use32 public 'CODE' CODE32 ends DATA32 segment dword use32 public 'DATA' DATA32 ends CONST32_RO segment dword use32 public 'CONST' CONST32_RO ends BSS32 segment dword use32 public '...
nicolai/anonymousExistence/INDEX_NotionsOfAnonymousExistence.agda
nicolaikraus/HoTT-Agda
1
14793
<gh_stars>1-10 {- This is the Agda formalization of NOTIONS OF ANONYMOUS EXISTENCE IN MARTIN-LOF TYPE THEORY by <NAME>, <NAME>, <NAME>, <NAME> This file stays very close to the article. Because of this, not all proofs are given in the way that is most elegant for a formalizati...
src/main/antlr4/com/cloudbees/plugins/credentials/matchers/CQL.g4
jcsou/credentials-plugin
106
4386
<filename>src/main/antlr4/com/cloudbees/plugins/credentials/matchers/CQL.g4 /* * The MIT License * * Copyright (c) 2016, CloudBees, Inc., <NAME>. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in t...
Transynther/x86/_processed/US/_zr_/i7-7700_9_0x48.log_9_436.asm
ljhsiun2/medusa
9
97919
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r14 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_UC_ht+0x1b25a, %r14 nop nop nop nop inc %r10 movb (%r14), %r11b nop nop nop nop dec %rbp lea addresses_WT_ht+0x35f7, %rsi lea addresses_normal_ht+0x1205a, %rdi clflush (%rdi) nop no...
testsuite/ubivm/expected/while_1.asm
alexgarzao/UOP
0
14292
Entity start No options Constants 0 S start 1 S x 2 I 1 3 I 10 4 S x= 5 I 2 6 S io.writeln End Valid context (always) No properties Def start No parameters Local variables 0 int x End No results ldconst 2 --> [1] stvar 0 --> [x] 2: ldvar 0 --> [x] ldconst 3 --> [10] le ifnot 15...
programs/oeis/055/A055272.asm
karttu/loda
1
101182
<filename>programs/oeis/055/A055272.asm<gh_stars>1-10 ; A055272: First differences of 7^n (A000420). ; 1,6,42,294,2058,14406,100842,705894,4941258,34588806,242121642,1694851494,11863960458,83047723206,581334062442,4069338437094,28485369059658,199397583417606,1395783083923242,9770481587462694 mov $1,7 pow $1,$0 mul $1,...
scripts/seating/seating.als
eskang/alloy-maxsat-benchmark
0
1169
<reponame>eskang/alloy-maxsat-benchmark abstract sig Person { tags: set Tag } one sig P1, P2, P3, P4, P5 extends Person {} abstract sig Tag {} one sig A, B, C extends Tag {} fact { tags = P1 -> A + P1 -> B + P2 -> C + P3 -> B + P4 -> C + P4 -> A + P5 -> A } sig Table { seat: set Person, } { #seat < 4 #...
assets/FunctionCalls/SimpleFunction/SimpleFunction.asm
jamespolley/VM-Translator
1
82920
<reponame>jamespolley/VM-Translator<gh_stars>1-10 // function SimpleFunction.test 2 (SimpleFunction.test) @SP A=M M=0 @SP M=M+1 @SP A=M M=0 @SP M=M+1 // push local 0 @LCL D=M @0 A=D+A D=M @SP A=M M=D @SP M=M+1 // push local 1 @LCL D=M @1 A=D+A D=M @SP A=M M=D @SP M=M+1 // add @SP AM=M-1 D=M A=A-1 M=M+D // not ...
sw/prg.asm
butyi/aci2can
1
245912
<filename>sw/prg.asm ; ============================================================================== ; MINI LAUSCH BOX ; ============================================================================== ; Hardware: https://github.com/butyi/sci2can/ ; Software: <EMAIL>, 2020.05.23. ; =============...
arcade-game.asm
Sarthakh/MULTIPLAYER-ARCADE-GAME-MADE-WITH-EMU8086
0
13580
<reponame>Sarthakh/MULTIPLAYER-ARCADE-GAME-MADE-WITH-EMU8086 org 100h mov cx, 0 ;;-------------- SETTING UP INITIAL VALUES--------------- jmp maindata gameWidth dw 50 gameHeight dw 50 ;Order - xpos, ypos, xvel, yvel, size, newx, newy ball dw 17,17,5,4,2,17,17 ;Order - xpos, ypos, speed, length, newx, newy ...
programs/oeis/017/A017082.asm
neoneye/loda
22
85983
; A017082: a(n) = (8*n + 1)^6. ; 1,531441,24137569,244140625,1291467969,4750104241,13841287201,34296447249,75418890625,151334226289,282429536481,496981290961,832972004929,1340095640625,2081951752609,3138428376721,4608273662721,6611856250609,9294114390625,12827693806929,17416274304961,23298085122481,30749609024289,40089...
agda/Data/List/Kleene/Relation/Unary.agda
oisdk/combinatorics-paper
4
12755
{-# OPTIONS --cubical --safe #-} module Data.List.Kleene.Relation.Unary where open import Data.List.Kleene open import Prelude open import Data.Fin open import Relation.Nullary private variable p : Level ◇⁺ : ∀ {A : Type a} (P : A → Type p) → A ⁺ → Type _ ◇⁺ P xs = ∃[ i ] P (xs !⁺ i) ◇⋆ : ∀ {A : Type a} (P :...
oeis/134/A134319.asm
neoneye/loda-programs
11
86480
; A134319: A007318 * a triangle by rows: for n > 0, n zeros followed by 2^n - 1. ; Submitted by <NAME> ; 1,1,1,1,2,3,1,3,9,7,1,4,18,28,15,1,5,30,70,75,31,1,6,45,140,225,186,63,1,7,63,245,525,651,441,127,1,8,84,392,1050,1736,1764,1016,255,1,9,108,588,1890,3906,5292,4572,2295,511,1,10,135,840,3150,7812,13230,15240,11475,...
src/unix.adb
jfouquart/synth
263
377
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt with GNAT.OS_Lib; with Ada.Text_IO; with Parameters; with System; package body Unix is package OSL renames GNAT.OS_Lib; package TIO renames Ada.Text_IO; package PM renames Parameters; --------------...
examples/1_how_to_stack_and_LEA/src/main.asm
AgileEhsan/libasm_io
0
165392
;================================================================= ; ; Copyright (c) 2014, <NAME> ; ; All rights reserved. ; ; libasm_io is distributed under the following BSD 3-Clause License ; ; Redistribution and use in source and binary forms, with or without modification, are permitted provided that the followin...
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_17599_129.asm
ljhsiun2/medusa
9
240234
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x1942b, %rsi lea addresses_A_ht+0x10c2b, %rdi nop add $50825, %r13 mov $107, %rcx rep movsw nop nop nop nop nop sub $58595, %rbx lea addresses_WC_ht+0x1232b, %rbp add %r12, %r...
Data/Dyck/Empty.agda
oisdk/agda-playground
6
6720
{-# OPTIONS --cubical --safe --postfix-projections #-} module Data.Dyck.Empty where open import Prelude open import Data.Nat using (_+_) open import Data.Vec.Iterated using (Vec; _∷_; []; foldlN; head) private variable n : ℕ -------------------------------------------------------------------------------- -- B...
test/Succeed/Erased-cubical/Erased.agda
cruhland/agda
0
14148
{-# OPTIONS --safe --erased-cubical #-} module Erased-cubical.Erased where open import Agda.Builtin.Cubical.Glue open import Agda.Builtin.Cubical.Path open import Agda.Primitive open import Agda.Primitive.Cubical -- Glue can be used in erased contexts. @0 _ : SSet (lsuc lzero) _ = (φ : I) (A : Set) (B : Partial φ...
source/runtime/generated/google-protobuf-field_mask.ads
mgrojo/protobuf
12
12551
with Ada.Finalization; with Ada.Streams; with League.String_Vectors; package Google.Protobuf.Field_Mask is type Field_Mask_Vector is tagged private with Variable_Indexing => Get_Field_Mask_Variable_Reference, Constant_Indexing => Get_Field_Mask_Constant_Reference; type Field_Mask is record ...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_3418_787.asm
ljhsiun2/medusa
9
167295
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r12 push %r15 push %r8 push %r9 push %rcx push %rdx push %rsi lea addresses_WT_ht+0x12cf, %rdx nop nop nop nop nop and %r12, %r12 and $0xffffffffffffffc0, %rdx movaps (%rdx), %xmm0 vpextrq $0, %xmm0, %r15 nop sub %r9, %r9 lea addresses_A_ht+0x144cf, %r8 ...
Library/Impex/UI/uiFormatList.asm
steakknife/pcgeos
504
87420
<reponame>steakknife/pcgeos<filename>Library/Impex/UI/uiFormatList.asm<gh_stars>100-1000 COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: Impex/UI FILE: uiFormatList.asm AUTHOR: <NAME> 4/91 ROUTIN...
theorems/homotopy/Hopf.agda
mikeshulman/HoTT-Agda
0
5771
{-# OPTIONS --without-K --rewriting #-} open import HoTT open import homotopy.CircleHSpace open import homotopy.JoinAssocCubical open import homotopy.JoinSusp module homotopy.Hopf where import homotopy.HopfConstruction module Hopf = homotopy.HopfConstruction S¹-conn ⊙S¹-hSpace Hopf : S² → Type₀ Hopf = Hopf.H.f Hop...
screen-capture-time-lapse.applescript
nickrichter/screen-capture-time-lapse
0
498
<reponame>nickrichter/screen-capture-time-lapse<filename>screen-capture-time-lapse.applescript (* * Screen Capture Time-Lapse * Version: 1.1 * https://github.com/nickrichter/screen-capture-time-lapse * * Copyright 2012 <NAME> * Released under the MIT license * * Date: 2014-04-11 *) -- Count the number of di...
Task/Tokenize-a-string/Ada/tokenize-a-string.ada
mbirabhadra/RosettaCodeData
1
5670
<filename>Task/Tokenize-a-string/Ada/tokenize-a-string.ada with Ada.Text_IO, Ada.Strings.Fixed, Ada.Containers.Indefinite_Vectors; use Ada.Text_IO, Ada.Strings.Fixed, Ada.Containers; procedure tokenize is package String_Vector is new Indefinite_Vectors (Natural,String); use String_Vector; procedure Parse (s : Str...
src/gen/cups-cups_ppd_h.ads
persan/a-cups
0
26014
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with Interfaces.C.Strings; with System; with CUPS.cups_cups_h; limited with CUPS.stdio_h; with Interfaces.C_Streams; private package CUPS.cups_ppd_h is PPD_VERSION : constant := 4.3; -- cups/ppd.h:67 PPD_MAX_NAME : constant :=...
Miei-sorgenti/new/Esami/26.07.19/4 Combina Array/combineArr.asm
DigiOhhh/LabArchitettura2-2017-2018
1
179994
<filename>Miei-sorgenti/new/Esami/26.07.19/4 Combina Array/combineArr.asm # La procedura combineArr riceve in input tre array A, B e C (passaggio per # indirizzo) e un intero N che rappresenta il numero di elementi in ciascun array. # I parametri vanno passati nell’ordine in cui sono enunciati (A, B, C e N). La # proce...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_232.asm
ljhsiun2/medusa
9
175822
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r15 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x11b49, %rsi lea addresses_WT_ht+0xdcc9, %rdi clflush (%rdi) nop nop nop nop nop sub $1368, %rbx mov $9, %rcx rep movsw nop nop nop sub %r15, %r15 lea addresses_A_ht+0x3891, ...
fourier/fourier8_tst_1.adb
jscparker/math_packages
30
3242
<gh_stars>10-100 --*************************************************************** -- Procedure benchmarks FFT. 50000 calls to FFT and 50000 calls to -- to the inverse FFT. -- The FFT does 4N*ln(N) flops per call, where N=array length. -- So 100000 FFT's do: -- 1840*10**6 flops where N=512. -- 4100*10**6 flops where...
src/atecc508a.asm
mokafiht/u2f_key_SDCC
1
243757
<filename>src/atecc508a.asm ;-------------------------------------------------------- ; File Created by SDCC : free open source ANSI-C Compiler ; Version 3.6.0 #9615 (MINGW32) ;-------------------------------------------------------- .module atecc508a .optsdcc -mmcs51 --model-large ;--------------------------------...
MSDOS/Virus.MSDOS.Unknown.cdset.asm
fengjixuchui/Family
3
167726
<gh_stars>1-10 ; Creeping Death V 1.0 ; ; (C) Copyright 1991 by VirusSoft Corp. i13org = 5f8h i21org = 5fch org 100h mov sp,600h inc counter xor cx,cx mov ds,cx lds ax,[0c1h] add ax,21h push ds ...
apps/telnet/msx2ansibuffer.asm
vipoo/msxrc2014
1
162790
<filename>apps/telnet/msx2ansibuffer.asm ; MSX2ANSI ANSI V9938 Library v_1_6 ; ; Original Code by <NAME> (ANSI-DRV_BIN) ; Tobias has made this great piece of code and most of what is in it has been ; coded by him ; ; This version of code and conversion into SDCC library by <NAME> ; <EMAIL> ; ; Thanks to Piter Punk for ...
old/index.agda
timjb/HoTT-Agda
294
17349
<reponame>timjb/HoTT-Agda {-# OPTIONS --without-K #-} {- Imports everything that is not imported by something else. This is not supposed to be used anywhere, this is just a simple way to do `make all' This file is intentionally named index.agda so that Agda will generate index.html. -} module index where import Bas...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_2820.asm
ljhsiun2/medusa
9
9302
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r15 push %r8 push %rcx push %rdi push %rsi lea addresses_WT_ht+0x1e4ee, %rsi lea addresses_WC_ht+0x1bc66, %rdi xor $58726, %r10 mov $65, %rcx rep movsb nop nop nop nop nop and %r12, %r12 lea addresses_D_ht+0xc8ee, %r15 clflush (%r15) nop xor $58082,...
oeis/242/A242596.asm
neoneye/loda-programs
11
178816
; A242596: Numerators for partial sums of dilog(1/2). ; Submitted by <NAME> ; 1,9,83,1337,33497,5587,136919,35054939,946522553,946538429,114531943709,458129108861,77423915447309,38711978428267,9677996861569,19820539601545337,5728136204565261593,1909378773465525731,689285743475945831291,344642873149232707087 mov $1,1 l...
Task/Generate-lower-case-ASCII-alphabet/Ada/generate-lower-case-ascii-alphabet-3.ada
LaudateCorpus1/RosettaCodeData
1
8324
B : Arr_Type (1 .. 26); begin B(B'First) := 'a'; for I in B'First .. B'Last-1 loop B(I+1) := Lower_Case'Succ(B(I)); end loop; -- now all the B(I) are different
patches/shared/includes/print_implementation.asm
RPGHacker/SMW-Workspace
9
167089
@asar 1.50 @includefrom "../shared.asm" ; This file is included by shared.asm and should not be included directly !shared_asm_included ?= 0 if !shared_asm_included == 0 error "Trying to include 'print_implementation.asm' directly, which is meant to be included from 'shared.asm' only." else ; This file adds a p...
day18/sndasm/SndAsm.g4
basverweij/aoc2017
1
5855
grammar SndAsm; code : instruction* ; instruction : unaryRegExpression | unaryExpression | binaryRegExpression | binaryExpression; unaryRegExpression : unaryRegInstruction reg ; unaryRegInstruction : Rcv ; unaryExpression : unaryInstruction regOrValue ; unaryInstruction : Snd ; binaryRegExpression : binaryRegIns...
includes/2600basicfooter.asm
Al-Nafuur/batari-Basic
0
174170
<filename>includes/2600basicfooter.asm ; Provided under the CC0 license. See the included LICENSE.txt for details. ifconst bankswitch if bankswitch == 8 ifconst PlusROM_functions ORG $2FF0 RORG $FFF0 .byte 0 ; WriteToBuffer .byte 0 ; WriteSendBuffer .byte 0 ; ReceiveBuff...
oeis/066/A066642.asm
neoneye/loda-programs
11
6223
<reponame>neoneye/loda-programs ; A066642: a(n) = floor(n^(n/2)). ; Submitted by <NAME> ; 1,2,5,16,55,216,907,4096,19683,100000,534145,2985984,17403307,105413504,661735513,4294967296,28761784747,198359290368,1406563064942,10240000000000,76436817165460,584318301411328,4569515072723572,36520347436056576,29802322387695312...
src/mods/scriptaction4.asm
E1Elite/ts-patches
33
98363
<filename>src/mods/scriptaction4.asm<gh_stars>10-100 %include "TiberianSun.inc" %include "macros/patch.inc" ; Script action 4 : Move to Cell.. (4,cell#) uses leftover logic from RA1 to compute coordinates. ; Original formula: cell# = x + (y * 128) ; This patch converts the formula to: cell# = x + (y * 1000) ; Ma...
programs/oeis/168/A168206.asm
karttu/loda
0
29586
; A168206: a(n) = 5*n - a(n-1) + 1 with n>1, a(1)=0. ; 0,11,5,16,10,21,15,26,20,31,25,36,30,41,35,46,40,51,45,56,50,61,55,66,60,71,65,76,70,81,75,86,80,91,85,96,90,101,95,106,100,111,105,116,110,121,115,126,120,131,125,136,130,141,135,146,140,151,145,156,150,161,155,166,160,171,165,176,170,181,175,186,180,191,185,196,1...
target/cos_117/disasm/iop_overlay1/D4MSG.asm
jrrk2/cray-sim
49
5371
<reponame>jrrk2/cray-sim 0x0000 (0x000000) 0x1018- f:00010 d: 24 | A = 24 (0x0018) 0x0001 (0x000002) 0x291D- f:00024 d: 285 | OR[285] = A 0x0002 (0x000004) 0x1023- f:00010 d: 35 | A = 35 (0x0023) 0x0003 (0x000006) 0x1401- f:00012 d: 1 | A = A ...
programs/oeis/140/A140091.asm
karttu/loda
1
104757
; A140091: a(n) = 3*n*(n + 3)/2. ; 0,6,15,27,42,60,81,105,132,162,195,231,270,312,357,405,456,510,567,627,690,756,825,897,972,1050,1131,1215,1302,1392,1485,1581,1680,1782,1887,1995,2106,2220,2337,2457,2580,2706,2835,2967,3102,3240,3381,3525,3672,3822,3975,4131,4290,4452,4617,4785,4956,5130,5307,5487,5670,5856,6045,6237...
_tests/trconvert/antlr2/stdc.g4
SKalt/Domemtech.Trash
16
7584
<filename>_tests/trconvert/antlr2/stdc.g4 grammar StdC; translationUnit : externalList | ; externalList : ( externalDef )+ ; externalDef : declaration | functionDef | asm_expr ; asm_expr ...
uw1/eop-orientMouseLook.asm
JohnGlassmyer/UltimaHacks
68
244248
%ifndef EXE_LENGTH %include "../UltimaPatcher.asm" %include "include/uw1.asm" %include "include/uw1-eop.asm" %endif [bits 16] startPatch EXE_LENGTH, eop-orientMouseLook startBlockAt addr_eop_orientMouseLook push bp mov bp, sp ; bp-based stack frame: %assign ____callerIp 0x02 %assign ____ca...
basic-assembly-programs/FLAG-REGISTERS.asm
ralphcajipe/assembly-8086
0
98315
;Create a program that will set the value of the following flag registers to 1. ;Carry Flag ;Parity Flag ;Auxiliary Flag ;Zero Flag ;Sign Flag .model small .data .code main proc ;sets CF,PF,AF,ZF to 1 except SF ;mov cx, 255 ;add cl, 1 ;sets CF,PF...
oeis/110/A110509.asm
neoneye/loda-programs
11
172827
<reponame>neoneye/loda-programs ; A110509: Riordan array (1, x(1-2x)). ; Submitted by <NAME> ; 1,0,1,0,-2,1,0,0,-4,1,0,0,4,-6,1,0,0,0,12,-8,1,0,0,0,-8,24,-10,1,0,0,0,0,-32,40,-12,1,0,0,0,0,16,-80,60,-14,1,0,0,0,0,0,80,-160,84,-16,1,0,0,0,0,0,-32,240,-280,112,-18,1,0,0,0,0,0,0,-192,560,-448,144,-20,1,0,0,0,0,0,0,64,-672...
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xa0.log_21829_1606.asm
ljhsiun2/medusa
9
164825
<filename>Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xa0.log_21829_1606.asm<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r12 push %r8 push %rax push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x39ad, %r8 nop nop nop sub $524, %rbp movl $0x61626364, (%r8) nop nop nop no...
Definition/LogicalRelation/Substitution/Introductions/Empty.agda
CoqHott/logrel-mltt
2
14114
{-# OPTIONS --safe #-} open import Definition.Typed.EqualityRelation module Definition.LogicalRelation.Substitution.Introductions.Empty {{eqrel : EqRelSet}} where open EqRelSet {{...}} open import Definition.Untyped open import Definition.Typed open import Definition.Typed.Properties open import Definition.LogicalRe...
library/globals.asm
SamantazFox/dds140-reverse-engineering
1
8883
; Read only data ; ds:0x1000d180 ; (dword) 00 00 00 00 00 00 f0 41 ; (double) 4294967296.0 (2^32) ; https://reverseengineering.stackexchange.com/questions/16363/ ; _const_pow2_32 ds:0x1000d188 ; (dword) 00 00 00 00 00 00 80 40 ; (double) 512.0 ...
library/fmGUI_ManageSecurity/fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_AllTables.applescript
NYHTC/applescript-fm-helper
1
4501
<filename>library/fmGUI_ManageSecurity/fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_AllTables.applescript<gh_stars>1-10 -- fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_AllTables({accessRecord:null, recordAccess:null}) -- <NAME>, NYHTC -- update record access of the currently opened privilege set (* HISTORY: ...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/loop_optimization17_pkg.adb
best08618/asylo
7
1735
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/loop_optimization17_pkg.adb package body Loop_Optimization17_Pkg is function F (V : Vector) return Vector is begin return V; end; end Loop_Optimization17_Pkg;
programs/oeis/109/A109118.asm
karttu/loda
1
172513
<reponame>karttu/loda ; A109118: a(n) = 2*(n^2 + 3*n + 1)^3. ; 2,250,2662,13718,48778,137842,332750,715822,1409938,2590058,4496182,7447750,11859482,18258658,27303838,39805022,56745250,79303642,108879878,147120118,195944362,257575250,334568302,429843598,546718898 mov $1,1 mov $2,1 sub $2,$0 sub $2,4 mul $2,$0 sub $1,$2...
programs/oeis/004/A004171.asm
karttu/loda
1
64
<reponame>karttu/loda ; A004171: a(n) = 2^(2n+1). ; 2,8,32,128,512,2048,8192,32768,131072,524288,2097152,8388608,33554432,134217728,536870912,2147483648,8589934592,34359738368,137438953472,549755813888,2199023255552,8796093022208,35184372088832,140737488355328,562949953421312,2251799813685248,9007199254740992 mov $1,4...
examples/mouse2.asm
AbdulrahmanAbumdas/emu8086
287
11516
<filename>examples/mouse2.asm<gh_stars>100-1000 ; mouse drawing. ; press left mouse button to draw. ; for a real test click external->run from the emulator's menu. name "mouse2" org 100h jmp start oldX dw -1 oldY dw 0 start: mov ah, 00 mov al, 13h ; set screen to 256 colors, 320x200 pixels. int 10h ; res...
programs/oeis/141/A141883.asm
neoneye/loda
22
4847
; A141883: Primes congruent to 9 mod 20. ; 29,89,109,149,229,269,349,389,409,449,509,569,709,769,809,829,929,1009,1049,1069,1109,1129,1229,1249,1289,1409,1429,1489,1549,1609,1669,1709,1789,1889,1949,2029,2069,2089,2129,2269,2309,2389,2549,2609,2689,2729,2749,2789,2909,2969,3049,3089,3109,3169,3209,3229,3329,3389,3449,3...
oeis/271/A271859.asm
neoneye/loda-programs
11
80395
<reponame>neoneye/loda-programs ; A271859: Six steps forward, five steps back. ; Submitted by Jon Maiga ; 0,1,2,3,4,5,6,5,4,3,2,1,2,3,4,5,6,7,6,5,4,3,2,3,4,5,6,7,8,7,6,5,4,3,4,5,6,7,8,9,8,7,6,5,4,5,6,7,8,9,10,9,8,7,6,5,6,7,8,9,10,11,10,9,8,7,6,7,8,9,10,11,12,11,10,9,8,7,8,9,10,11,12,13,12,11,10,9,8,9,10,11,12,13,14,13,...
test/asm/macro.asm
xdrie/irre-tools
1
162801
<gh_stars>1-10 add_to@ rA rB v0 : ; this macro sets rA = rB + v0 set ad v0 add rA rB ad :: main: set r1 $0 set r2 $4 add_to r2 r2 $8
Src/Ant32/Tests/ant32/basic/01_lc_noex.asm
geoffthorpe/ant-architecture
0
85493
# # Copyright 1999-2000 by the President and Fellows of Harvard College. # See LICENSE.txt for license information. # #@ tests lc # OK lc r2, $start cli ste rfe r2, r0, r0 start: lc k3, 15 lc k2, 15 lc k1, 15 lc k0, 15 lc e3, 15 lc e2, 15 lc e1, 15 lc e0, 15 stop
Transynther/x86/_processed/AVXALIGN/_st_/i7-8650U_0xd2_notsx.log_73_861.asm
ljhsiun2/medusa
9
10818
<filename>Transynther/x86/_processed/AVXALIGN/_st_/i7-8650U_0xd2_notsx.log_73_861.asm .global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %r8 lea addresses_WC_ht+0x1c4e4, %r15 add $22615, %r13 mov $0x6162636465666768, %r8 movq %r8, %xmm3 movups %xmm3, (%r15) nop nop nop nop nop and $26058, %r8 pop %r8...
oeis/192/A192921.asm
neoneye/loda-programs
11
17457
<gh_stars>10-100 ; A192921: Constant term in the reduction by (x^2->x+1) of the polynomial p(n,x) defined below at Comments. ; Submitted by <NAME>(s2) ; 1,2,2,7,16,44,113,298,778,2039,5336,13972,36577,95762,250706,656359,1718368,4498748,11777873,30834874,80726746,211345367,553309352,1448582692,3792438721,9928733474,259...
papers/ALL-star/Quartic.g4
zspitz/website-antlr4
5
866
grammar Quartic; s : a EOF ; a : 'x' a a | 'x' a | 'x' ; WS : [ \r\t\n]+ -> skip ;
programs/oeis/017/A017649.asm
neoneye/loda
22
26207
; A017649: (12n+10)^9. ; 1000000000,1207269217792,60716992766464,922190162669056,7427658739644928,40353607000000000,167619550409708032,572994802228616704,1689478959002692096,4435453859151328768 mul $0,12 add $0,10 pow $0,9
internal/modal-logic-lob-reduced.agda
JasonGross/lob
19
12405
<gh_stars>10-100 module modal-lob-reduced where data TYP : Set where ARR : TYP → TYP → TYP -- the type of implications, or function types BOX : TYP → TYP -- the modal □ operator, denoted to TERM LӦB-SENTENCE : TYP → TYP -- the Lӧbian sentence "If this sentence is provable, then A" -- th...
programs/oeis/113/A113531.asm
neoneye/loda
22
244952
<filename>programs/oeis/113/A113531.asm ; A113531: a(n) = 1 + 2*n + 3*n^2 + 4*n^3 + 5*n^4 + 6*n^5. ; 1,21,321,2005,7737,22461,54121,114381,219345,390277,654321,1045221,1604041,2379885,3430617,4823581,6636321,8957301,11886625,15536757,20033241,25515421,32137161,40067565,49491697,60611301,73645521,88831621,106425705,1267...
matrix/matrix2.als
nishio/learning_alloy
1
6
<filename>matrix/matrix2.als<gh_stars>1-10 open util/ordering[Col] as cols open util/ordering[Row] as rows abstract sig Region {} sig Col extends Region { cell: Row -> Cell } sig Row extends Region {} enum Cell { Black, White } fact { all c: Col, r: Row | one cell [c, r] } run{ #Col = 10 #Row = 10 } for 10 but...
hal/gdt.asm
davidepianca98/hoho
7
25266
; ; Copyright 2016 <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 of the License at ; ; http://www.apache.org/licenses/LICENSE-2.0 ; ; Unless required by applicable law or agreed to in writin...
Util/llvm/test/FrontendAda/non_bitfield.ads
ianloic/unladen-swallow
5
15321
<gh_stars>1-10 -- RUN: %llvmgcc -c %s package Non_Bitfield is type SP is access String; type E is (A, B, C); type T (D : E) is record case D is when A => X : Boolean; when B => Y : SP; when C => Z : String (1 .. 2); end case; end record; end;
oeis/014/A014166.asm
neoneye/loda-programs
11
18108
<reponame>neoneye/loda-programs ; A014166: Apply partial sum operator 4 times to Fibonacci numbers. ; Submitted by <NAME> ; 0,1,5,16,41,92,189,365,674,1204,2098,3588,6050,10093,16703,27476,44995,73440,119575,194345,315460,511576,829060,1342936,2174596,3520457,5698329,9222440,14924829,24151764,39081553,63238773,10232631...
libsrc/_DEVELOPMENT/stdlib/c/sccz80/exit.asm
meesokim/z88dk
0
82046
; _Noreturn void exit(int status) SECTION code_stdlib PUBLIC exit EXTERN asm_exit defc exit = asm_exit
src/crawler_interface.adb
mulander/crawler
1
18503
<reponame>mulander/crawler<gh_stars>1-10 -- Copyright (c) 2012, mulander <<EMAIL>> -- All rights reserved. -- Use of this source code is governed by a BSD-style license that can be -- found in the LICENSE file. with Terminal_Interface.Curses; package body Crawler_Interface is overriding procedure Initialize (Thi...
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/complex.ads
passlab/rexompiler
0
29817
<gh_stars>0 package Complex is type Complex is record Re : Float := 0.0; Im : Float := 0.0; end record; I : constant Complex := (0.0, 1.0); function II return Complex; end Complex;
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_iy/___schar2fs.asm
jpoikela/z88dk
640
85750
<reponame>jpoikela/z88dk SECTION code_clib SECTION code_fp_math48 PUBLIC ___schar2fs EXTERN cm48_sdcciyp_schar2ds defc ___schar2fs = cm48_sdcciyp_schar2ds