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
programs/oeis/321/A321102.asm
karttu/loda
1
15998
<gh_stars>1-10 ; A321102: Sequence generated by: a(3*n) = 1, a(3*n+2) = 1 - a(3*n+1), a(9*n+1) = 1, a(9*n+7) = 0, a(9*n+4) = 1 - a(3*n+1), for n >= 0. ; 2,1,0,2,0,1,2,0,1,2,1,0,2,1,0,2,0,1,2,1,0,2,1,0,2,0,1,2,1,0,2,0,1,2,0,1,2,1,0,2,0,1,2,0,1,2,1,0,2,1,0,2,0,1,2,1,0,2,0,1,2,0,1,2,1,0,2,0,1,2,0,1,2,1,0,2,1,0,2,0,1,2,1,0...
src/Internals/protypo-match_data_wrappers.ads
fintatarta/protypo
0
29692
with Ada.Strings.Unbounded; with Gnat.Regpat; with Protypo.Api.Engine_Values.Handlers; with Protypo.Api.Engine_Values.Engine_Value_Vectors; use Protypo.Api.Engine_Values; package Protypo.Match_Data_Wrappers is type Match_Data_Wrapper (<>) is new Handlers.Ambivalent_Interface with private; type M...
cercaSottoStringaRICORSIVA.asm
edoardottt/Asm_mars_examples
21
92313
<filename>cercaSottoStringaRICORSIVA.asm .data testo: .space 100 query: .space 100 .text .globl main main: #leggo testo in input li $v0,8 la $a0,testo li $a1,100 syscall #leggo query in input li $v0,8 la $a0,query li $a1,10 syscall la $t0,testo la $t1,query #preparo offset addi $s0,$s0,0 #N addi $...
programs/oeis/194/A194152.asm
karttu/loda
0
90284
<filename>programs/oeis/194/A194152.asm<gh_stars>0 ; A194152: Beatty sequence for 5+2*sqrt(5); complement of A194151. ; 9,18,28,37,47,56,66,75,85,94,104,113,123,132,142,151,161,170,179,189,198,208,217,227,236,246,255,265,274,284,293,303,312,322,331,340,350,359,369,378,388,397,407,416,426,435,445,454,464,473,483,492,502...
examples/src/tasksink2.adb
sonneveld/adazmq
0
17626
-- Task sink -- Binds PULL socket to tcp://localhost:5558 -- Collects results from workers via that socket with Ada.Command_Line; with Ada.Text_IO; with GNAT.Formatted_String; with Ada.Calendar; with ZMQ; procedure TaskSink2 is use type Ada.Calendar.Time; use type GNAT.Formatted_String.Formatted_String; ...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_405.asm
ljhsiun2/medusa
9
1855
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r12 push %r15 push %rcx push %rsi // Faulty Load lea addresses_D+0x12bf2, %rsi and %r12, %r12 mov (%rsi), %r10d lea oracles, %rcx and $0xff, %r10 shlq $12, %r10 mov (%rcx,%r10,1), %r10 pop %rsi pop %rcx...
oeis/115/A115113.asm
neoneye/loda-programs
11
17375
; A115113: a(n) = 3*a(n-1) + 4*a(n-2), with a(0) = 2, a(1) = 6. ; Submitted by <NAME>(s4) ; 2,6,10,54,202,822,3274,13110,52426,209718,838858,3355446,13421770,53687094,214748362,858993462,3435973834,13743895350,54975581386,219902325558,879609302218,3518437208886,14073748835530,56294995342134,225179981368522,900719925474...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1388.asm
ljhsiun2/medusa
9
170528
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_WC_ht+0x10b6, %r10 nop nop nop cmp %rbp, %rbp vmovups (%r10), %ymm4 vextracti128 $1, %ymm4, %xmm4 vpextrq $1, %xmm4, %r12 nop nop nop nop nop xor $40571, %r9 lea addresses_normal_ht+...
src/sound/song097restored.asm
MusicTheorist/Mother2GbaTranslation
1
164970
song097restored_pri equ 0 song097restored_rev equ 0 song097restored_mvl equ 127 song097restored_key equ 0 song097restored_tbs equ 1 song097restored_exg equ 0 song097restored_cmp equ 1 .align 4 ;**************** Track 1 (Midi-Chn.1) ****************; @song097restored_1: .byte TEMPO , 62 .byte KEYSH , song...
tools/xml2ayacc/xml_io/xml_io-base_readers_streams.adb
faelys/gela-asis
4
15130
------------------------------------------------------------------------------ -- <NAME> A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- ...
programs/oeis/295/A295405.asm
neoneye/loda
22
161828
; A295405: a(n) = 1 if n^2+1 is prime, 0 otherwise. ; 1,1,0,1,0,1,0,0,0,1,0,0,0,1,0,1,0,0,0,1,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,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,1,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0 seq $0,147810 ; Half the number of divisors of n^2+1. mov $1,1 su...
programs/oeis/055/A055214.asm
neoneye/loda
22
27588
<filename>programs/oeis/055/A055214.asm ; A055214: a(0) = 1; a(n) = 2*n*a(n-1) - 1 for n >= 1. ; 1,1,3,17,135,1349,16187,226617,3625871,65265677,1305313539,28716897857,689205548567,17919344262741,501741639356747,15052249180702409,481671973782477087,16376847108604220957 mov $1,2 lpb $0 sub $0,1 sub $1,1 add $2,2 ...
audio/sfx/battle_27.asm
adhi-thirumala/EvoYellow
16
89191
SFX_Battle_27_Ch1: duty 2 unknownsfx0x20 15, 63, 192, 7 SFX_Battle_27_branch_2062a: unknownsfx0x20 15, 223, 192, 7 loopchannel 4, SFX_Battle_27_branch_2062a unknownsfx0x20 15, 209, 192, 7 endchannel SFX_Battle_27_Ch2: dutycycle 179 unknownsfx0x20 15, 47, 200, 7 SFX_Battle_27_branch_2063d: unknownsfx0x20 15...
stream_hashing.adb
annexi-strayline/AURA
13
9481
------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- Reference Implementation -- -- ...
programs/oeis/172/A172327.asm
karttu/loda
0
162460
<reponame>karttu/loda ; A172327: Floor(n*(sqrt(11)+sqrt(5))). ; 0,5,11,16,22,27,33,38,44,49,55,61,66,72,77,83,88,94,99,105,111,116,122,127,133,138,144,149,155,161,166,172,177,183,188,194,199,205,211,216,222,227,233,238,244,249,255,260,266,272,277,283,288,294,299,305,310,316,322,327,333,338,344,349,355,360,366,372,377,3...
lib/Tests/WindfishTests/Resources/goldens/game.asm
jverkoey/awaken
68
86423
INCLUDE "bank_00.asm" INCLUDE "bank_01.asm"
test/LibSucceed/SizeInconsistentMeta4.agda
cruhland/agda
1,989
7537
<reponame>cruhland/agda -- Andreas, 2012-02-24 example by <NAME> {-# OPTIONS --sized-types #-} -- {-# OPTIONS --show-implicit -v tc.size.solve:20 -v tc.conv.size:15 #-} module SizeInconsistentMeta4 where open import Data.Nat using (ℕ;zero;suc) renaming (_<_ to _N<_) open import Data.Product using (_,_;_×_) open import...
assembly/q5/q5.asm
liviabelirocha/arqcomp-ck0195
1
95947
org 0x7c00 bits 16 mov ax, 0 mov ds, ax cli mov al, 0x13 ; mudar modo de vídeo para modo gráfico (VGA 320x200) int 0x10 mov ax, 0xa000 ; guarda o endereço da VRAM em es mov es, ax read: mov ax, 0 ; leitura do teclado int 0x16 mov di, 64000 ; utilizar di como índice para percorrer a tel...
firehog/ncurses/Ada95/ada_include/terminal_interface-curses-forms-field_types-enumeration-ada.ads
KipodAfterFree/KAF-2019-FireHog
1
1671
<filename>firehog/ncurses/Ada95/ada_include/terminal_interface-curses-forms-field_types-enumeration-ada.ads<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- GNAT ncurse...
tests/src/pbkdf2-tests.adb
AntonMeep/pbkdf2
0
12254
<reponame>AntonMeep/pbkdf2 pragma Ada_2012; with Ada.Characters.Latin_1; use Ada.Characters.Latin_1; with AUnit.Assertions; use AUnit.Assertions; with AUnit.Test_Caller; package body PBKDF2.Tests is package Caller is new AUnit.Test_Caller (Fixture); Test_Suite : aliased AUnit.Test_Suites.Test_Suite; funct...
utils/scripts/lynx/MusicDummy.asm
xahmol/8bit-Unity
42
82648
;;; source file for CC65 "remake" compiler .include "soundbs.mac" .global musicptr .rodata musicptr: .word CHANNEL_0, CHANNEL_1, CHANNEL_2, CHANNEL_3 PATTERN_LENGTH .set 1280 CHANNEL_0: PATTERN ENVIROS PATTERN PATTERN_00 CHAN_STOP CHANNEL_1: PATTERN ENVIROS PATTERN PATTERN_01 CHAN_STOP ...
src/kernel/drivers/motors/motor_int.asm
rostislav-nikitin/socOS
1
9672
;.include "../soc/timer2_int.asm"
Transynther/x86/_processed/US/_zr_un_/i3-7100_9_0xca_notsx.log_1026_402.asm
ljhsiun2/medusa
9
100049
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r15 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x1c830, %rdx nop nop nop xor $31365, %r10 mov (%rdx), %si nop nop nop and %r15, %r15 lea addresses_normal_ht+0x16842, %r11 nop nop sub $7750, %rax mov $0x6162636465666768, %r...
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48.log_21829_2582.asm
ljhsiun2/medusa
9
8098
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %r8 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x12087, %rsi lea addresses_WC_ht+0x19163, %rdi clflush (%rdi) nop nop nop dec %r8 mov $31, %rcx rep movsl nop nop nop dec %rbx lea addresses_D_ht+0x12649, %rcx clflush (%rcx) n...
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/configurationPragma_tests/tests/start.adb
ouankou/rose
488
21440
<reponame>ouankou/rose<filename>tests/nonsmoke/functional/CompileTests/experimental_ada_tests/configurationPragma_tests/tests/start.adb with with_dot_issue.sub; procedure start is myConst : constant := with_dot_issue.sub.Bytes_In_Word; myInt : integer; begin myInt := myConst; end start;
src/kernel/start.asm
moshenahmias/chuckos
2
163123
[BITS 32] global _start extern kmain _start: call kmain ; start kernel nop nop nop jmp _start
libtool/src/gmp-6.1.2/mpn/alpha/ev6/add_n.asm
kroggen/aergo
1,602
2680
<filename>libtool/src/gmp-6.1.2/mpn/alpha/ev6/add_n.asm dnl Alpha ev6 mpn_add_n -- Add two limb vectors of the same length > 0 and dnl store sum in a third limb vector. dnl Copyright 2000, 2003, 2005 Free Software Foundation, Inc. dnl This file is part of the GNU MP Library. dnl dnl The GNU MP Library is free so...
examples/textioed.adb
ytomino/drake
33
17212
<gh_stars>10-100 with Ada.Text_IO.Editing; procedure textioed is type T is delta 0.001 digits 12; package O is new Ada.Text_IO.Editing.Decimal_Output (T); begin -- simple pragma Assert ( O.Image (0.0, Ada.Text_IO.Editing.To_Picture ("999.999")) = "000.000"); pragma Assert ( O.Image (0.0, Ada.Text_IO.Editing....
tools/parser_transformer/parser_extractor.ads
svn2github/matreshka
24
10644
<reponame>svn2github/matreshka ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
Numbers/Naturals/WithK.agda
Smaug123/agdaproofs
4
470
{-# OPTIONS --warning=error --safe #-} open import LogicalFormulae open import Agda.Primitive using (Level; lzero; lsuc; _⊔_) open import Functions.Definition open import Numbers.Naturals.Semiring open import Numbers.Naturals.Order module Numbers.Naturals.WithK where <NRefl : {a b : ℕ} → (p1 p2 : a <N b) → (p1 ≡ p2)...
src/sha1.adb
AntonMeep/sha1
0
1174
pragma Ada_2012; with Ada.Unchecked_Conversion; with GNAT.Byte_Swapping; with System; package body SHA1 with SPARK_Mode => On is function Initialize return Context is ((State => <>, Count => 0, Buffer => (others => 0))); procedure Initialize (Ctx : out Context) is begin Ctx := Initialize; e...
Practicas/Practica_06/codigoFuente/P3.asm
CodeRevenge/Proyecto-seminario-traductores-i
0
1335
<gh_stars>0 E3 EQU 50 ORG $4000 E2 EQU 15 ADCA #15 ADCA 15 START ADCA 150 ADCA 1500 ADDD #10 ADDD 10 DC.B DC.B 10 DC.B 10,11 BSZ 10 FILL 2,3 DC.W DC.W 1,2 FCC /HOLA/ FCB 10 E1 END
ide/se/tex.als
joireman/config
0
4422
<filename>ide/se/tex.als basicfile \documentclass[letterpaper, fleqn, 12pt]{article} % %\S % Beginning of preamble section of document % \usepackage{graphicx} % enables importing of graphics images \usepackage{amsmath} % extra mathematical functi...
Container/List.agda
oisdk/agda-playground
6
16991
{-# OPTIONS --cubical --safe #-} module Container.List where open import Prelude open import Data.Fin open import Container List : Type a → Type a List = ⟦ ℕ , Fin ⟧
programs/oeis/111/A111951.asm
neoneye/loda
22
164800
; A111951: Period 8: repeat [0,3,1,2,2,1,3,0]. ; 0,3,1,2,2,1,3,0,0,3,1,2,2,1,3,0,0,3,1,2,2,1,3,0,0,3,1,2,2,1,3,0,0,3,1,2,2,1,3,0,0,3,1,2,2,1,3,0,0,3,1,2,2,1,3,0,0,3,1,2,2,1,3,0,0,3,1,2,2,1,3,0,0,3,1,2,2,1,3,0,0,3,1,2,2,1,3,0,0,3,1,2,2,1,3,0,0,3,1,2 mov $2,$0 pow $0,2 add $0,$2 mul $0,3 mod $0,8 div $0,2
eval/sherrloc/easyocaml++/asmrun/amd64nt.asm
ucsd-progsys/nate
9
8765
<filename>eval/sherrloc/easyocaml++/asmrun/amd64nt.asm ;********************************************************************* ; ; Objective Caml ; ; <NAME>, <NAME>, INRIA Rocquencourt ...
source/numerics/required/s-fatsfl.ads
ytomino/drake
33
24745
<filename>source/numerics/required/s-fatsfl.ads pragma License (Unrestricted); -- implementation unit required by compiler package System.Fat_Sflt is pragma Pure; package Attr_Short_Float is -- required for Short_Float'Adjacent by compiler (s-fatgen.ads) function Adjacent (X, Towards : Short_Float...
Ada/inc/Problem_22.ads
Tim-Tom/project-euler
0
24097
<filename>Ada/inc/Problem_22.ads package Problem_22 is procedure Solve; end Problem_22;
test/Succeed/Issue4148.agda
shlevy/agda
1,989
9313
-- Andreas, 2019-10-21, issue #4148, reported by omelkonian {-# OPTIONS -v impossible:100 #-} postulate A : Set module M (I : Set) where postulate P : I → Set record R (i : I) : Set where constructor mk field f : P i open module N = M A data D : ∀ {i} → R i → Set where c : ∀ {i} {t : P ...
grammar/SwiftLexer.g4
EternalPhane/Swift2TypeScript
3
7540
lexer grammar SwiftLexer ; // Implicit tokens in parser // ========================= // KEYWORDS USED IN DECLARATIONS ASSOCIATEDTYPE : 'associatedtype' ; CLASS : 'class' ; DEINIT : 'deinit' ; ENUM : 'enum' ; EXTENSION : 'extension' ; FILEPRIVATE : 'fileprivate' ; FUNC : 'func' ; IM...
test/Succeed/Issue2727-1.agda
shlevy/agda
1,989
16827
open import Agda.Builtin.Equality using (_≡_; refl) record ⊤ : Set where no-eta-equality constructor tt data Box (A : Set) : Set where [_] : A → Box A Unit : Set Unit = Box ⊤ F : Unit → Set → Set F [ _ ] x = x G : {P : Unit → Set} → ((x : ⊤) → P [ x ]) → ((x : Unit) → P x) G f [ x ] = f x record R : Set₁ wh...
src/asf-components-html-lists.ads
jquorning/ada-asf
12
11113
<gh_stars>10-100 ----------------------------------------------------------------------- -- html.lists -- List of items -- Copyright (C) 2009, 2010, 2014 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance wit...
oeis/021/A021667.asm
neoneye/loda-programs
11
104862
; A021667: Decimal expansion of 1/663. ; 0,0,1,5,0,8,2,9,5,6,2,5,9,4,2,6,8,4,7,6,6,2,1,4,1,7,7,9,7,8,8,8,3,8,6,1,2,3,6,8,0,2,4,1,3,2,7,3,0,0,1,5,0,8,2,9,5,6,2,5,9,4,2,6,8,4,7,6,6,2,1,4,1,7,7,9,7,8,8,8,3,8,6,1,2,3,6,8,0,2,4,1,3,2,7,3,0,0,1 add $0,1 mov $2,10 pow $2,$0 mov $0,$2 div $0,663 mod $0,10
programs/oeis/140/A140766.asm
neoneye/loda
22
99794
<filename>programs/oeis/140/A140766.asm ; A140766: a(n) = 6*a(n-1) - 6*a(n-2). ; 1,5,24,114,540,2556,12096,57240,270864,1281744,6065280,28701216,135815616,642686400,3041224704,14391229824,68100030720,322252805376,1524916647936,7215983055360,34146398444544,161582492335104,764616563343360,3618204426049536 mul $0,2 mov $...
programs/oeis/059/A059268.asm
jmorken/loda
1
102720
; A059268: Concatenate subsequences [2^0, 2^1, ..., 2^n] for n = 0, 1, 2, ... ; 1,1,2,1,2,4,1,2,4,8,1,2,4,8,16,1,2,4,8,16,32,1,2,4,8,16,32,64,1,2,4,8,16,32,64,128,1,2,4,8,16,32,64,128,256,1,2,4,8,16,32,64,128,256,512,1,2,4,8,16,32,64,128,256,512,1024,1,2,4,8,16,32,64,128,256,512,1024,2048,1,2,4,8,16,32,64,128,256,512,1...
oeis/021/A021776.asm
neoneye/loda-programs
11
166367
<filename>oeis/021/A021776.asm ; A021776: Decimal expansion of 1/772. ; Submitted by Jon Maiga ; 0,0,1,2,9,5,3,3,6,7,8,7,5,6,4,7,6,6,8,3,9,3,7,8,2,3,8,3,4,1,9,6,8,9,1,1,9,1,7,0,9,8,4,4,5,5,9,5,8,5,4,9,2,2,2,7,9,7,9,2,7,4,6,1,1,3,9,8,9,6,3,7,3,0,5,6,9,9,4,8,1,8,6,5,2,8,4,9,7,4,0,9,3,2,6,4,2,4,8 seq $0,199685 ; a(n) = 5...
LibSpotijack/ConfigureSpotijackSession.applescript
alexjohnj/spotijack
28
4465
<gh_stars>10-100 tell application "Audio Hijack Pro" try set theSession to the first session whose name is "Spotijack" on error set theSession to (make new application session at end of sessions) set name of theSession to "Spotijack" set targeted application of theSession to "/Ap...
source/nodes/program-nodes-function_access_types.adb
optikos/oasis
0
5156
-- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- package body Program.Nodes.Function_Access_Types is function Create (Not_Token : Program.Lexical_Elements.Lexical_Element_Access; ...
code_sender/rstudio/rstudio.applescript
fredcallaway/SendCode
177
835
<filename>code_sender/rstudio/rstudio.applescript on run argv tell application "RStudio" to cmd item 1 of argv end run
Driver/Printer/PrintCom/Cursor/cursorSetCursorAbsRedwood.asm
steakknife/pcgeos
504
2866
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Berkeley Softworks 1993 -- All Rights Reserved PROJECT: PC GEOS MODULE: print drivers FILE: cursorSetCursorAbsRedwood.asm AUTHOR: <NAME> ROUTINES: Name Description ---- ----------- REVISION HIS...
source/machine-w64-mingw32/s-stomap.adb
ytomino/drake
33
4957
with Ada.Unchecked_Conversion; with C.winbase; with C.winnt; with C.winternl; package body System.Storage_Map is pragma Suppress (All_Checks); use type C.char_array; use type C.size_t; use type C.windef.ULONG; NTDLL_DLL : aliased constant C.winnt.WCHAR_array (0 .. 9) := ( C.winnt.WCHAR'Val (Wide_C...
Library/SpecUI/CommonUI/CSpec/cspecPenInputControl.asm
steakknife/pcgeos
504
21404
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Geoworks 1994 -- All Rights Reserved PROJECT: PC GEOS MODULE: CommonUI/CSpec FILE: cspecPenInputControl.asm AUTHOR: <NAME>, Apr 8, 1994 ROUTINES: Name Description ---- ----------- BLB OLBuildUIPen...
maps/OlivinePortPassage.asm
Dev727/ancientplatinum
28
24621
<gh_stars>10-100 object_const_def ; object_event constants const OLIVINEPORTPASSAGE_POKEFAN_M OlivinePortPassage_MapScripts: db 0 ; scene scripts db 0 ; callbacks OlivinePortPassagePokefanMScript: jumptextfaceplayer OlivinePortPassagePokefanMText OlivinePortPassagePokefanMText: text "FAST SHIP S.S.AQUA" line...
grammars/src/main/antlr/ContainedRegex.g4
serefarikan/archie
44
6570
grammar ContainedRegex; regex: '{' REGEX ( SEMICOLON STRING )? '}'; // String parsing STRING : '"' STRING_CHAR*? '"' ; //a regexp can only exist between {}. It can optionally have an assumed value, by adding ;"value" REGEX: (SLASH_REGEXP | CARET_REGEXP); SEMICOLON: ';'; LPAREN: '{'; RPAREN: '}'; fragment SLASH_REG...
awa/plugins/awa-counters/src/awa-counters-beans.ads
My-Colaborations/ada-awa
81
22916
----------------------------------------------------------------------- -- awa-counters-beans -- Counter bean definition -- Copyright (C) 2015, 2016, 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance wi...
platform/intel/src/io/inb.asm
0x1C1B/jatos
1
89886
bits 32 section .text global inb inb: mov dx, [esp + 4] ; Set I/O port address in al, dx ; Read a byte from port into register ret
alloy4fun_models/trashltl/models/17/Kdx5Fqxs7E3jNSop9.als
Kaixi26/org.alloytools.alloy
0
2330
open main pred idKdx5Fqxs7E3jNSop9_prop18 { always(all f:File&Protected | f in Trash implies always f not in Protected) } pred __repair { idKdx5Fqxs7E3jNSop9_prop18 } check __repair { idKdx5Fqxs7E3jNSop9_prop18 <=> prop18o }
oeis/028/A028062.asm
neoneye/loda-programs
11
104649
; A028062: Expansion of 1/((1-3x)(1-5x)(1-7x)(1-11x)). ; Submitted by <NAME> ; 1,26,440,6190,78981,952476,11101000,126669380,1426238561,15923605126,176828848560,1956923483970,21609410926741,238289337781976,2625298690331120,28907173689169960,318181508654719521 mov $1,1 mov $2,$0 mov $3,$0 lpb $2 mov $0,$3 mul $1,7 ...
programs/oeis/109/A109804.asm
neoneye/loda
22
247533
; A109804: Cumulative sum of initial digits of (n base 6). ; 0,1,3,6,10,15,16,17,18,19,20,21,23,25,27,29,31,33,36,39,42,45,48,51,55,59,63,67,71,75,80,85,90,95,100,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131 mov $2,$0 mov $4,$0 lpb $2 mov $0,$4 sub $2,...
compiler/piste.g4
hrjakobsen/piste
0
2592
<filename>compiler/piste.g4 grammar piste; program: import_statement* declaration* process?; import_statement: IMPORT STRING; declaration: record_declaration | process_declaration | extern_declaration; process_declaration: DEF IDENTIFIER SQUARE_LEFT (identifier_with_type (COMMA identifier...
oeis/332/A332172.asm
neoneye/loda-programs
11
247399
<reponame>neoneye/loda-programs<filename>oeis/332/A332172.asm ; A332172: a(n) = 7*(10^(2n+1)-1)/9 - 5*10^n. ; Submitted by <NAME> ; 2,727,77277,7772777,777727777,77777277777,7777772777777,777777727777777,77777777277777777,7777777772777777777,777777777727777777777,77777777777277777777777,7777777777772777777777777,777777...
test/interaction/Issue2447/Type-error.agda
shlevy/agda
1,989
6919
module Issue2447.Type-error where import Issue2447.M Rejected : Set Rejected = Set
src/Injector/Injector/_HijackRunningThread.asm
fplu/Flow
1
19841
global START_CALL_INSIDE_THREAD global MOV_RAX_CALL global MOV_RCX_ARG1 global MOV_RDX_ARG2 global END_CALL_INSIDE_THREAD global START_REMOTE_GET_PROC_ADDRESS global MOV_RAX_GetModuleHandleA global MOV_RAX_GetProcAddress global MOV_RCX_START_REMOTE_GET_PROC_ADDRESS global END_REMOTE_GET_PROC_ADDRESS section .text...
core/lib/types/Suspension/Core.agda
AntoineAllioux/HoTT-Agda
294
3929
{-# OPTIONS --without-K --rewriting #-} open import lib.Basics open import lib.NConnected open import lib.NType2 open import lib.types.FunctionSeq open import lib.types.Span open import lib.types.Pointed open import lib.types.Pushout open import lib.types.PushoutFlip open import lib.types.PushoutFmap open import lib.t...
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_1_2698.asm
ljhsiun2/medusa
9
5320
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r9 push %rax push %rbp push %rdx push %rsi lea addresses_WT_ht+0xe16d, %r9 xor $4209, %r11 mov (%r9), %r14 nop nop nop nop nop xor %r14, %r14 lea addresses_A_ht+0xe6a9, %rbp nop nop cmp %rax, %rax movups (%rbp), %xmm7 vpextrq $1, %xmm7, %rdx nop nop...
programs/oeis/040/A040551.asm
karttu/loda
0
19093
; A040551: Continued fraction for sqrt(575). ; 23,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46 mov $1,23 lpb $0,1 mod $0,2 mul $1,2 lpe gcd $1,$0
src/svd/sam_svd-port.ads
Fabien-Chouteau/samd51-hal
1
11668
pragma Style_Checks (Off); -- This spec has been automatically generated from ATSAMD51G19A.svd pragma Restrictions (No_Elaboration_Code); with HAL; with System; package SAM_SVD.PORT is pragma Preelaborate; --------------- -- Registers -- --------------- ------------------------------------ -- P...
MSDOS/Virus.MSDOS.Unknown.ambul.asm
fengjixuchui/Family
3
26896
;REDCROSS/AMBULANCE CAR VIRUS for Crypt Newsletter #10, edited by <NAME> ;December 1992 ;Originally supplied as a Sourcer disassembly in a Scandinavian virus mag ;published by "Youth Against McAfee (YAM)", this AMBULANCE specimen was ;generated in its raw form by "<NAME>." Hold that up to your mirror ;and it spells Sa...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_847.asm
ljhsiun2/medusa
9
240930
<filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_847.asm .global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r14 push %r9 push %rcx push %rdi push %rsi lea addresses_normal_ht+0x17f01, %rsi lea addresses_normal_ht+0x1d981, %rdi xor $5554, %r9 mov $60, %rcx rep movsb nop n...
Task/Sorting-algorithms-Selection-sort/Ada/sorting-algorithms-selection-sort.ada
LaudateCorpus1/RosettaCodeData
1
25987
with Ada.Text_IO; use Ada.Text_IO; procedure Test_Selection_Sort is type Integer_Array is array (Positive range <>) of Integer; procedure Sort (A : in out Integer_Array) is Min : Positive; Temp : Integer; begin for I in A'First..A'Last - 1 loop Min := I; for J in I + 1.....
src/impl/x86_64/boot/header.asm
Kevnnm/tailoredOS
0
14751
;; Made following multiboot2 specs at: ;; `https://www.gnu.org/software/grub/manual/multiboot2/multiboot.html` section .multiboot_header align 64 header_start: dd 0xE85250D6 ; Multiboot2 magic value dd 0x00000000 ; Architecture (protected mode i386) dd header_end - header_start...
programs/oeis/033/A033934.asm
neoneye/loda
22
25438
<filename>programs/oeis/033/A033934.asm ; A033934: (10^n+1)^2. ; 4,121,10201,1002001,100020001,10000200001,1000002000001,100000020000001,10000000200000001,1000000002000000001,100000000020000000001,10000000000200000000001,1000000000002000000000001,100000000000020000000000001,10000000000000200000000000001 mov $1,10 pow ...
Source/Levels/L1402.asm
AbePralle/FGB
0
99090
<reponame>AbePralle/FGB<filename>Source/Levels/L1402.asm<gh_stars>0 ; L1402.asm lady flower intervenes ; Generated 08.13.2000 by mlevel ; Modified 08.13.2000 by <NAME> INCLUDE "Source/Defs.inc" INCLUDE "Source/Levels.inc" ;--------------------------------------------------------------------- SECTION "Level1402Secti...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_871.asm
ljhsiun2/medusa
9
176740
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r15 push %r9 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_WT_ht+0xd1ea, %rcx nop nop nop nop nop add $36738, %rax mov $0x6162636465666768, %r9 movq %r9, (%rcx) nop nop nop nop nop inc %rax lea addresses_normal_ht+0x1b96a, %rsi lea addresses...
src/Fragment/Equational/Structures.agda
yallop/agda-fragment
18
4172
{-# OPTIONS --without-K --exact-split --safe #-} module Fragment.Equational.Structures where import Fragment.Equational.Theory.Laws as L open import Fragment.Equational.Theory open import Fragment.Equational.Theory.Bundles open import Fragment.Equational.Model open import Fragment.Algebra.Algebra open import Level ...
host/stm32gd-spi-peripheral.adb
ekoeppen/STM32_Generic_Ada_Drivers
1
21092
package body STM32GD.SPI.Peripheral is procedure Init is begin null; end Init; procedure Send (Data : in Byte) is begin null; end Send; procedure Send (Data : in SPI_Data_8b) is begin null; end Send; procedure Receive (Data : out Byte) is begin null; end R...
sets/vec/dependent.agda
HoTT/M-types
27
10711
<filename>sets/vec/dependent.agda {-# OPTIONS --without-K #-} module sets.vec.dependent where open import sets.nat.core open import sets.fin.core -- syntactic sugar to create finite dependent functions ⟦⟧ : ∀ {i}{P : Fin 0 → Set i} → (i : Fin 0) → P i ⟦⟧ () _∷∷_ : ∀ {i n}{P : Fin (suc n) → Set i} → (x : P zero)...
main.asm
microwave89-hv/min-hello-world
0
17603
<filename>main.asm<gh_stars>0 ; Copyright (c) 2019 microwave89-hv ; ; 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 requi...
programs/oeis/171/A171435.asm
neoneye/loda
22
3021
<reponame>neoneye/loda ; A171435: Product of odd prime factors < n, with multiplicity. ; 1,1,1,1,1,3,1,1,9,5,1,3,1,7,15,1,1,9,1,5,21,11,1,3,25,13,27,7,1,15,1,1,33,17,35,9,1,19,39,5,1,21,1,11,45,23,1,3,49,25,51,13,1,27,55,7,57,29,1,15,1,31,63,1,65,33,1,17,69,35,1,9,1,37,75,19,77,39,1,5,81,41,1,21,85,43,87,11,1,45,91,23,...
Cubical/Algebra/Group/Morphisms.agda
FernandoLarrain/cubical
1
10639
{- Defines different notions of morphisms and properties of morphisms of groups: - GroupHom (homomorphisms) - GroupEquiv (equivs which are homomorphisms) - GroupIso (isos which are homomorphisms) - Image - Kernel - Surjective - Injective - Mono - BijectionIso (surjective + injective) -} {-# OPTIONS --safe #-} module...
programs/oeis/206/A206807.asm
jmorken/loda
1
12643
<gh_stars>1-10 ; A206807: Position of 3^n when {2^j} and {3^k} are jointly ranked; complement of A206805. ; 2,5,7,10,12,15,18,20,23,25,28,31,33,36,38,41,43,46,49,51,54,56,59,62,64,67,69,72,74,77,80,82,85,87,90,93,95,98,100,103,105,108,111,113,116,118,121,124,126,129,131,134,137,139,142,144,147,149,152,155 mov $3,$0 ad...
P6 array inverso/ArrayInverso.asm
brandonEsquivel/Dragon12plus-9S12
0
82846
<gh_stars>0 ;============================================================================== ;Dado un arreglo de datos llamado NODO con ciertos parametros, copiar estos a ;un arreglo BUFFER en el orden inverso (cola-head), para ello use ;direccionamiento indirecto indexado para la lectura y porst-decremento para ;la...
oeis/307/A307513.asm
neoneye/loda-programs
11
99895
<gh_stars>10-100 ; A307513: Beatty sequence for 1/log(2). ; Submitted by <NAME>(s4) ; 1,2,4,5,7,8,10,11,12,14,15,17,18,20,21,23,24,25,27,28,30,31,33,34,36,37,38,40,41,43,44,46,47,49,50,51,53,54,56,57,59,60,62,63,64,66,67,69,70,72,73,75,76,77,79,80,82,83,85,86,88,89,90,92,93,95,96,98,99,100,102,103,105,106,108,109,111,1...
ch08/ch08-ex01.asm
Sunrisepeak/x86-Assembly-Real-To-Protected_Mode
1
13436
<filename>ch08/ch08-ex01.asm ;代码清单8-2 ;文件名:c08.asm ;文件说明:用户程序 ;创建日期:2011-5-5 18:17 ;=============================================================================== SECTION header vstart=0 ;定义用户程序头部段 program_length dd program_end ;程...
test/asset/agda-stdlib-1.0/Data/Vec/Relation/Equality/DecPropositional.agda
omega12345/agda-mode
0
15009
<filename>test/asset/agda-stdlib-1.0/Data/Vec/Relation/Equality/DecPropositional.agda ------------------------------------------------------------------------ -- The Agda standard library -- -- This module is DEPRECATED. Please use -- Data.Vec.Relation.Binary.Equality.DecPropositional directly. ------------------------...
gameMemory.asm
lvcabral/spaceshooter
5
243184
;=============================================================================== ; $00-$FF PAGE ZERO (256 bytes) ; $00-$01 Reserved for IO ZeroPageTemp = $02 ; $03-$8F Reserved for BASIC ; using $73-$8A CHRGET as BASIC not used for our game ZeroPageParam1 = $73...
wireframe/_includes/subroutines/VDP_WriteTMSS.asm
ArcadeTV/megadrive-samples
5
86827
VDP_WriteTMSS: ; The TMSS (Trademark Security System) locks up the VDP if we don't ; write the string 'SEGA' to a special address. This was to discourage ; unlicensed developers, since doing this displays the "LICENSED BY SEGA ; ENTERPRISES LTD" message to screen (on Mega Drive models 1 and higher). ; ; First, w...
Lab Assessment Submission/Lab 2/lab practice.asm
nusratjahan1/CSE331L-Section-10-Fall20-NSU-1
0
172955
<gh_stars>0 ; You may customize this and other start-up templates; ; The location of this template is c:\emu8086\inc\0_com_template.txt org 100h MOV AX ,2 ADD AX,2 ADD AX ,2 MOV BX ,AX ; add your code here ret
proxycore/antlr/SimplifiedCql.g4
david-joy-ds/cql-proxy-1
0
6313
// Copyright (c) DataStax, Inc. // // 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 ...
core/src/code_generation/tests/ifelse-1.asm
mari-linhares/GoCompiler
1
11285
100: LD SP, #4000 108: LD R1, #10 116: ST a, R1 124: LD R2, #2 132: ST b, R2 function block 1000: SUB R3, R1, R2 1008: BLEZ R3, #1048 1016: AND R4, #true, #false 1024: LD R0, R4 1032: BR *0(SP) 1040: BR #1064 1048: LD R0, #false 1056: BR *0(SP) function main
gcd&lcm.asm
skhasibulalam/asm-intro-8086
0
15862
<filename>gcd&lcm.asm CODE SEGMENT ASSUME CS:CODE,DS:CODE ORG 100H MAIN: MOV AX,CS MOV DS,AX MOV AX,VAR1; GCD (a,b,c) MOV BX,VAR2 MOV CX,VAR3 MOV DX,0 MOV EXT,AX CALL FUN MOV GCDALL,CX; GCD (a,b,c) ends MOV AX,VAR1; GCD (a,b) MOV BX,VAR2 MOV CX,VAR2 MOV DX,0...
src/main/fragment/mos6502-common/pbuz1_derefidx_(pbuc1_derefidx_vbuxx)=vbuaa.asm
jbrandwood/kickc
2
174899
ldy {c1},x sta ({z1}),y
src/Human/Char.agda
MaisaMilena/JuiceMaker
6
1371
module Human.Char where open import Human.Nat open import Human.Bool postulate Char : Set {-# BUILTIN CHAR Char #-} primitive primIsLower : Char → Bool primIsDigit : Char → Bool primIsAlpha : Char → Bool primIsSpace : Char → Bool primIsAscii : Cha...
nasm/ejercicio3.asm
GioProyects/ensamblador
0
97883
%macro imprimir 2 mov eax,4 mov ebx,1 mov ecx,%1 mov edx,%2 int 80h %endmacro section .text GLOBAL _start _start: mov ecx,len mov edi,cadena mov esi,carac cld comienzo: repne cmpsb cadena,carac je found imprimir msg_notfound,len_notfound jmp exit found: inc edi inc esi jmp comienzo impr...
programs/oeis/010/A010864.asm
neoneye/loda
22
9300
<reponame>neoneye/loda ; A010864: Constant sequence: a(n) = 25. ; 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 mov $0,25
01InputAndOutput/consoleIO.asm
chechiachang/assembly-intel-x86-nasm
0
16535
<filename>01InputAndOutput/consoleIO.asm section .data userMsg db 'Please enter a number: ' lenUserMsg equ $-userMsg dispMsg db 'You have entered: ' lenDispMsg equ $-dispMsg section .bss num resb 5 ;uninitialize data section .text global _start _start: ;user prompt mov eax,4 mov ebx,1 mov ecx,userMsg mov edx,...
oeis/142/A142673.asm
neoneye/loda-programs
11
19616
<reponame>neoneye/loda-programs<filename>oeis/142/A142673.asm<gh_stars>10-100 ; A142673: Primes congruent to 13 mod 57. ; Submitted by <NAME> ; 13,127,241,811,1039,1153,1381,1609,1723,1951,2179,2293,2521,2749,3319,3433,3547,3889,4003,4231,4801,5827,6397,6967,7309,7537,7879,7993,8221,8563,8677,9133,9817,9931,10159,10273...
src/implementation/yaml-text_set.adb
persan/AdaYaml
32
19439
<filename>src/implementation/yaml-text_set.adb -- part of AdaYaml, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "copying.txt" with Ada.Strings.Hash; with Ada.Unchecked_Deallocation; package body Yaml.Text_Set is use type Ada.Containers.Hash_Type; function Non_Zero_Hash (S : St...
KernelLand/Kernel/arch/x86_64/desctab.asm
thepowersgang/acess2
58
22091
<reponame>thepowersgang/acess2 ; ; ; %include "arch/x86_64/include/common.inc.asm" [BITS 64] [extern Log] [extern Log_Debug] [extern gGDTPtr] [extern gGDT] %define NUM_IRQ_CALLBACKS 4 MM_LOCALAPIC equ 0xFFFFFD0000000000 [section .text] [global Desctab_Init] Desctab_Init: ; Save to make following instructions smal...
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i7-7700_9_0x48.log_21829_1792.asm
ljhsiun2/medusa
9
80849
.global s_prepare_buffers s_prepare_buffers: push %r15 push %r9 push %rax push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0xfadb, %rsi lea addresses_normal_ht+0x7daf, %rdi nop nop nop and $16620, %r15 mov $88, %rcx rep movsb nop nop nop nop inc %rbx lea addresses_WC_ht+0x14d1f, %rsi lea addres...