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 |
|---|---|---|---|---|
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2351.asm | ljhsiun2/medusa | 9 | 169834 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x180bd, %r12
nop
nop
add $19283, %rbx
movups (%r12), %xmm2
vpextrq $0, %xmm2, %rsi
nop
nop
nop
add $44132, %rdi
lea addresses_D_ht+0xeb2d, %rsi
lea addresses_WC_ht+0x1578d, %rdi
nop
nop... |
kernel/src/asm/startup.asm | avdgrinten/windozz | 1 | 162230 | <filename>kernel/src/asm/startup.asm<gh_stars>1-10
; The Windozz Project
; Copyright (C) 2018-2019 by the Windozz authors.
bits 64
KSTACK equ 131072
section .startup
; kernel entry from boot loader
global _start
_start:
cld
; clear the BSS
extern bss
extern bssend
mov rdi, bss
... |
patches/patch.asm | mega65dev/rom-assembler | 0 | 20877 | <filename>patches/patch.asm<gh_stars>0
;[[system.macros]]
; ***************************************************************************************************************
; ***************************************************************************************************************
;
; Name: patch.asm
; ... |
ASM_x86/LinuxAPI_08_mkdir.asm | XlogicX/Learn | 43 | 167504 | ;Simple example of creating a directory with the mkdir API call. API calls found in this example program:
; mkdir, exit
; High level description of what theis example program does:
; Create a new directroy called 'newdir' using the mkdir API call
; exits gracefully with exit().
section .text
global _start
_start:
;... |
programs/oeis/339/A339825.asm | jmorken/loda | 1 | 102973 | <gh_stars>1-10
; A339825: Odd bisection of the infinite Fibonacci word A003849.
; 1,0,0,0,1,0,0,0,1,1,0,0,1,1,0,0,1,1,0,0,0,1,0,0,0,1,1,0,0,1,1,0,0,1,1,0,0,0,1,0,0,0,1,0,0,0,1,1,0,0,1,1,0,0,0,1,0,0,0,1,0,0,0,1,1,0,0,1,1,0,0,0,1,0,0,0,1,0,0,0,1,1,0,0,1,1
mul $0,2
cal $0,82389 ; a(n) = floor((n+2)*phi) - floor((n+1)*phi... |
tpantlr2-code/code/structures/Comment.g4 | cgonul/antlr-poc | 10 | 7391 | grammar Comment;
file : (ID {System.out.println($ID.text);})+ ;
ID : 'a'..'z'+ ;
LINE_COMMENT : '//' .*? '\r'? '\n' -> skip ;
COMMENT : '/*' .*? '*/' -> skip ;
WS : (' '|'\t'|'\n')+ -> skip ;
|
source/textio/a-wtedit.ads | ytomino/drake | 33 | 9461 | <filename>source/textio/a-wtedit.ads
pragma License (Unrestricted);
with Ada.Text_IO.Editing;
package Ada.Wide_Text_IO.Editing is
-- modified
-- type Picture is private;
subtype Picture is Text_IO.Editing.Picture;
function Valid (
Pic_String : String;
Blank_When_Zero : Boolean := False)
r... |
tools-src/gnu/gcc/gcc/ada/mdlltool.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 20910 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
UPC_Summerschool_2019/on_off_led.X/maincode.asm | tocache/picomones | 5 | 242209 | <filename>UPC_Summerschool_2019/on_off_led.X/maincode.asm
;UPC Summer School 2019
;Template written by Kalun
list p=18f4550 ;The microcontroller of the project
#include <p18f4550.inc> ;Library for the register's labels
CONFIG FOSC = XT_XT ; Oscillator Selection bits (XT oscillator (XT))
... |
theorems/cw/cohomology/ReconstructedFirstCohomologyGroup.agda | mikeshulman/HoTT-Agda | 0 | 13633 | {-# OPTIONS --without-K --rewriting #-}
open import HoTT
open import cohomology.ChainComplex
open import cohomology.Theory
open import groups.KernelImage
open import cw.CW
module cw.cohomology.ReconstructedFirstCohomologyGroup {i : ULevel} (OT : OrdinaryTheory i) where
open OrdinaryTheory OT
import cw.cohomology... |
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0.log_21829_699.asm | ljhsiun2/medusa | 9 | 15775 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r13
push %r14
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x631a, %rdi
clflush (%rdi)
nop
nop
and $52329, %rdx
movb $0x61, (%rdi)
nop
nop
dec %r11
lea addresses_UC_ht+0x11b5a, %r13
nop
nop
nop
inc %r14
vmovups (%r13), %ymm0... |
Transynther/x86/_processed/AVXALIGN/_st_sm_/i9-9900K_12_0xa0.log_21829_524.asm | ljhsiun2/medusa | 9 | 10727 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x6a15, %r9
nop
nop
nop
nop
nop
xor $29126, %r12
mov (%r9), %rax
nop
nop
nop
nop
nop
add %r13, %r13
lea addresses_WC_ht+0x171d5... |
programs/oeis/343/A343442.asm | neoneye/loda | 22 | 90887 | ; A343442: If n = Product (p_j^k_j) then a(n) = Product (p_j + 2), with a(1) = 1.
; 1,4,5,4,7,20,9,4,5,28,13,20,15,36,35,4,19,20,21,28,45,52,25,20,7,60,5,36,31,140,33,4,65,76,63,20,39,84,75,28,43,180,45,52,35,100,49,20,9,28,95,60,55,20,91,36,105,124,61,140,63,132,45,4,105,260,69,76,125,252
add $0,1
mov $1,1
mov $2,2
m... |
agda-stdlib-0.9/src/Relation/Binary/Flip.agda | qwe2/try-agda | 1 | 16064 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Many properties which hold for _∼_ also hold for flip _∼_
------------------------------------------------------------------------
open import Relation.Binary
module Relation.Binary.Flip where
open import Func... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c6/c64109g.ada | best08618/asylo | 7 | 30233 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c6/c64109g.ada
-- C64109G.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
-- unlimi... |
oeis/274/A274832.asm | neoneye/loda-programs | 11 | 168702 | <filename>oeis/274/A274832.asm
; A274832: Values of n such that 2*n+1 and 7*n+1 are both triangular numbers (A000217).
; Submitted by <NAME>
; 0,27,297,24570,267030,22064157,239792967,19813588740,215333817660,17792580624687,193369528466037,15977717587380510,173645621228683890,14347972600887073617,155933574493829667507,... |
Task/Doubly-linked-list-Element-definition/Ada/doubly-linked-list-element-definition-3.ada | LaudateCorpus1/RosettaCodeData | 1 | 30898 | type Link is limited record
Next : not null access Link := Link'Unchecked_Access;
Prev : not null access Link := Link'Unchecked_Access;
Data : Integer;
end record;
|
pastry.als | bolt12/alloy-pastry-dht | 0 | 4759 | <gh_stars>0
open util/ordering[Id] as I
open util/ordering[Time] as T
sig Time {} // Assinatura relacionada com o tempo
one sig Network {
connected : Node set -> set Time // Esta relação indica quais os Nodos conectados, num momento
}
abstract sig Id {
succ: one Id, // Sucessor de um certo Id no anel
ant: one Id ... |
tools-src/gnu/gcc/gcc/ada/gnatmake.ads | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 3998 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
text/item_names.asm | adhi-thirumala/EvoYellow | 0 | 171812 | ItemNames:
db "MASTER BALL@"
db "ULTRA BALL@"
db "GREAT BALL@"
db "POKé BALL@"
db "TOWN MAP@"
db "SADDLE@"
db "?????@"
db "SAFARI BALL@"
db "POKéDEX@"
db "MOON STONE@"
db "ANTIDOTE@"
db "BURN HEAL@"
db "ICE HEAL@"
db "AWAKENING@"
db "PARLYZ HEAL@"
db "FULL RESTORE@"
db "LEFTOVERS @"
db "HYPER POTION@"... |
programs/oeis/008/A008335.asm | neoneye/loda | 22 | 80874 | <filename>programs/oeis/008/A008335.asm
; A008335: Number of primes dividing p+1 as p runs through the primes.
; 1,1,2,1,2,2,2,2,2,3,1,2,3,2,2,2,3,2,2,2,2,2,3,3,2,3,2,2,3,3,1,3,3,3,3,2,2,2,3,3,3,3,2,2,3,2,2,2,3,3,3,3,2,3,3,3,3,2,2,3,2,3,3,3,2,3,2,2,3,3,3,3,2,3,3,2,4,2,3,3,4,2,2,3,3,3,3,2,4,2,3,3,2,3,2,3,4,3,2,2
seq $0... |
src/shaders/h264/mc/save_4x4_Y.asm | me176c-dev/android_hardware_intel-vaapi-driver | 192 | 92790 | /*
* Save Intra_4x4 decoded Y picture data to frame buffer
* Copyright © <2010>, Intel Corporation.
*
* 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 the Software without restriction, including
... |
data/moves/assist_exception_moves.asm | AtmaBuster/pokeplat-gen2 | 6 | 6898 | AssistExceptionMoves:
dw ASSIST
dw CHATTER
dw COPYCAT
dw COUNTER
dw COVET
dw DESTINY_BOND
dw DETECT
dw ENDURE
dw FEINT
dw FOCUS_PUNCH
dw FOLLOW_ME
dw HELPING_HAND
dw ME_FIRST
dw METRONOME
dw MIMIC
dw MIRROR_COAT
dw MIRROR_MOVE
dw PROTECT
dw SKETCH
dw SLEEP_TALK
dw SNATCH
dw STRUGGLE
dw SWITCHEROO... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_918.asm | ljhsiun2/medusa | 9 | 4059 | .global s_prepare_buffers
s_prepare_buffers:
push %rax
push %rbp
push %rcx
push %rdx
lea addresses_D_ht+0x18d73, %rdx
nop
nop
nop
nop
nop
xor %rax, %rax
vmovups (%rdx), %ymm6
vextracti128 $0, %ymm6, %xmm6
vpextrq $0, %xmm6, %rbp
nop
nop
nop
xor %rcx, %rcx
pop %rdx
pop %rcx
pop %rbp
pop %rax
ret
.global s_faulty_lo... |
programs/oeis/077/A077958.asm | neoneye/loda | 22 | 88900 | <gh_stars>10-100
; A077958: Expansion of 1/(1-2*x^3).
; 1,0,0,2,0,0,4,0,0,8,0,0,16,0,0,32,0,0,64,0,0,128,0,0,256,0,0,512,0,0,1024,0,0,2048,0,0,4096,0,0,8192,0,0,16384,0,0,32768,0,0,65536,0,0,131072,0,0,262144,0,0,524288,0,0,1048576,0,0,2097152,0,0,4194304,0,0,8388608,0,0,16777216,0,0,33554432,0,0,67108864,0,0,134217728... |
Lib/site-packages/wx-2.8-msw-unicode/wx/tools/Editra/tests/syntax/netwide_assembler.nasm | ekkipermana/robotframework-test | 27 | 3287 | ; Syntax Highlighting Test File for NASM
; Some Comments about this file
; Hello World in NASM
section .text
_start:
push dword len
push dword msg
push dword 1
mov eax, 0x4
call _syscall
add esp, 12
push dword 0
mov eax, 0x1
call _syscall
_syscall:
... |
platform-core/src/main/resources/DataModel.g4 | xj2jx/wecube-platform | 0 | 3786 | <filename>platform-core/src/main/resources/DataModel.g4
grammar DataModel;
route
: link fetch
| entity fetch
;
link
: entity by bwd_node
| fwd_node to entity
| link fetch to entity
| link by bwd_node
;
fetch
: DOT attr
;
to
: GT
;
by
: TILDE
;
fwd_node
: ent... |
programs/oeis/072/A072481.asm | neoneye/loda | 22 | 80447 | <reponame>neoneye/loda
; A072481: a(n) = Sum_{k=1..n} Sum_{d=1..k} (k mod d).
; 0,0,0,1,2,6,9,17,25,37,50,72,89,117,148,184,220,271,318,382,443,513,590,688,773,876,988,1113,1237,1388,1526,1693,1860,2044,2241,2459,2657,2890,3138,3407,3665,3962,4246,4571,4899,5238,5596,5999,6373,6787,7207,7656,8110,8615,9107,9636,10156,1... |
programs/oeis/131/A131506.asm | neoneye/loda | 22 | 1121 | <gh_stars>10-100
; A131506: 2n+1 appears 2n-1 times.
; 3,5,5,5,7,7,7,7,7,9,9,9,9,9,9,9,11,11,11,11,11,11,11,11,11,13,13,13,13,13,13,13,13,13,13,13,15,15,15,15,15,15,15,15,15,15,15,15,15,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,19,19,19,19,19,19,19,19,19,19,19
lpb $0
add $1,2
sub $0,$1
trn $0,1
lpe
div $1,2
m... |
release/src/router/gmp/source/mpn/powerpc64/logops_n.asm | zhoutao0712/rtn11pb1 | 184 | 28776 | dnl PowerPC-64 mpn_and_n, mpn_andn_n, mpn_nand_n, mpn_ior_n, mpn_iorn_n,
dnl mpn_nior_n, mpn_xor_n, mpn_xnor_n -- mpn bitwise logical operations.
dnl Copyright 2003, 2004, 2005 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl The GNU MP Library is free software; you can redistribu... |
core/lib/two-semi-categories/TwoSemiCategories.agda | AntoineAllioux/HoTT-Agda | 294 | 7611 | {-# OPTIONS --without-K --rewriting #-}
module lib.two-semi-categories.TwoSemiCategories where
open import lib.two-semi-categories.FunCategory public
open import lib.two-semi-categories.Functor public
open import lib.two-semi-categories.FunctorInverse public
open import lib.two-semi-categories.FundamentalCategory pub... |
examples/examplesPaperJFP/Coalgebra.agda | agda/ooAgda | 23 | 8504 | module examplesPaperJFP.Coalgebra where
open import Size
F : Set → Set
mapF : ∀{A B} (f : A → B) → (F A → F B)
--- Dummy implementation to satisfy Agda's positivity checker.
F X = X
mapF f x = f x
S : Set
t : S → F S
data S′ : Set where
S = S′
t x = x
record νF : Set where
coinductive
fie... |
src/mqtt_clients.adb | jpuente/Temperature_Sensor | 0 | 4896 |
with GNAT.Sockets.Server; use GNAT.Sockets.Server;
with Strings_Edit.Integers; use Strings_Edit.Integers;
pragma Warnings(Off);
with System.IO; -- for debugging
pragma Warnings(On);
package body MQTT_Clients is
-------------------------
-- On_Connect_Accepted --
------------------... |
oeis/060/A060946.asm | neoneye/loda-programs | 11 | 15772 | ; A060946: Trace of Vandermonde matrix of numbers 1,2,...,n, i.e., the matrix A with A[i,j] = i^(j-1), 1 <= i <= n, 1 <= j <= n.
; 1,3,12,76,701,8477,126126,2223278,45269999,1045269999,26982694600,769991065288,24068076187769,817782849441913,30010708874832538,1182932213481679514,49844124089148547995,22357556838278450799... |
programs/oeis/040/A040540.asm | jmorken/loda | 1 | 105001 | <reponame>jmorken/loda<gh_stars>1-10
; A040540: Continued fraction for sqrt(564).
; 23,1,2,1,46,1,2,1,46,1,2,1,46,1,2,1,46,1,2,1,46,1,2,1,46,1,2,1,46,1,2,1,46,1,2,1,46,1,2,1,46,1,2,1,46,1,2,1,46,1,2,1,46,1,2,1,46,1,2,1,46,1,2,1,46,1,2,1,46,1,2,1,46,1,2,1,46,1,2,1,46,1,2,1
mov $5,2
mov $8,$0
lpb $5
mov $0,$8
sub $5... |
Cubical/Algebra/CommMonoid.agda | FernandoLarrain/cubical | 1 | 13694 | <reponame>FernandoLarrain/cubical
{-# OPTIONS --safe #-}
module Cubical.Algebra.CommMonoid where
open import Cubical.Algebra.CommMonoid.Base public
open import Cubical.Algebra.CommMonoid.Properties public
|
programs/oeis/128/A128543.asm | neoneye/loda | 22 | 6758 | ; A128543: a(n) = floor(2^(n-2)*3*n).
; 1,6,18,48,120,288,672,1536,3456,7680,16896,36864,79872,172032,368640,786432,1671168,3538944,7471104,15728640,33030144,69206016,144703488,301989888,629145600,1308622848,2717908992,5637144576,11676942336,24159191040,49928994816,103079215104,212600881152,438086664192,901943132160,18... |
Examples/Recursive_Fibonacci.asm | Pyxxil/rust-lc3-as | 3 | 245227 | ;
; A program that recursively calaculates and outputs a given amount of fibonacci numbers
; (3 to 23 inclusively).
;
; --------------------------------------------------------------
; What each Register is used for in the three parts of the program
; -- Getting input
; -- Converting the current fibonacci... |
Transynther/x86/_processed/US/_st_/i7-8650U_0xd2.log_2_722.asm | ljhsiun2/medusa | 9 | 3776 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %r15
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x151f7, %rsi
lea addresses_UC_ht+0x184f7, %rdi
nop
nop
xor %r15, %r15
mov $118, %rcx
rep movsq
nop
nop
nop
nop
nop
sub %r11, %r11
lea addresses_WT_ht+0x1c4f7, %r14
nop
nop
nop... |
Multidimensional/NNat.agda | wrrnhttn/agda-cubical-multidimensional | 0 | 10858 | {-# OPTIONS --cubical #-}
open import Cubical.Core.Glue
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Univalence
open import Cubical.Foundations.Isomorphism
open import Cubical.Data.Nat
open import Cubical.Data.Empty
open import Cubical.Data.Unit
open imp... |
oeis/077/A077995.asm | neoneye/loda-programs | 11 | 162709 | ; A077995: Expansion of (1-x)/(1-2*x-2*x^2-x^3).
; Submitted by <NAME>
; 1,1,4,11,31,88,249,705,1996,5651,15999,45296,128241,363073,1027924,2910235,8239391,23327176,66043369,186980481,529374876,1498754083,4243238399,12013359840,34011950561,96293859201,272624979364,771849627691,2185243073311,6186810381368,17515956537049... |
math/cmp.asm | FolkertVanVerseveld/c64 | 1 | 241593 | // Assembler: KickAssembler 4.4
// source: http://www.6502.org/tutorials/compare_beyond.html
.var num1 = $60
.var num1l = $60
.var num1m = $61
.var num1h = $62
.var num2 = $63
.var num2l = $63
.var num2m = $64
.var num2h = $65
// branch if num1 <= num2
lda num1
cmp num2
bcc !label+
beq !label+
brk // num1 > num... |
agda/Number/Coercions.agda | mchristianl/synthetic-reals | 3 | 6372 | <reponame>mchristianl/synthetic-reals<gh_stars>1-10
{-# OPTIONS --cubical --no-import-sorts --allow-unsolved-metas #-}
module Number.Coercions where
open import Cubical.Foundations.Everything renaming (_⁻¹ to _⁻¹ᵖ; assoc to ∙-assoc)
open import Cubical.Relation.Nullary.Base -- ¬_
open import Cubical.Data.Unit.Base -... |
projects/batfish/src/main/antlr4/org/batfish/grammar/cisco/Cisco_crypto.g4 | jeffkala/batfish | 0 | 4691 | parser grammar Cisco_crypto;
import Cisco_common;
options {
tokenVocab = CiscoLexer;
}
cc_certificate_chain
:
CERTIFICATE CHAIN name = variable NEWLINE cccc_certificate*
;
cc_lookup
:
LOOKUP null_rest_of_line
;
cc_server
:
SERVER NEWLINE
(
ccs_null
)*
;
cc_trustpoint
:
TRUSTPOINT name =... |
tools-src/gnu/gcc/gcc/ada/output.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 23327 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
alloy4fun_models/trainstlt/models/7/Bij5wWJCHt7997Zqk.als | Kaixi26/org.alloytools.alloy | 0 | 1938 | open main
pred idBij5wWJCHt7997Zqk_prop8 {
always ( all t:Train | some t.pos.signal and t.pos.signal in Green implies t.pos' = t.pos )
}
pred __repair { idBij5wWJCHt7997Zqk_prop8 }
check __repair { idBij5wWJCHt7997Zqk_prop8 <=> prop8o } |
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0_notsx.log_21829_369.asm | ljhsiun2/medusa | 9 | 2527 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r8
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0xf663, %r11
nop
nop
nop
sub %rcx, %rcx
movw $0x6162, (%r11)
nop
nop
dec %r8
lea addresses_UC_ht+0x11ae3, %rax
clflush (%rax)
nop
nop
nop
nop
nop
and %rcx, %rcx
mov $0... |
app/hack/opcode.asm | USN484259/COFUOS | 1 | 25190 | <reponame>USN484259/COFUOS
[bits 64]
exit_process equ 0x0210
section .text
main:
cli
hlt
jmp main |
src/aco-utils-byte_order.ads | jonashaggstrom/ada-canopen | 6 | 22166 | with Interfaces;
package ACO.Utils.Byte_Order is
pragma Preelaborate;
use Interfaces;
type Octets is array (Natural range <>) of Unsigned_8;
type Octets_2 is array (0 .. 1) of Unsigned_8;
type Octets_4 is array (0 .. 3) of Unsigned_8;
type Octets_8 is array (0 .. 7) of Unsigned_8;
function ... |
example/psg_direct/psgdrv.asm | suzukiplan/fcs80 | 2 | 7306 | <gh_stars>1-10
; AY-3-8910 Sound Driver for Z80
; Copyright 2021, <NAME> (MIT License)
defc PSGDRV_RAM_HEAD = $C000 ; 使用するRAMの先頭アドレス(そのアドレスから 17バイト のワーク領域を使用する)
defc PSGDRV_SEQUENCE_POSITION = PSGDRV_RAM_HEAD + 0
defc PSGDRV_WAIT_COUNTER = PSGDRV_RAM_HEAD + 2
defc PSGDRV_VOL_DOWN_INTERVAL_CH0 = PSGDRV_RAM_HEAD + 3
d... |
oeis/000/A000253.asm | neoneye/loda-programs | 11 | 162747 | ; A000253: a(n) = 2*a(n-1) - a(n-2) + a(n-3) + 2^(n-1).
; Submitted by <NAME>
; 0,1,4,11,27,63,142,312,673,1432,3015,6295,13055,26926,55284,113081,230572,468883,951347,1926527,3894878,7863152,15855105,31936240,64269135,129234351,259690239,521524126,1046810092,2100221753,4212028452,8444387067,16924451083,33911510847,679... |
PIC16/assy/eeprom.asm | Classrooms/Microcontrollers | 1 | 87326 | <reponame>Classrooms/Microcontrollers<filename>PIC16/assy/eeprom.asm
; *******************************************************************
; Lesson 13 - EEPROM
;
; This lesson will provide code for writing and reading a single byte onto
; the on-board EEPROM. EEPROM is non-volatile memory, meaning that it does
; not lo... |
oeis/010/A010802.asm | neoneye/loda-programs | 11 | 22286 | ; A010802: 14th powers: a(n) = n^14.
; 0,1,16384,4782969,268435456,6103515625,78364164096,678223072849,4398046511104,22876792454961,100000000000000,379749833583241,1283918464548864,3937376385699289,11112006825558016,29192926025390625,72057594037927936,168377826559400929,374813367582081024,799006685782884121,16384000000... |
src/view/lse-view-callbacks.ads | mgrojo/lsystem-editor | 2 | 12581 | <filename>src/view/lse-view-callbacks.ads
-------------------------------------------------------------------------------
-- LSE -- L-System Editor
-- Author: Heziode
--
-- License:
-- MIT License
--
-- Copyright (c) 2018 <NAME> (Heziode) <<EMAIL>>
--
-- Permission is hereby granted, free of charge, to any person... |
oeis/006/A006579.asm | neoneye/loda-programs | 11 | 97768 | <reponame>neoneye/loda-programs
; A006579: Sum of gcd(n,k) for k = 1 to n-1.
; Submitted by <NAME>
; 0,1,2,4,4,9,6,12,12,17,10,28,12,25,30,32,16,45,18,52,44,41,22,76,40,49,54,76,28,105,30,80,72,65,82,132,36,73,86,140,40,153,42,124,144,89,46,192,84,145,114,148,52,189,134,204,128,113,58,300,60,121,210,192,160,249,66,196,... |
src/usb-device-midi.adb | JeremyGrosser/usb_embedded | 14 | 4179 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2018-2021, AdaCore --
-- --
-- ... |
testsuite/xml/TN-26/xml-sax-input_sources-streams-test_sockets.adb | svn2github/matreshka | 24 | 4617 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
src/init_project.adb | GLADORG/glad-cli | 0 | 3457 | with Ada.Text_IO;
with Ada.Directories;
with Ada.Command_Line;
with Templates_Parser;
with CLIC.TTY;
with Filesystem;
with Commands;
with Blueprint; use Blueprint;
package body Init_Project is
package IO renames Ada.Text_IO;
package TT renames CLIC.TTY;
use Ada.Directories;
Errors : Boolean := false;
Filt... |
agda-stdlib/src/Relation/Binary/Indexed/Homogeneous.agda | DreamLinuxer/popl21-artifact | 5 | 12751 | <gh_stars>1-10
------------------------------------------------------------------------
-- The Agda standard library
--
-- Homogeneously-indexed binary relations
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Relation.Binary.Indexed.Homogeneous where... |
arch/z80/src/ez80/ez80f92_loader.asm | eenurkka/incubator-nuttx | 1,006 | 247344 | ;**************************************************************************
; arch/z80/src/ez80/ez80f92_loader.asm
;
; Licensed to the Apache Software Foundation (ASF) under one or more
; contributor license agreements. See the NOTICE file distributed with
; this work for additional information regarding copyright own... |
src/hott/equivalence/biinvertible.agda | pcapriotti/agda-base | 20 | 1030 | <filename>src/hott/equivalence/biinvertible.agda
{-# OPTIONS --without-K #-}
module hott.equivalence.biinvertible where
open import sum
open import equality
open import function.core
open import function.isomorphism.core
open import function.isomorphism.utils
open import function.overloading
open import function.exten... |
oeis/229/A229144.asm | neoneye/loda-programs | 11 | 170706 | ; A229144: Partial sums of (Fibonacci numbers mod 3).
; 0,1,2,4,4,6,8,9,9,10,11,13,13,15,17,18,18,19,20,22,22,24,26,27,27,28,29,31,31,33,35,36,36,37,38,40,40,42,44,45,45,46,47,49,49,51,53,54,54,55,56,58,58,60,62,63,63,64,65,67,67,69,71,72,72,73,74,76,76,78,80,81,81,82,83,85,85,87,89
mov $3,$0
mov $4,$0
lpb $3
mov $0... |
embedded_programming/002.Blink.asm/hello.ftdi.44.blink.asm | aescariom/fabacademy2015 | 0 | 242909 | <gh_stars>0
;
; hello.ftdi.blink.44.asm
;
; Led + button -
; <NAME> - FabAcademy 2015
.include "tn44def.inc"
.equ led_pin = PA7; led pin is PA7
.equ button_pin = PA3;
.equ led_port = PORTA; comm port
.equ led_dir = DDRA; comm direction
; program is in lower part of memory
.cseg ; code segment init
.org 0 ; sets t... |
Task/Same-Fringe/Ada/same-fringe-2.ada | LaudateCorpus1/RosettaCodeData | 1 | 13615 | with Ada.Unchecked_Deallocation;
package body Bin_Trees is
function Empty(Tree: Tree_Type) return Boolean is
begin
return Tree = null;
end Empty;
function Empty return Tree_Type is
begin
return null;
end Empty;
function Left (Tree: Tree_Type) return Tree_Type is
begin
retur... |
tests/lua_examples/lua_macro_arg2.asm | fengjixuchui/sjasmplus | 220 | 103473 | ; test the new way of lua `_c`/`sj.calc` function to do the define/macro_arg
; substitution before the expression is evaluated, so using macro arguments
; inside lua script should be now trivial, no more workaround through DEFINE.
; this still shows extra options of `sj.insert_label`, which are not sho... |
src/int_handlers/serial.asm | pwk4m1/TinyBIOS | 23 | 240235 | ; BSD 3-Clause License
;
; Copyright (c) 2020, k4m1 <<EMAIL>>
; 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 source code must retain the above copyright notice,
; t... |
work/ff3_calcDamage.asm | ypyp-pprn-mnmn/ff3_hack | 4 | 16538 | <gh_stars>1-10
; ff3_calcDamage.asm
;
;description:
; replaces damage calculation function
;
;version:
; 0.01 (2007-08-22)
;======================================================================================================
ff3_calcDamage_begin:
INIT_PATCH $31,$bb44,$bbe2
calcDamage:
; $1c,1d = ((($2... |
xorg/server/module/x86/cpuid_x86.asm | MUzzell/xrdp | 1 | 22307 |
SECTION .text
%macro PROC 1
align 16
global %1
%1:
%endmacro
;int
;cpuid_x86(int eax_in, int ecx_in, int *eax, int *ebx, int *ecx, int *edx)
PROC cpuid_x86
; save registers
push ebx
push ecx
push edx
push edi
; cpuid
mov eax, [esp + 20]
mov ecx, [esp + 24]
cpuid
m... |
coverage/IN_CTS/0553-COVERAGE-ssa-updater-impl-h-439/work/variant/2_spirv_opt_asm/shader.frag.asm | asuonpaa/ShaderTests | 0 | 160232 | <gh_stars>0
; SPIR-V
; Version: 1.0
; Generator: Khronos Glslang Reference Front End; 10
; Bound: 247
; Schema: 0
OpCapability Shader
%1 = OpExtInstImport "GLSL.std.450"
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %4 "main" %35 %71
OpExecutio... |
wof/lcs/enemy/1F.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 100801 | copyright zengfr site:http://github.com/zengfr/romhack
003BDA rts [enemy+1F]
003BE6 beq $3c4e [enemy+1F]
003C4E move.w #$4, ($28,A0) [enemy+1F]
005404 bra $48ea [enemy+1F]
005470 bne $5486 [enemy+1F]
005574 move.b #$14, ($1f,A0) [enemy+24]
00557A rts [enemy+1F]
005598 move.b #$28, ($1f,A0) [enem... |
tests/020_LABELS_-_ALL_different_kind_of_jumps__including__near__parameter.asm | tpisto/pasm | 103 | 166695 | <filename>tests/020_LABELS_-_ALL_different_kind_of_jumps__including__near__parameter.asm<gh_stars>100-1000
; name: LABELS - ALL different kind of jumps, including "near" parameter!
; code: "70FE71FC72FA72F872F673F473F273F074EE74EC75EA75E876E676E477E277E078DE79DC7ADA7AD87BD67BD47CD27CD07DCE7DCC7ECA7EC87FC67FC4E3C2E9BFFF... |
test/Succeed/DotSubTermination.agda | shlevy/agda | 1,989 | 681 | -- Andreas, 2014-11-08
-- This used to be a failed test case, but works now.
open import Common.Prelude
postulate
some : Nat
data D : Nat → Set where
d₀ : D some
d₁ : D (suc some)
f : (n : Nat) → D n → Nat
f .some d₀ = zero
f .(suc some) d₁ = f some d₀
-- Since x < suc x for all x in the structural o... |
3-mid/opengl/source/platform/osmesa/private/thin/swig.ads | charlie5/lace | 20 | 21249 | <reponame>charlie5/lace<gh_stars>10-100
with
interfaces.C,
System;
package Swig
--
-- Contains Swig related C type definitions not found in the 'interfaces.C' family.
--
is
pragma Pure;
-- Elementary types.
--
subtype void is System.Address;
subtype void_ptr i... |
source/shell-commands-safe.ads | charlie5/aShell | 11 | 20821 | <filename>source/shell-commands-safe.ads
package Shell.Commands.Safe
--
-- Allows commands to be safely run in different tasks.
--
-- Requires the 'ashell_spawn_server' binary to be installed
-- in a folder on the users PATH (such as /usr/bin).
--
is
--- Run - Block until process completes.
--
procedure Run (... |
Agda/Gradual Security/static.agda | kellino/TypeSystems | 2 | 5872 | <gh_stars>1-10
module static where
open import Data.Nat using (ℕ; _+_; zero; suc)
open import Data.Fin using (Fin; toℕ; zero; suc)
open import Data.Vec using (lookup; _∷_; [])
open import Data.Bool using (Bool; true; false)
open import LSsyntax
open import Relation.Binary.PropositionalEquality -- using (_≡_; refl)
-... |
source/tasking/machine-w64-mingw32/s-syobab.adb | ytomino/drake | 33 | 14634 | with System.Tasks;
with System.Debug; -- assertions
with C.winbase;
with C.windef;
with C.winerror;
package body System.Synchronous_Objects.Abortable is
use type C.windef.DWORD;
-- queue
procedure Take (
Object : in out Queue;
Item : out Queue_Node_Access;
Params : Address;
Filter : ... |
bootdict/x86/memory.asm | ikysil/ikforth | 8 | 105419 | ;******************************************************************************
;
; memory.asm
; IKForth
;
; Unlicense since 1999 by <NAME>
;
;******************************************************************************
; Memory
;******************************************************************************
; 6... |
programs/oeis/171/A171418.asm | jmorken/loda | 1 | 919 | ; A171418: Expansion of (1+x)^4/(1-x).
; 1,5,11,15,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16
mov $4,4
lpb $0
sub $0,1
add $2,$4
add $4,1
trn $4,2
lpe
mo... |
cat.asm | chintu3536/xv6 | 0 | 99396 | <reponame>chintu3536/xv6<filename>cat.asm
_cat: file format elf32-i386
Disassembly of section .text:
00000000 <cat>:
char buf[512];
void
cat(int fd)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 ec 18 sub $0x18,%esp
int n;
while((n = read(... |
Syntax/Number.agda | Lolirofle/stuff-in-agda | 6 | 1033 | <filename>Syntax/Number.agda
module Syntax.Number where
import Lvl
open import Logic.Propositional
open import Numeral.Natural
open import Type
record Numeral {ℓ} (T : Type{ℓ}) : Typeω where
field
{restriction-ℓ} : Lvl.Level
restriction : ℕ → Type{restriction-ℓ}
num : (n : ℕ) → ⦃ _ : restriction(n)... |
test/Succeed/Issue3903.agda | shlevy/agda | 1,989 | 6923 | <reponame>shlevy/agda
open import Agda.Builtin.Unit
open import Agda.Builtin.Bool
open import Agda.Builtin.Nat
open import Agda.Builtin.Equality
open import Agda.Builtin.IO
open import Agda.Builtin.String
postulate
putStr : String → IO ⊤
{-# FOREIGN GHC import qualified Data.Text.IO #-}
{-# COMPILE GHC putStr = Da... |
audio/sfx/snare1_4.asm | adhi-thirumala/EvoYellow | 16 | 83082 | SFX_Snare1_4_Ch7: ; 841ec
unknownnoise0x20 0, 193, 51
endchannel
|
programs/oeis/262/A262376.asm | neoneye/loda | 22 | 93820 | ; A262376: a(n) = Sum_{k=0..n} (k! - k).
; 1,1,1,4,24,139,853,5886,46198,409069,4037859,43954648,522956236,6749977023,93928268209,1401602636194,22324392524178,378011820620161,6780385526348143,128425485935180124,2561327494111820104,53652269665821260083,1177652997443428940061,27029669736328405580038,647478071469567844940... |
oeis/019/A019526.asm | neoneye/loda-programs | 11 | 87733 | ; A019526: Poincaré series [or Poincare series] for depths of roots in a certain root system.
; Submitted by <NAME>(s3)
; 4,5,8,13,24,44,83,158,303,582,1120,2157,4156,8009,15436,29752,57347,110538,213067,410698,791644,1525941,2941344,5669621,10928544,21065444,40604947,78268550,150867479,290806414,560547384,1080489821,2... |
Practice/Assignments assembly class/20.asm | WardunIslam/CSE331L_Section_7_Summer_2020_NSU | 0 | 10963 | org 100h
L1: NOP
CNGSB: MOV BL, 0FFH
XOR BL, 080H
L2: HLT
ret
|
programs/oeis/165/A165864.asm | neoneye/loda | 22 | 14911 | ; A165864: Totally multiplicative sequence with a(p) = 43.
; 1,43,43,1849,43,1849,43,79507,1849,1849,43,79507,43,1849,1849,3418801,43,79507,43,79507,1849,1849,43,3418801,1849,1849,79507,79507,43,79507,43,147008443,1849,1849,1849,3418801,43,1849,1849,3418801,43,79507,43,79507,79507,1849,43,147008443,1849,79507,1849,7950... |
libsrc/graphics/undraw.asm | Toysoft/z88dk | 0 | 163768 | ;
; Z88 Graphics Functions - Small C+ stubs
;
; Written around the Interlogic Standard Library
;
; Stubs Written by <NAME> - 30/9/98
;
;
; $Id: undraw.asm,v 1.7 2016-04-13 21:09:09 dom Exp $
;
SECTION code_clib
PUBLIC undraw
PUBLIC _undraw
... |
agda-aplas14/Substitution.agda | ryanakca/strong-normalization | 32 | 1971 | module Substitution where
open import Library
open import Terms
-- VarTm n specifies whether the substitution produces variables or terms.
-- The index is used to impose an order on the constructors
-- and so pass termination checking in lift/subst.
data VarTm : ℕ → Set where
`Var : VarTm 0
`Tm : VarTm 1
max01... |
oeis/069/A069731.asm | neoneye/loda-programs | 11 | 3340 | ; A069731: Number of unicursal planar maps with n edges rooted at a vertex of odd valency (unicursal means that exactly two vertices are of odd valency; there is an Eulerian path).
; Submitted by <NAME>
; 1,5,28,168,1056,6864,45760,311168,2149888,15049216,106502144,760729600,5477253120,39710085120,289650032640,21241002... |
src/tools/dictord.adb | spr93/whitakers-words | 204 | 3145 | -- WORDS, a Latin dictionary, by <NAME> (USAF, Retired)
--
-- Copyright <NAME> (1936–2010)
--
-- This is a free program, which means it is proper to copy it and pass
-- it on to your friends. Consider it a developmental item for which
-- there is no charge. However, just for form, it is Copyrighted
-- (c). Permission i... |
programs/oeis/117/A117866.asm | karttu/loda | 0 | 97900 | <filename>programs/oeis/117/A117866.asm
; A117866: Number of palindromes (in base 7) below 7^n.
; 6,12,54,96,390,684,2742,4800,19206,33612,134454,235296,941190,1647084,6588342,11529600,46118406,80707212,322828854,564950496,2259801990,3954653484,15818613942,27682574400,110730297606,193778020812,775112083254,135644614569... |
programs/oeis/017/A017356.asm | neoneye/loda | 22 | 103880 | <reponame>neoneye/loda
; A017356: a(n) = (10*n+7)^4.
; 2401,83521,531441,1874161,4879681,10556001,20151121,35153041,57289761,88529281,131079601,187388721,260144641,352275361,466948881,607573201,777796321,981506241,1222830961,1506138481,1836036801,2217373921,2655237841,3154956561,3722098081,4362470401,5082121521,5887339... |
commands/apps/meetingbar/meetingbar-join-meeting.applescript | daviddzhou/script-commands | 3,305 | 3799 | #!/usr/bin/osascript
# Dependencies:
# MeetingBar: https://github.com/leits/MeetingBar
# Recommended installation:
# brew install --cask meetingbar
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Join Meeting
# @raycast.mode silent
# Optional parameters:
# @raycast.icon images/meetingbar.png
# @r... |
libsrc/target/rx78/graphics/plotpixl.asm | jpoikela/z88dk | 38 | 103121 | ;
; Plot pixel at (x,y) coordinate.
SECTION code_clib
PUBLIC plotpixel
defc NEEDplot = 1
.plotpixel
INCLUDE "pixel.asm"
|
programs/oeis/323/A323535.asm | karttu/loda | 1 | 703 | <filename>programs/oeis/323/A323535.asm<gh_stars>1-10
; A323535: a(n) = Product_{k=1..n} (binomial(k-1,7) + binomial(n-k,7)).
; 1,0,0,0,0,0,0,0,0,0,0,0,0,0
add $2,1
lpb $0,1
add $2,$2
sub $0,1
lpe
add $1,2
sub $1,$2
|
hrm/40_prime_factory.asm | glupmjoed/puzzles | 0 | 168920 | <reponame>glupmjoed/puzzles
-- HUMAN RESOURCE MACHINE PROGRAM --
-- primfac(in1), ... -> out
COPYFROM 24
COPYTO 20
COPYTO 0
BUMPUP 0
BUMPUP 0 -- a[0] = 2
COPYTO 1
BUMPUP 1 -- a[1] = 3
ADD 0
COPYTO 2 -- a[2] = 5
ADD 0
COPYTO 3 -- a[3] = ... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_54_440.asm | ljhsiun2/medusa | 9 | 25871 | <filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_54_440.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r15
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1eb8e, %rbx
nop
nop
nop
xor %r15, %r15
and $0xffffffffffffffc0, %rbx
vmovaps (%rbx), %ymm1
... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1133.asm | ljhsiun2/medusa | 9 | 96293 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1a074, %rsi
lea addresses_UC_ht+0xb7d4, %rdi
inc %r10
mov $90, %rcx
rep movsl
cmp %rdi, %rdi
lea addresses_WC_ht+0x4b4, %rax
nop
nop
nop
xor %r8, %r8
movb (%rax), %r13b
nop
a... |
Cubical/Homotopy/Group/Pi4S3/Summary.agda | xekoukou/cubical | 0 | 15874 | {-
This file contains a summary of the proof that π₄(S³) ≡ ℤ/2ℤ
The --experimental-lossy-unification flag is used to speed up type checking.
The file still type checks without it, but it's a lot slower (about 10 times).
-}
{-# OPTIONS --safe --experimental-lossy-unification #-}
module Cubical.Homotopy.Group.Pi4S3.Su... |
test/asm/shift-negative.asm | ISSOtm/rgbds-deb | 0 | 28239 | m: MACRO
shift -3
ENDM
m
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.