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
libsrc/stdlib/atoi.asm
dex4er/deb-z88dk
1
96461
;/* ; * int atoi (char *) ; * ; * Convert ascii string to integer... ; * ; * equivalent to stroul(ptr,NULL,10) ; * ; * But this should be shorter... ; * ; * Almost k&r but not quite.. ; * ; * djm 5/1/2000 ; * ; * ----- ; * $Id: atoi.asm,v 1.6 2007/01/16 22:00:30 aralbrec Exp $ ; * ; */ XLIB atoi LIB l_neg ; FASTCALL ...
programs/oeis/280/A280181.asm
neoneye/loda
22
100542
; A280181: Indices of centered 9-gonal numbers (A060544) that are also squares (A000290). ; 1,17,561,19041,646817,21972721,746425681,25356500417,861374588481,29261379507921,994025528680817,33767606595639841,1147104598723073761,38967788749988868017,1323757712900898438801,44968794449880558051201,1527615253583038075302017...
programs/oeis/291/A291317.asm
neoneye/loda
22
85850
<filename>programs/oeis/291/A291317.asm ; A291317: A variation of the Josephus problem: a(n) is the surviving integer under the following elimination process. Arrange 1,2,3,...,n in a circle, increasing clockwise. Starting with i=1, at k-th stage, move k places clockwise and delete the current number. ; 1,1,1,3,4,3,7,7...
oeis/322/A322129.asm
neoneye/loda-programs
11
245594
; A322129: Digital roots of A057084. ; Submitted by <NAME>(m4) ; 1,8,2,6,5,1,4,6,7,8,8,9,8,1,7,3,4,8,5,3,2,1,1,9,1,8,2,6,5,1,4,6,7,8,8,9,8,1,7,3,4,8,5,3,2,1,1,9,1,8,2,6,5,1,4,6,7,8,8,9,8,1,7,3,4,8,5,3,2,1,1 mul $0,13 seq $0,71 ; a(n) = Fibonacci(n) - 1. mod $0,9 add $0,1
code/6502/tests/inp/kbtest.asm
visrealm/hbc-56
65
19109
<gh_stars>10-100 ; Troy's HBC-56 - Input test ; ; Copyright (c) 2021 <NAME> ; ; This code is licensed under the MIT license ; ; https://github.com/visrealm/hbc-56 ; !src "hbc56kernel.inc" Y_OFFSET = 4 PRESSED_KEY_COUNT = HBC56_USER_ZP_START pressedTable = $1000 extPressedTable = $1100 hbc56Meta: ...
Setoids/Cardinality/Finite/Definition.agda
Smaug123/agdaproofs
4
17533
{-# OPTIONS --safe --warning=error --without-K #-} open import Agda.Primitive using (Level; lzero; lsuc; _⊔_) open import Functions.Definition open import Numbers.Naturals.Definition open import Sets.FinSet.Definition open import Setoids.Setoids module Setoids.Cardinality.Finite.Definition where record FiniteSetoid ...
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xca_notsx.log_36_1865.asm
ljhsiun2/medusa
9
175909
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r14 push %r15 push %r8 push %rcx push %rdi push %rsi lea addresses_WC_ht+0x7d00, %rsi lea addresses_D_ht+0x10c72, %rdi clflush (%rsi) xor %r10, %r10 mov $115, %rcx rep movsb nop nop nop nop nop add $56514, %r13 lea addresses_D_ht+0x17300, %rsi lea a...
Categories/Functor/Hom.agda
copumpkin/categories
98
12948
{-# OPTIONS --universe-polymorphism #-} module Categories.Functor.Hom where open import Data.Product using (_×_; uncurry; proj₁; proj₂; _,_) open import Categories.Support.Equivalence open import Categories.Support.SetoidFunctions renaming (id to id′) open import Categories.Category open import Categories.Bifunctor u...
Build/Interpreters/Ozmoo/asm/constants.asm
polluks/Puddle-BuildTools
38
3586
<gh_stars>10-100 ; C128 is now in a separate constants-c128 instead ; !ifdef TARGET_C64 { basic_reset = $a000 SCREEN_HEIGHT = 25 SCREEN_WIDTH = 40 SCREEN_ADDRESS = $0400 COLOUR_ADDRESS = $d800 COLOUR_ADDRESS_DIFF = COLOUR_ADDRESS - SCREEN_ADDRESS num_rows = $a6 ; !byte 0...
libsrc/_DEVELOPMENT/arch/ts2068/display/c/sccz80/tshr_cxy2saddr_callee.asm
jpoikela/z88dk
38
24439
; void *tshr_cxy2saddr(uchar x, uchar y) SECTION code_clib SECTION code_arch PUBLIC tshr_cxy2saddr_callee EXTERN asm_zx_cxy2saddr tshr_cxy2saddr_callee: pop hl ex (sp),hl jp asm_zx_cxy2saddr
programs/oeis/021/A021283.asm
neoneye/loda
22
20477
<reponame>neoneye/loda<filename>programs/oeis/021/A021283.asm ; A021283: Decimal expansion of 1/279. ; 0,0,3,5,8,4,2,2,9,3,9,0,6,8,1,0,0,3,5,8,4,2,2,9,3,9,0,6,8,1,0,0,3,5,8,4,2,2,9,3,9,0,6,8,1,0,0,3,5,8,4,2,2,9,3,9,0,6,8,1,0,0,3,5,8,4,2,2,9,3,9,0,6,8,1,0,0,3,5,8,4,2,2,9,3,9,0,6,8,1,0,0,3,5,8,4,2,2,9 add $0,2 mov $1,10...
sharding-core/src/main/antlr4/imports/PostgreSQLBase.g4
FloodDragon/sharding-sphere
0
2327
grammar PostgreSQLBase; import PostgreSQLKeyword, DataType, Keyword, Symbol, BaseRule; columnDefinition : columnName dataType collateClause? columnConstraint* ; dataType : typeName intervalFields? dataTypeLength? (WITHOUT TIME ZONE | WITH TIME ZONE)? (LBT_ RBT_)* | ID ; typeName : DO...
test/agda-ocaml/Golden/InsertionSort.agda
agda/agda-ocaml
48
13021
<gh_stars>10-100 module Golden.InsertionSort where open import Agda.Builtin.Nat open import Agda.Builtin.List open import Agda.Builtin.Bool insert : Nat -> List Nat -> List Nat insert a [] = a ∷ [] insert x (a ∷ b) with x < a ... | true = x ∷ a ∷ b ... | false = a ∷ (insert x b) foldr : ∀ {a b : Set} → (a → b → b) →...
programs/oeis/175/A175886.asm
karttu/loda
1
160628
<reponame>karttu/loda ; A175886: Numbers that are congruent to {1, 12} mod 13. ; 1,12,14,25,27,38,40,51,53,64,66,77,79,90,92,103,105,116,118,129,131,142,144,155,157,168,170,181,183,194,196,207,209,220,222,233,235,246,248,259,261,272,274,285,287,298,300,311,313,324,326,337,339,350,352,363,365,376,378,389,391,402,404,415...
other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/日本_Ver2/chip/ys_msub0.asm
prismotizm/gigaleak
0
5082
Name: ys_msub0.asm Type: file Size: 298457 Last-Modified: '2016-05-13T04:51:40Z' SHA-1: 3394406B395D3A6D04A10646AF637CA16B7BD276 Description: null
oeis/133/A133767.asm
neoneye/loda-programs
11
102468
; A133767: a(n) = (4*n+3)*(4*n+5)*(4*n+7). ; Submitted by <NAME> ; 105,693,2145,4845,9177,15525,24273,35805,50505,68757,90945,117453,148665,184965,226737,274365,328233,388725,456225,531117,613785,704613,803985,912285,1029897,1157205,1294593,1442445,1601145,1771077,1952625 mul $0,2 sub $2,$0 mul $0,2 add $0,6 bin $0,3 ...
Packets/compile/c.asm
TrojanIsHere/GOD
0
164232
<gh_stars>0 ; -- Create in 2010 desember 14 ORG 100H EOF: EQU 1AH ;End of file EOL: EQU 0DH FCB: EQU 5CH SYSTEM: EQU 5 OPEN: EQU 15 CLOSE: EQU 16 SETDMA: EQU 26 CREATE: EQU 22 DELETE: EQU 19 READ: EQU 20 WRITE: EQU 21 PRNBUF: EQU 9 MOV SP,STACK MOV DX,HEADER MOV CL,9 CALL SYSTEM MOV BX,FCB+12 XOR AL,AL MOV CH,...
src/commands/makedict_main.adb
lenzomj/whitakers-words
204
5991
<reponame>lenzomj/whitakers-words -- 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 i...
arch/ARM/STM32/driversL0/stm32-exti.ads
morbos/Ada_Drivers_Library
2
24215
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015, AdaCore -- -- -- -- ...
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_45_472.asm
ljhsiun2/medusa
9
24761
<filename>Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_45_472.asm .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r14 push %r8 push %rbp push %rcx push %rdi push %rsi lea addresses_D_ht+0x8308, %r11 nop nop nop nop nop and $2515, %rsi mov (%r11), %r8w nop nop nop sub $7121, %r14 lea add...
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_21829_555.asm
ljhsiun2/medusa
9
22768
<reponame>ljhsiun2/medusa<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x1d3d2, %r12 xor %rcx, %rcx movw $0x6162, (%r12) nop nop nop nop nop xor $53636, %rdi lea addresses_UC_ht+0x1b5b2, %rsi lea addresses_WT_ht+0x1c9...
programs/oeis/081/A081352.asm
neoneye/loda
22
8362
; A081352: Main diagonal of square maze arrangement of natural numbers A081349. ; 1,7,11,21,29,43,55,73,89,111,131,157,181,211,239,273,305,343,379,421,461,507,551,601,649,703,755,813,869,931,991,1057,1121,1191,1259,1333,1405,1483,1559,1641,1721,1807,1891,1981,2069,2163,2255,2353,2449,2551,2651,2757,2861,2971,3079,3193,...
src/base/properties/util-properties-bundles.ads
RREE/ada-util
60
8717
<filename>src/base/properties/util-properties-bundles.ads ----------------------------------------------------------------------- -- util-properties-bundles -- Generic name/value property management -- Copyright (C) 2001, 2002, 2003, 2006, 2008, 2009, 2010, 2011, 2012, 2018 <NAME> -- Written by <NAME> (<EMAIL>) -- -...
de.fhdo.lemma.intermediate.transformations/transformation/IntermediateOperationModelTransformation.asm
frademacher/thesis-lemma-code
18
28805
<gh_stars>10-100 <?xml version = '1.0' encoding = 'ISO-8859-1' ?> <asm version="1.0" name="0"> <cp> <constant value="IntermediateOperationModelTransformation"/> <constant value="links"/> <constant value="NTransientLinkSet;"/> <constant value="col"/> <constant value="J"/> <constant value="main"/> <constan...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_3001.asm
ljhsiun2/medusa
9
101526
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r14 push %r15 push %r8 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0xbbae, %r15 nop sub %rcx, %rcx movw $0x6162, (%r15) nop nop nop nop cmp %rdx, %rdx lea addresses_A_ht+0xa00e, %rsi lea addresses_WT_ht+0x1b3be, %rdi no...
src/fot/FOL/PropositionalLogic/TheoremsI.agda
asr/fotc
11
127
------------------------------------------------------------------------------ -- Propositional logic theorems ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-universe-polymorphism #-} ...
src/main.asm
BlockoS/up-news
2
88330
<reponame>BlockoS/up-news<gh_stars>1-10 .include "system.inc" .include "irq.inc" .include "vce.inc" .include "vdc.inc" .include "psg.inc" .include "macro.inc" .include "word.inc" .include "memcpy.inc" .code .bank 0 .org $e000 ; .include "math_tbl.asm" .include "d...
programs/oeis/083/A083822.asm
neoneye/loda
22
20514
<reponame>neoneye/loda ; A083822: a(n) = digit reversal of 3*n, divided by 3. ; 1,2,3,7,17,27,4,14,24,1,11,21,31,8,18,28,5,15,25,2,12,22,32,9,19,29,6,16,26,3,13,23,33,67,167,267,37,137,237,7,107,207,307,77,177,277,47,147,247,17,117,217,317,87,187,287,57,157,257,27,127,227,327,97,197,297,34,134,234,4,104,204,304,74,174,...
programs/oeis/228/A228320.asm
karttu/loda
1
105235
; A228320: The Wiener index of the graph obtained by applying Mycielski's construction to the cycle graph C(n). ; 203,280,369,470,583,708,845,994,1155,1328,1513,1710,1919,2140,2373,2618,2875,3144,3425,3718,4023,4340,4669,5010,5363,5728,6105,6494,6895,7308,7733,8170,8619,9080,9553,10038,10535,11044,11565 add $0,6 mul $...
issues/universal-quantified-functions-option/NonFOLHigherOrderFunctions.agda
asr/apia
10
17317
------------------------------------------------------------------------------ -- Testing the translation of higher-order functions ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-universe-polymorphism #-} {-# OPTION...
src/q_sound.canberra.adb
jfuica/bingada
4
22884
<reponame>jfuica/bingada<gh_stars>1-10 --***************************************************************************** --* --* PROJECT: BINGADA --* --* FILE: q_sound.adb --* --* AUTHOR: Manuel <mgrojo at github> --* --*****************************************************************...
gfx/pokemon/steelix/anim.asm
Dev727/ancientplatinum
28
17851
frame 1, 14 frame 2, 18 frame 3, 28 frame 2, 08 frame 1, 06 endanim
src/main.adb
kanigsson/base58
2
7509
with Ada.Text_IO; with Base; procedure Main is begin Ada.Text_IO.Put_Line (String (Base.Encode ("toto"))); end Main;
programs/oeis/193/A193656.asm
neoneye/loda
22
177125
; A193656: Q-residue of the triangle p(n,k)=(2^(n - k))*5^k, 0<=k<=n, where Q is the triangular array (t(i,j)) given by t(i,j)=1. (See Comments.) ; 1,7,43,247,1363,7327,38683,201607,1040803,5335087,27199723,138095767,698867443,3527891647,17773675963,89405250727,449173737283,2254458621007,11306652843403,56670703170487,...
Sources/Model/duck_p.adb
ForYouEyesOnly/Space-Convoy
1
8465
-- -- Jan & <NAME>, Australia, July 2011 -- with GL, GL.Materials, GLOBE_3D.Math; package body Duck_P is -- Pretty output: FALSE use GL, GL.Materials, GLOBE_3D, GLOBE_3D.Math; -- begin Separator # 1 -- VRML: [# triangle mesh -- ] matos_1 : constant Material_type := ( ...
src/asis/a4g-dda_aux.ads
My-Colaborations/dynamo
15
28355
<filename>src/asis/a4g-dda_aux.ads ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
old/Tests/Numeral.agda
Lolirofle/stuff-in-agda
6
1824
module Test.Numeral where import Lvl open import Relator.Equals{Lvl.𝟎} module One where test0 : (0 mod 1) ≡ 0 test0 = [≡]-intro test1 : (1 mod 1) ≡ 0 test1 = [≡]-intro test2 : (2 mod 1) ≡ 0 test2 = [≡]-intro test3 : (3 mod 1) ≡ 0 test3 = [≡]-intro test4 : (4 mod 1) ≡ 0 te...
tests/syntax/bad/testfile-params-1.adb
xuedong/mini-ada
0
9925
<filename>tests/syntax/bad/testfile-params-1.adb<gh_stars>0 with Ada.Text_IO; use Ada.Text_IO; procedure Test is procedure P() is begin x := 0; end; begin Put('a'); end;
cards/bn6/ModCards/137-B018 CanGuard.asm
RockmanEXEZone/MMBN-Mod-Card-Kit
10
15427
<reponame>RockmanEXEZone/MMBN-Mod-Card-Kit<filename>cards/bn6/ModCards/137-B018 CanGuard.asm .include "defaults_mod.asm" table_file_jp equ "exe6-utf8.tbl" table_file_en equ "bn6-utf8.tbl" game_code_len equ 3 game_code equ 0x4252354A // BR5J game_code_2 equ 0x42523545 // BR5E game_code_3 equ 0x42523550 // BR5P c...
asm/doublewhile.asm
pedroreissantos/pepe
0
4280
; PEPE gerado por 'lcc' (IST: prs 2005, 2009) ; 'rl' serve como frame-pointer e 'r0' como acumulador ; os registos 'r1' a 'r10' sao preservados nas chamadas include atoi.asm include lib.asm ; global main ; TEXT main: ; ncalls=3 PUSH r9 PUSH r10 PUSH rl MOV rl, sp ; P_argc EQU 8 ; P_argv EQU 10 SUB sp, 4 MOV r10, 10 ADD...
src/spread/cmd_grid.asm
olifink/qspread
0
85474
<reponame>olifink/qspread * Spreadsheet 28/01-91 * - grid command routines section prog include win1_keys_wman include win1_keys_wstatus include win1_keys_wwork include win1_keys_qdos_pt include win1_keys_k include win1_keys_qdos_io include win1_mac_oli include win1_spread_keys ...
old/Structure/Logic/Classical/SetTheory/Relation.agda
Lolirofle/stuff-in-agda
6
3752
<reponame>Lolirofle/stuff-in-agda import Structure.Logic.Classical.NaturalDeduction module Structure.Logic.Classical.SetTheory.Relation {ℓₗ} {Formula} {ℓₘₗ} {Proof} {ℓₒ} {Domain} ⦃ classicLogic : _ ⦄ (_∈_ : Domain → Domain → Formula) where open Structure.Logic.Classical.NaturalDeduction.ClassicalLogic {ℓₗ} {Formula} {...
source/parser_data.ads
jquorning/CELLE
0
4462
<gh_stars>0 -- -- The author disclaims copyright to this source code. In place of -- a legal notice, here is a blessing: -- -- May you do good and not evil. -- May you find forgiveness for yourself and forgive others. -- May you share freely, not taking more than you give. -- with Ada.Strings.Unbounded; wi...
oeis/226/A226577.asm
neoneye/loda-programs
11
21758
; A226577: Smallest number of integer-sided squares needed to tile a 4 X n rectangle. ; 0,4,2,4,1,5,3,5,2,6,4,6,3,7,5,7,4,8,6,8,5,9,7,9,6,10,8,10,7,11,9,11,8,12,10,12,9,13,11,13,10,14,12,14,11,15,13,15,12,16,14,16,13,17,15,17,14,18,16,18,15,19,17,19,16,20,18,20,17,21,19,21,18,22,20,22,19,23,21,23,20,24,22,24,21,25,23,2...
Transynther/x86/_processed/US/_zr_/i7-7700_9_0xca_notsx.log_10_1744.asm
ljhsiun2/medusa
9
13907
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r9 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_A_ht+0x81f3, %rsi lea addresses_A_ht+0x1b8b3, %rdi nop nop nop nop nop and $52769, %rbp mov $66, %rcx rep movsl cmp $39605, %r12 lea addresses_D_ht+0x20b3, %rax nop nop nop nop and %...
bb-runtimes/runtimes/ravenscar-sfp-stm32g474/gnarl/s-bbtime.ads
JCGobbi/Nucleo-STM32G474RE
0
19576
<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
b2stest/spark_io.adb
lkujaw/ada-blake2
1
4804
<reponame>lkujaw/ada-blake2 ----------------------------------------------------------------------- -- Copyright 2012 Altran Praxis Limited -- -- Copyright 2021 <NAME> -- -- -- -- ...
Task/Inverted-index/Ada/inverted-index-4.ada
LaudateCorpus1/RosettaCodeData
1
25124
with Gnat.Regpat; package Parse_Lines is Word_Pattern: constant String := "([a-zA-Z]+)"; Filename_Pattern: constant String := "([a-zA-Z0-9_.,;:]+)"; procedure Search_For_Pattern(Pattern: Gnat.Regpat.Pattern_Matcher; Search_In: String; First, La...
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_1509.asm
ljhsiun2/medusa
9
10447
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r8 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x2529, %rsi lea addresses_normal_ht+0x19789, %rdi nop add %r8, %r8 mov $106, %rcx rep movsb nop nop nop dec %r12 lea addresses_WC_ht+0x8f89, %r9 clflush (%r9) nop add $4105...
programs/oeis/062/A062830.asm
neoneye/loda
22
29591
; A062830: a(n) = n - phi(n) + 1. ; 1,2,2,3,2,5,2,5,4,7,2,9,2,9,8,9,2,13,2,13,10,13,2,17,6,15,10,17,2,23,2,17,14,19,12,25,2,21,16,25,2,31,2,25,22,25,2,33,8,31,20,29,2,37,16,33,22,31,2,45,2,33,28,33,18,47,2,37,26,47,2,49,2,39,36,41,18,55,2,49,28,43,2,61,22,45,32,49,2,67,20,49,34,49,24,65,2,57,40,61 mov $1,$0 seq $1,10 ...
Cubical/ZCohomology/S1/S1.agda
borsiemir/cubical
0
13068
{-# OPTIONS --cubical --safe #-} module Cubical.ZCohomology.S1.S1 where open import Cubical.ZCohomology.Base open import Cubical.ZCohomology.Properties open import Cubical.HITs.S1 open import Cubical.Foundations.Prelude open import Cubical.Foundations.Isomorphism open import Cubical.HITs.SetTruncation open import Cubi...
programs/oeis/032/A032091.asm
neoneye/loda
22
81109
<reponame>neoneye/loda<gh_stars>10-100 ; A032091: Number of reversible strings with n-1 beads of 2 colors. 4 beads are black. String is not palindromic. ; 2,6,16,32,60,100,160,240,350,490,672,896,1176,1512,1920,2400,2970,3630,4400,5280,6292,7436,8736,10192,11830,13650,15680,17920,20400,23120,26112,29376,32946,36822,410...
Asm4Kids/26adcby2s.asm
jacmoe/c64adventures
17
84442
; adc by two's ; the accumulator is incremented by two each time the program loops ; the clc instruction makes sure that the contents of the accumulator ; are incremented only by two and not two plus the carry ; 10 SYS (49152) *=$0801 BYTE $0E, $08, $0A, $00, $9E, $20, $28, $34, $39, $31, $35, $...
dhis-2/dhis-support/dhis-support-expression-parser/src/main/antlr4/org/hisp/dhis/parser/expression/antlr/Expression.g4
netroms/dhis2-core
0
6742
// ANTLR V4 grammar file to define DHIS2 epression syntax grammar Expression; // ----------------------------------------------------------------------------- // Parser rules // ----------------------------------------------------------------------------- expression // The expression must last until the end of the ...
Assembly/Monte Carlo/Monte Carlo.asm
xiuzi2009/Projects-while-studying-
0
171001
<reponame>xiuzi2009/Projects-while-studying- .text .globl main main: # get the time li $v0, 30 # get time in milliseconds (as a 64-bit value) syscall move $t0, $a0 # save the lower 32-bits of time # seed the random generator (just once) li $a0, 1 # random generator id (will be used later) move $a1, $t0 # s...
libsrc/_DEVELOPMENT/stdio/z80/asm_vfprintf_unlocked.asm
dp304/z88dk
4
12595
; =============================================================== ; Jan 2014 ; =============================================================== ; ; int vfprintf_unlocked(FILE *stream, const char *format, void *arg) ; ; See C11 specification. ; ; =============================================================== IFNDEF C...
oeis/000/A000328.asm
neoneye/loda-programs
11
29800
<reponame>neoneye/loda-programs<filename>oeis/000/A000328.asm ; A000328: Number of points of norm <= n^2 in square lattice. ; Submitted by <NAME> ; 1,5,13,29,49,81,113,149,197,253,317,377,441,529,613,709,797,901,1009,1129,1257,1373,1517,1653,1793,1961,2121,2289,2453,2629,2821,3001,3209,3409,3625,3853,4053,4293,4513,477...
OvmfPkg/Bhyve/BhyveRfbDxe/VbeShim.asm
AmazingTurtle/edk2
0
101452
<filename>OvmfPkg/Bhyve/BhyveRfbDxe/VbeShim.asm ;------------------------------------------------------------------------------ ; @file ; A minimal Int10h stub that allows the Windows 2008 R2 SP1 UEFI guest's buggy, ; default VGA driver to switch to 1024x768x32. ; ; Copyright (C) 2020, <NAME> <<EMAIL>> ; Copyrigh...
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ca/ca2008a0.ada
best08618/asylo
7
4308
<gh_stars>1-10 -- CA2008A0M.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 herei...
third_party/Hello.g4
at15/reika
0
7705
// example from The Definitive ANTLR 4 Reference grammar Hello; r : 'hello' ID ; ID : [a-z]+ ; WS : [ \t\r\n]+ -> skip;
gillesdubois/used_apple_scripts/iTunesNowPlaying.applescript
gillesdubois/btt-touchbar-presets
1,879
3659
<reponame>gillesdubois/btt-touchbar-presets<filename>gillesdubois/used_apple_scripts/iTunesNowPlaying.applescript if application "iTunes" is running then tell application "iTunes" if player state is playing then set trackName to (get artist of current track) & " – " & (get name of current track) set strLength ...
typepaste-file-base32.applescript
atisu/typepaste
1
757
<gh_stars>1-10 set myFile to (choose file with prompt "Please select a file:") display dialog "After clicking Continue, please make the target window active. There is a 3 seconds delay before starting to paste. You can abort pasting anytime by moving the mouse pointer to the upper left corner of the screen. " buttons...
git-gui.scpt
MichalWilk/git-gui.app
1
3969
<filename>git-gui.scpt on run set gitDocURL to "https://git-scm.com/book/en/v1/Getting-Started-Installing-Git" set brewInstallCommand to "/usr/bin/ruby -e \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)\"" try do shell script "command -v /usr/local/bin/git" tell application "Ter...
FormalAnalyzer/models/apps/KnockKnock.als
Mohannadcse/IoTCOM_BehavioralRuleExtractor
0
3927
module app_KnockKnock open IoTBottomUp as base open cap_runIn open cap_now open cap_accelerationSensor open cap_contactSensor one sig app_KnockKnock extends IoTApp { accelSensor : one cap_accelerationSensor, contactSensor : one cap_contactSensor, state : one cap_state, } { rules = r //capabilitie...
ansi_cursor_position.asm
thlorenz/lib.asm
12
88837
<reponame>thlorenz/lib.asm<filename>ansi_cursor_position.asm ; vim: ft=nasm extern sys_write_stdout extern hex2decimal section .data ansi_cursor : db 27,"[" ansi_cursor_y : db '000;' ansi_cursor_x : db '000H' ansi_cursor_len equ $-ansi_cursor section .text ; -------------------------------------------------...
programs/oeis/199/A199314.asm
karttu/loda
1
86823
<filename>programs/oeis/199/A199314.asm ; A199314: (11*5^n+1)/4. ; 3,14,69,344,1719,8594,42969,214844,1074219,5371094,26855469,134277344,671386719,3356933594,16784667969,83923339844,419616699219,2098083496094,10490417480469,52452087402344,262260437011719,1311302185058594,6556510925292969 mov $1,5 pow $1,$0 div $1,4 mu...
vp8/encoder/arm/armv5te/boolhuff_armv5te.asm
CM-Archive/android_external_libvpx
0
161094
; ; Copyright (c) 2010 The WebM project authors. All Rights Reserved. ; ; Use of this source code is governed by a BSD-style license ; that can be found in the LICENSE file in the root of the source ; tree. An additional intellectual property rights grant can be found ; in the file PATENTS. All contributing proje...
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48_notsx.log_21829_923.asm
ljhsiun2/medusa
9
246928
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r9 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x1a04c, %rdx nop nop nop nop nop inc %r13 movw $0x6162, (%rdx) nop dec %rcx lea addresses_UC_ht+0x1804c, %rsi lea addresses_UC_ht+0x5d04, %rdi nop nop sub %r9, %r9 mov $37, %r...
hello/hello.asm
pdpdds/DOSDev
0
87059
<reponame>pdpdds/DOSDev .model small .stack .data msg db "Hello World!", 13, 10, "$" .code start: mov ax, @data mov ds, ax ; set DS to point to data segment mov dx, offset msg ; point to the string mov ah, 09h ; function to print the string int 21h ...
oeis/028/A028051.asm
neoneye/loda-programs
11
2516
<filename>oeis/028/A028051.asm ; A028051: Expansion of 1/((1-3x)(1-4x)(1-10x)(1-12x)). ; Submitted by <NAME> ; 1,29,555,8905,130091,1796769,23932195,310954985,3969388731,50012943409,623962124435,7725629774265,95088465616171,1164870934296449,14216545739974275,172979498415780745 mov $1,1 mov $2,$0 mov $3,$0 lpb $2 mov...
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xa0_notsx.log_21829_1202.asm
ljhsiun2/medusa
9
83331
<reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xa0_notsx.log_21829_1202.asm .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r15 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x12859, %rsi lea addresses_UC_ht+0x15fd9, %rdi nop no...
LAB4/q3C.asm
Avigdor-Kolonimus/ASM
0
82872
<filename>LAB4/q3C.asm dseg segment N1 DB ?,?,?,? ;first number N2 DB ? ;second number N3 DB ?,?,?,? ;answer number MESSErr DB 0Ah,0Dh,"input is not correct",0Ah,0Dh, '$' ;error message Number1 DB "Enter first number",0Ah,0Dh, '$' ;request message Number2 DB 0Ah,0Dh,"Enter second number",0Ah,0Dh, ...
target/cos_117/disasm/iop_overlay1/CONMAN.asm
jrrk2/cray-sim
49
105261
0x0000 (0x000000) 0x2118- f:00020 d: 280 | A = OR[280] 0x0001 (0x000002) 0x141A- f:00012 d: 26 | A = A + 26 (0x001A) 0x0002 (0x000004) 0x2908- f:00024 d: 264 | OR[264] = A 0x0003 (0x000006) 0x1000- f:00010 d: 0 | A = 0 (0x0000) ...
src/fot/DistributiveLaws/TaskB-TopDownATP.agda
asr/fotc
11
11891
<reponame>asr/fotc ------------------------------------------------------------------------------ -- Distributive laws on a binary operation: Task B ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# O...
Transynther/x86/_processed/US/_zr_/i7-7700_9_0x48.log_21829_1083.asm
ljhsiun2/medusa
9
14786
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r15 push %r9 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x1c702, %rsi lea addresses_WT_ht+0x1df02, %rdi cmp %r10, %r10 mov $24, %rcx rep movsw nop nop nop nop nop add $27642, %r15 lea addresses_D_ht+0x5602, %rsi lea addresses_WC...
Build/Interpreters/Ozmoo/asm/zaddress.asm
polluks/Puddle-BuildTools
38
11577
; z_address !byte 0,0,0 ; z_address_temp !byte 0 !zone zaddress { set_z_address stx z_address + 2 sta z_address + 1 lda #$0 sta z_address rts dec_z_address pha dec z_address + 2 lda z_address + 2 cmp #$ff bne + dec z_address + 1 lda z_address + 1 cmp #$ff bne + dec z_address + pla rts set_z_himem_...
oeis/021/A021315.asm
neoneye/loda-programs
11
21971
; A021315: Decimal expansion of 1/311. ; Submitted by <NAME>(s2.) ; 0,0,3,2,1,5,4,3,4,0,8,3,6,0,1,2,8,6,1,7,3,6,3,3,4,4,0,5,1,4,4,6,9,4,5,3,3,7,6,2,0,5,7,8,7,7,8,1,3,5,0,4,8,2,3,1,5,1,1,2,5,4,0,1,9,2,9,2,6,0,4,5,0,1,6,0,7,7,1,7,0,4,1,8,0,0,6,4,3,0,8,6,8,1,6,7,2,0,2 seq $0,173833 ; 10^n - 3. add $0,1 div $0,311 mod $0,...
libsrc/_DEVELOPMENT/stdio/c/sdcc_iy/fclose_unlocked.asm
jpoikela/z88dk
640
83529
<reponame>jpoikela/z88dk ; int fclose_unlocked(FILE *stream) SECTION code_clib SECTION code_stdio PUBLIC _fclose_unlocked EXTERN asm_fclose_unlocked _fclose_unlocked: pop af pop ix push hl push af jp asm_fclose_unlocked
src/main/java/antlr/MiniJava.g4
Mortaza-Seydi/Mini-Java-Compiler
2
6524
grammar MiniJava; minijava : (classDeclaration)* EOF ; classDeclaration : CLASS Id '{' (methodDeclaration | fieldDeclaration)* '}' ; fieldDeclaration : declarators Id ('=' expression)?';' ; methodDeclaration : declarators Id '(' parameterList? ')' '{' statement* (RETURN expression ';')? '}' ; declarators : (PUBLIC...
Data/Sigma/Base.agda
oisdk/agda-playground
6
3742
<reponame>oisdk/agda-playground<gh_stars>1-10 {-# OPTIONS --without-K --safe #-} module Data.Sigma.Base where open import Agda.Builtin.Sigma using (Σ; _,_; fst; snd) public open import Level infixr 4.5 ∃-syntax ∃-syntax : ∀ {a b} {A : Type a} (B : A → Type b) → Type (a ℓ⊔ b) ∃-syntax {A = A} = Σ A syntax ∃-synt...
Transynther/x86/_processed/NONE/_xt_sm_/i7-8650U_0xd2_notsx.log_1004_464.asm
ljhsiun2/medusa
9
91376
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r9 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x1459, %rsi lea addresses_WC_ht+0xc959, %rdi clflush (%rsi) and %r12, %r12 mov $79, %rcx rep movsl nop inc %rbx lea addresses_UC_ht+0x4439, %rbp nop xor %r12, %r12 mov $0x6162...
alloy4fun_models/trashltl/models/11/6NL926bZNuAYjac6Z.als
Kaixi26/org.alloytools.alloy
0
2532
open main pred id6NL926bZNuAYjac6Z_prop12 { always all f: File | f in Trash until f not in Trash } pred __repair { id6NL926bZNuAYjac6Z_prop12 } check __repair { id6NL926bZNuAYjac6Z_prop12 <=> prop12o }
awa/plugins/awa-workspaces/src/model/awa-workspaces-models.adb
Letractively/ada-awa
0
29932
----------------------------------------------------------------------- -- AWA.Workspaces.Models -- AWA.Workspaces.Models ----------------------------------------------------------------------- -- File generated by ada-gen DO NOT MODIFY -- Template used: templates/model/package-body.xhtml -- Ada Generator: https://...
libsrc/osca/set_load_length.asm
grancier/z180
0
176090
<gh_stars>0 ; ; Old School Computer Architecture - interfacing FLOS ; <NAME>, 2012 ; ; void set_load_length(unsigned long length); ; ; Forces the read length of the file transfer to a certain value (use after find file) ; ; Input Registers : ; IX:IY = Bytes to load ; ; ; $Id: set_load_length.asm,v 1.4 2016/06/22 22:13:...
8085 Microprocessor/Assignment 2/sol3b.asm
neeladripal/bcse-lab
0
14873
<reponame>neeladripal/bcse-lab LXI H,2050H ; set up HL to point to first number in array LDA 204FH ; store value of N in 204FH MOV C,A ; place N in register C to use as counter MOV B,M ; copy the first number in register B INX H ; increment H to point to the address of second...
src/parser.asm
LessNick/CLi-for-WildCommander
8
29626
;--------------------------------------- ; Command line parser ;--------------------------------------- ; In: de, command string addr ; hl, table of commands list ; Out:a,#ff = command not found ; a,#00 - command found, hl - addr params start ;startCode ; ld hl,table ; ld de,cmd_buffer ; call parser parser ...
_maps/obj24.asm
vladjester2020/Sonic1TMR
0
25838
<filename>_maps/obj24.asm ; --------------------------------------------------------------------------- ; Sprite mappings - explosion ; --------------------------------------------------------------------------- dc.w byte_8EAE-Map_obj24, byte_8EB4-Map_obj24 dc.w byte_8EBA-Map_obj24, byte_8EC0-Map_obj24 byte_8E...
dev/display/lcd/font-r3.asm
minblock/msdos
0
6969
;/* ; * Microsoft Confidential ; * Copyright (C) Microsoft Corporation 1991 ; * All Rights Reserved. ; */ CODE SEGMENT BYTE PUBLIC 'CODE' ASSUME CS:CODE,DS:CODE BEGIN: ORG 0 FNTHEAD:DB 0FFH,"FONT " ;FILE TAG DB 8 DUP(0) ;RESERVE...
get_two_numbers_and_multiply.asm
daniyalmarofi/assembly
0
9173
.ORIG x3000 JSR INPUT ADD R3, R0, #0 ; copy Input to R3 JSR INPUT ADD R4, R0, #0 ; copy Input to R4 JSR MULTIP HALT INPUT ADD R4, R7, #0 IN ; read a character from console (and store it in R0) LD R1, O ADD R0, R0, R1 ; R0=int(IN) ADD R7, R4, #0 ;...
src/asf-components-utils-beans.adb
Letractively/ada-asf
0
12802
<reponame>Letractively/ada-asf<gh_stars>0 ----------------------------------------------------------------------- -- components-utils-beans -- Bean component utility -- Copyright (C) 2011 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use ...
oeis/264/A264450.asm
neoneye/loda-programs
11
86329
; A264450: a(n) = n*(n + 11)*(n + 22)*(n + 33)*(n + 44)/120. ; Submitted by <NAME>(s1) ; 0,3519,8372,14805,23088,33516,46410,62118,81016,103509,130032,161051,197064,238602,286230,340548,402192,471835,550188,638001,736064,845208,966306,1100274,1248072,1410705,1589224,1784727,1998360,2231318,2484846,2760240,3058848,33820...
test/Fail/BadCon.agda
cruhland/agda
1,989
11746
<filename>test/Fail/BadCon.agda module BadCon where data D : Set where d : D data E : Set where d : E postulate F : D -> Set test : (x : D) -> F x test = d -- Bad error (unbound de Bruijn index): -- the constructor d does not construct an element of F @0 -- when checking that the expression d has type (x : D...
helloos/Kernel/kernel.library.debug.asm
kbu1564/HelloOS
15
243466
; 숫자값을 hex 형태로 출력하는 함수 ; void _print_hex32(int y, int x, DWORD register); ; push 출력할 Y좌표 값 ; push 출력할 X좌표 값 ; push 출력할 DWORD 크기의 데이터 _print_hex32: push ebp mov ebp, esp pusha mov esi, StrDumpData mov dword [esi], 0x7830 ; 0x 출력 mov ah, 0x04 ; 색상값 셋팅 mov ecx, 8 mov edi, ebp a...
dv3/hd/ide/mformat.asm
olifink/smsqe
0
13321
; DV3 IDE Format V300  1998 <NAME> section dv3 xdef id_mformat xref hd_fpart xref hd_fchk xref id_ident xref dv3_slen xref gu_achpp xref gu_rchp include 'dev8_keys_err' include 'dev8_keys_qlwa' include 'dev8_dv3_keys' include 'dev8_dv3_hd_keys' include 'dev8_dv3_hd_ide_keys' include 'dev8_mac_a...
src/regex-matchers.ads
skordal/ada-regex
2
25149
-- Ada regular expression library -- (c) <NAME> 2020 <<EMAIL>> -- Report bugs and issues on <https://github.com/skordal/ada-regex> with Regex.Regular_Expressions; use Regex.Regular_Expressions; package Regex.Matchers is -- Checks if a string matches a regular expression: function Matches (Input : in Regula...
src/qweyboard/qweyboard-languages.adb
kqr/qweyboard
33
14769
package body Qweyboard.Languages is protected body User_Language is function Decode (Released : Key_Sets.Set) return Unbounded_Wide_Wide_String is Init : Unbounded_Wide_Wide_String; Vowels : Unbounded_Wide_Wide_String; Tail : Unbounded_Wide_Wide_String; begin -- As if...
runtime/Swift/Tests/Antlr4Tests/LexerA.g4
maximmenshikov/antlr4
11,811
5254
lexer grammar LexerA; A : 'a'; B : 'b'; C : 'c';
leia.asm
jeceljr/asm-z80
0
95521
<reponame>jeceljr/asm-z80 primeiro EQU 4 ; 6 para modelo HUGE, 4 para COMPACT segundo EQU 6 ; 8 para modelo HUGE, 6 para COMPACT terceiro EQU 8 ; 10 para modelo HUGE, 8 para COMPACT quarto EQU 10 ; 12 para modelo HUGE, 10 para COMPACT ; ; ; NAO ESQUECA DE TROCAR OS TIPOS DAS ROTINAS -> modelo HUGE : FAR ...
src/firmware-tests/Platform/Lcd/AdcDummies.asm
pete-restall/Cluck2Sesame-Prototype
1
87020
<reponame>pete-restall/Cluck2Sesame-Prototype #include "Platform.inc" radix decimal AdcDummies code global initialiseAdc global enableAdc global disableAdc initialiseAdc: enableAdc: disableAdc: return end
test/Succeed/simple.agda
shlevy/agda
1,989
11740
<gh_stars>1000+ {-# OPTIONS --allow-unsolved-metas #-} module simple where module Nat where data Nat : Set where zero : Nat suc : Nat -> Nat _+_ : Nat -> Nat -> Nat zero + m = m suc n + m = suc (n + m) module N = Nat z = N._+_ (N.suc N.zero) (N.suc N.zero) zz = Nat._+_ (Nat.suc Nat.zero) (Nat.s...