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
library/fmGUI_ManageWindow/dbNumberOfWindowName.applescript
NYHTC/applescript-fm-helper
1
4237
<reponame>NYHTC/applescript-fm-helper<filename>library/fmGUI_ManageWindow/dbNumberOfWindowName.applescript -- dbNumberOfWindowName(someWindowName) -- <NAME> -- return the number of the specified window (* HISTORY: 1.1 - 2018-09-20 ( eshagdar ): FM17 has only 1 version of FM so talk to it by name 1.0 - created *) ...
programs/oeis/287/A287394.asm
jmorken/loda
1
167073
; A287394: Domination number for camel's graph on a 2 X n board. ; 0,2,4,6,6,6,6,6,6,6,8,10,12,12,12,12,12,12,12,14,16,18,18,18,18,18,18,18,20,22,24,24,24,24,24,24,24,26,28,30,30,30,30,30,30,30,32,34,36,36,36,36,36,36,36,38,40,42,42,42,42,42,42,42,44,46,48,48,48,48,48,48,48,50,52,54,54,54,54,54,54,54,56,58,60,60,60,60,...
test/Fail/AbstractTermination.agda
shlevy/agda
1,989
2344
module AbstractTermination where data Nat : Set where zero : Nat suc : Nat → Nat mutual f : Nat → Nat f n = g n where abstract g : Nat → Nat g n = f n -- Andreas, 2016-10-03 re issue #2231. -- Should give termination error. -- Wrong behavior with Agda-2.3.2. -- Correct behavior fro...
core/src/code_generation/tests/function-3.asm
mari-linhares/GoCompiler
1
178298
<reponame>mari-linhares/GoCompiler<gh_stars>1-10 100: LD SP, #4000 function factorial 1000: ST x, R1 1008: SUB R2, R1, #1 1016: BGZ R2, #1048 1024: LD R0, #1 1032: BR *0(SP) 1040: BR #1120 1048: SUB R3, R1, #1 1056: LD R1, R3 1064: ADD SP, SP, #factorialsize 1072: ST *SP, #1088 1080: BR #1000 1088: SUB SP, SP, #factor...
programs/oeis/325/A325937.asm
neoneye/loda
22
101032
; A325937: Expansion of Sum_{k>=1} (-1)^(k + 1) * x^(2*k) / (1 - x^k). ; 0,1,1,0,1,1,1,-1,2,1,1,-1,1,1,3,-2,1,1,1,-1,3,1,1,-3,2,1,3,-1,1,1,1,-3,3,1,3,-2,1,1,3,-3,1,1,1,-1,5,1,1,-5,2,1,3,-1,1,1,3,-3,3,1,1,-3,1,1,5,-4,3,1,1,-1,3,1,1,-5,1,1,5,-1,3,1,1,-5,4,1,1,-3,3,1,3,-3,1,1,3,-1,3,1,3,-7,1,1,5,-2 mov $1,$0 seq $0,33502...
number_spiral_diagonals.asm
guynan/asmpe
0
241176
<filename>number_spiral_diagonals.asm global _start extern printf extern asm_prime section .text _start: ; This one is done by a pen and paper reduction of the problem. I ; found that I could represent the right corner trivially as the ; number of what iteration of ...
source/base/incr-nodes-ultra_roots.ads
reznikmm/increment
5
27197
<reponame>reznikmm/increment<gh_stars>1-10 -- Copyright (c) 2015-2017 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Incr.Nodes.Tokens; package Incr.Nodes.Ultra_Roots is -- @summary -- Ultra_Root nodes of p...
artwork/esqueleto/esqueleto_espada_bloquea.asm
fjpena/sword-of-ianna-zx
67
179036
; ASM source file created by SevenuP v1.21 ; SevenuP (C) Copyright 2002-2007 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 esqueleto_espada_bloquea: DEF...
agda-stdlib/src/Algebra/Properties/Semigroup.agda
DreamLinuxer/popl21-artifact
5
10981
------------------------------------------------------------------------ -- The Agda standard library -- -- Some theory for Semigroup ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} open import Algebra using (Semigroup) module Algebra.Properties.Semigroup {...
examples/outdated-and-incorrect/tait/Chain.agda
cruhland/agda
1,989
3164
module Chain {A : Set}(_==_ : A -> A -> Set) (refl : (x : A) -> x == x) (trans : (x y z : A) -> x == y -> y == z -> x == z) where infix 2 chain>_ infixl 2 _===_by_ infix 1 _qed private data _≃_ (x y : A) : Set where prf : x == y -> x ≃ y chain>_ : (x : A) -> x ≃ x chain> x = prf (refl x) _===...
libsrc/zxvgs/loadany.asm
meesokim/z88dk
0
246752
;ZXVGS specific functions ;020121 (C) created by Yarek PUBLIC loadany ;int loadany(char *name, int adr, int len) ;returns 0 if OK .loadany POP AF ;return address POP BC POP HL POP DE PUSH DE PUSH HL PUSH BC PUSH AF RST 8 DEFB $EC AND $7F LD L,A LD H,0 RET
alloy4fun_models/trashltl/models/4/BWjZMMgPCKCQykWLR.als
Kaixi26/org.alloytools.alloy
0
4049
<reponame>Kaixi26/org.alloytools.alloy open main pred idBWjZMMgPCKCQykWLR_prop5 { some f : Trash | f in File until always f not in File } pred __repair { idBWjZMMgPCKCQykWLR_prop5 } check __repair { idBWjZMMgPCKCQykWLR_prop5 <=> prop5o }
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/expect1.adb
best08618/asylo
7
9195
-- { dg-do run } with GNAT.Expect; use GNAT.Expect; with Ada.Text_IO; use Ada.Text_IO; procedure expect1 is Process : Process_Descriptor; begin begin Close (Process); raise Program_Error; exception when Invalid_Process => null; -- expected end; end expect1;
oeis/142/A142209.asm
neoneye/loda-programs
11
24372
; A142209: Primes congruent to 12 mod 41. ; Submitted by <NAME> ; 53,463,709,1201,1283,1447,1693,2267,2677,3169,3251,3907,3989,4153,4481,4973,5711,6121,6203,6367,6449,7187,7351,7433,8089,8171,8581,8663,9319,9811,10139,10303,10631,11287,11369,11779,12107,12517,12763,13009,13337,13829,14321,14731,14813,15551,15797,16453,...
audio/notes.asm
MathyFurret/CryEd
1
21841
<filename>audio/notes.asm FrequencyTable: ; e8d80 dw 0 ; __ dw $f82c ; C_ dw $f89d ; C# dw $f907 ; D_ dw $f96b ; D# dw $f9ca ; E_ dw $fa23 ; F_ dw $fa77 ; F# dw $fac7 ; G_ dw $fb12 ; G# dw $fb58 ; A_ dw $fb9b ; A# dw $fbda ; B_ dw $fc16 ; C_ dw $fc4e ; C# dw $fc83 ; D_ dw $fcb5 ; D# dw $fce5 ; E_ ...
testcases/stored_procs/stored_procs.adb
jrmarino/AdaBase
30
25787
with AdaBase; with Connect; with Ada.Text_IO; with AdaBase.Results.Sets; procedure Stored_Procs is package CON renames Connect; package TIO renames Ada.Text_IO; package ARS renames AdaBase.Results.Sets; stmt_acc : CON.Stmt_Type_access; procedure dump_result; procedure dump_result is funct...
src/Ada/ewok-perm.ads
wookey-project/ewok-legacy
0
26834
-- -- Copyright 2018 The wookey project team <<EMAIL>> -- - <NAME> -- - Arnauld Michelizza -- - <NAME> -- - <NAME> -- - <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 -...
oeis/104/A104674.asm
neoneye/loda-programs
11
246179
<filename>oeis/104/A104674.asm<gh_stars>10-100 ; A104674: a(n) = binomial(n+6, 6) * binomial(n+11, n). ; Submitted by <NAME> ; 1,84,2184,30576,286650,2018016,11435424,54609984,226972746,840639800,2824549728,8730426432,25099975992,67725379008,172768824000,419252346240,972796459635,2167754048460,4656656844840,96744948300...
sharding-core/sharding-core-parse/sharding-core-parse-mysql/src/main/antlr4/imports/mysql/DMLStatement.g4
rayoo/incubator-shardingsphere
0
4260
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/alignment10.adb
best08618/asylo
0
21354
-- { dg-do run } procedure Alignment10 is type Short_T is mod 2 ** 16; for Short_T'Size use 16; for Short_T'Alignment use 1; subtype Short_Sub_T is Short_T range 1000 .. 1005; A : aliased Short_T := 1000; B : Short_Sub_T; for B'Address use A'Address; pragma Import (Ada, B); b...
programs/oeis/267/A267272.asm
karttu/loda
1
90289
; A267272: Triangle read by rows giving successive states of cellular automaton generated by "Rule 117" initiated with a single ON (black) cell. ; 1,0,1,1,1,1,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1...
ASM/draw.asm
LovingYoung/MipsCPU
2
26933
### Draw #Dawe a line DrawLine: # 5: color # 6: start # 7: end # 8: step addi $sp, $sp, 4 sw $4, ($sp) #store $4 or $4, $0, $6 # set $4 to start. $4 is the iterator LOOP_Line: bgt $4, $7, RET_Line sb $5, 0($4) add $4, $4, $8 beq $0, $0, LOOP_Line RET_Line: lw $4, ($sp) subi $sp, $sp, 4 # restore $4 jr $31 DrawRec:...
src/main/resources/grammar/json/Json.g4
libinkai/AntlrLearning
0
1800
grammar Json; json : value ; obj : '{' pair (',' pair)* '}' | '{' '}' ; pair : STRING ':' value ; arr : '[' value (',' value)* ']' | '[' ']' ; value : STRING | NUMBER | obj | arr | 'true' | 'false' | 'null' ; STRING : '"' ('""'|~'"')* '"'; NUMBER : [0-9]+;
libsrc/c128/vdcget.asm
grancier/z180
0
29003
; ;Based on the SG C Tools 1.7 ;(C) 1993 <NAME> ; ;$Id: vdcget.asm,v 1.3 2016/06/16 21:13:07 dom Exp $ ; ;get vdc reg, d = reg, e = val SECTION code_clib PUBLIC vdcget PUBLIC _vdcget vdcget: _vdcget: ld bc,0d600h out (c),d loop2: in d,(c) bit 7,d j...
rts/boards/i386/adainclude/console.ads
Lucretia/tamp2
7
11798
-- -*- Mode: Ada -*- -- Filename : console.ads -- Description : Definition of a console for PC using VGA text mode. -- Author : <NAME> -- Created On : Thu Jun 14 12:08:58 2012 -- Licence : See LICENCE in the root directory. -----------------------------...
LISTA3/railway.adb
druzzt/NIEZAWODNE_SYSTEMY_INFORMATYCZNE
0
2413
<gh_stars>0 --@Author <NAME> --@LICENSING: MIT --@DESCRIPTION: Railway package body for FORMAL VERIFICATION in ADA|SPARK -- Train cannot move if his next step could potentialy be a crash -- Open_Route is procedure which establishes availability of a route and sets signalisation -- into proper colors. -- Move_Train is p...
assembler/source/TETR_G.asm
Tpot-SSL/Tetris_GameCOM
5
168405
<filename>assembler/source/TETR_G.asm title Tetris Gameboard type 8521 program ;============================================================================ Tetris_Bank1 equ 36 Tetris_Bank2 equ 39 Tetris_DrawField: mov r8,#123 mov r9,#0 mov r10,#0 mov r11,#0 mov r12,#77 ; Horiz...
Latest_Version/PRU/RX/pru1_rx.asm
Andregarciav/OpenVLC
52
80967
;* IMDEA NETWORKS Institute: This file has been modified and it is part of the OpenVLC's source codes .asg 32, PRU0_R31_VEC_VALID ;* allows notification of program completion ;*#define PRU_EVTOUT_0 3 .asg 3, PRU_EVTOUT_0 ;* the event number that is sent back .cdecls "main_pru1.c" .clink .global START1 ST...
src/gbdk.asm
Q-Bert-Reynolds/gun-hockey-gb
1
162598
<filename>src/gbdk.asm ; gbdk.asm ; ; This is just the assembly parts of GBDK converted to work with RGBDS. ; Pretty sure the [license is MIT](https://github.com/gbdk-2020/gbdk-2020). ; ; Initials: NB = <NAME>, GBDK = <NAME> & <NAME> ; V1.0 - 30-Dec-19 : Original Release - NB, based on GBDK 2.96 ; ; Macros: ; SETUP_D...
1-base/lace/source/events/mixin/ravenscar/lace-make_observer-deferred.adb
charlie5/lace
20
22603
with lace.event.Logger, lace.event_Conversions, gnat.task_Lock; package body lace.make_Observer.deferred is procedure receive (Self : access Item; the_Event : in Event.item'Class := event.null_Event; from_Subject : in String) is use event_Vec...
3-mid/impact/source/2d/dynamics/impact-d2-fixture.ads
charlie5/lace
20
13971
<gh_stars>10-100 with impact.d2.Shape, impact.d2.Collision, impact.d2.Broadphase, impact.d2.Math; limited with impact.d2.Solid; package impact.d2.Fixture -- -- -- is use impact.d2.Math; -- This holds contact filtering data. -- type b2Filter is record -- The collision cat...
Task/Bitmap-B-zier-curves-Quadratic/Ada/bitmap-b-zier-curves-quadratic-2.ada
LaudateCorpus1/RosettaCodeData
1
15096
<reponame>LaudateCorpus1/RosettaCodeData X : Image (1..16, 1..16); begin Fill (X, White); Quadratic_Bezier (X, (8, 2), (13, 8), (2, 15), Black); Print (X);
tools/scitools/conf/understand/ada/ada95/a-storio.ads
brucegua/moocos
1
22871
<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- ...
scripts/generated/mhch/controlallports.asm
shaigem/melee-asm-lab
0
173334
.include "punkpc.s" punkpc ppc # MH/CH Control with Any Port # authors: @["sushie", "Achilles1515"] # description: Enables you to control MH/CH with any port instead of being restricted to ports 3 & 4 gecko 2148862136 regs rInputStructStart, rFighterData, (6), rInputStruct lbz rInputStruct, 0x0000000C(rFighterData) mul...
Laburi/Lab9/9-max-assembly-calls/main.asm
DanBrezeanu/IOCLA
2
20887
extern get_max extern printf section .bss pos: resd 1 section .data arr: dd 19, 7, 129, 87, 54, 218, 67, 12, 19, 99 len: equ $-arr print_format: db "max: %u", 13, 10, "pos: %u", 13, 10 section .text global main main: push rbp mov rbp, rsp ; Compute length in eax. ; Divide by 4 (we...
programs/oeis/114/A114962.asm
karttu/loda
1
177587
<reponame>karttu/loda ; A114962: a(n) = n^2 + 14. ; 14,15,18,23,30,39,50,63,78,95,114,135,158,183,210,239,270,303,338,375,414,455,498,543,590,639,690,743,798,855,914,975,1038,1103,1170,1239,1310,1383,1458,1535,1614,1695,1778,1863,1950,2039,2130,2223,2318,2415,2514,2615,2718,2823,2930,3039,3150,3263,3378,3495,3614,3735,...
PLDI14-List-of-Theorems.agda
inc-lc/ilc-agda
10
9109
<reponame>inc-lc/ilc-agda module PLDI14-List-of-Theorems where -- List of theorems in PLDI submission -- -- For hints about installation and execution, please refer -- to README.agda. -- -- Agda modules corresponding to definitions, lemmas and theorems -- are listed here with the most important names. For example, -- ...
programs/avoid.asm
ept221/pet-on-a-chip
9
80148
<filename>programs/avoid.asm ;****************************************************************************** .define dir_reg, 0x00 .define port_reg, 0x01 .define pin_reg, 0x02 .define prescaler_l, 0x03 .define prescaler_h, 0x04 .define count_ctrl, 0x05 .define u...
tests/cl_test-cl_gl.adb
flyx/OpenCLAda
8
27959
-------------------------------------------------------------------------------- -- 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 and this permission notice...
homotopy/HopfJunior.agda
UlrikBuchholtz/HoTT-Agda
1
7765
<filename>homotopy/HopfJunior.agda {-# OPTIONS --without-K #-} open import HoTT module homotopy.HopfJunior where -- We define the negation function and prove that it’s an equivalence not : Bool → Bool not true = false not false = true not-not : (b : Bool) → not (not b) == b not-not true = idp not-not false = idp ...
XSharp/src/Compiler/XSharpCodeAnalysis/Parser/XSharpLexer.g4
SHirsch78/XSharpDev
0
1551
// // Copyright (c) XSharp B.V. All Rights Reserved. // Licensed under the Apache License, Version 2.0. // See License.txt in the project root for license information. // lexer grammar XSharpLexer; /* * Lexer Rules */ options { } channels { XMLDOCCHANNEL, DEFOUTCHANNEL, PREPROCESSORCHANNEL } tokens...
pin-3.22-98547-g7a303a835-gcc-linux/source/tools/ToolUnitTests/inlined-stack-arg2_win.asm
ArthasZhang007/15418FinalProject
0
27647
<gh_stars>0 ; ; Copyright (C) 2009-2012 Intel Corporation. ; SPDX-License-Identifier: MIT ; PUBLIC Analysis_func PUBLIC Analysis_func_immed PUBLIC Analysis_func_reg_overwrite .686 .model flat, c .code Analysis_func PROC push ebx push esi push edi sub esp, 8 mov DWORD PT...
alloy4fun_models/trashltl/models/4/RajgWK6HmY5WXdNv6.als
Kaixi26/org.alloytools.alloy
0
2061
open main pred idRajgWK6HmY5WXdNv6_prop5 { (some f:File | eventually no(f & File)) } pred __repair { idRajgWK6HmY5WXdNv6_prop5 } check __repair { idRajgWK6HmY5WXdNv6_prop5 <=> prop5o }
Chapter03/control-the-flow/jump-if-below2.nasm
firebitsbr/Penetration-Testing-with-Shellcode
30
29045
global _start section .text _start: mov al, 0xaa add al, 0xaa jb exit_ten mov rax, 60 mov rdi, 0 syscall exit_ten: mov rax, 60 mov rdi, 10 syscall section .data
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c37211c.ada
best08618/asylo
7
24091
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c37211c.ada -- C37211C.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimi...
28_SEQMOD.asm
aleattene/lc2-exams
0
22232
<reponame>aleattene/lc2-exams ; ************ DESCRIZIONE SOTTOPROGRAMMA ************ Il seguente sottoprogramma denominato SEQMOD riceve nel registro R0 il numero intero N e restituisce sempre in R0 l’ennesimo termine S(N) della sequenza definita nel seguente modo: S(N) = |S(N-1)| – 2 x S(N-2) con S1 = 1 e S2 = 1 ...
x86/proc.asm
encse/bootloader
16
176315
<reponame>encse/bootloader ;; Macros for C-style procedure definitions ;; ;; proc foo ;; %arg i:word ;; %arg j:word ;; %local k:word ;; begin ;; mov ax, [i] ;; mov ax, [k] ;; endproc ; define a procedure definition called with ip on the stack %macro proc 1 %push proc %1: ...
data/mapObjects/ViridianForest.asm
AmateurPanda92/pokemon-rby-dx
9
89777
<filename>data/mapObjects/ViridianForest.asm ViridianForest_Object: db $3 ; border block db 6 ; warps warp 1, 0, 2, VIRIDIAN_FOREST_NORTH_GATE warp 2, 0, 3, VIRIDIAN_FOREST_NORTH_GATE warp 15, 47, 1, VIRIDIAN_FOREST_SOUTH_GATE warp 16, 47, 1, VIRIDIAN_FOREST_SOUTH_GATE warp 17, 47, 1, VIRIDIAN_FOREST_SOUTH_GATE...
y2s2/csa/practicals/prac8/7-ex3.2.asm
ouldevloper/university
8
333
; 7-ex3.2.asm ; Allow user to enter D/C ; display Diploma/Certificate respectively ; ask user if want to repeat, if yes, cont. .MODEL SMALL .STACK 100 .DATA opText DB 'Enter code (D/C): $' nl DB 13,10,'$' op DB ? dipl DB 'Diploma$' cert DB 'Certificate$' conti DB 'Continue(Y/N): $' .C...
agda-stdlib/README/Inspect.agda
DreamLinuxer/popl21-artifact
5
3377
------------------------------------------------------------------------ -- The Agda standard library -- -- Explaining how to use the inspect idiom and elaborating on the way -- it is implemented in the standard library. ------------------------------------------------------------------------ {-# OPTIONS --without-K -...
agda/Categories/Pullback.agda
oisdk/combinatorics-paper
4
13929
<reponame>oisdk/combinatorics-paper<filename>agda/Categories/Pullback.agda {-# OPTIONS --cubical --safe #-} open import Prelude open import Categories module Categories.Pullback {ℓ₁ ℓ₂} (C : Category ℓ₁ ℓ₂) where open Category C record Pullback (f : X ⟶ Z) (g : Y ⟶ Z) : Type (ℓ₁ ℓ⊔ ℓ₂) where field {P} : Ob ...
Coalg/Bisim.agda
DDOtten/M-types
0
5096
{-# OPTIONS --without-K #-} open import M-types.Base module M-types.Coalg.Bisim (A : Ty ℓ) (B : A → Ty ℓ) where open import M-types.Coalg.Core A B TyBisim : Coalg → Ty (ℓ-suc ℓ) TyBisim X = ∑[ coalg ∈ Coalg ] CoalgMor coalg X × CoalgMor coalg X coalg = pr₀ spanRel : {X : Coal...
strncmp.asm
thlorenz/lib.asm
12
86406
; vim: ft=nasm section .text ; -------------------------------------------------------------- ; strncmp ; compares two strings for char by char until the given length ; ; args: esi = address of first string ; edi = address of second string ; eax = index until which to check (string length) ; out : eax = ...
src/Fragment/Examples/CSemigroup/Arith/Reasoning.agda
yallop/agda-fragment
18
6981
<gh_stars>10-100 {-# OPTIONS --without-K --safe #-} module Fragment.Examples.CSemigroup.Arith.Reasoning where open import Fragment.Examples.CSemigroup.Arith.Base +-direct : ∀ {m n} → (m + 2) + (3 + n) ≡ m + (n + 5) +-direct {m} {n} = begin (m + 2) + (3 + n) ≡⟨ fragment CSemigroupFrex +-csemigroup ⟩ m + (n ...
oeis/142/A142396.asm
neoneye/loda-programs
11
245096
; A142396: Primes congruent to 45 mod 47. ; Submitted by <NAME> ; 139,233,421,797,1361,1549,1831,2113,2207,2677,3617,4463,4651,4933,5309,5591,5779,6343,6719,6907,7001,7283,7753,8317,8599,8693,9257,9539,10009,10103,10667,10949,11701,12547,12641,12829,12923,13487,14051,14897,15461,15649,16871,17341,17623,19597,19973,2016...
programs/oeis/157/A157445.asm
neoneye/loda
22
3920
<reponame>neoneye/loda ; A157445: a(n) = 14641*n^2 - 4598*n + 362. ; 10405,49730,118337,216226,343397,499850,685585,900602,1144901,1418482,1721345,2053490,2414917,2805626,3225617,3674890,4153445,4661282,5198401,5764802,6360485,6985450,7639697,8323226,9036037,9778130,10549505,11350162,12180101,13039322,13927825,14845610...
programs/oeis/309/A309057.asm
jmorken/loda
1
179841
; A309057: a(0) = 1; a(2*n) = 3*a(n), a(2*n+1) = a(n). ; 1,1,3,1,9,3,3,1,27,9,9,3,9,3,3,1,81,27,27,9,27,9,9,3,27,9,9,3,9,3,3,1,243,81,81,27,81,27,27,9,81,27,27,9,27,9,9,3,81,27,27,9,27,9,9,3,27,9,9,3,9,3,3,1,729,243,243,81,243,81,81,27,243,81,81,27,81,27,27,9,243 mov $8,$0 mov $10,2 lpb $10 clr $0,8 mov $0,$8 su...
libsrc/_DEVELOPMENT/sound/sn76489/z80/asm_PSGlib_SilenceChannels.asm
ahjelm/z88dk
640
176172
<gh_stars>100-1000 ; ************************************************** ; PSGlib - C programming library for the SEGA PSG ; ( part of devkitSMS - github.com/sverx/devkitSMS ) ; ************************************************** INCLUDE "PSGlib_private.inc" SECTION code_clib SECTION code_PSGlib PUBLIC asm_PSGlib_Sile...
Transynther/x86/_processed/AVXALIGN/_st_sm_/i7-8650U_0xd2_notsx.log_10_983.asm
ljhsiun2/medusa
9
20901
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r14 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x12986, %rcx nop nop nop nop add $10941, %rdi movb (%rcx), %r11b nop nop nop nop and $31259, %r12 lea addresses_A_ht+0x6e86, %rdi nop nop nop cmp %r...
programs/oeis/318/A318791.asm
neoneye/loda
22
96585
<filename>programs/oeis/318/A318791.asm ; A318791: Prime generating polynomial: a(n) = 9*n^2 - 249*n + 1763. ; 1523,1301,1097,911,743,593,461,347,251,173,113,71,47,41,53,83,131,197,281,383,503,641,797,971,1163,1373,1601,1847,2111,2393,2693,3011,3347,3701,4073,4463,4871,5297,5741,6203,6683,7181,7697,8231,8783,9353 mul ...
Structure/Sets/Operator.agda
Lolirofle/stuff-in-agda
6
7695
<reponame>Lolirofle/stuff-in-agda module Structure.Sets.Operator where open import Data.Boolean open import Data.Boolean.Stmt open import Functional import Lvl open import Logic open import Logic.Propositional open import Logic.Predicate open import Structure.Function open import Structure.Relator open import Str...
oeis/141/A141899.asm
neoneye/loda-programs
11
104809
; A141899: Primes of the form 2*3*5*7*k + 97. ; Submitted by <NAME> ; 97,307,727,937,1567,1777,1987,2617,3037,3457,3877,4297,4507,5347,5557,6397,6607,7027,7237,7867,8287,8707,9127,9337,9547,9967,10177,10597,11437,12277,12487,12697,12907,13327,13537,14797,15217,15427,16057,16267,16477,17107,17317,17737,18367,18787 mov ...
src/player.asm
geniiii/genesis-pong
0
29478
<reponame>geniiii/genesis-pong p1_x: equ 0 p2_x: equ vdp_screen_width - spr_paddle_w_px player_speed: equ 3 Player_Add macro p move.w #p_x, d0 moveq #(vdp_screen_height - spr_paddle_h_px) / 2, d1 moveq #entity_type_p, d2 jsr Entity_Add move.l a0, p endm ;*****************************************...
oeis/015/A015255.asm
neoneye/loda-programs
11
27189
<reponame>neoneye/loda-programs ; A015255: Gaussian binomial coefficient [ n,2 ] for q = -5. ; Submitted by <NAME>(s2.) ; 1,21,546,13546,339171,8476671,211929796,5298179796,132454820421,3311368882921,82784230211046,2069605714586046,51740143068101671,1293503575685289171,32337589397218492296,808439734905030992296,2021099...
oeis/176/A176608.asm
neoneye/loda-programs
11
98410
; A176608: Primes of the form x^2 + 5*y^2, where x and y=x+1 are consecutive natural numbers. ; Submitted by <NAME> ; 5,89,281,1321,2129,2861,3701,4649,6469,6869,9049,9521,10501,13729,17389,18041,19381,21481,23689,26801,28429,33601,42169,71069,75041,81901,86161,90529,92009,101141,104281,113989,129361,131129,153281,1571...
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48.log_21829_1016.asm
ljhsiun2/medusa
9
172644
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %r9 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0xbf93, %r12 nop nop sub %rdx, %rdx mov $0x6162636465666768, %rbx movq %rbx, %xmm0 movups %xmm0, (%r12) nop sub $64318, %r11 lea addresses_W...
trampoline.asm
jedimatt42/tipicmd
5
95512
<filename>trampoline.asm<gh_stars>1-10 DEF trampoline REF trampdata ; tramp data structure offsets TAR_BANK EQU >0000 RET_BANK EQU >0002 TAR_ADDR EQU >0004 ; stack data offsets DATA_ADDR EQU >0004 RET_ADDR EQU >0000 trampoline: ; when called, trampdata holds address of the tramp data ; - target b...
tools/druss-commands-get.adb
stcarrez/bbox-ada-api
2
21445
<gh_stars>1-10 ----------------------------------------------------------------------- -- druss-commands-get -- Raw JSON API Get command -- Copyright (C) 2017, 2018, 2019, 2021 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file e...
programs/oeis/184/A184005.asm
neoneye/loda
22
179090
<reponame>neoneye/loda<filename>programs/oeis/184/A184005.asm ; A184005: a(n) = n - 1 + ceiling(3*n^2/4); complement of A184004. ; 1,4,9,15,23,32,43,55,69,84,101,119,139,160,183,207,233,260,289,319,351,384,419,455,493,532,573,615,659,704,751,799,849,900,953,1007,1063,1120,1179,1239,1301,1364,1429,1495,1563,1632,1703,17...
alloy4fun_models/trashltl/models/5/WNq5bgeTQxJFxpvmQ.als
Kaixi26/org.alloytools.alloy
0
1086
<gh_stars>0 open main pred idWNq5bgeTQxJFxpvmQ_prop6 { all f : File | f in Trash implies always f in Trash } pred __repair { idWNq5bgeTQxJFxpvmQ_prop6 } check __repair { idWNq5bgeTQxJFxpvmQ_prop6 <=> prop6o }
oeis/048/A048345.asm
neoneye/loda-programs
11
85530
<gh_stars>10-100 ; A048345: a(n)^2 is the smallest square containing exactly n 0's. ; Submitted by <NAME> ; 0,10,320,100,3200,1000,32000,10000,320000,100000,3200000,1000000,32000000,10000000,320000000,100000000,3200000000,1000000000,32000000000,10000000000,320000000000,100000000000 mov $1,5 mov $2,16 lpb $0 sub $0,1...
Task/Probabilistic-choice/Ada/probabilistic-choice.ada
mullikine/RosettaCodeData
1
28734
with Ada.Numerics.Float_Random; use Ada.Numerics.Float_Random; with Ada.Text_IO; use Ada.Text_IO; procedure Random_Distribution is Trials : constant := 1_000_000; type Outcome is (Aleph, Beth, Gimel, Daleth, He, Waw, Zayin, Heth); Pr : constant array (Outcome) of Uniformly_Distributed := ...
source/s-fordec.adb
ytomino/drake
33
26694
<reponame>ytomino/drake package body System.Formatting.Decimal is pragma Suppress (All_Checks); use type Long_Long_Integer_Types.Long_Long_Unsigned; subtype Word_Unsigned is Long_Long_Integer_Types.Word_Unsigned; subtype Long_Long_Unsigned is Long_Long_Integer_Types.Long_Long_Unsigned; -- implementati...
README/DependentlyTyped/NormalForm/Substitution.agda
nad/dependently-typed-syntax
5
8173
<filename>README/DependentlyTyped/NormalForm/Substitution.agda ------------------------------------------------------------------------ -- Application of substitutions to normal and neutral terms ------------------------------------------------------------------------ open import Level using (zero) open import Data.Un...
deBruijn/Substitution/Data/Application/Application22.agda
nad/dependently-typed-syntax
5
15750
<gh_stars>1-10 ------------------------------------------------------------------------ -- Lemmas related to application of substitutions ------------------------------------------------------------------------ open import Data.Universe.Indexed module deBruijn.Substitution.Data.Application.Application22 {i u e} {Un...
data/pokemon/base_stats/weepinbell.asm
AtmaBuster/pokeplat-gen2
6
26769
db 0 ; species ID placeholder db 65, 90, 50, 55, 85, 45 ; hp atk def spd sat sdf db GRASS, POISON ; type db 120 ; catch rate db 151 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 20 ; step cycles to hatch INCBIN "gfx/pokemon/weepinbell/front.dimensions" db GROWTH_MEDIUM...
core.agda
hazelgrove/hazelnut-dynamics-agda
16
8281
open import Nat open import Prelude open import contexts module core where -- types data htyp : Set where b : htyp ⦇-⦈ : htyp _==>_ : htyp → htyp → htyp -- arrow type constructors bind very tightly infixr 25 _==>_ -- external expressions data hexp : Set where c : hexp _·...
programs/oeis/040/A040323.asm
jmorken/loda
1
247318
; A040323: Continued fraction for sqrt(342). ; 18,2,36,2,36,2,36,2,36,2,36,2,36,2,36,2,36,2,36,2,36,2,36,2,36,2,36,2,36,2,36,2,36,2,36,2,36,2,36,2,36,2,36,2,36,2,36,2,36,2,36,2,36,2,36,2,36,2,36,2,36,2,36,2,36,2,36,2,36,2,36,2,36,2,36 mov $1,9 lpb $0 mod $0,2 mul $1,2 lpe gcd $1,$0 mul $1,2
programs/oeis/030/A030653.asm
karttu/loda
1
81712
<gh_stars>1-10 ; A030653: n^3*a(n) is number of circles in complex projective plane tangent to three smooth curves of degree n in general position. ; 4,23,60,121,212,339,508,725,996,1327,1724,2193,2740,3371,4092,4909,5828,6855,7996,9257,10644,12163,13820,15621,17572,19679,21948,24385,26996,29787,32764,35933,39300,42871...
Operations/Div/div.asm
KyleErwin/Assembly
0
99644
<gh_stars>0 segment .data value1: dw "", 0 value2: dw "", 0 quotient: dw "", 0 ;New line string newLine: db 0x0a segment .text global _start _start: ;Get value1 mov rax, 0 mov rdi, 0 mov rdx, 2 mov rsi, value1 syscall ;Get value2 mov rax, 0 mov rdi, 0 mov rdx, 2 mov rsi, value2 sys...
programs/oeis/146/A146507.asm
neoneye/loda
22
246944
<reponame>neoneye/loda<gh_stars>10-100 ; A146507: Numbers congruent to {1, 13} mod 42. ; 1,13,43,55,85,97,127,139,169,181,211,223,253,265,295,307,337,349,379,391,421,433,463,475,505,517,547,559,589,601,631,643,673,685,715,727,757,769,799,811,841,853,883,895,925,937,967,979 mul $0,3 div $0,2 mul $0,14 div $0,6 mul $0,6...
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_21829_475.asm
ljhsiun2/medusa
9
86856
<filename>Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_21829_475.asm .global s_prepare_buffers s_prepare_buffers: push %r15 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x735c, %rsi lea addresses_WC_ht+0xa170, %rdi sub $24867, %rbx mov $47, %rcx rep movsq nop nop add $45601, ...
tests/parsing/labels_syntax_and_find.asm
kborowinski/sjasmplus
0
173878
<filename>tests/parsing/labels_syntax_and_find.asm OUTPUT "labels_syntax_and_find.bin" MODULE mod1 : ORG $3130 label: dec hl .local: inc l dw label dw .local dw label.local dw mod1.label.local dw @mod1.label.local ; global one! dw @...
libsrc/_DEVELOPMENT/math/float/am9511/lam32/c/sdcc/div2_fastcall.asm
ahjelm/z88dk
640
23187
<reponame>ahjelm/z88dk SECTION code_fp_am9511 PUBLIC _div2_fastcall EXTERN asm_am9511_fdiv2_fastcall defc _div2_fastcall = asm_am9511_fdiv2_fastcall
projects/batfish/src/main/antlr4/org/batfish/grammar/flatjuniper/FlatJuniper_isis.g4
netarch/batfish
0
3865
parser grammar FlatJuniper_isis; import FlatJuniper_common; options { tokenVocab = FlatJuniperLexer; } hello_authentication_type : MD5 | SIMPLE ; is_export : EXPORT ( policies += variable )+ ; is_interface : INTERFACE ( id = interface_id | wildcard ) ( FAMILY ( INET ...
src/tcg-tilesets.adb
Fabien-Chouteau/tiled-code-gen
1
4348
<filename>src/tcg-tilesets.adb ------------------------------------------------------------------------------ -- -- -- tiled-code-gen -- -- ...
kernel/kernel.asm
MyBeLoVedL/xv6
0
172279
kernel/kernel: file format elf64-littleriscv Disassembly of section .text: 0000000080000000 <_entry>: 80000000: 0000a117 auipc sp,0xa 80000004: 84010113 addi sp,sp,-1984 # 80009840 <stack0> 80000008: 6505 lui a0,0x1 8000000a: f14025f3 csrr a1,mhartid...
programs/oeis/151/A151565.asm
jmorken/loda
1
92905
<reponame>jmorken/loda ; A151565: Duplicate of A060632. ; 1,1,2,2,2,2,4,4,2,2,4,4,4,4,8,8,2,2,4,4,4,4,8,8,4,4,8,8,8,8,16,16,2,2 div $0,2 mov $2,$0 mul $0,2 bin $0,$2 lpb $0 gcd $0,4096 lpe mov $1,$0
Lab4/main4.asm
YuriySavchenko/Assembler
0
89062
<reponame>YuriySavchenko/Assembler<filename>Lab4/main4.asm %include "module.asm" %include "longop.asm" %include "print.asm" %include "exit.asm" section .data numLab db "Laboratory №4", 0xa, 0xd ; number of laboratory lenLab equ $ - numLab ; length o...
programs/oeis/276/A276390.asm
karttu/loda
0
80893
; A276390: Bisection of A115716. ; 1,3,3,11,3,11,3,43,3,11,3,43,3,11,3,171,3,11,3,43,3,11,3,171,3,11,3,43,3,11,3,683,3,11,3,43,3,11,3,171,3,11,3,43,3,11,3,683,3,11,3,43,3,11,3,171,3,11,3,43,3,11,3,2731,3,11,3,43,3,11,3,171,3,11,3,43,3,11,3,683,3,11,3,43,3,11,3,171,3,11,3,43,3,11,3,2731,3,11,3,43,3,11,3,171,3,11,3,43,3,...
src/Partiality-algebra/Eliminators.agda
nad/partiality-monad
2
7668
------------------------------------------------------------------------ -- Eliminators and initiality ------------------------------------------------------------------------ {-# OPTIONS --erased-cubical --safe #-} module Partiality-algebra.Eliminators where open import Equality.Propositional.Cubical open import Lo...
Zip Protect/AppDelegate.applescript
JackVaughn0523/zip_protect_mac_os
0
2104
-- -- AppDelegate.applescript -- Zip Protect -- -- Created by <NAME> on 1/21/15. -- Copyright (c) 2015 RCSNC. All rights reserved. -- script AppDelegate property parent : class "NSObject" -- IBOutlets property theWindow : missing value property theZipButton : missing value property chooseButton : miss...
bluebutton-text-to-fhir-app/src/main/antlr4/gov/hhs/cms/bluebutton/texttofhir/parsing/antlr/MyMedicare2BlueButtonText.g4
karlmdavis/python-bluebutton-to-fhir
1
1454
/** * This is an ANTLR4 grammar for the CMS/MyMedicare.gov BlueButton v2 Text File * Format. It parses those text files into an ordered list of sections, each * which contains an ordered list of elements, which contain a mix of metadata * and key-value pairs. * * This grammar is converted via `antlr4-maven-...
oeis/037/A037538.asm
neoneye/loda-programs
11
240078
; A037538: Base 5 digits are, in order, the first n terms of the periodic sequence with initial period 1,2,1. ; Submitted by <NAME> ; 1,7,36,181,907,4536,22681,113407,567036,2835181,14175907,70879536,354397681,1771988407,8859942036,44299710181,221498550907,1107492754536,5537463772681,27687318863407,138436594317036,6921...
case-studies/performance/verification/alloy/ppc/tests/lwswr001.als
uwplse/memsynth
19
1316
<reponame>uwplse/memsynth module tests/lwswr001 open program open model /** PPC lwswr001 "DpdR Fre LwSyncsWR DpdR Fre LwSyncsWR Fre LwSyncsWR" Cycle=DpdR Fre LwSyncsWR DpdR Fre LwSyncsWR Fre LwSyncsWR Relax=LwSyncsWR Safe=Fre DpdR { 0:r2=x; 0:r6=y; 1:r2=y; 2:r2=y; 2:r6=x; } P0 | P1 | P2 ...
notes/nasm/print_rax.asm
gr0uch0dev/AssemblyExercisesAndNotes
0
246046
section .data codes: db '0123456789ABCDEF' newline: db 10 ; To copy the data to a file descriptor, the data needs to be in memory section .text global _start _start: mov rax, 0x1122334455667788 ;16 hex values. 4 bits (a nibble) are necessary to store each of them ( 0001-0001-0010-0010-.......) mov rdi, 1 ;the...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1903.asm
ljhsiun2/medusa
9
166410
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r14 push %r15 push %r9 push %rax push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0xef62, %rax nop nop nop and %rbx, %rbx mov (%rax), %r9d nop and %r9, %r9 lea addresses_WC_ht+0xe692, %rbx nop nop nop nop add $4280, %r14 movb (%rbx), ...
source/slim-message_decoders.ads
reznikmm/slimp
0
8878
<reponame>reznikmm/slimp -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with League.Stream_Element_Vectors; with Slim.Messages; package Slim.Message_Decoders is type Decoder is tagged limited ...
Ada/src/Problem_07.adb
Tim-Tom/project-euler
0
694
<filename>Ada/src/Problem_07.adb with Ada.Integer_Text_IO; with Ada.Text_IO; with PrimeInstances; package body Problem_07 is package IO renames Ada.Text_IO; package I_IO renames Ada.Integer_Text_IO; procedure Solve is package Integer_Primes renames PrimeInstances.Integer_Primes; Sieve : constant In...
example_1.1/src/main_loop.adb
rogermc2/GA_Ada
3
30554
-- with Ada.Strings.Unbounded; with Ada.Text_IO; use Ada.Text_IO; with GL.Culling; with GL.Objects.Programs; -- with GL.Text; with GL.Toggles; with GL.Types; use GL.Types; with GL.Types.Colors; with GL.Window; with Glfw; with Glfw.Input; with Glfw.Input.Keys; with Glfw.Windows.Context; with Maths; with Utilities;...