max_stars_repo_path
stringlengths
4
261
max_stars_repo_name
stringlengths
6
106
max_stars_count
int64
0
38.8k
id
stringlengths
1
6
text
stringlengths
7
1.05M
src/frontend/Experimental_Ada_ROSE_Connection/parser/asis_adapter/source/asis_adapter-element-paths.adb
matzke1/rose
0
9382
<filename>src/frontend/Experimental_Ada_ROSE_Connection/parser/asis_adapter/source/asis_adapter-element-paths.adb with Asis.Elements; with Asis.Statements; package body Asis_Adapter.Element.Paths is ------------ -- EXPORTED: ------------ procedure Do_Pre_Child_Processing (Element : in Asis.Element; S...
examples/tms.asm
feilipu/TMS9918A
1
161603
<reponame>feilipu/TMS9918A<filename>examples/tms.asm ; TMS9918A graphics subroutines ; Copyright 2018 <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, incl...
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xa0_notsx.log_21829_1315.asm
ljhsiun2/medusa
9
28345
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r15 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_WT_ht+0x15642, %rsi lea addresses_WC_ht+0x9bc2, %rdi clflush (%rdi) nop nop nop xor %r8, %r8 mov $100, %rcx rep movsw nop nop nop xor %r9, %r9 lea addresses_WC_ht+0xd74...
Task/Palindrome-detection/AppleScript/palindrome-detection.applescript
LaudateCorpus1/RosettaCodeData
1
1932
use framework "Foundation" -- CASE-INSENSITIVE PALINDROME, IGNORING SPACES ? ---------------------------- -- isPalindrome :: String -> Bool on isPalindrome(s) s = intercalate("", reverse of characters of s) end isPalindrome -- toSpaceFreeLower :: String -> String on spaceFreeToLower(s) script notSpace ...
dino/lcs/enemy/44.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
6
14471
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 004D3A move.l D0, (A4)+ 004D3C move.l D0, (A4)+ 01291A movea.l ($44,A2), A4 01291E adda.w D0, A4 [123p+ 44, 123p+ 46, enemy+44, enemy+46, item+44, item+46] 012928 movea.l ($44,A3), A6 01292C adda.w ...
stage1/gdt.asm
Killaship/limine
658
22095
gdt: dw .size - 1 + 8 ; GDT size dd .start - 8 ; GDT start address .start: ; 32-bit code dw 0xffff ; Limit dw 0x0000 ; Base (low 16 bits) db 0x00 ; Base (mid 8 bits) db 10011010b ; Access db 11001111b ; Granularity db 0x00 ; Base (high 8 bits...
WEEK-4/11.asm
ShruKin/Microprocessor-and-Microcontroller-Lab
0
167775
LDA 9050 ANI 0F STA 9051 HLT
oeis/003/A003141.asm
neoneye/loda-programs
11
80360
<reponame>neoneye/loda-programs<gh_stars>10-100 ; A003141: Minimal number of arcs whose reversal yields a transitive tournament. ; Submitted by <NAME> ; 0,0,0,1,1,3,4,7,8,12,15,20,22,28 mov $3,$0 mov $4,1 mov $5,1 lpb $3 mov $1,$4 sub $3,1 mul $1,$3 add $5,$4 div $1,$5 add $2,$1 sub $3,1 add $4,2 mov...
programs/oeis/158/A158638.asm
neoneye/loda
22
7608
<gh_stars>10-100 ; A158638: a(n) = 48*n^2 + 1. ; 1,49,193,433,769,1201,1729,2353,3073,3889,4801,5809,6913,8113,9409,10801,12289,13873,15553,17329,19201,21169,23233,25393,27649,30001,32449,34993,37633,40369,43201,46129,49153,52273,55489,58801,62209,65713,69313,73009,76801,80689,84673,88753,92929,97201,101569,106033,1105...
src/main/fragment/mos6502-common/vwsm1=vwsm1_plus_vwuc1.asm
jbrandwood/kickc
2
165376
<gh_stars>1-10 clc lda {m1} adc #<{c1} sta {m1} lda {m1}+1 adc #>{c1} sta {m1}+1
lab1/example_c_1.asm
0000Blaze/Microprocess
0
10528
<reponame>0000Blaze/Microprocess<gh_stars>0 # ORG 8000 LXI B,8090 LXI D,80A0 LDAX B STAX D HLT # ORG 8090 # DB AA
archive/agda-1/Successor.agda
m0davis/oscar
0
7631
module Successor where open import OscarPrelude record Successor {ℓᴬ} (A : Set ℓᴬ) {ℓᴮ} (B : Set ℓᴮ) : Set (ℓᴬ ⊔ ℓᴮ) where field ⊹ : A → B open Successor ⦃ … ⦄ public instance SuccessorNat : Successor Nat Nat Successor.⊹ SuccessorNat = suc instance SuccessorLevel : Successor Level Level Successor.⊹ Success...
binary16/debug_fln.asm
DW0RKiN/Floating-point-Library-for-Z80
12
100447
<gh_stars>10-100 if not defined FLN INCLUDE "print_fp.asm" ; HL = ln(abs(HL)) DEBUG@FLN: FLN: CALL @FLN ; 3:17 PUSH HL ; 1:11 LD HL, 'L'+'N' * 256 ; 3:10 "LN" LD A, COL_BLUE ; 2:7 JP PRINT_XFP ...
programs/oeis/017/A017026.asm
neoneye/loda
22
169666
; A017026: a(n) = (7*n + 3)^10. ; 59049,10000000000,2015993900449,63403380965376,819628286980801,6278211847988224,34050628916015625,144555105949057024,511116753300641401,1568336880910795776,4297625829703557649,10737418240000000000,24842341419143568849,53861511409489970176,110462212541120451001,215892499727278669824,404...
Task/Menu/Ada/menu-1.ada
LaudateCorpus1/RosettaCodeData
1
13484
<reponame>LaudateCorpus1/RosettaCodeData<gh_stars>1-10 -- menu2.adb -- -- rosetta.org menu example -- GPS 4.3-5 (Debian) -- note: the use of Unbounded strings is somewhat overkill, except that -- it allows Ada to handle variable length string data easily -- ie: differing length menu items text with Ada.Text_IO, Ada.In...
MULTIPLICACION 0.5.asm
Jon2G/ASMCalculator
0
173608
<filename>MULTIPLICACION 0.5.asm<gh_stars>0 .model small .data ;num1 db 0,1,2,3,4,5,6,7,8,9,'$' ;decimales_1 db 0,1,2,3,4,5,6,7,8,9,'$' ;num2 db 0,1,2,3,4,5,6,7,8,9,'$' ;decimales_2 db 0,1,2,3,4,5,6,7,8,9,'$' ;num1 db 0,0,0,0,0,0,0,5,3,1,'$' ;decimales_1 db 0,3,1,0,0,0...
alloy4fun_models/trashltl/models/17/LLvqoWYsAacXzPmuM.als
Kaixi26/org.alloytools.alloy
0
1446
<reponame>Kaixi26/org.alloytools.alloy open main pred idLLvqoWYsAacXzPmuM_prop18 { always all f : Protected | f in Trash until f not in Protected } pred __repair { idLLvqoWYsAacXzPmuM_prop18 } check __repair { idLLvqoWYsAacXzPmuM_prop18 <=> prop18o }
agda/book/Programming_Language_Foundations_in_Agda/x02-842Induction-hc.agda
haroldcarr/learn-haskell-coq-ml-etc
36
5974
<filename>agda/book/Programming_Language_Foundations_in_Agda/x02-842Induction-hc.agda module x02-842Induction-hc where import Relation.Binary.PropositionalEquality as Eq open Eq using (_≡_; refl; cong; sym) open Eq.≡-Reasoning using (begin_; _≡⟨⟩_; _∎) open import Data.Nat using (ℕ; zero; suc; _+_; _*_; _∸_) -- a...
src/fx/interference.asm
bitshifters/teletextr
8
90375
; classic circle interference pattern ; uses large sprite of concentric circles drawn in two layers ; requires 6x versions of sprite in all offsets i.e. lots of memory .start_fx_interference INTERFERENCE_shadow_addr = MODE7_VRAM_SHADOW + MODE7_char_width + 3 ; currently writing 36x22 character screen INTERFERENCE_...
src/fmt-generic_ordinary_fixed_point_argument.adb
likai3g/afmt
0
7853
<gh_stars>0 pragma Ada_2020; with Interfaces; use Interfaces; with Ada.Numerics; with Ada.Numerics.Generic_Elementary_Functions; package body Fmt.Generic_Ordinary_Fixed_Point_Argument is package Math is new Ada.Numerics.Generic_Elementary_Functions(Long_Float); Exp : constant Long_Long_Float := 10....
programs/oeis/080/A080846.asm
neoneye/loda
22
19103
; A080846: Fixed point of the morphism 0->010, 1->011, starting from a(1) = 0. ; 0,1,0,0,1,1,0,1,0,0,1,0,0,1,1,0,1,1,0,1,0,0,1,1,0,1,0,0,1,0,0,1,1,0,1,0,0,1,0,0,1,1,0,1,1,0,1,0,0,1,1,0,1,1,0,1,0,0,1,1,0,1,0,0,1,0,0,1,1,0,1,1,0,1,0,0,1,1,0,1,0,0,1,0,0,1,1,0,1,0,0,1,0,0,1,1,0,1,1,0 add $0,1 lpb $0 lpb $0 dif $0,3 ...
example_relationships/src/application_types.ads
cortlandstarrett/mcada
0
18742
<reponame>cortlandstarrett/mcada with System; -- package Application_Types is type Time_Unit is (millisecond, second); Time_Unit_First: constant Time_Unit := Time_Unit'first; ---------------------------------------------------------------------------------------------- type Base_Integer_Type is new int...
oeis/091/A091702.asm
neoneye/loda-programs
11
86366
<filename>oeis/091/A091702.asm ; A091702: Column 0 of triangle A091700. ; Submitted by <NAME> ; 1,2,7,23,78,264,895,3034,10286,34872,118225,400813,1358859,4606881,15618510,52950761,179516682,608607667,2063336333,6995240208,23715661274,80402183905,272584057514,924129977596,3133038018732 lpb $0 sub $0,1 sub $3,$4 ...
Build/Interpreters/beebOzmoo/asm/acorn.asm
polluks/Puddle-BuildTools
38
3659
; Acorn-specific code factored out into its own file for readability. ; Note that the code macros defined in here have the suffix "_inline" if control ; flows straight through them or "_subroutine" if they end by executing rts (or ; equivalent). ; A note on Acorn memory models - this affects code in many places, but ...
2/hw2.asm
bhbduman/cseComputer_Organization
0
178995
<reponame>bhbduman/cseComputer_Organization<filename>2/hw2.asm .data #int arraySize = MAX_SIZE; arraySize: .word 0 #int arr[MAX_SIZE]; arr: .space 400 #int num; num: .word 0 #int returnVal; returnVal: .word 0 #int returnVal1=0, returnVal2=0; returnVal1: .word 0 returnVal2: .word 0 possible: .asciiz "Possible!...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1762.asm
ljhsiun2/medusa
9
241129
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r8 push %r9 push %rax push %rbp push %rbx push %rsi lea addresses_WC_ht+0x1b39, %r9 nop nop xor %rbp, %rbp mov $0x6162636465666768, %rsi movq %rsi, (%r9) nop xor %rax, %rax lea addresses_D_ht+0xad39, %r9 add %r10, %r10 movb $0x61, (%r9) nop nop nop nop nop de...
oeis/189/A189663.asm
neoneye/loda-programs
11
22407
<gh_stars>10-100 ; A189663: Partial sums of A189661. ; Submitted by <NAME> ; 0,1,1,2,2,2,3,3,4,4,4,5,5,5,6,6,7,7,7,8,8,9,9,9,10,10,10,11,11,12,12,12,13,13,13,14,14,15,15,15,16,16,17,17,17,18,18,18,19,19,20,20,20,21,21,22,22,22,23,23,23,24,24,25,25,25,26,26,26,27,27,28,28,28,29,29,30,30,30,31,31,31,32,32,33,33,33,34,34,...
MSDOS/Virus.MSDOS.Unknown.blknight.asm
fengjixuchui/Family
3
240088
<reponame>fengjixuchui/Family From netcom.com!ix.netcom.com!netnews Tue Nov 29 09:43:54 1994 Xref: netcom.com alt.comp.virus:508 Path: netcom.com!ix.netcom.com!netnews From: <EMAIL> (Mr. G) Newsgroups: alt.comp.virus Subject: BlackKnight Virus (ANTI AV VIRUS) Date: 29 Nov 1994 13:09:23 GMT Organization: Netcom Lines: 3...
youdao.popclipext/youdao.applescript
yuanmomo/popclip-extension
0
4621
<filename>youdao.popclipext/youdao.applescript set appName to "有道词典" set testword to "{popclip text}" if application appName is running then tell application appName activate tell application "System Events" perform action "AXRaise" of window 1 of process appName tell process appName keystroke tab ...
programs/oeis/001/A001542.asm
neoneye/loda
22
160476
<reponame>neoneye/loda<filename>programs/oeis/001/A001542.asm ; A001542: a(n) = 6*a(n-1) - a(n-2) for n > 1, a(0)=0 and a(1)=2. ; 0,2,12,70,408,2378,13860,80782,470832,2744210,15994428,93222358,543339720,3166815962,18457556052,107578520350,627013566048,3654502875938,21300003689580,124145519261542,723573111879672,421729...
src/datatype-util.agda
ice1k/cedille
0
14842
<reponame>ice1k/cedille module datatype-util where open import constants open import ctxt open import syntax-util open import general-util open import type-util open import cedille-types open import subst open import rename open import free-vars {-# TERMINATING #-} decompose-arrows : ctxt → type → params × type decomp...
programs/oeis/145/A145677.asm
neoneye/loda
22
174902
; A145677: Triangle T(n,m) read by rows: T(n,0) =1; T(n,n) =n, n>0; T(n,k) =0, 0<k<n-1 . ; 1,1,1,1,0,2,1,0,0,3,1,0,0,0,4,1,0,0,0,0,5,1,0,0,0,0,0,6,1,0,0,0,0,0,0,7,1,0,0,0,0,0,0,0,8,1,0,0,0,0,0,0,0,0,9,1,0,0,0,0,0,0,0,0,0,10,1,0,0,0,0,0,0,0,0,0,0,11 lpb $0 mov $2,$0 sub $0,1 add $1,1 sub $0,$1 sub $2,2 lpe bi...
MasmEd/MasmEd/About/About.asm
CherryDT/FbEditMOD
11
22001
IDD_DLGABOUT equ 4900 IDC_EDTABOUT equ 1001 IDC_URL1 equ 1002 IDC_URL2 equ 1003 .data? OldUrlProc dd ? fMouseOver dd ? hUrlFont dd ? hUrlFontU dd ? hUrlBrush dd ? .code UrlProc proc hWin:HWND,uMsg:UINT,wParam:WPARAM,lParam:LPARAM LOCAL rect:RECT LOCAL buffer[128]:BYTE mov eax,uMsg ....
data/mapHeaders/CinnabarLabTradeRoom.asm
AmateurPanda92/pokemon-rby-dx
9
3252
CinnabarLabTradeRoom_h: db LAB ; tileset db CINNABAR_LAB_TRADE_ROOM_HEIGHT, CINNABAR_LAB_TRADE_ROOM_WIDTH ; dimensions (y, x) dw CinnabarLabTradeRoom_Blocks ; blocks dw CinnabarLabTradeRoom_TextPointers ; texts dw CinnabarLabTradeRoom_Script ; scripts db 0 ; connections dw CinnabarLabTradeRoom_Object ; objects
lemmas-complete.agda
hazelgrove/hazel-palette-agda
4
14963
open import Nat open import Prelude open import core open import lemmas-gcomplete module lemmas-complete where lem-comp-pair1 : ∀{d1 d2} → ⟨ d1 , d2 ⟩ dcomplete → d1 dcomplete lem-comp-pair1 (DCPair h _) = h lem-comp-pair2 : ∀{d1 d2} → ⟨ d1 , d2 ⟩ dcomplete → d2 dcomplete lem-comp-pair2 (DCPair _ h) = h l...
asmFiles/example.asm
hythzz/MIPS-Processor
0
26357
<gh_stars>0 #------------------------------------------ # Originally Test and Set example by <NAME> # Modified to be LL and SC example by <NAME> #------------------------------------------ #---------------------------------------------------------- # First Processor #---------------------------------------------------...
Data/Nat/DivMod.agda
oisdk/agda-playground
6
14198
<filename>Data/Nat/DivMod.agda {-# OPTIONS --without-K --safe #-} module Data.Nat.DivMod where open import Data.Nat.Base open import Agda.Builtin.Nat as Nat open import Data.Bool nonZero : ℕ → Bool nonZero (suc _) = true nonZero zero = false infixl 8 _÷_ _÷_ : (n m : ℕ) → { m≢0 : T (nonZero m) } → ℕ _÷_ n (suc m...
SoundOff/Release/SOff_GetUnicodeStringPointer.asm
txwizard/SoundOff
1
90256
<filename>SoundOff/Release/SOff_GetUnicodeStringPointer.asm ; Listing generated by Microsoft (R) Optimizing Compiler Version 18.00.31101.0 TITLE C:\Users\DAVE\Documents\Programming\Visual_Studio_6\EXE\Console\SoundOff\SoundOff\SOff_GetUnicodeStringPointer.C .686P .XMM include listing.inc .model flat INCLUDELIB ...
generated/natools-static_maps-web-comments-item_elements.adb
faelys/natools-web
1
28146
<filename>generated/natools-static_maps-web-comments-item_elements.adb with Interfaces; use Interfaces; package body Natools.Static_Maps.Web.Comments.Item_Elements is P : constant array (0 .. 0) of Natural := (0 .. 0 => 1); T1 : constant array (0 .. 0) of Unsigned_8 := (0 .. 0 => 2); T2 : constan...
programs/oeis/184/A184552.asm
karttu/loda
0
165424
<reponame>karttu/loda<gh_stars>0 ; A184552: Super-birthdays (falling on the same weekday), version 4 (birth in the year preceding a February 29). ; 0,5,11,22,28,33,39,50,56,61,67,78,84,89,95,106,112,117,123,134,140,145,151,162,168,173,179,190,196,201,207,218,224,229,235,246,252,257,263,274,280,285,291,302,308,313,319,3...
programs/oeis/190/A190576.asm
neoneye/loda
22
22622
<reponame>neoneye/loda ; A190576: a(n) = n^2 + 5*n - 5. ; 1,9,19,31,45,61,79,99,121,145,171,199,229,261,295,331,369,409,451,495,541,589,639,691,745,801,859,919,981,1045,1111,1179,1249,1321,1395,1471,1549,1629,1711,1795,1881,1969,2059,2151,2245,2341,2439,2539,2641,2745,2851,2959,3069,3181,3295,3411,3529,3649,3771,3895,4...
oeis/137/A137591.asm
neoneye/loda-programs
11
1990
; A137591: Number of parenthesizings of products formed by n factors assuming nonassociativity and partial commutativity: individual factors commute, but bracketed expressions don't commute with anything. ; Submitted by <NAME>(s4) ; 1,1,6,54,660,10260,194040,4326840,111177360,3234848400,105135861600,3775206204000,14842...
oeis/338/A338882.asm
neoneye/loda-programs
11
88922
<filename>oeis/338/A338882.asm ; A338882: Product of the nonzero digits of (n written in base 9). ; 1,1,2,3,4,5,6,7,8,1,1,2,3,4,5,6,7,8,2,2,4,6,8,10,12,14,16,3,3,6,9,12,15,18,21,24,4,4,8,12,16,20,24,28,32,5,5,10,15,20,25,30,35,40,6,6,12,18,24,30,36,42,48,7,7,14,21,28,35,42,49,56,8,8,16,24,32,40,48,56,64 mov $1,8 lpb $...
oeis/027/A027976.asm
neoneye/loda-programs
11
244406
<gh_stars>10-100 ; A027976: n-th diagonal sum of right justified array T given by A027960. ; 1,1,4,6,10,18,29,47,78,126,204,332,537,869,1408,2278,3686,5966,9653,15619,25274,40894,66168,107064,173233,280297,453532,733830,1187362,1921194,3108557,5029751,8138310,13168062,21306372,34474436,55780809,90255245,146036056,23629...
programs/oeis/115/A115302.asm
karttu/loda
0
10045
; A115302: Permutation of natural numbers generated by 3-rowed array shown below. ; 1,4,2,7,5,3,10,8,6,13,11,9,16,14,12,19,17,15,22,20,18,25,23,21,28,26,24,31,29,27,34,32,30,37,35,33,40,38,36,43,41,39,46,44,42,49,47,45,52,50,48,55,53,51,58,56,54,61,59,57,64,62,60 lpb $0,1 add $2,1 mov $3,$0 sub $0,1 trn $0,$2 ...
configs/xtrs/src/xtrs_head.asm
liuweisword/Nuttx
15
10267
;************************************************************************** ; configs/xtrs/src/xtrs_head.asm ; ; Copyright (C) 2008-2009, 2012 <NAME>. All rights reserved. ; Author: <NAME> <<EMAIL>> ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that th...
lib/space_image_format.adb
jweese/Ada_Vent_19
1
29935
<reponame>jweese/Ada_Vent_19 with Ada.Text_IO; package body Space_Image_Format is procedure Get_Pixel(P: out Pixel) is C: Character; begin Ada.Text_IO.Get(C); P := Pixel(C); end Get_Pixel; procedure Get_Layer(L: out Layer) is begin for Row in Height_Range loop for Col i...
src/fot/FOTC/Data/Nat/List/PropertiesI.agda
asr/fotc
11
8616
<reponame>asr/fotc<gh_stars>10-100 ------------------------------------------------------------------------------ -- Properties related with lists of natural numbers ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types ...
Examples/example3.asm
vbguyny/Developing-for-the-Commodore-64
0
176430
<reponame>vbguyny/Developing-for-the-Commodore-64<filename>Examples/example3.asm ; 10 SYS (2064) *=$0810 chout = $ffd2 ; Kernal character output sub main ldx #<string ; String address least significant byte (LSB) stx @loop+1 ; Save string pointer LSB ldx #>string ; String...
Cubical/Algebra/AbGroup/Instances/DirectSumFun.agda
thomas-lamiaux/cubical
0
15012
<gh_stars>0 {-# OPTIONS --safe #-} module Cubical.Algebra.AbGroup.Instances.DirectSumFun where open import Cubical.Foundations.Prelude open import Cubical.Data.Nat open import Cubical.Algebra.AbGroup open import Cubical.Algebra.DirectSum.DirectSumFun.Base open import Cubical.Algebra.DirectSum.DirectSumFun.Properties...
test/bricks.asm
humbertocsjr/tinyasm
176
88710
; ; Bricks game in one boot sector ; ; by <NAME>. ; ; Creation date: Nov/02/2019. ; cpu 8086 ; ; Press Left Shift to start the game ; Press Left Ctrl to move the paddle to left ; Press Left Alt to move the paddle to right ; %ifdef com_file org 0x0100 %else org 0x7c00 %endif ...
tp/libs/asmlib/strcmp64.asm
pg83/zm
0
29887
<reponame>pg83/zm %include "defs.asm" ;************************* strcmp64.asm ************************************ ; Author: <NAME> ; Date created: 2011-07-14 ; Last modified: 2012-07-07 ; Description: ; Faster version of the standard strcmp function: ; int A_strcmp(const char * s1, const ch...
ada-synchronous_barriers.ads
mgrojo/adalib
15
18608
-- Standard Ada library specification -- Copyright (c) 2004-2016 AXE Consultants -- Copyright (c) 2004, 2005, 2006 Ada-Europe -- Copyright (c) 2000 The MITRE Corporation, Inc. -- Copyright (c) 1992, 1993, 1994, 1995 Intermetrics, Inc. -- SPDX-License-Identifier: BSD-3-Clause and LicenseRef-AdaRe...
ada/gui/demo/customwidget.ads
auzkok/libagar
286
11364
<reponame>auzkok/libagar -------------------------------------------------- -- Example of a custom Agar widget class: -- -- -- -- AG_Object(3) -> AG_Widget(3) -> CustomWidget -- -------------------------------------------------- with Agar.Object; with Agar.Widget; use ...
programs/oeis/163/A163590.asm
neoneye/loda
22
102409
<reponame>neoneye/loda ; A163590: Odd part of the swinging factorial A056040. ; 1,1,1,3,3,15,5,35,35,315,63,693,231,3003,429,6435,6435,109395,12155,230945,46189,969969,88179,2028117,676039,16900975,1300075,35102025,5014575,145422675,9694845,300540195,300540195,9917826435,583401555,20419054425,2268783825,83945001525,441...
Terminal/ScreeshotGUI.applescript
rogues-gallery/applescript
360
947
<reponame>rogues-gallery/applescript --- if, for some reason, you wanted to wanted to have a simple GUI for the built in screen capture tool --- helpful for old people, children, or the chronically lazy display dialog "This script uses your computers built-in screencapture tool. This script saves the file to your desk...
programs/oeis/066/A066601.asm
neoneye/loda
22
943
; A066601: a(n) = 3^n mod n. ; 0,1,0,1,3,3,3,1,0,9,3,9,3,9,12,1,3,9,3,1,6,9,3,9,18,9,0,25,3,9,3,1,27,9,12,9,3,9,27,1,3,15,3,37,18,9,3,33,31,49,27,29,3,27,12,9,27,9,3,21,3,9,27,1,48,3,3,13,27,39,3,9,3,9,57,5,75,27,3,1,0,9,3,57,73,9,27,49,3,9,3,81,27,9,72,33,3,79,81,1 add $0,1 mov $1,1 mov $2,$0 lpb $0 sub $0,1 mul ...
libsrc/_DEVELOPMENT/arch/zx/tape/c/sccz80/zx_tape_save_block_callee.asm
jpoikela/z88dk
640
94267
<reponame>jpoikela/z88dk ; unsigned char zx_tape_save_block(void *src, unsigned int len, unsigned char type) SECTION code_clib SECTION code_arch PUBLIC zx_tape_save_block_callee EXTERN asm_zx_tape_save_block zx_tape_save_block_callee: pop af pop bc pop de pop ix push af ld a,c jp asm_zx_ta...
protobuf/ProtoLexer.g4
vak/protobuf2uml
28
3895
<reponame>vak/protobuf2uml<gh_stars>10-100 // Compatibility with Protocol Buffer defines // https://developers.google.com/protocol-buffers/docs/proto // This file was taken from https://github.com/yesme/protobuf-parser/ and a bit adjusted lexer grammar ProtoLexer; /* @header { package dsl; import com.google.common.c...
programs/oeis/267/A267142.asm
karttu/loda
1
177713
<reponame>karttu/loda ; A267142: The characteristic function of the multiples of 9. ; 1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,...
data/mapHeaders/silphco10.asm
adhi-thirumala/EvoYellow
16
240388
SilphCo10_h: db FACILITY ; tileset db SILPH_CO_10F_HEIGHT, SILPH_CO_10F_WIDTH ; dimensions (y, x) dw SilphCo10Blocks, SilphCo10TextPointers, SilphCo10Script ; blocks, texts, scripts db $00 ; connections dw SilphCo10Object ; objects
codes/compiler/dragon/IR/src/main/antlr4/ILOC.g4
zhoujiagen/learning-algorithms
0
7421
<reponame>zhoujiagen/learning-algorithms<gh_stars>0 grammar ILOC; @header {package com.spike.compiler.dragon.ir.iloc.gen;} program: decl* instr (EOL+ instr)* EOL* EOF; decl: ID '<-' NUM COMMENT? EOL+ ; instr: (label ':')? op # singleInstr | (label ':')? '[' EOL* op (EOL+ op)* EOL* ']' #instrList ; /** Sing...
AVR/check_negative.asm
StxGuy/EmbeddedSystems
0
14287
<reponame>StxGuy/EmbeddedSystems .device ATmega328 .org 0x00 ; Program starts at 0x00 rjmp INICIO ; Negative fixed point? INICIO: nop ldi R16,0xA5 andi R16,0x80 breq POS rjmp NEG LOOP: rjmp LOOP POS: nop rjmp LOOP NEG: nop rjmp LOOP
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_233.asm
ljhsiun2/medusa
9
171793
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r11 push %r8 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0xaca0, %rbp nop and %rdx, %rdx movups (%rbp), %xmm0 vpextrq $0, %xmm0, %rdi nop nop nop nop nop xor %r11, %r11 lea addresses_WC_ht+0x4e10, %rsi add $26066, %rbx ...
programs/oeis/108/A108165.asm
neoneye/loda
22
2603
; A108165: a(n)=a(n-1) +A108173(n+1) -A108173(n). ; 2,5,9,12,15,19,22,26,29,32,36,39,42,46,49,53,56,59,63,66,70,73,76,80,83,86,90,93,97,100,103,107,110,114,117,120,124,127,130,134,137,141,144,147,151,154,157,161,164,168,171,174,178,181,185,188,191,195,198,201 add $0,1 seq $0,277722 ; a(n) = floor(n*tau^2) where tau is...
libsrc/target/lviv/games/joystick.asm
ahjelm/z88dk
640
12699
<gh_stars>100-1000 ; Keyboard joysticks based on inkey SECTION code_clib PUBLIC joystick PUBLIC _joystick EXTERN joystick_sc EXTERN keys_qaop EXTERN keys_8246 EXTERN keys_cursor joystick: _joystick: ld a,l ld hl,keys_qaop cp 1 jp z,joys...
programs/oeis/318/A318765.asm
karttu/loda
1
85770
<gh_stars>1-10 ; A318765: a(n) = (n + 2)*(n^2 + n - 1). ; -2,3,20,55,114,203,328,495,710,979,1308,1703,2170,2715,3344,4063,4878,5795,6820,7959,9218,10603,12120,13775,15574,17523,19628,21895,24330,26939,29728,32703,35870,39235,42804,46583,50578,54795,59240,63919,68838,74003,79420,85095,91034,97243,103728,110495,117550,1...
graphwalker-dsl/src/main/antlr4/org/graphwalker/dsl/yed/YEdVertexParser.g4
avito-tech/graphwalker-project
3
1751
<reponame>avito-tech/graphwalker-project parser grammar YEdVertexParser; options { tokenVocab=YEdLabelLexer; } import DescriptionParser; parse locals [java.util.Set<String> fields = new java.util.HashSet<String>();] : start | field* EOF ; field : {!$parse::fields.contains("names")}? names {$parse::fields.add(...
oeis/177/A177146.asm
neoneye/loda-programs
11
175038
; A177146: n-th derivative of arctan(x) at x = 1, n >= 4. ; Submitted by <NAME> ; 0,-3,15,-45,0,1260,-11340,56700,0,-3742200,48648600,-340540200,0,40864824000,-694702008000,6252318072000,0,-1187940433680000,24946749107280000,-274414240180080000,0,75738330289702080000,-1893458257242552000000,24614957344153176000000,0,-9...
src/keystore-passwords-unsafe.adb
thierr26/ada-keystore
25
24791
<reponame>thierr26/ada-keystore<gh_stars>10-100 ----------------------------------------------------------------------- -- keystore-passwords-unsafe -- Unsafe password provider -- Copyright (C) 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you m...
agda-stdlib/src/Data/List/Relation/Unary/Grouped.agda
DreamLinuxer/popl21-artifact
5
14347
<filename>agda-stdlib/src/Data/List/Relation/Unary/Grouped.agda ------------------------------------------------------------------------ -- The Agda standard library -- -- Property that elements are grouped ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} mod...
Transynther/x86/_processed/NONE/_st_/i9-9900K_12_0xca_notsx.log_21829_1747.asm
ljhsiun2/medusa
9
96415
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r8 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x1cb5, %rsi lea addresses_UC_ht+0x6491, %rdi nop nop xor $64481, %rbp mov $37, %rcx rep movsq nop nop nop nop nop add %r12, %r12 lea addresses_D_ht+0x13011, %rdx clflush (%rdx)...
antlr-basics/src/main/java/com/poc/chapter_07_part01/gen/PropertyFile.g4
cgonul/antlr-poc
0
5127
grammar PropertyFile; file : prop+ ; prop : ID '=' STRING NEWLINE ; ID : [a-z]+ ; STRING : '"' .*? '"' ; NEWLINE:'\r'? '\n' ; // return newlines to parser (end-statement signal)
build-utils/protocol-base-mspec/src/main/antlr4/org/apache/plc4x/plugins/codegenerator/language/mspec/MSpec.g4
jixuan1989/plc4x
0
7116
<filename>build-utils/protocol-base-mspec/src/main/antlr4/org/apache/plc4x/plugins/codegenerator/language/mspec/MSpec.g4 grammar MSpec; /* 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 reg...
generated/natools-static_maps-web-simple_pages-commands.adb
faelys/natools-web
1
19266
<filename>generated/natools-static_maps-web-simple_pages-commands.adb<gh_stars>1-10 with Interfaces; use Interfaces; package body Natools.Static_Maps.Web.Simple_Pages.Commands is P : constant array (0 .. 3) of Natural := (1, 4, 7, 8); T1 : constant array (0 .. 3) of Unsigned_8 := (10, 0, 13, 16); ...
_incObj/Sonic RollRepel.asm
kodishmediacenter/msu-md-sonic
9
103024
<gh_stars>1-10 ; --------------------------------------------------------------------------- ; Subroutine to push Sonic down a slope while he's rolling ; --------------------------------------------------------------------------- ; ||||||||||||||| S U B R O U T I N E ||||||||||||||||||||||||||||||||||||||| Sonic_Rol...
src/ado-drivers-dialects.adb
Letractively/ada-ado
0
24467
<gh_stars>0 ----------------------------------------------------------------------- -- ADO Dialects -- Driver support for basic SQL Generation -- Copyright (C) 2010, 2011, 2012 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file e...
Scripts Pack Source Items/Scripts Pack/Core Components/Metal Window Appearance (10.4.11).applescript
Phorofor/ScriptsPack.macOS
1
3047
<reponame>Phorofor/ScriptsPack.macOS<filename>Scripts Pack Source Items/Scripts Pack/Core Components/Metal Window Appearance (10.4.11).applescript # Scripts Pack - Tweak various preference variables in macOS # <Phorofor, https://github.com/Phorofor/> -- Allows the use of a metal window background for dialogs and the w...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2804.asm
ljhsiun2/medusa
9
174570
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r14 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x1ac8e, %r11 nop nop nop nop nop and $19469, %r13 mov $0x6162636465666768, %rdx movq %rdx, %xmm3 movups %xmm3, (%r11) nop nop cmp $33538, %rax lea a...
asm/patches/shopsanity.asm
erose524/sslib
0
174374
<gh_stars>0 .open "d_a_shop_sampleNP.rel" .org 0x11A0 ; in function that sets up the shopitem classes, check if this ; is an item that uses the patched extra wallet class bl check_needs_custom_storyflag_subtype ; patches to make the extra wallet class use the last 2 bytes of the shop sample list as storyflag to check...
programs/oeis/314/A314829.asm
karttu/loda
1
242709
; A314829: Coordination sequence Gal.4.41.3 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings. ; 1,5,9,14,18,22,27,31,36,41,45,50,54,58,63,67,72,77,81,86,90,94,99,103,108,113,117,122,126,130,135,139,144,149,153,158,162,166,171,175,180,185...
lab02.asm
m-ross/cis225p2
0
81080
<filename>lab02.asm TITLE lab02 ; Programmer: <NAME> ; Due: 28 Feb, 2014 ; Description: This program prompts the user for 4 integers then subtracts them from a hardcoded number. It displays a report that shows the date of the run as well as the result of the aforementioned operation. .MODEL SMALL .386 .STA...
ada/common/midi_synthesizer.adb
FrankBuss/Ada_Synth
4
8906
package body MIDI_Synthesizer is function Create_Synthesizer return access Synthesizer is Ret : constant access Synthesizer := new Synthesizer; Base : Float := 8.1757989156; -- MIDI note C1 0 begin Ret.MIDI_Parser := Create_Parser (Ret); for I in Ret.MIDI_Notes'...
MP/LAB_001_Opt/Ver_Substring_Opcional.adb
usainzg/EHU
0
877
<reponame>usainzg/EHU<filename>MP/LAB_001_Opt/Ver_Substring_Opcional.adb<gh_stars>0 WITH Ada.Text_Io; USE Ada.Text_Io; procedure Ver_Substring_Opcional is -- salida: 11 booleanos(SE) -- post: corresponden a cada uno de los casos de pruebas dise�ados. -- pre: { True } function Substring_Sub( S : Stri...
src/atlas-microblog-beans.ads
stcarrez/atlas
7
9601
<filename>src/atlas-microblog-beans.ads ----------------------------------------------------------------------- -- atlas-microblog-beans -- Beans for module microblog -- Copyright (C) 2012, 2017 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may n...
sequence.asm
NotExactlySiev/psychofloat
1
166596
;;; Code for handling scripted events SequenceFrame: subroutine ldx sqtimer dex beq .advance stx sqtimer rts .advance .checkseq ldy sqidx lda sequence,y bne .nend ; are we in a sequence? rts .nend bmi .getmem ; is it just a simple set/offset? ...
msp430x2/msp430g2452/svd/msp430_svd-tlv_calibration_data.ads
ekoeppen/MSP430_Generic_Ada_Drivers
0
24090
-- This spec has been automatically generated from out.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with System; -- TLV Calibration Data package MSP430_SVD.TLV_CALIBRATION_DATA is pragma Preelaborate; --------------- -- Registers -- --------------- ---...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2710.asm
ljhsiun2/medusa
9
174862
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r15 push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x17832, %rsi lea addresses_D_ht+0x19b2, %rdi nop nop and $60497, %rbx mov $50, %rcx rep movsw nop nop nop nop nop and %r15, %r15 lea addresses_A_ht+0xcba2, %rsi lea addresses_D_ht+0x6e...
data/pokemon/base_stats/sinnoh/shinx.asm
Dev727/ancientplatinum
0
93792
db 0 ; 403 DEX NO db 46, 65, 34, 45, 40, 34 ; hp atk def spd sat sdf db ELECTRIC, ELECTRIC ; type db 235 ; catch rate db 60 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 100 ; unknown 1 db 20 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/sinnoh/shinx/fro...
Win32/Win32.Beagle/StartUp.asm
fengjixuchui/Family
3
806
<filename>Win32/Win32.Beagle/StartUp.asm ; StartUp Stuff, Loading settings, etc... ; ######################################################################### .data szShowMessage db "Can't find a viewer associated with the file",0 szShowCaption db "Error!",0 ...
vendor/stdlib/src/Data/Sum.agda
isabella232/Lemmachine
56
15767
<reponame>isabella232/Lemmachine ------------------------------------------------------------------------ -- Sums (disjoint unions) ------------------------------------------------------------------------ module Data.Sum where open import Data.Function open import Data.Maybe.Core ------------------------------------...
SE-2/MIL/3_tsr-div0/div0.asm
Adityajn/College-Codes
1
67
.MODEL TINY .CODE ORG 100H BEGIN: MOV AX,10H MOV BX,0H DIV BX MOV AH,4CH INT 21H END BEGIN
src/common/gimli.ads
damaki/libkeccak
26
11360
------------------------------------------------------------------------------- -- Copyright (c) 2019, <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: -- * Redistributions of s...
kernel.asm
abdalmoez/GOBOOT16
0
11770
[BITS 16] ORG 0 mov ax,0x0050 mov ds,ax mov es,ax mov fs,ax mov al,'$' mov ah,0xE int 0x10 mov si,msg call Print jmp $ msg db "Hello world\nThe code page stored in ROM is also called the hardware code page. In Western PCs it typically defaults to code page 437, but various Eastern European PCs used a number of othe...
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c85005a.ada
best08618/asylo
7
14911
-- C85005A.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 documentation contained herein. -- Unlimit...
apu/channel_4/channel_4_lfsr15.asm
endrift/SameSuite
21
1054
<reponame>endrift/SameSuite RESULTS_START EQU $c006 RESULTS_N_ROWS EQU 16 include "base.inc" ; This test verifies the LFSR algorithm used is correct, ; this time using 15-bit LFSR. ; For convinence, it proccesses the results into ; reconsructed LFSR values. CorrectResults: db $00, $00, $00, $80, $C0, $E0, $F0, $F8 ...
programs/oeis/038/A038390.asm
karttu/loda
0
166889
<gh_stars>0 ; A038390: Bisection of A028289. ; 1,2,5,11,17,27,42,57,78,106,134,170,215,260,315,381,447,525,616,707,812,932,1052,1188,1341,1494,1665,1855,2045,2255,2486,2717,2970,3246,3522,3822,4147,4472,4823,5201,5579,5985,6420,6855,7320,7816,8312,8840,9401,9962,10557,11187,11817,12483,13186,13889,14630,15410,16190,170...
mc-sema/validator/x86/tests/FILD_32m.asm
randolphwong/mcsema
2
103417
BITS 32 ;TEST_FILE_META_BEGIN ;TEST_TYPE=TEST_F ;TEST_IGNOREFLAGS= ;TEST_FILE_META_END ;TEST_BEGIN_RECORDING lea edi, [esp-0x08] mov dword [edi], 0x1 FILD dword [edi] mov edi, 0 ;TEST_END_RECORDING
agda-stdlib/src/Data/Product/N-ary/Properties.agda
DreamLinuxer/popl21-artifact
5
11332
<reponame>DreamLinuxer/popl21-artifact<filename>agda-stdlib/src/Data/Product/N-ary/Properties.agda ------------------------------------------------------------------------ -- The Agda standard library -- -- This module is DEPRECATED. Please use Data.Vec.Recursive.Properties -- instead. ---------------------------------...
programs/oeis/333/A333183.asm
karttu/loda
0
83851
; A333183: Number of digits in concatenation of first n positive even integers. ; 1,2,3,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,97,100,103,106,109,112,115,118,121,124,127,130,133,136,139,142,145,148,151,154,157,160,163,166,16...