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
brick.asm
mariahassan54/Super-Mario-Game-in-Assembly-Language
0
6098
.model medium, stdcall .stack .data brickBlack byte 00d ;black brickBrown byte 185d ; brown brickSkin byte 14d ;skin .code drawBrick proc x:word, y:word push AX push BX push CX push DX push SI push DI mov AX, @data mov DS, AX ...
experiments/test-suite/mutation-based/10/6/student.als
kaiyuanw/AlloyFLCore
1
1426
pred test27 { some disj List0: List {some disj Node0, Node1, Node2: Node {some disj True0: True {some disj False0: False {some disj True0, False0: Boolean { List = List0 header = List0->Node2 Node = Node0 + Node1 + Node2 link = Node0->Node0 + Node1->Node0 + Node2->Node1 elem = Node0->6 + Node1->-5 + Node2->-5 True = Tr...
Library/Kernel/Graphics/graphicsTransformSimple.asm
steakknife/pcgeos
504
247490
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: Kernel Library FILE: 28 March 1990 AUTHOR: <NAME>, 3/29/90 ROUTINES: Name Description ---- ----------- WSetNullTransform Reset window tra...
oeis/263/A263394.asm
neoneye/loda-programs
11
243086
; A263394: a(n) = Product_{i=1..n} (3^i - 2^i). ; Submitted by <NAME> ; 1,5,95,6175,1302925,866445125,1784010512375,11248186280524375,215638979183932793125,12512451767147700321078125,2190917791975795178520458609375,1155369543009475708416871245360859375,1832567448623162714866960405275465241328125 mov $2,1 mov $3,2 mov ...
oeis/295/A295718.asm
neoneye/loda-programs
11
16190
<filename>oeis/295/A295718.asm ; A295718: a(n) = a(n-1) + 3*a(n-2) -2*a(n-3) - 2*a(n-4), where a(0) = 1, a(1) = 3, a(2) = 4, a(3) = 5. ; Submitted by <NAME> ; 1,3,4,5,9,10,19,21,40,45,85,98,183,217,400,489,889,1122,2011,2621,4632,6229,10861,15042,25903,36849,62752,91409,154161,229186,383347,579765,963112,1477341,244045...
programs/oeis/179/A179060.asm
neoneye/loda
22
10887
; A179060: Number of non-attacking placements of 5 rooks on an n X n board. ; 0,0,0,0,120,4320,52920,376320,1905120,7620480,25613280,75271680,198764280,480960480,1082161080,2289530880,4594961280,8809274880,16225246080,28844881920,49689816120,83217546720,135870624120,216790801920,338735628000,519241008000,782079948000,1...
bin/itunes/add-to-library.applescript
preaction/Curator
1
2178
<filename>bin/itunes/add-to-library.applescript #!/usr/bin/osascript on run arguments repeat with filename in arguments set filealias to POSIX file filename tell application "TV" add filealias to library playlist 1 end tell end repeat end run
examples/simple_consumer.adb
Latence-Technologies/Kafka-Ada
0
12010
with Ada.Text_IO; with GNAT.Sockets; with Interfaces; with Interfaces.C; with Kafka; with Kafka.Config; with Kafka.Consumer; with Kafka.Message; with Kafka.Topic; with Kafka.Topic.Partition; with Signal; with System; -- -- Basic Kafka consumer -- procedure Simple_Consumer is use type System.Address; use type I...
gfx/pokemon/aron/anim.asm
Ebernacher90/pokecrystal-allworld
0
174447
frame 0, 04 frame 1, 08 frame 2, 14 setrepeat 2 frame 3, 06 frame 2, 06 dorepeat 4 endanim
src/dw1000-register_driver.ads
SALLYPEMDAS/DW1000
9
13425
------------------------------------------------------------------------------- -- Copyright (c) 2016 <NAME> -- -- Permission is hereby granted, free of charge, to any person obtaining a -- copy of this software and associated documentation files (the "Software"), -- to deal in the Software without restriction, inc...
src/8088/include/ipc.asm
vossi1/cbm2-pc-emulator-v9958
0
90776
<reponame>vossi1/cbm2-pc-emulator-v9958 IPCData equ 000Ah ; Offset of the data trasfer area (16 bytes) Screen_Segment equ 0B000h %macro IPC_Call 1 pushf cli mov cl, %1 call IPC popf %endmacro %macro IPC_Enter 0 push cx push ds call IPC_GetSeg %endmacro %macro IPC_Leave 0 pop ...
Asm/4.8.asm
cquca/csco_book_codes
3
93363
.data align 2 jumptable: .word main, casel, case2, case3 prompt:.asciiz"\n\n Input a value from 1 to 3:" .text main: li $s0,32 li $vo, 4 la $a0, prompt syscall li $v0,5 syscall blez $v0 ,main li $t3, 3 bgt $v0,$t3,main la $a1, jumptable#装载査找表基地址 sll $t0 ,$v0,2#计算偏移 add $t1,$a1,$t0#计算跳转指令地址存放地址 lw $t2,0($t1)...
src/skill-types-iterators.ads
skill-lang/adaCommon
0
8576
<reponame>skill-lang/adaCommon -- ___ _ ___ _ _ -- -- / __| |/ (_) | | Common SKilL implementation -- -- \__ \ ' <| | | |__ Iterators for SKilL API -- -- |___/_|\_\_|_|____| by: <NAME> ...
alloy4fun_models/trashltl/models/4/YackNJje8N55ZNTWy.als
Kaixi26/org.alloytools.alloy
0
5326
<gh_stars>0 open main pred idYackNJje8N55ZNTWy_prop5 { some f: File | f not in Trash implies after f in Trash } pred __repair { idYackNJje8N55ZNTWy_prop5 } check __repair { idYackNJje8N55ZNTWy_prop5 <=> prop5o }
Asm4Kids/40planetdestroyer.asm
jacmoe/c64adventures
17
105549
;**************************************** ;* * ;* Planet destroyer * ;* * ;* * ;**************************************** ; 10 SYS (49152) *=$0801 BYTE $0E, $08, $0A...
oeis/302/A302393.asm
neoneye/loda-programs
11
21283
; A302393: Number of even parts in the partitions of 3n into 3 parts. ; Submitted by <NAME>(s1) ; 0,5,8,18,24,41,50,72,84,113,128,162,180,221,242,288,312,365,392,450,480,545,578,648,684,761,800,882,924,1013,1058,1152,1200,1301,1352,1458,1512,1625,1682,1800,1860,1985,2048,2178,2244,2381,2450,2592,2664,2813 mul $0,3 mov...
taskLog.applescript
esturcke/tictoc-dayone
0
3822
<filename>taskLog.applescript on run argv set theResult to "| Time | Task | | -----: | ----- | " set theEarliest to date (item 1 of argv) set theLatest to theEarliest + 1 * days tell application "Tictoc" set theTotal to 0 set theTaskList to properties of every task repeat with theTask in tasks set ...
gcc-gcc-7_3_0-release/gcc/ada/sfn_scan.adb
best08618/asylo
7
25054
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
library/logging/logLevel.applescript
NYHTC/applescript-fm-helper
1
3261
-- logLEVEL(level, someMsg) -- <NAME> http://www.danshockley.com -- Wrapper for logConsole. Appends X's to ScriptName - more X's is more important (lower 'level' number). Lower number level means more important (scale 1 to 5, for now). Reason: can search Console Log for ScriptName_XXXXX to get only most important. (...
alloy4fun_models/trashltl/models/7/6Cg9xeYimBMMSDMG2.als
Kaixi26/org.alloytools.alloy
0
3587
<filename>alloy4fun_models/trashltl/models/7/6Cg9xeYimBMMSDMG2.als open main pred id6Cg9xeYimBMMSDMG2_prop8 { (all f:File| some f.link implies eventually f.link in Trash) } pred __repair { id6Cg9xeYimBMMSDMG2_prop8 } check __repair { id6Cg9xeYimBMMSDMG2_prop8 <=> prop8o }
libsrc/_DEVELOPMENT/z80/z80/asm_z80_pop_ei.asm
dikdom/z88dk
1
164924
<gh_stars>1-10 ; =============================================================== ; <NAME> ; =============================================================== ; ; void z80_pop_ei(void) ; ; Pop the ei_di_status from the stack and restore the di/ei ; state to what it was previously when a push was called. ; ; The "ei" in t...
programs/oeis/081/A081632.asm
neoneye/loda
22
81735
; A081632: 2*3^n-(-1)^n. ; 1,7,17,55,161,487,1457,4375,13121,39367,118097,354295,1062881,3188647,9565937,28697815,86093441,258280327,774840977,2324522935,6973568801,20920706407,62762119217,188286357655,564859072961,1694577218887,5083731656657,15251194969975,45753584909921,137260754729767,411782264189297,123534679256789...
zlang-core/src/main/antlr4/net/smackem/zlang/lang/ZLang.g4
smackem/zlang
0
465
<reponame>smackem/zlang grammar ZLang; module : moduleDecl? globalDecl* EOF ; moduleDecl : Module Ident usesClause? LineBreak ; usesClause : Uses Ident (Comma Ident)* ; globalDecl : functionDecl | (bindingStmt LineBreak) | (varDeclStmt LineBreak) | typeDecl | LineBreak ...
programs/oeis/089/A089217.asm
neoneye/loda
22
82809
; A089217: n-2 is a prime of the form 4*k+3. ; 5,9,13,21,25,33,45,49,61,69,73,81,85,105,109,129,133,141,153,165,169,181,193,201,213,225,229,241,253,265,273,285,309,313,333,349,361,369,381,385,421,433,441,445,465,469,481,489,493,501,505,525,549,565,573 mov $1,2 mov $2,$0 pow $2,2 add $2,1 lpb $2 sub $2,1 mov $3,$1 ...
programs/oeis/016/A016845.asm
neoneye/loda
22
166931
; A016845: (4n+3)^9. ; 19683,40353607,2357947691,38443359375,322687697779,1801152661463,7625597484987,26439622160671,78815638671875,208728361158759,502592611936843,1119130473102767,2334165173090451,4605366583984375 mul $0,4 add $0,3 pow $0,9
programs/oeis/006/A006012.asm
neoneye/loda
22
23904
<gh_stars>10-100 ; A006012: a(0) = 1, a(1) = 2, a(n) = 4*a(n-1) - 2*a(n-2), n >= 2. ; 1,2,6,20,68,232,792,2704,9232,31520,107616,367424,1254464,4283008,14623104,49926400,170459392,581984768,1987020288,6784111616,23162405888,79081400320,270000789504,921840357376,3147359850496,10745758687232,36688315047936,12526174281728...
programs/oeis/079/A079719.asm
jmorken/loda
1
177893
<reponame>jmorken/loda<filename>programs/oeis/079/A079719.asm ; A079719: a(n) = n + floor[sum_k{k<n}a(k)/2] with a(0)=0. ; 0,1,2,4,7,12,19,29,45,68,103,156,235,353,531,797,1197,1796,2695,4044,6067,9101,13653,20480,30721,46083,69125,103689,155534,233302,349954,524932,787399,1181100,1771651,2657477,3986217,5979326,896899...
gcc-gcc-7_3_0-release/gcc/ada/g-comver.adb
best08618/asylo
7
28006
<reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/ada/g-comver.adb ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
S-F200VX_20180920_WithFactory/Factory_Funs.asm
xcwk/8-Pads-WiFi-Fat-Scale
1
10811
<gh_stars>1-10 ;================================================== ;==== Factory_Funs.ASM ;================================================== Factory_Mark_ADDR_H EQU 010H Factory_Mark_ADDR_L EQU 011H Factory_Mark_Value_H EQU 0A5H Factory_Mark_Value_L EQU 05AH F_Factory_Chk_Mark: ; MOVLW Facto...
programs/oeis/060/A060265.asm
karttu/loda
0
244007
<gh_stars>0 ; A060265: Largest prime less than 2n. ; 3,5,7,7,11,13,13,17,19,19,23,23,23,29,31,31,31,37,37,41,43,43,47,47,47,53,53,53,59,61,61,61,67,67,71,73,73,73,79,79,83,83,83,89,89,89,89,97,97,101,103,103,107,109,109,113,113,113,113,113,113,113,127,127,131,131,131,137,139,139,139,139,139,149,151,151,151,157,157,157,...
src/dnscatcher/dns/client/dnscatcher-dns-client.ads
DNSCatcher/DNSCatcher
4
14268
-- Copyright 2019 <NAME> <<EMAIL>> -- -- 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 without limitation the -- rights to use, copy, modify, merge, publish, ...
libsrc/stdio/sos/fputc_cons.asm
jpoikela/z88dk
640
94803
; ; S-OS (The Sentinel) Japanese OS - Stdio ; ; (HL)=char to display ; ;---------------------------------------------------------------- ; ; $Id: fputc_cons.asm,v 1.4 2016-05-15 20:15:46 dom Exp $ ; ;---------------------------------------------------------------- ; SECTION code_clib PUBLIC fputc_cons_native .fputc...
src/Impure/LFRef/Properties/Soundness.agda
metaborg/ts.agda
0
10055
<reponame>metaborg/ts.agda module Impure.LFRef.Properties.Soundness where open import Data.Nat open import Data.Sum open import Data.Product as Pr open import Data.List as List hiding (monad) open import Data.Fin using (fromℕ≤; Fin) open import Data.Vec hiding (_∷ʳ_; _>>=_) open import Data.Star hiding (_>>=_) open im...
source/web/soap/web_services-soap-constants.ads
svn2github/matreshka
24
19118
<filename>source/web/soap/web_services-soap-constants.ads ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
src/LibraBFT/Impl/Consensus/SafetyRules/SafetyRulesManager.agda
LaudateCorpus1/bft-consensus-agda
0
15349
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9. Copyright (c) 2021, Oracle and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl -} -----------------------------------------------------------------------------...
alloy4fun_models/trainstlt/models/1/uogwjypYRrzTSe4eb.als
Kaixi26/org.alloytools.alloy
0
2044
<reponame>Kaixi26/org.alloytools.alloy open main pred iduogwjypYRrzTSe4eb_prop2 { eventually some Green } pred __repair { iduogwjypYRrzTSe4eb_prop2 } check __repair { iduogwjypYRrzTSe4eb_prop2 <=> prop2o }
libsrc/input/rx78/in_keytranstbl.asm
jpoikela/z88dk
640
171166
<gh_stars>100-1000 ; This table translates key presses into ascii codes. ; Also used by 'GetKey' and 'LookupKey'. An effort has been made for ; this key translation table to emulate a PC keyboard with the 'CTRL' key SECTION rodata_clib PUBLIC in_keytranstbl .in_keytranstbl ; Each table 72 bytes ;Unshifted defb '...
pwnlib/shellcraft/templates/amd64/linux/setregid.asm
IMULMUL/python3-pwntools
325
247633
<filename>pwnlib/shellcraft/templates/amd64/linux/setregid.asm <% from pwnlib.shellcraft import amd64 %> <%page args="gid='egid'"/> <%docstring> Args: [gid (imm/reg) = egid] Sets the real and effective group id. </%docstring> % if gid == 'egid': /* getegid */ ${amd64.linux.syscall('SYS_getegid')} ${am...
oeis/284/A284150.asm
neoneye/loda-programs
11
25514
; A284150: Sum_{d|n, d==1 or 4 mod 5} d. ; Submitted by <NAME> ; 1,1,1,5,1,7,1,5,10,1,12,11,1,15,1,21,1,16,20,5,22,12,1,35,1,27,10,19,30,7,32,21,12,35,1,56,1,20,40,5,42,42,1,60,10,47,1,51,50,1,52,31,1,70,12,75,20,30,60,11,62,32,31,85,1,84,1,39,70,15,72,80,1,75,1,100,12,72,80,21,91,42,1,130,1,87,30,60,90,16,92,51,32,95,...
generated/natools-static_maps-s_expressions-templates-dates-cmds.adb
faelys/natools
0
3396
<reponame>faelys/natools<filename>generated/natools-static_maps-s_expressions-templates-dates-cmds.adb with Interfaces; use Interfaces; package body Natools.Static_Maps.S_Expressions.Templates.Dates.Cmds is P : constant array (0 .. 5) of Natural := (1, 2, 5, 11, 12, 15); T1 : constant array (0 .. 5) of Un...
applescript/aria2.applescript
lasyard/coding
0
1846
<reponame>lasyard/coding<filename>applescript/aria2.applescript do shell script "/usr/bin/caffeinate /usr/local/bin/aria2c --enable-rpc --rpc-listen-all &> /dev/null &" do shell script "cd ${HOME}/bin/webui-aria2; /usr/local/bin/node node-server.js &> /dev/null &" delay 1 tell application "Google Chrome" open loc...
src/Tactic/Reflection/Printf.agda
L-TChen/agda-prelude
111
10115
{- Constructing List ErrorPart from format strings. Supported formats %s : String %d : Nat %t : Term %n : Name %e : List ErrorPart Examples at the bottom. -} module Tactic.Reflection.Printf where open import Prelude open import Prelude.Variables open import Builtin.Reflection private data Format (A ...
artwork/barbaro_idle.asm
fjpena/sword-of-ianna-zx
67
95286
<gh_stars>10-100 ; ASM source file created by SevenuP v1.20 ; SevenuP (C) Copyright 2002-2006 by <NAME>, aka Metalbrain ;GRAPHIC DATA: ;Pixel Size: ( 24, 32) ;Char Size: ( 3, 4) ;Sort Priorities: X char, Char line, Y char ;Data Outputted: Gfx ;Interleave: Sprite ;Mask: No barbaro_idle:...
src/main.asm
stid/kick-c64-dead-test
22
13150
<reponame>stid/kick-c64-dead-test #importonce //------------------------------------------- // c64 deadtest diagnostic 781220 // original disassembly by worldofjani.com // Kickassembler porting by =stid= // Revisited flow by =stid= //------------------------------------------- // #import "./zeropage_map.asm" *...
exercises/ch11/num4.asm
gr0uch0dev/AssemblyExercisesAndNotes
0
25712
; 11.4 ; Write a program that fills each screen cell with a random character in a random color. Extra: ; Assign a 50% probability that the color of any character will be red. .386 .model flat, STDCALL option casemap:none include irvine32.inc ;include windows.inc ;include kernel32.inc .data charToPrint BYTE ? color...
programs/oeis/305/A305166.asm
neoneye/loda
22
7939
; A305166: a(n) = 164*2^n - 140. ; 24,188,516,1172,2484,5108,10356,20852,41844,83828,167796,335732,671604,1343348,2686836,5373812,10747764,21495668,42991476,85983092,171966324,343932788,687865716,1375731572,2751463284,5502926708,11005853556,22011707252,44023414644,88046829428,176093658996,352187318132 mov $1,2 pow $1,...
programs/oeis/246/A246139.asm
neoneye/loda
22
94150
; A246139: 2^n + 10. ; 11,12,14,18,26,42,74,138,266,522,1034,2058,4106,8202,16394,32778,65546,131082,262154,524298,1048586,2097162,4194314,8388618,16777226,33554442,67108874,134217738,268435466,536870922,1073741834,2147483658,4294967306,8589934602,17179869194,34359738378,68719476746,137438953482,274877906954,5497558138...
stress/sparknacl-tests.ads
yannickmoy/SPARKNaCl
76
1559
package SPARKNaCl.Tests is -- Additional stress test cases for NaCl operations. -- This is a child package of SPARKNaCl so these bodies -- can see the private part and operations of SPARKNaCl. procedure GF_Stress; procedure Car_Stress; procedure Diff_Car_Stress; procedure Pack_Stress; end S...
source/declarations/adam-declaration-of_package.adb
charlie5/aIDE
3
29195
with AdaM.Factory, AdaM.Entity; with Ada.Text_IO; use Ada.Text_IO; package body AdaM.Declaration.of_package is -- Storage Pool -- record_Version : constant := 1; max_Packages : constant := 5_000; package Pool is new AdaM.Factory.Pools (".adam-store", ...
demo/src/Hello.adb
98devin/ada-gba-dev
7
4336
<filename>demo/src/Hello.adb<gh_stars>1-10 -- Copyright (c) 2021 <NAME> -- zlib License -- see LICENSE for details. with GBA.Refs; with GBA.BIOS; with GBA.BIOS.Arm; with GBA.BIOS.Memset; with GBA.Display; with GBA.Display.Tiles; with GBA.Display.Backgrounds; with GBA.Display.Backgrounds.Refs; with GBA.Display.Objec...
sql_analyze/grammars/ClickHouse/ClickHouseParser.g4
vingkan/sql_tools
1
2338
<gh_stars>1-10 // // Original: ClickHouse: Copyright 2016-2021 Yandex LLC // // Changes: nuna_sql_tools: Copyright 2022 Nuna 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 // // ...
code.asm
dongshunyao/Mips-VerilogHDL
2
240118
<filename>code.asm ori $t1,$0,2 ori $t2,$0,1 addu $t3,$t1,$t2 ori $t4,$0,5 subu $t5,$t4,$t1 beq $t1,$t2,q sw $t1,4($0) j w q: lui $t3,10 w: lw $t6,4($0) beq $t5,$t3,q addu $0,$0,$t1
test/Fail/Issue142.agda
redfish64/autonomic-agda
3
4659
<gh_stars>1-10 -- Andreas, 2014-03-05, reported by xcycl.xoo, Mar 30, 2009 -- {-# OPTIONS -v tc.with:60 #-} open import Common.Prelude renaming (Nat to ℕ; module Nat to ℕ) data Nat : ℕ → Set where i : (k : ℕ) → Nat k toNat : (n : ℕ) → Nat n toNat n = i n fun : (n : ℕ) → ℕ fun n with toNat n fun .m | i m with toNa...
FormalAnalyzer/models/apps/Intruder.als
Mohannadcse/IoTCOM_BehavioralRuleExtractor
0
3208
module app_Intruder open IoTBottomUp as base open cap_runIn open cap_now open cap_contactSensor open cap_switch open cap_location open cap_userInput one sig app_Intruder extends IoTApp { location : one cap_location, contacts : some cap_contactSensor, switch1 : one cap_switch, sendPushMessage : one c...
examples/hash.adb
ytomino/drake
33
3943
<reponame>ytomino/drake<filename>examples/hash.adb with Ada.Containers; with Ada.Strings.Hash; with Ada.Strings.Wide_Hash; with Ada.Strings.Wide_Wide_Hash; procedure hash is use type Ada.Containers.Hash_Type; type HA is array (Positive range <>) of Ada.Containers.Hash_Type; D : HA := ( Ada.Strings.Hash ("abcdefg")...
src/Generics/Reflection.agda
flupe/generics
11
15691
{-# OPTIONS --safe #-} module Generics.Reflection where open import Function.Base import Data.Unit as ⊤ import Data.Product as Product import Relation.Binary.PropositionalEquality as Eq open import Data.Nat.Base hiding (_⊔_) open import Data.List.Base as List hiding (_++_) import Data.Vec.Base as Vec open import ...
include/sf-graphics-circleshape.ads
Fabien-Chouteau/ASFML
0
4015
<gh_stars>0 --////////////////////////////////////////////////////////// -- SFML - Simple and Fast Multimedia Library -- Copyright (C) 2007-2015 <NAME> (<EMAIL>) -- This software is provided 'as-is', without any express or implied warranty. -- In no event will the authors be held liable for any damages arising from the...
src/adc.asm
serjzimmerman/tinywasp-firmware-asm
0
172721
<gh_stars>0 .ifndef _ADC_ASM_ .define _ADC_ASM_ _adc_enable: ldi r18,(1 << ADEN) out ADCSRA,r18 ret ;************************************************************** ;* subroutine: _adc_read (reads adch into r18) ;* ;* output: r18 (ADCH) ;* ;* registers modified: r18 ;*********************************************...
DeliriOS_64bits/grub-init/src/loader.asm
Izikiel/intel_multicore
3
17128
<gh_stars>1-10 ;3.2 Machine state ; ;When the boot loader invokes the 32-bit operating system, the machine must have the following state: ; ;‘EAX’ ; Must contain the magic value ‘0x2BADB002’; the presence of this value indicates to the operating system ;that it was loaded by a Multiboot-compliant boot loader (e.g. a...
Classes/date/+:-/test.applescript
looking-for-a-job/applescript-examples
1
3073
#!/usr/bin/osascript set curr to current date set next2min to curr + 2 * minutes next2min - curr # 120 seconds
test/Fail/Issue4951b.agda
cagix/agda
1,989
15924
{-# OPTIONS --two-level #-} open import Agda.Primitive data Unit : Set where tt : Unit data Unitω : Setω where tt : Unitω data SUnit : SSet where tt : SUnit data SUnitω : SSetω where tt : SUnitω -- Cannot eliminate fibrant type Unit -- unless target type is also fibrant -- f1 : Unit → SUnit -- f1 tt = tt -- Cannot ...
scripts/silphcoelevator.asm
adhi-thirumala/EvoYellow
16
102945
SilphCoElevatorScript: ld hl, wCurrentMapScriptFlags bit 5, [hl] res 5, [hl] push hl call nz, SilphCoElevatorScript_457dc pop hl bit 7, [hl] res 7, [hl] call nz, SilphCoElevatorScript_45827 xor a ld [wAutoTextBoxDrawingControl], a inc a ld [wDoNotWaitForButtonPressAfterDisplayingText], a ret SilphCoEleva...
Desk Control/OnCue.applescript
streth11/Qlab-Scripts
1
2147
<gh_stars>1-10 -- Creates a midi sysex cue to set the cue / on value of any channel -- Yamaha LS9-32 -- change to preamble will change desk type, should work for modern desks -- but to be vereified -- -- Example string inputs: -- ch 7 on -- channel 7 on -- mix 16 off -- mix 16 off -- mtrx 4 cue -- mtrx 4 cue...
AVR/displacement_addressing.asm
StxGuy/EmbeddedSystems
0
98752
;-------------------------------------; ; INDIRECT ADDRESSING FOR ATMEL328 ; ; DISPLACEMENT ; ; ; ; Por: Prof. <NAME> ; ; 16/Sep/2020 ; ;-------------------------------------; .device ATmega328 .dseg A: .byte 0x01 ...
programs/oeis/171/A171501.asm
jmorken/loda
1
12573
<reponame>jmorken/loda ; A171501: Inverse binomial transform of A084640. ; 0,1,3,-1,7,-9,23,-41,87,-169,343,-681,1367,-2729,5463,-10921,21847,-43689,87383,-174761,349527,-699049,1398103,-2796201,5592407,-11184809,22369623,-44739241,89478487,-178956969,357913943,-715827881,1431655767,-2863311529,5726623063,-11453246121,...
examples/utils/sdl/sdl_sdl_mutex_h.ads
Fabien-Chouteau/GESTE
13
16717
<filename>examples/utils/sdl/sdl_sdl_mutex_h.ads pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with System; with SDL_SDL_stdinc_h; package SDL_SDL_mutex_h is SDL_MUTEX_TIMEDOUT : constant := 1; -- ../include/SDL/SDL_mutex.h:44 -- unsupported macro: SDL_MUTEX_MA...
tier-1/xcb/source/thin/xcb-xcb_render_transform_t.ads
charlie5/cBound
2
18362
-- This file is generated by SWIG. Please do not modify by hand. -- with Interfaces.C; with Interfaces.C.Pointers; package xcb.xcb_render_transform_t is -- Item -- type Item is record matrix11 : aliased xcb.xcb_render_fixed_t; matrix12 : aliased xcb.xcb_render_fixed_t; matrix13 : aliased x...
Proto/lib_ym3812.asm
Lord-Nazdar/YM3812-Ultimate
2
80468
<gh_stars>1-10 _YM3812_Init: ;lib_ym3812.c,6 :: void YM3812_Init() { ;lib_ym3812.c,8 :: TRISB = 0x00; CLRF TRISB+0 ;lib_ym3812.c,9 :: TRISC = 0x00; CLRF TRISC+0 ;lib_ym3812.c,11 :: DATA_PORT = 0x00; CLRF PORTB+0 ;lib_ym3812.c,12 :: CONTROL_PORT = MASK_RESET | MASK_CS; MOVLW 24 MO...
scheduling.adb
annexi-strayline/AURA
13
16029
------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- ANNEXI-STRAYLINE Reference Implementation -- -- ...
src/bb-adc.adb
jorge-real/Ball-On-Beam
4
30463
<filename>src/bb-adc.adb -------------------------------------------------------------------------------- -- -- -- B A L L _ O N _ B E A M _ A D C -- -- ...
tools-src/gnu/gcc/gcc/ada/gnatxref.adb
enfoTek/tomato.linksys.e2000.nvram-mod
80
9429
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
virtdata-lang/src/main/java/io/virtdata/oldgrammars/MGv2.g4
jeromatron/virtdata-java
0
6587
grammar MVv2; // https://www.youtube.com/watch?v=eW4WFgRtFeY mgRecipe : mgFlow (specend mgFlow?)* EOF ; mgFlow : expression (';' expression?)* ; expression : (lvalue ASSIGN)? mgCall ; mgCall : ( inputType INPUTTYPE )? ( funcName '(' (arg (',' arg )* )? ')' ) ( OUTPUTTYPE outputType )? ; lvalue : ID; inputType ...
src/Nats/Multiply/Assoc.agda
ice1k/Theorems
1
11415
module Nats.Multiply.Assoc where open import Nats open import Equality open import Function open import Nats.Multiply.Comm open import Nats.Multiply.Distrib ------------------------------------------------------------------------ -- internal stuffs private a*1+b=a+a*b : ∀ a b → a * suc b ≡ a + a * b a*1+b=a+a*...
oeis/176/A176284.asm
neoneye/loda-programs
11
103602
; A176284: Triangle T(n,k) = 1 + 3*n*k*(n-k) read by rows. ; Submitted by <NAME> ; 1,1,1,1,7,1,1,19,19,1,1,37,49,37,1,1,61,91,91,61,1,1,91,145,163,145,91,1,1,127,211,253,253,211,127,1,1,169,289,361,385,361,289,169,1,1,217,379,487,541,541,487,379,217,1,1,271,481,631,721,751,721,631,481,271,1,1,331,595,793,925,991,991,92...
src/skill-iterators-type_hierarchy_iterator.ads
skill-lang/adaCommon
0
389
-- ___ _ ___ _ _ -- -- / __| |/ (_) | | Common SKilL implementation -- -- \__ \ ' <| | | |__ iterator over types -- -- |___/_|\_\_|_|____| by: <NAME> -- -...
src/main/antlr/English.g4
emilycoleman/ANTLRnlp
3
4796
<filename>src/main/antlr/English.g4 //Uses the Penn Treebank Project method of tagging //https://www.ling.upenn.edu/courses/Fall_2003/ling001/penn_treebank_pos.html //Customized tags: _PREP, _SCONJ grammar English; @header { package com.generated.parser; } WHITESPACE : (' ' | '\n' | ',')+ -> channel(HIDDEN); NO...
LKS/OAM.asm
Kannagi/Super-Kannagi-Sound
11
9496
<reponame>Kannagi/Super-Kannagi-Sound LKS_OAM4_Clear: lda #-32 sta MEM_OAML + 1,x sta MEM_OAML + 5,x sta MEM_OAML + 9,x sta MEM_OAML + 13,x rtl LKS_OAM_Clear: stz LKS_OAM stz LKS_OAM+1 ;Clear OAM stz MEM_OAMH +$00 stz MEM_OAMH +$01 stz MEM_OAMH +$02 stz MEM_OAMH +$03 stz MEM_OAMH +$04 st...
test/succeed/RecordInMutual.agda
larrytheliquid/agda
1
8337
-- {-# OPTIONS -v tc.pos:100 #-} -- Records are allowed in mutual blocks. module RecordInMutual where import Common.Level open import Common.Equality mutual record A : Set where field p : D record B : Set where field q : A data D : Set where c : B -> D open A open B -- A and B are guarded via D, s...
examples/pxScene2d/external/libjpeg-turbo-1.5.1/simd/jidctint-mmx.asm
madanagopaltcomcast/pxCore
2,710
21431
<reponame>madanagopaltcomcast/pxCore ; ; jidctint.asm - accurate integer IDCT (MMX) ; ; Copyright 2009 Pierre Ossman <<EMAIL>> for Cendio AB ; ; Based on the x86 SIMD extension for IJG JPEG library ; Copyright (C) 1999-2006, MIYASAKA Masaru. ; For conditions of distribution and use, see copyright notice in jsimdext.inc...
templates/amd64-386/sources.asm
going-digital/sointu
76
105537
<reponame>going-digital/sointu {{if .HasOp "envelope" -}} ;------------------------------------------------------------------------------- ; ENVELOPE opcode: pushes an ADSR envelope value on stack [0,1] ;------------------------------------------------------------------------------- ; Mono: push the envelope valu...
src/interface/cl.ads
flyx/OpenCLAda
8
17350
<reponame>flyx/OpenCLAda -------------------------------------------------------------------------------- -- Copyright (c) 2013, <NAME> <<EMAIL>> -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby granted, provided that the above -- copyright notice a...
src/Calf/Types/Unit.agda
jonsterling/agda-calf
29
14903
<gh_stars>10-100 {-# OPTIONS --prop --without-K --rewriting #-} module Calf.Types.Unit where open import Calf.Prelude open import Calf.Metalanguage open import Data.Unit public using (⊤) renaming (tt to triv) unit : tp pos unit = U (meta ⊤)
libsrc/z80_crt0s/z80/sccz80/l_pop_ei.asm
jpoikela/z88dk
38
162754
SECTION code_crt0_sccz80 PUBLIC l_pop_ei EXTERN asm_z80_pop_ei defc l_pop_ei = asm_z80_pop_ei
tmp/fsusage.asm
ssebs/xos
15
93328
times 10813 db 1 times 7500*512 - ($-$$) db 0
uP8085/add16.asm
pankajpatro703/uP8086
0
169801
;Addition of 2 16-bit numbers jmp START num1: DB 00H,03H ;1st 16-bit number num2: DB 05H,06H ;2nd 16-bit number result: DB 00H,00H,00H ;16-bit result START: xra a lhld num1 ;get number 1 xchg lhld num2 ;get number 2 dad d ;add the numbers jnc NEXT ;skip if no carry is generated inr a ;increment if carr...
libsrc/z80_crt0s/gbz80/sdcc/__muluchar.asm
Frodevan/z88dk
640
22647
SECTION code_l_sdcc PUBLIC __muluchar GLOBAL l_mul16 __muluchar: ld hl,sp+2 ld e,(hl) inc hl ld c,(hl) ;; Clear the top xor a ld d,a ld b,a jp l_mul16
programs/oeis/076/A076835.asm
karttu/loda
1
164584
<reponame>karttu/loda ; A076835: Coefficients in expansion of Eisenstein series -q*E'_2. ; 24,144,288,672,720,1728,1344,2880,2808,4320,3168,8064,4368,8064,8640,11904,7344,16848,9120,20160,16128,19008,13248,34560,18600,26208,25920,37632,20880,51840,23808,48384,38016,44064,40320,78624,33744,54720,52416,86400,41328,96768,...
Lab 4 - Addition with Conditional Loops/Rectified - Addition/5b.asm
SathyasriS27/ARM7-Thumb-Programming
0
26950
AREA LAB5, CODE, READONLY ENTRY LDR R0,=0X40000000 LDR R2,=0X00000000 LDR R3,=0X00000005 LDR R5,=0X40000040 LO LDR R1, [R0], #04 ADDS R2, R2, R1 ADDCS R6, R6, #1 SUBS R3, R3, #1 BNE LO STR R2, [R5], #04 STR R6, [R5] UP B UP END
src/server.adb
bracke/websitegenerator
1
17351
<gh_stars>1-10 with Ada.Text_IO; use Ada.Text_IO; with CLIC.TTY; with AAA.Strings; package body Server is package TT renames CLIC.TTY; Server_Port : constant Positive := 8_888; Http_Server : AWS.Server.HTTP; function Callback (Request : AWS.Status.Data) return AWS.Response.Data is use AWS.Services...
issues/Issue27.agda
asr/apia
10
6261
module Issue27 where infix 4 _≡_ infixl 4 _>_ _<_ infixr 1 _∨_ postulate ℝ : Set ------------------------------------------------------------------------------ -- Logic stuff -- The identity type on the universe of discourse. data _≡_ (x : ℝ) : ℝ → Set where refl : x ≡ x data _∨_ (A B : Set) : Set where inj₁...
src/regex-regular_expressions-parse.adb
skordal/ada-regex
2
4664
<gh_stars>1-10 -- Ada regular expression library -- (c) <NAME> 2020-2021 <<EMAIL>> -- Report bugs and issues on <https://github.com/skordal/ada-regex> separate (Regex.Regular_Expressions) procedure Parse (Input : in String; Output : in out Regular_Expression) is use Utilities.String_Buffers; Buffer : String_B...
test/Fail/Issue2376Lambda.agda
shlevy/agda
1,989
6562
-- Andreas, 2017-01-05, issue #2376 -- Ensure correct printing for termination error -- {-# OPTIONS -v term.clause:30 #-} postulate id : ∀{a}{A : Set a} → A → A A : Set P : A → Set f : {a : A} → P a → {b : A} → P b → Set f = λ p → f (id p) -- id to prevent eta-contration before termination checking -- Expect...
src/Relation/Ternary/Separation/Experiments.agda
laMudri/linear.agda
34
1458
-- A predicate transformer allowing one to express that -- some value definitely does /not/ own some resource infixl 9 _◇_ data _◇_ {p} (P : SPred p) (Φᵢ : Carrier) : SPred (p ⊔ a) where ⟪_,_⟫ : ∀ {Φₚ Φ} → P Φₚ → Φᵢ ⊎ Φₚ ≣ Φ → (P ◇ Φᵢ) Φ -- | This gives another wand like thing module _ {p q} (P : SP...
source/league/ucd/matreshka-internals-unicode-ucd-core_01d5.ads
svn2github/matreshka
24
30234
<reponame>svn2github/matreshka ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
externals/ffmpeg/libswscale/x86/scale.asm
vuece/vuece-libjingle
0
89623
;****************************************************************************** ;* x86-optimized horizontal line scaling functions ;* Copyright (c) 2011 <NAME> <<EMAIL>> ;* ;* This file is part of Libav. ;* ;* Libav is free software; you can redistribute it and/or ;* modify it under the terms of the GNU Lesser General ...
source/adam.adb
charlie5/aIDE
3
26640
with Ada.Text_IO; package body AdaM is procedure put (the_Lines : in text_Lines) is use Ada.Text_IO; begin for i in 1 .. Integer (the_Lines.Length) loop put_Line (+the_Lines.Element (i)); end loop; end put; end AdaM;
thespiae/path/EnvLexer.g4
apleshakov/thespiae
0
1989
/* SPDX-License-Identifier: Apache-2.0 Copyright 2020 <NAME> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ag...
programs/oeis/032/A032925.asm
karttu/loda
0
90498
; A032925: Numbers whose set of base 4 digits is {1,2}. ; 1,2,5,6,9,10,21,22,25,26,37,38,41,42,85,86,89,90,101,102,105,106,149,150,153,154,165,166,169,170,341,342,345,346,357,358,361,362,405,406,409,410,421,422,425,426,597,598,601,602,613,614,617,618,661,662,665,666,677,678,681,682,1365,1366,1369,1370,1381,1382,1385,13...
oeis/175/A175237.asm
neoneye/loda-programs
11
102749
<filename>oeis/175/A175237.asm ; A175237: 2*(10^n - 7). ; 6,186,1986,19986,199986,1999986,19999986,199999986,1999999986,19999999986,199999999986,1999999999986,19999999999986,199999999999986,1999999999999986,19999999999999986,199999999999999986,1999999999999999986,19999999999999999986,199999999999999999986,1999999999999...
test/interaction/Issue1036.agda
masondesu/agda
1
5873
<gh_stars>1-10 data A : Set where a : A data T : A → Set where t : T a postulate f : ∀ x → T x → Set stuff : Set stuff = f {!!} t -- There should not be a (Checked) status for this module!