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
Task/Morse-code/Ada/morse-code-2.ada
LaudateCorpus1/RosettaCodeData
1
29651
with Ada.Strings.Maps, Ada.Characters.Handling, Interfaces.C; use Ada, Ada.Strings, Ada.Strings.Maps, Interfaces; package body Morse is Dit, Dah, Lettergap, Wordgap : Duration; -- in seconds Dit_ms, Dah_ms : C.unsigned; -- durations expressed in ms Freq : constant C.unsigned := 1280; -- in Herz Morse_Se...
Take Home Test/Kamal_Faheem_Code/Kamal_Faheem_2.72.asm
FaheemAKamal/CS342Projects
0
87613
.data i: .word 100 k: .word 100 save: .word 0-100 .text lw $s3, i lw $s5, k la $s6, save Loop: sll $t1, $s3, 2 add $t1, $t1, $s6 lw $t0, 0($t1) bne $t0, $s5, Exit addi $s3, $s3, 1 j Loop Exit:
programs/oeis/103/A103623.asm
karttu/loda
0
162206
; A103623: n^9 + n^8 + n^7 + n^6 + n^5 + n^4 + n^3 + n^2 + n + 1. ; 1,10,1023,29524,349525,2441406,12093235,47079208,153391689,435848050,1111111111,2593742460,5628851293,11488207654,22250358075,41189313616,73300775185,125999618778,210027483919,340614792100,538947368421,833994048910,1264758228163 mov $2,$0 mov $3,10 lp...
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/a-stwiun.adb
JCGobbi/Nucleo-STM32G474RE
0
7534
<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
programs/oeis/039/A039825.asm
neoneye/loda
22
179006
<filename>programs/oeis/039/A039825.asm ; A039825: a(n) = floor((n^2 + n + 8) / 4). ; 2,3,5,7,9,12,16,20,24,29,35,41,47,54,62,70,78,87,97,107,117,128,140,152,164,177,191,205,219,234,250,266,282,299,317,335,353,372,392,412,432,453,475,497,519,542,566,590,614,639 add $0,2 bin $0,2 div $0,2 add $0,2
data/inc/page_00_inc.asm
alttpo/go65c816
6
170068
<reponame>alttpo/go65c816 ; page_00.asm ; Direct Page Addresses ; ;* Addresses are the byte AFTER the block. Use this to confirm block locations and check for overlaps BANK0_BEGIN = $000000 ;Start of bank 0 and Direct page TMPPTR1 = $000000 ; 4 byte temporary pointer TMPPTR2 = $000004 ; 4 byte te...
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xca_notsx.log_21829_1435.asm
ljhsiun2/medusa
9
14140
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r15 push %r8 push %r9 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0x17e36, %rsi lea addresses_D_ht+0x84ae, %rdi nop nop nop nop nop add $20287, %r15 mov $88, %rcx rep movsw nop nop dec %rax lea addresses_A_ht+0x8b3e, %rax no...
agda-stdlib/src/Text/Tabular/Vec.agda
DreamLinuxer/popl21-artifact
5
14882
------------------------------------------------------------------------ -- The Agda standard library -- -- Fancy display functions for Vec-based tables ------------------------------------------------------------------------ {-# OPTIONS --safe --without-K #-} module Text.Tabular.Vec where open import Data.List.Base...
PrimeTime.ada
SmashedSquirrel/AdaPrimes
0
9561
with Interface_Pkg; procedure Main_Proc is begin Interface_Pkg.Find_Prime; end Main_Proc;
Task/Maximum-triangle-path-sum/Ada/maximum-triangle-path-sum.ada
LaudateCorpus1/RosettaCodeData
1
2613
with Ada.Text_Io; use Ada.Text_Io; procedure Max_Sum is Triangle : array (Positive range <>) of integer := (55, 94, 48, 95, 30, 96, 77, 71, 26, 67, ...
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c87b23a.ada
best08618/asylo
7
12258
<reponame>best08618/asylo<gh_stars>1-10 -- C87B23A.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and docume...
programs/oeis/137/A137823.asm
neoneye/loda
22
242393
; A137823: Numbers occurring in A137822 : first differences of numbers n such that 3 | sum( Catalan(k), k=1..2n). ; 1,2,3,7,8,21,61,62,183,547,548,1641,4921,4922,14763,44287,44288,132861,398581,398582,1195743,3587227,3587228,10761681,32285041,32285042,96855123,290565367,290565368,871696101,2615088301,2615088302 mul $0...
evernote/notebook_create.applescript
kinshuk4/evernote-automation
4
1707
on run {notebook_name} run script (POSIX file "/Users/IceHe/Documents/AppleScript/Evernote/evernote_launch.applescript") tell application "Evernote" if not (notebook named notebook_name) exists then create notebook notebook_name return true end if return false end tell end run
src/x86/cdef16_sse.asm
EwoutH/rav1e
2,877
161154
; Copyright (c) 2017-2021, The rav1e contributors ; Copyright (c) 2021, <NAME> ; All rights reserved. ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions are met: ; ; 1. Redistributions of source code must retain the above copyright...
home/copy2.asm
Dev727/ancientplatinum
28
19319
CopyBytes:: ; copy bc bytes from hl to de inc b ; we bail the moment b hits 0, so include the last run inc c ; same thing; include last byte jr .HandleLoop .CopyByte: ld a, [hli] ld [de], a inc de .HandleLoop: dec c jr nz, .CopyByte dec b jr nz, .CopyByte ret SwapBytes:: ; swap bc bytes between hl and de .L...
legend-engine-language-pure-dsl-data-space/src/main/antlr4/org/finos/legend/engine/language/pure/grammar/from/antlr4/DataSpaceLexerGrammar.g4
AFine-gs/legend-engine
0
2403
<filename>legend-engine-language-pure-dsl-data-space/src/main/antlr4/org/finos/legend/engine/language/pure/grammar/from/antlr4/DataSpaceLexerGrammar.g4<gh_stars>0 lexer grammar DataSpaceLexerGrammar; import CoreLexerGrammar; // ------------------------------------ KEYWORD -------------------------------------- STER...
libsrc/_DEVELOPMENT/arch/sms/vdp/c/sdcc/sms_vdp_init.asm
jpoikela/z88dk
640
165984
; void sms_vdp_init(void *vdp_register_array) SECTION code_clib SECTION code_arch PUBLIC _sms_vdp_init EXTERN _sms_vdp_init_fastcall _sms_vdp_init: pop af pop hl push hl push af jp _sms_vdp_init_fastcall
out/PCF/Signature.agda
JoeyEremondi/agda-soas
39
13137
<gh_stars>10-100 {- This second-order signature was created from the following second-order syntax description: syntax PCF type N : 0-ary _↣_ : 2-ary | r30 B : 0-ary term app : α ↣ β α -> β | _$_ l20 lam : α.β -> α ↣ β | ƛ_ r10 tr : B fl : B ze : N su : N -> N pr : N -> N iz ...
hammerspoon/umount.applescript
marcusvb/dotfiles
4
3698
<reponame>marcusvb/dotfiles<filename>hammerspoon/umount.applescript tell application "Finder" try eject disk "fileshare" eject disk "media" end try end tell
linux/include/asm-generic/Kbuild.asm
bradchesney79/illacceptanything
55
9546
<filename>linux/include/asm-generic/Kbuild.asm include include/uapi/asm-generic/Kbuild.asm
Transynther/x86/_processed/US/_st_4k_sm_/i7-7700_9_0xca.log_21829_965.asm
ljhsiun2/medusa
9
240412
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r8 push %r9 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x385f, %r14 clflush (%r14) nop nop and %rbp, %rbp mov $0x6162636465666768, %rbx movq %rbx, (%r14) nop add %r8, %r8 lea addresses_WC_ht+0x7f1f, %rdx nop sub ...
asm_example/jump.asm
ChrisitianFotso/DLX
0
95072
<reponame>ChrisitianFotso/DLX<gh_stars>0 addi r1, r0, 6 # r1 = 6 addi r2, r0, 7 # r2 = 7 j fine add r3, r2, r1 nop subi r1, r0, 6 addi r2, r0, 7 sle r3,r1,r2 slt r4,r1,r2 fine: sub r3, r2, r1 # r3 = 1 nop nop nop nop nop nop nop nop
other.7z/SFC.7z/SFC/ソースデータ/srd13-SFCマリオコレクション/export/mario-z/linkp/mario_n2/mn_hp_smtitle.asm
prismotizm/gigaleak
0
82098
Name: mn_hp_smtitle.asm Type: file Size: 15698 Last-Modified: '1993-08-25T02:45:14Z' SHA-1: 861F7E5666C80824FC080AE4451C90EE1CD6770B Description: null
test/fail/Negative4.agda
asr/agda-kanso
1
13374
<reponame>asr/agda-kanso<gh_stars>1-10 module Negative4 where data Empty : Set where data NSPos : Set where c : ((NSPos -> Empty) -> NSPos) -> NSPos
src/agda/FRP/JS/Bool.agda
agda/agda-frp-js
63
6808
<gh_stars>10-100 module FRP.JS.Bool where open import FRP.JS.Primitive public using ( Bool ; true ; false ) not : Bool → Bool not true = false not false = true {-# COMPILED_JS not function(x) { return !x; } #-} _≟_ : Bool → Bool → Bool true ≟ b = b false ≟ b = not b {-# COMPILED_JS _≟_ function(x) { return funct...
TokenRegexIt.g4
linonetwo/token-regex
1
4265
grammar TokenRegexIt; refinement: '<' STRING '>'; tokenRegex: tokenRegexBlock tokenRegex | EOF; tokenRegexBlock: '#' STRING (refinement)? # posTag | STRING ':' tokenRegexBlock # namedCapture | '(' tokenRegex ')' # group | STRING # literal | tokenRegexBlock '|' tokenRegexBlock # or | tokenRegexBl...
oeis/256/A256281.asm
neoneye/loda-programs
11
97019
; A256281: Inverse Moebius transform of Pell numbers. ; Submitted by <NAME> ; 1,3,6,15,30,78,170,423,991,2410,5742,13950,33462,80954,195060,471255,1136690,2745273,6625110,15996850,38614140,93228102,225058682,543354078,1311738151,3166849426,7645371036,18457637018,44560482150,107578717860,259717522850,627014037303,151374...
public/wintab/wintabx/phnext.asm
DannyParker0001/Kisak-Strike
252
81310
<filename>public/wintab/wintabx/phnext.asm<gh_stars>100-1000 include xlibproc.inc include Wintab.inc PROC_TEMPLATE WTMgrPacketHookNext, 5, Wintab, -, 205
Code/CustomControl/SpreadSheet/SprShtDLL/SprMisc.asm
CherryDT/FbEditMOD
11
25469
<gh_stars>10-100 .code StrLen proc lpSrc:DWORD mov edx,lpSrc dec edx xor al,al @@: inc edx cmp al,[edx] jne @b mov eax,edx sub eax,lpSrc ret StrLen endp StrCpy proc uses esi edi,lpDst:DWORD,lpSrc:DWORD mov esi,lpSrc mov edi,lpDst @@: mov al,[esi] mov [edi],al i...
programs/oeis/177/A177176.asm
jmorken/loda
1
27614
<filename>programs/oeis/177/A177176.asm ; A177176: Partial sums of round(n^2/13). ; 0,0,0,1,2,4,7,11,16,22,30,39,50,63,78,95,115,137,162,190,221,255,292,333,377,425,477,533,593,658,727,801,880,964,1053,1147,1247,1352,1463,1580,1703,1832,1968,2110,2259,2415,2578,2748,2925,3110,3302,3502,3710,3926,4150,4383,4624,4874,513...
src/lesson04b/kernel8.asm
rohanrajnair/p1-kernel
11
12328
build/kernel8.elf: file format elf64-littleaarch64 Disassembly of section .text.boot: 0000000000080000 <_start>: .section ".text.boot" .globl _start _start: mrs x0, mpidr_el1 80000: d53800a0 mrs x0, mpidr_el1 and x0, x0,#0xFF // Check processor id 80004: 92401c00 and x0, x0, #0xff cbz x0, master...
graphics.adb
Sinbad-The-Sailor/Ada-Snake
0
2326
<filename>graphics.adb package body graphics is -------------------------------------------------------------------------------- procedure Transform_To_Graphical(X_Pos, Y_pos : in Integer; G_X, G_Y : out Integer) is begin G_X := X_Pos*Scaling_Factor + 40; G_Y := Y_Pos*Scaling_Factor + 10; end Transform_To...
src/main/antlr/GraphqlCommon.g4
salewski/graphql-java
0
1909
grammar GraphqlCommon; operationType : SUBSCRIPTION | MUTATION | QUERY; description : stringValue; enumValue : name ; arrayValue: '[' value* ']'; arrayValueWithVariable: '[' valueWithVariable* ']'; objectValue: '{' objectField* '}'; objectValueWithVariable: '{' objectFieldWithVariable* '}'; objectField : name ...
mergesort_v1.asm
kibiwotthenry/MergeSortInMIPS
0
171767
<filename>mergesort_v1.asm ######################################################################################### # # # Program: MERGESORT In MIPS Assembly # # Author: <NAME> # # # # # # # ################################################################...
Portfolio/3/old code/12_7_14/Assembly.g4
mattmckillip/SE319
0
2635
<filename>Portfolio/3/old code/12_7_14/Assembly.g4 grammar Assembly; // It is important to know the NAME of the grammar /*---------------- * PARSER RULES *----------------*/ start : (expr ';')+; expr : INSTRUCTION (REGISTER COMMA REGISTER COMMA REGISTER) | INSTRUCTION (REGISTER COMMA REGISTER) | INSTRUCTION (REGISTE...
Cubical/Foundations/Equiv/Base.agda
Edlyr/cubical
0
503
<gh_stars>0 {-# OPTIONS --cubical --no-import-sorts --safe #-} module Cubical.Foundations.Equiv.Base where open import Cubical.Foundations.Function open import Cubical.Foundations.Prelude open import Cubical.Core.Glue public using ( isEquiv ; equiv-proof ; _≃_ ; equivFun ; equivProof ) fiber : ∀ {ℓ ℓ'} {A : Type ℓ...
src/sys/init.asm
neri/osz
7
16447
<filename>src/sys/init.asm ;; ;; SYSINIT: Root Process for MEG-OS Zero ;; ;; Copyright (c) MEG-OS project ;; All rights reserved. ;; ;; Redistribution and use in source and binary forms, with or without modification, ;; are permitted provided that the following conditions are met: ;; ;; * Redistributions of so...
10/antlr_learning/example/data/Data.g4
SummerLife/building-my-computer
10
1289
grammar Data; file : group+ ; group: INT sequence[$INT.int] ; sequence[int n] locals [int i = 1] : ({$i<=$n}? INT {$i++;})* ; INT: [0-9]+ ; WS : [ \t\n\r]+ -> skip ;
basic68k.asm
mattuna15/merlin
9
105059
************************************************************************************* * * * Enhanced BASIC for the Motorola MC680xx * * * * This version is for Merlin FPGA Computer. * * <NAME> * * * **********************************************...
programs/oeis/152/A152456.asm
neoneye/loda
22
22950
<reponame>neoneye/loda<gh_stars>10-100 ; A152456: a(n)=1*(n+2)!-2*(n+1)!-3*n!. ; -3,-1,6,54,408,3240,28080,267120,2782080,31570560,388281600,5149267200,73287244800,1114636723200,18045906278400,309918825216000,5628230479872000,107773290713088000,2170404686241792000 mov $2,$0 add $0,1 mov $1,1 sub $2,1 lpb $0 sub $1,$...
src/core/spat-proof_attempt.ads
HeisenbugLtd/spat
20
14228
<reponame>HeisenbugLtd/spat ------------------------------------------------------------------------------ -- Copyright (C) 2020 by Heisenbug Ltd. (<EMAIL>) -- -- This work is free. You can redistribute it and/or modify it under the -- terms of the Do What The Fuck You Want To Public License, Version 2, -- as publi...
programs/oeis/189/A189450.asm
neoneye/loda
22
246048
<filename>programs/oeis/189/A189450.asm ; A189450: Number of 2 X n array permutations with each element moving zero or one space horizontally or diagonally. ; 1,5,16,61,225,841,3136,11705,43681,163021,608400,2270581,8473921,31625105,118026496,440480881,1643897025,6135107221,22896531856,85451020205,318907548961,11901791...
Vectors.agda
jmchapman/Relative-Monads
21
10984
record SemiRing : Set1 where field R : Set _+_ : R -> R -> R zero : R _*_ : R -> R -> R one : R module Vectors (S : SemiRing) where open SemiRing S open import Data.Nat renaming (ℕ to Nat; zero to z; _*_ to times; _+_ to plus) open import Data.Fin renaming (zero to z) hiding (_+_) ...
uw1/eop-toggleMouseLook.asm
JohnGlassmyer/UltimaHacks
68
15671
%ifndef EXE_LENGTH %include "../UltimaPatcher.asm" %include "include/uw1.asm" %include "include/uw1-eop.asm" %endif [bits 16] startPatch EXE_LENGTH, \ expanded overlay procedure: toggleMouseLook startBlockAt addr_eop_toggleMouseLook push bp mov bp, sp ; bp-based stack frame: %assign ____callerIp ...
tier-1/fann/source/thin/fann_c-fann_layer.ads
charlie5/cBound
2
12381
-- This file is generated by SWIG. Please do *not* modify by hand. -- with fann_c.fann_neuron; with interfaces.C; package fann_c.fann_layer is -- Item -- type Item is record first_neuron : access fann_c.fann_neuron.Item; last_neuron : access fann_c.fann_neuron.Item; end record...
lab3/assignment_3.asm
0000Blaze/Microprocess
0
13930
# ORG 9024 # DB A2 # ORG 9025 # DB 79 # ORG 8000 LXI H,9024 MOV A,M MVI L,25 ORA M MVI L,26 MOV M,A HLT
antlr-grammars/clingo/ClingoParser.g4
DomenicoIngrati/EmbASP
1
2495
parser grammar ClingoParser; options {tokenVocab=ClingoLexer;} answer_set : START model; model : predicate_atom* NEW_LINE; output : answer_set*; predicate_atom: IDENTIFIER (TERMS_BEGIN term (COMMA term)* TERMS_END)?; term : IDENTIFIER | INTEGER_CONSTANT | predicate_atom | STRING_CONSTANT;
libsrc/_DEVELOPMENT/input/ep/z80/asm_in_key_pressed.asm
jpoikela/z88dk
640
87756
<gh_stars>100-1000 ; =============================================================== ; Aug 2015 ; =============================================================== ; ; int in_key_pressed(uint16_t scancode) ; ; Using the scancode to identify a key, quickly determine ; if the key is one of those currently pressed. ; ; ==...
programs/oeis/101/A101869.asm
jmorken/loda
1
241063
; A101869: Row 2 of A101866. ; 10,20,26,36,46,52,62,68,78,88,94,104,114,120,130,136,146,156,162,172,178,188,198,204,214,224,230,240,246,256,266,272,282,292,298,308,314,324,334,340,350,356,366,376,382,392,402,408,418,424,434,444,450,460,466,476,486 mov $3,$0 mov $7,$0 add $7,1 lpb $7 mov $0,$3 sub $7,1 sub $0,$7 ...
libsrc/video/mc6845/asm_set_cursor_state.asm
Frodevan/z88dk
640
7214
<reponame>Frodevan/z88dk SECTION code_clib PUBLIC asm_set_cursor_state INCLUDE "mc6845.inc" ; Set the state of the hardware cursor ; ; Entry: l = cursor state: ; 0x00 = always on ; 0x20 = off ; 0x40 = fast blink ; 0x60 = slow blink ; l = lower 5 bits = first cursor row ; h = cursor end r...
source/amf/mof/amf-generic_collections.adb
svn2github/matreshka
24
3021
<filename>source/amf/mof/amf-generic_collections.adb<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
drivers/drivers-si7006.adb
ekoeppen/MSP430_Generic_Ada_Drivers
1
24113
<gh_stars>1-10 with STM32GD.I2C; with STM32_SVD; use STM32_SVD; package body Drivers.Si7006 is Measurement : STM32GD.I2C.I2C_Data (0 .. 2); function Temperature_x100 return Temperature_Type is begin if I2C.Master_Transmit (16#40#, 16#E3#, True) and then I2C.Master_Receive (16#40#, Measurement) ...
term3/Programmirovanie/lab6.asm
japanese-goblinn/labs
0
167598
<reponame>japanese-goblinn/labs<filename>term3/Programmirovanie/lab6.asm<gh_stars>0 ;Перекрыть девятую функцию прерывания 21h таким образом, чтобы в выводимой строке маленькие буквы заменялись большими, ; а большие на маленькие. CSEG segment assume cs:CSEG, ds:CSEG, es:CSEG, ss:CSEG org 80h cmdLength db ? ;cmd line...
ada/euler22.adb
procrastiraptor/euler
1
28131
with Ada.Containers.Generic_Array_Sort; with Ada.Integer_Text_IO; with Ada.Text_IO; with Words; procedure Euler22 is function "<"(L, R: Words.String_Ptr) return Boolean is (L.all < R.all); procedure Sort is new Ada.Containers.Generic_Array_Sort( Index_Type => Positive, Element_Type => Words.String_P...
other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/kart/risc.lzh/risc/join/sound.asm
prismotizm/gigaleak
0
102832
Name: sound.asm Type: file Size: 506 Last-Modified: '1991-12-16T11:05:59Z' SHA-1: D34ABADC511C2153FBD2F27268CE5D063008E9BA Description: null
modules/setFirstRegister.asm
antuniooh/assembly-calculator
2
16864
<gh_stars>1-10 SETFIRST_REGISTER: MOV A, #50h ADD A, R0 MOV R0, A MOV A, @R0 MOV R5, A
untested/ARM/intToBase.asm
GabrielRavier/Generic-Assembly-Samples
0
173237
<reponame>GabrielRavier/Generic-Assembly-Samples code32 format ELF public _intToBase public _intToBase64 extrn __divmodsi4 section '.text' executable align 16 _intToBase: cmp r0, #0 beq .prnt0 push {r4, r5, r6, r7, r8, r9, r10, fp, lr} rsblt r0, #0 movlt r9, #1 movge r9, #0 asr r8, r2, #...
programs/oeis/156/A156773.asm
karttu/loda
1
162727
; A156773: a(n) = 6561*n^2 - 9558*n + 3482. ; 3482,485,10610,33857,70226,119717,182330,258065,346922,448901,564002,692225,833570,988037,1155626,1336337,1530170,1737125,1957202,2190401,2436722,2696165,2968730,3254417,3553226,3865157,4190210,4528385,4879682,5244101,5621642,6012305,6416090,6832997,7263026,7706177,8162450,...
programs/oeis/135/A135703.asm
karttu/loda
1
87462
<filename>programs/oeis/135/A135703.asm ; A135703: a(n) = n*(7*n-2). ; 0,5,24,57,104,165,240,329,432,549,680,825,984,1157,1344,1545,1760,1989,2232,2489,2760,3045,3344,3657,3984,4325,4680,5049,5432,5829,6240,6665,7104,7557,8024,8505,9000,9509,10032,10569,11120,11685,12264,12857,13464,14085,14720,15369,16032,16709,17400,...
ada/discovery/serial_io.adb
FrankBuss/Ada_Synth
4
12659
<reponame>FrankBuss/Ada_Synth with HAL; use HAL; with STM32; use STM32; with STM32.GPIO; use STM32.GPIO; with STM32.Device; use STM32.Device; package body Serial_IO is protected body Serial_Port_Controller is procedure Init (Baud_Rate : Baud_Rates) is Tx_Pin : cons...
programs/oeis/020/A020702.asm
neoneye/loda
22
160365
; A020702: Expansion of (1+x^10)/((1-x)*(1-x^2)*(1-x^3)*(1-x^5)). ; 1,1,2,3,4,6,8,10,13,16,21,25,31,37,44,53,62,72,84,96,111,126,143,161,181,203,226,251,278,306,338,370,405,442,481,523,567,613,662,713,768,824,884,946,1011,1080,1151,1225,1303,1383,1468,1555,1646 lpb $0 mov $2,$0 sub $0,2 seq $2,97920 ; G.f.: (1+x...
libsrc/_DEVELOPMENT/temp/sp1/zx/c/sccz80/sp1_AddColSpr_callee.asm
jpoikela/z88dk
640
175586
; uint __CALLEE__ sp1_AddColSpr_callee(struct sp1_ss *s, void *drawf, uchar type, int graphic, uchar plane) SECTION code_clib SECTION code_temp_sp1 PUBLIC sp1_AddColSpr_callee EXTERN asm_sp1_AddColSpr sp1_AddColSpr_callee: pop af pop hl ld h,l pop bc pop de ld l,e pop de pop ix push af ...
agda/Nat.agda
halfaya/MusicTools
28
1570
{-# OPTIONS --erased-cubical --safe #-} open import Data.Nat using (ℕ; zero; suc; _+_; _*_; _≤_ ; _>_; _<_; _≥_; z≤n; s≤s) open import Data.Sum using (_⊎_; inj₁; inj₂) open import Relation.Binary.PropositionalEquality using (_≡_; refl; cong) module Nat where -- Useful functions for natural numbers _-...
oeis/270/A270312.asm
neoneye/loda-programs
11
97562
<reponame>neoneye/loda-programs<filename>oeis/270/A270312.asm ; A270312: Numerator of Fibonacci(n)/n. ; Submitted by <NAME>(s2) ; 1,1,2,3,1,4,13,21,34,11,89,12,233,377,122,987,1597,1292,4181,1353,10946,17711,28657,1932,3001,121393,196418,317811,514229,83204,1346269,2178309,3524578,5702887,1845493,414732,24157817,390881...
README.agda
borszag/smallib
0
1505
<reponame>borszag/smallib module README where ---------------------------------------------------------------------- -- The Agda smallib library, version 0.1 ---------------------------------------------------------------------- -- -- This library implements a type theory which is described in the -- Appendix of the H...
programs/oeis/323/A323221.asm
neoneye/loda
22
170556
<filename>programs/oeis/323/A323221.asm ; A323221: a(n) = n*(n + 5)*(n + 7)/6 + 1. ; 1,9,22,41,67,101,144,197,261,337,426,529,647,781,932,1101,1289,1497,1726,1977,2251,2549,2872,3221,3597,4001,4434,4897,5391,5917,6476,7069,7697,8361,9062,9801,10579,11397,12256,13157,14101,15089,16122,17201,18327,19501 add $0,5 mov $2,...
tools-src/gnu/gcc/gcc/ada/mlib-tgt.adb
enfoTek/tomato.linksys.e2000.nvram-mod
80
5982
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
yasm-1.3.0/modules/objfmts/win64/tests/win64-imagebase.asm
xu5343/ffmpegtoolkit_CentOS7
2,151
2805
[section .text] handler: ret func: ret func_end: [section .pdata] dd func dd func_end dd myunwnd [section .xdata] myunwnd: db 9,0,0,0 dd handler [section .foo] dd handler wrt ..imagebase
nasmfunc.asm
zulinx86/haribote-os-on-mac
0
8837
; nasmfunc bits 32 global io_hlt, io_cli, io_sti, io_stihlt global io_in8, io_in16, io_in32 global io_out8, io_out16, io_out32 global io_load_eflags, io_store_eflags global load_cr0, store_cr0 global load_gdtr, load_idtr, load_tr global asm_inthandler20, asm_inthandler21, asm_inthandler2c extern inthandler20,...
src/tests/gvm.asm
nrichardsonphd/gvm
3
7727
<reponame>nrichardsonphd/gvm<filename>src/tests/gvm.asm LOAD 5 LOAD 8 ADD
oeis/135/A135151.asm
neoneye/loda-programs
11
16727
; A135151: A002260 + A128174 - I, I = Identity matrix. ; Submitted by <NAME> ; 1,1,2,2,2,3,1,3,3,4,2,2,4,4,5,1,3,3,5,5,6,2,2,4,4,6,6,7,1,3,3,5,5,7,7,8,2,2,4,4,6,6,8,8,9,1,3,3,5,5,7,7,9,9,10 lpb $0 add $1,$2 add $2,1 sub $0,$2 trn $1,$0 lpe mod $1,2 add $1,$0 mov $0,$1 add $0,1
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_605_1563.asm
ljhsiun2/medusa
9
162834
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0x13cc5, %rsi lea addresses_WT_ht+0x1d401, %rdi sub $23362, %r13 mov $89, %rcx rep movsq nop nop nop nop sub $65319, %r9 lea addresses_A_ht+0xb8c5, %r10 nop nop nop nop add %rb...
programs/oeis/003/A003463.asm
karttu/loda
1
175036
<reponame>karttu/loda<gh_stars>1-10 ; A003463: a(n) = (5^n - 1)/4. ; 0,1,6,31,156,781,3906,19531,97656,488281,2441406,12207031,61035156,305175781,1525878906,7629394531,38146972656,190734863281,953674316406,4768371582031,23841857910156,119209289550781,596046447753906,2980232238769531 mov $1,5 pow $1,$0 div $1,4
base/mvdm/wow16/kernel31/w32sys.asm
npocmaka/Windows-Server-2003
17
27822
TITLE w32sys - Win32S support .xlist include kernel.inc include tdb.inc .list DataBegin externW curTDB DataEnd sBegin CODE assumes CS,CODE assumes ds,nothing assumes es,nothing public GetW32SysInfo cProc GetW32SysInfo,<PUBLIC,FAR> cBegin nogen SetKernelDS ES mov d...
src/boot/boot.asm
TheRealJoe24/BrandOS-Legacy
2
84181
[bits 16] [org 0x7c00] boot: mov [DISK], dl mov ax, 0x3 int 0x10 ; setup stack mov bp, 0x9000 mov sp, bp ; load disk sectors mov bx, KERNEL_OFFSET mov dh, NUM_SECTORS mov dl, [DISK] call disk_load cli ; load gdt lgdt [gdt_descriptor] mov eax, cr0 or ...
src/gnat/mlib-utl.ads
My-Colaborations/dynamo
15
28330
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
agda/Cham/Molecule.agda
riz0id/chemical-abstract-machine
0
5780
<filename>agda/Cham/Molecule.agda {-# OPTIONS --without-K #-} module Cham.Molecule where open import Cham.Agent open import Cham.Context open import Cham.Label open import Cham.Name open import Data.List open import Data.Product using (_×_) data Molecule : Context → Set₁ where Reagent : ∀ {Γ} → Agent Γ → Molecule ...
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/英語_PAL/pal_asm/zel_dmap.asm
prismotizm/gigaleak
0
98711
Name: zel_dmap.asm Type: file Size: 90491 Last-Modified: '2016-05-13T04:25:37Z' SHA-1: 11D08261E131CCFBB5D9043914125CEF481F310F Description: null
source/containers/a-cnslli.adb
ytomino/drake
33
15326
with Ada.Containers.Linked_Lists; package body Ada.Containers.Naked_Singly_Linked_Lists is function Previous (Position : not null Node_Access) return Node_Access is begin return Position.Previous; end Previous; procedure Reverse_Iterate ( Last : Node_Access; Process : not null access pro...
src/clic-subcommand-instance.adb
reznikmm/clic
0
18915
<filename>src/clic-subcommand-instance.adb with Ada.Command_Line; with GNAT.Command_Line; use GNAT.Command_Line; with GNAT.OS_Lib; with GNAT.Strings; with Ada.Containers.Hashed_Maps; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Ada.Strings.Unbounded.Hash; with AAA.Table_IO; with AAA.Text_IO; package b...
asm/procedureTemplate.asm
IronHeart7334/AssemblyPrograms
0
99955
<reponame>IronHeart7334/AssemblyPrograms ; general comments ; This is a template for how to do procedures following the cdelc style ; preprocessor directives .586 .MODEL FLAT ; external files to link with ; stack configuration .STACK 4096 ; named memory allocation and initialization .DATA param1 DWORD 1d param2 D...
Graphs/Complement.agda
Smaug123/agdaproofs
4
7943
{-# OPTIONS --warning=error --safe --without-K #-} open import LogicalFormulae open import Agda.Primitive using (Level; lzero; lsuc; _⊔_) open import Functions.Definition open import Setoids.Setoids open import Setoids.Subset open import Graphs.Definition open import Sets.EquivalenceRelations module Graphs.Complement...
programs/oeis/067/A067461.asm
neoneye/loda
22
24596
; A067461: mu(prime(n)+1)+1. ; 0,1,2,1,1,2,1,1,1,0,1,2,0,1,1,1,1,2,1,1,2,1,1,1,1,0,1,1,0,0,1,1,0,1,1,1,2,1,1,0,1,0,1,2,1,1,1,1,1,0,1,1,1,1,0,1,1,1,2,0,1,1,1,1,2,0,1,1,1,1,0,1,1,0,1,1,2,2,0,0,1,2,1,0,1,1,1,2,2,1,1,1,1,1,1,1,2,1,1,2 seq $0,6005 ; The odd prime numbers together with 1. seq $0,8683 ; Möbius (or Moebius) f...
src/main/antlr/me/yzyzsun/jiro/parser/CoreErlang.g4
yzyzsun/truffle-erlang
11
7908
/* Adapted from the Core Erlang 1.0.3 language specification. Optional annotations are removed for simplicity. */ grammar CoreErlang; module : 'module' ATOM '[' (functionName (',' functionName)*)? ']' attributes functionDefinition* 'end' ; attributes : 'attributes' '[' (moduleAttribute (',' module...
programs/oeis/140/A140853.asm
neoneye/loda
22
80707
<reponame>neoneye/loda ; A140853: a(n) = prime(prime(n) - 1) - 1, where prime(n) is the n-th prime. ; 1,2,6,12,28,36,52,60,78,106,112,150,172,180,198,238,270,280,316,348,358,396,420,456,502,540,556,576,592,612,700,732,768,786,856,862,910,952,982,1020,1060,1068,1150,1162,1192,1212,1290,1398,1428,1438,1458,1492,1510,1582...
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0_notsx.log_21829_530.asm
ljhsiun2/medusa
9
82208
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r9 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_A_ht+0xed00, %rbp nop nop nop nop nop sub $24701, %r9 mov (%rbp), %r11 nop nop nop nop nop add $30703, %r14 lea addresses_WC_ht+0x8258, %rax nop sub %rcx, %...
archive/test/manual/etags/ada-src/2ataspri.adb
RyanMcCarl/.emacs.d
0
2095
------------------------------------------------------------------------------ -- -- -- GNU ADA RUNTIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
libsrc/strings/strrstrip.asm
grancier/z180
8
162864
<reponame>grancier/z180 ; CALLER linkage for function pointers SECTION code_clib PUBLIC strrstrip PUBLIC _strrstrip EXTERN strrstrip_callee EXTERN ASMDISP_STRRSTRIP_CALLEE .strrstrip ._strrstrip pop de pop bc pop hl push hl push bc push de jp strrstrip_callee + ASMDISP_STRRSTRIP_CALLEE
src/common/keccak-generic_keccakf-byte_lanes-twisted.adb
damaki/libkeccak
26
10713
<filename>src/common/keccak-generic_keccakf-byte_lanes-twisted.adb ------------------------------------------------------------------------------- -- Copyright (c) 2019, <NAME> -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided th...
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2_notsx.log_18_1642.asm
ljhsiun2/medusa
9
22196
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %r8 push %r9 push %rbx push %rdx push %rsi lea addresses_WT_ht+0x1ce96, %r13 add %rbx, %rbx movups (%r13), %xmm4 vpextrq $1, %xmm4, %r15 nop cmp $29464, %rsi lea addresses_A_ht+0xd67e, %rbx nop nop nop nop add $18769, %r15 mov (%rbx), %si xor $22358,...
programs/oeis/103/A103532.asm
neoneye/loda
22
2873
<reponame>neoneye/loda ; A103532: Number of divisors of 240^n. ; 1,20,81,208,425,756,1225,1856,2673,3700,4961,6480,8281,10388,12825,15616,18785,22356,26353,30800,35721,41140,47081,53568,60625,68276,76545,85456,95033,105300,116281,128000,140481,153748,167825,182736 mul $0,4 add $0,2 mov $2,$0 mov $3,$0 add $0,3 mul $2,...
src/Univalence-axiom/Isomorphism-is-equality/Monoid.agda
nad/equality
3
15833
------------------------------------------------------------------------ -- Isomorphism of monoids on sets coincides with equality (assuming -- univalence) ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} -- This module has been developed in collaboration wit...
test/fixtures/asm.asm
majacQ/retroputer
58
167964
<filename>test/fixtures/asm.asm .segment test-nop 0x02000 { nop {$00} brk {$3F} } # test-not-db-0.regs: CL=0xF0 # test-not-db-0.flags: N+ Z- .segment test-not-db-1 0x02000 { ld cl, 0x0F not cl brk } # test-not-db-1.regs: AL=0xF0 # test...
libsrc/_DEVELOPMENT/math/float/math32/lm32/z80/asm_fabsf.asm
jpoikela/z88dk
640
90327
<filename>libsrc/_DEVELOPMENT/math/float/math32/lm32/z80/asm_fabsf.asm ; float _fabsf (float number) __z88dk_fastcall SECTION code_clib SECTION code_fp_math32 PUBLIC asm_fabsf EXTERN m32_fabs_fastcall ; Takes the absolute value of a float ; ; enter : stack = ret ; DEHL = sccz80_float num...
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_13057_322.asm
ljhsiun2/medusa
9
20453
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r8 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1e814, %r13 nop nop nop nop nop and $25703, %rax movups (%r13), %xmm3 vpextrq $0, %xmm3, %r8 nop nop nop nop nop sub $48815, %rcx lea addresses_UC_ht+0x1eeb4, %rsi lea addresses_D_ht+0...
software/application/disktest.asm
JCLemme/eprisc
0
102737
<reponame>JCLemme/eprisc<filename>software/application/disktest.asm ; epRISC development platform - MBR and ext2 testing routines ; ; written by <NAME>, jclemme (at) proportionallabs (dot) com ; this file is part of the epRISC project, released under the epRISC license - see "license.txt" for details. ; ; Test routines...
tools/scitools/conf/understand/ada/ada83/sequential_io.ads
brucegua/moocos
1
8132
<filename>tools/scitools/conf/understand/ada/ada83/sequential_io.ads with IO_EXCEPTIONS; generic type ELEMENT_TYPE is private; package SEQUENTIAL_IO is type FILE_TYPE is limited private; type FILE_MODE is (IN_FILE, OUT_FILE); -- File management procedure CREATE(FILE : in out FILE_TYPE; ...
polynomial/clenshaw/factorial.adb
jscparker/math_packages
30
16129
<reponame>jscparker/math_packages ----------------------------------------------------------------------- -- package body Factorial. Use Stieltjes' continued fraction to get Log of N! -- Copyright (C) 2018 <NAME> -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without ...
oeis/032/A032441.asm
loda-lang/loda-programs
11
85979
; A032441: a(n) = Sum_{i=0..2} binomial(Fibonacci(n),i). ; Submitted by <NAME>(w1) ; 1,2,2,4,7,16,37,92,232,596,1541,4006,10441,27262,71254,186356,487579,1276004,3339821,8742472,22885996,59912932,156848617,410626154,1075018897,2814412826,7368190922,19290113572,50502074767,132215989336,346145696821,906220783316 seq $0,...
tests/missions-test_data-tests-mission_container.ads
thindil/steamsky
80
4636
<filename>tests/missions-test_data-tests-mission_container.ads<gh_stars>10-100 package Missions.Test_Data.Tests.Mission_Container is end Missions.Test_Data.Tests.Mission_Container;