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/portscan.adb
kraileth/ravenadm
18
25768
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt with Ada.Strings.Hash; with Ada.Characters.Latin_1; with Ada.Directories; with Parameters; with Utilities; with GNAT.Traceback.Symbolic; package body PortScan is package LAT renames Ada.Characters.Latin_1; ...
2006-spring/mp0/mp0.asm
ece291/machine-problems
3
27619
; MP0 - Your Name - Today's Date ; ; This program illustrates a (very) basic assembly program and ; the use of LIB291 input and output routines. ; By working on this code, you will have the opportunity to ; exercise the tools for this class, namely the editor, ; the Assembler (NASM), and...
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_734.asm
ljhsiun2/medusa
9
167592
<filename>Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_734.asm<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0xeb98, %r13 nop nop nop nop dec %rdx mov (%r13), %edi add $19696, %rbp lea addr...
DHP-Mars45/TestFiles/output/swap.asm
sollybr/college-projects-2020
0
243602
<filename>DHP-Mars45/TestFiles/output/swap.asm sll $t1,$a1,2 add $t1,$a0,$t1 lw $t0,0x0($t1) lw $t2,0x4($t1) sw $t2,0x0($t1) sw $t0,0x4($t1)
vpnsetupwithDUO.applescript
andrewb3000/CiscoVPNSetup
0
1284
<filename>vpnsetupwithDUO.applescript -- originally based on halocardina's script at https://gist.github.com/halocaridina/99466e4b1d08e57fb9dd -- AnyConnect now refered to as targetApp set targetApp to "Cisco AnyConnect Secure Mobility Client" -- Determine if AnyConnect is currently running tell application "System Ev...
Etapa 02/Aula 10 - Subrotinas/codes/a10e05.asm
bellorini/unioeste
6
4104
<filename>Etapa 02/Aula 10 - Subrotinas/codes/a10e05.asm ; Aula 10 - Subprogramas ; arquivo: a10e05.asm ; objetivo: demonstrar chamada de funções externas printf ; nasm -f elf64 a10e05.asm ; gcc -m64 -no-pie a10e05.o -o a10e05.x %define _exit 60 section .data strCtrl : db "%s, is a science fiction television se...
asm/PrintNum.asm
artrag/voicenc_scc
4
21117
<reponame>artrag/voicenc_scc<gh_stars>1-10 ;--------------------------------------------------------- ; method that prints hl on screen ; to address de ;--------------------------------------------------------- PrintNum: ld a,e out (99h),a ld a,d and 3Fh ...
45/runtime/herc/fmakeres.asm
minblock/msdos
0
94920
; TITLE FMAKERES - Command entry point for MSHERC. ;*** ;FMAKERES ; ; Copyright <C> 1987 - 1990, Microsoft Corporation ; ;Purpose: ; Assumes control upon entry of MSHERC.COM to initialize the driver ; and install the INT 10 hook. Then terminate and stay resident. ; ;****************************************************...
src/natools-s_expressions-generic_caches.ads
faelys/natools
0
392
------------------------------------------------------------------------------ -- Copyright (c) 2013-2019, <NAME> -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- purpose ...
libsrc/graphics/spectrum/bkrestore.asm
jpoikela/z88dk
640
161183
<filename>libsrc/graphics/spectrum/bkrestore.asm ; ; Fast background restore ; ; ZX Spectrum version (speeded up with a row table) ; ; $Id: bkrestore.asm $ ; SECTION smc_clib PUBLIC bkrestore PUBLIC _bkrestore EXTERN pixeladdress EXTERN zx_saddrpdown EXTERN swapgfxbk EXTERN __graphics_end .bk...
programs/oeis/136/A136962.asm
neoneye/loda
22
176475
; A136962: Numbers k such that k and k^2 use only the digits 0, 5, 6 and 7. ; 0,76,760,7600,76000,760000,7600000,76000000,760000000,7600000000,76000000000,760000000000,7600000000000,76000000000000,760000000000000 sub $0,1 mov $1,10 pow $1,$0 mul $1,76 mov $0,$1
Structure/Operator/Monoid/Invertible/Proofs.agda
Lolirofle/stuff-in-agda
6
10716
module Structure.Operator.Monoid.Invertible.Proofs where import Data.Tuple as Tuple import Lvl open import Logic.Propositional open import Logic.Predicate open import Structure.Operator open import Structure.Operator.Monoid open import Structure.Operator.Monoid.Invertible open import Structure.Operator.Prope...
src/latin_utils/latin_utils-inflections_package-propack_record_io.adb
spr93/whitakers-words
204
3756
-- WORDS, a Latin dictionary, by <NAME> (USAF, Retired) -- -- Copyright <NAME> (1936–2010) -- -- This is a free program, which means it is proper to copy it and pass -- it on to your friends. Consider it a developmental item for which -- there is no charge. However, just for form, it is Copyrighted -- (c). Permission i...
Applications/Finder/comment/set comment.applescript
looking-for-a-job/applescript-examples
1
979
<reponame>looking-for-a-job/applescript-examples #!/usr/bin/osascript set home to POSIX path of (path to home folder) set fullpath to home & ".gitignore" set posix to POSIX file fullpath tell application "Finder" set comment of (posix as alias) to "gitignore" comment of (posix as alias) end tell
src/servlet-streams.ads
My-Colaborations/ada-servlet
6
6051
----------------------------------------------------------------------- -- servlet-streams -- Print streams for servlets -- Copyright (C) 2010, 2011, 2012, 2013, 2017, 2018, 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file...
src/Everything.agda
ajrouvoet/jvm.agda
6
10438
module Everything where -- The development can almost entirely be type-checked using --safe, -- We mark modules that use the TERMINATING pragma with (**) -- And one module that uses --rewriting with (*). -- These are the only modules that Agda does not accept ass --safe. -- # First we summarize the library we use by ...
load-graphics-routines.asm
TheAnsarya/ffmq-info
3
90785
;-------------------------------------------------------------------- ; BANK $00 ;-------------------------------------------------------------------- ;-------------------------------------------------------------------- pushpc org $008504 ; ROUTINE: Copy 8 Colors from $d8e4 ($008504) ; copies $8 co...
Transynther/x86/_processed/US/_zr_/i3-7100_9_0x84_notsx.log_21829_550.asm
ljhsiun2/medusa
9
82332
<reponame>ljhsiun2/medusa<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r14 push %rax push %rbx lea addresses_WT_ht+0xefc5, %r12 nop nop nop nop add %rbx, %rbx mov $0x6162636465666768, %rax movq %rax, (%r12) nop sub $34116, %rbx lea addresses_WT_ht+0x14429, %r14 nop nop nop nop xo...
programs/oeis/130/A130234.asm
karttu/loda
0
178855
; A130234: Minimal index k of a Fibonacci number such that Fib(k)>=n (the 'upper' Fibonacci Inverse). ; 0,1,3,4,5,5,6,6,6,7,7,7,7,7,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11 mov $2,...
src/test/ref/examples/c64/crunching/test-byteboozer.asm
jbrandwood/kickc
2
86006
// Example showing how to crunch and decrunch part of a file using the KickAss Cruncher Plugins // ByteBoozer example // https://github.com/p-a/kickass-cruncher-plugins // Commodore 64 PRG executable file - with the cruncher plugin enabled .plugin "se.triad.kickass.CruncherPlugins" .file [name="test-byteboozer.prg", ...
gcc-gcc-7_3_0-release/gcc/ada/g-moreex.adb
best08618/asylo
7
18726
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
llvm-gcc-4.2-2.9/gcc/ada/s-intman-vms.ads
vidkidz/crossbridge
1
5985
<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
src/_test/harness/apsepp_test.adb
thierr26/ada-apsepp
0
6251
<filename>src/_test/harness/apsepp_test.adb<gh_stars>0 -- Copyright (C) 2019 <NAME> <<EMAIL>> -- MIT license. Please refer to the LICENSE file. -- with GNAT.Exception_Traces; -- For debugging. with Apsepp_Test_Harness; procedure Apsepp_Test is -- use GNAT.Exception_Traces; -- For debugging. begin -- Trace_On...
notes/FOT/GroupTheory/NoPatternMatchingOnRefl.agda
asr/fotc
11
10992
<reponame>asr/fotc<gh_stars>10-100 ------------------------------------------------------------------------------ -- Proving properties without using pattern matching on refl ------------------------------------------------------------------------------ {-# OPTIONS --no-pattern-matching #-} {-# OPTIONS --exact-split ...
gcc-gcc-7_3_0-release/gcc/ada/s-stchop-vxworks.adb
best08618/asylo
7
11800
<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
source/asis/asis-gela-instances-utils.adb
faelys/gela-asis
4
23315
<gh_stars>1-10 ------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org ...
programs/oeis/081/A081215.asm
neoneye/loda
22
20145
; A081215: a(n) = (n^(n+1)+(-1)^n)/(n+1)^2. ; 1,0,1,5,41,434,5713,90075,1657009,34867844,826446281,21794641505,633095889817,20088655029078,691413758034721,25657845139503479,1021273028302258913,43404581642184336392,1961870762757168078553,93974933643864895483389,4755446712018140589569161,253500676417573621795462010,14199...
Appl/Art/Decks/GeoDeck/CGADiamond5.asm
steakknife/pcgeos
504
8785
<filename>Appl/Art/Decks/GeoDeck/CGADiamond5.asm CGADiamond5 label byte word C_BLACK Bitmap <67,41,BMC_PACKBITS,BMF_MONO> db 0xf8, 0x00 db 0xf8, 0x00 db 0x08, 0x1f, 0xf0, 0x1c, 0x00, 0x00, 0x07, 0x00, 0x1c, 0x00 db 0x08, 0x18, 0x00, 0x6b, 0x00, 0x00, 0x1a, 0xc0, 0x6b, 0x00 db 0x08, 0x1f, 0xe0, 0xd...
code.asm
rng70/C-Compiler
0
160429
.MODEL SMALL .STACK 100H .DATA main_return_val DW ? a2 DW ? b2 DW ? t1 DW ? .CODE PRINT_INT PROC PUSH AX PUSH BX PUSH CX PUSH DX OR AX, AX JGE END_IF1 PUSH AX MOV DL,'-' MOV AH, 2 INT 21H POP AX NEG AX END_IF1: X...
tests/syntax/bad/testfile-structure-2.adb
xuedong/mini-ada
0
27072
<reponame>xuedong/mini-ada with Ada.Text_IO; use Ada.Text_IO; procedure Test is Put('a'); end Test;
generated-sources/ada-server/mojang-api/src/model/com-github-asyncmc-mojang-api-ada-server-model-models.adb
AsyncMC/Mojang-API-Libs
0
20724
-- Mojang API -- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -- -- OpenAPI spec version: 2020_06_05 -- -- -- NOTE: This package is auto generated by the swagger code generator 3.3.4. -- https://openapi-generator.tech -- Do not edit the class manuall...
source/jni/u2/dots/asm.asm
Falken42/SecondReality
9
175324
include clink.inc code SEGMENT para public 'CODE' ASSUME cs:code .386 MAXDOTS equ 1024 BOTTOM equ 8000 public _gravitybottom _gravitybottom dw BOTTOM public _bpmin,_bpmax _bpmin dw 30000 _bpmax dw -30000 public _gravity _gravity dw 0 public _dotnum _dotnum dw 0 public _gravityd _gravityd...
mat/src/mat-targets-probes.adb
stcarrez/mat
7
8367
<gh_stars>1-10 ----------------------------------------------------------------------- -- mat-targets-probes - Definition and Analysis of process start events -- Copyright (C) 2014, 2015 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use t...
library/02_functions_batch1/unknown_1000cee0.asm
SamantazFox/dds140-reverse-engineering
1
166542
<reponame>SamantazFox/dds140-reverse-engineering 1000cee0: 8b 44 24 08 mov eax,DWORD PTR [esp+0x8] 1000cee4: 8b 4c 24 10 mov ecx,DWORD PTR [esp+0x10] 1000cee8: 0b c8 or ecx,eax 1000ceea: 8b 4c 24 0c mov ecx,DWORD PTR [esp+0xc] 1000ceee: 75 09 jn...
arch/ARM/STM32/svd/stm32l5x2/stm32_svd-comp.ads
morbos/Ada_Drivers_Library
2
19577
<reponame>morbos/Ada_Drivers_Library -- This spec has been automatically generated from STM32L5x2.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.COMP is pragma Preelaborate; --------------- -- Registers -- ------------...
gcc-gcc-7_3_0-release/gcc/ada/g-exptty.ads
best08618/asylo
7
21345
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
test/Fail/Negative1.agda
shlevy/agda
1,989
16107
<reponame>shlevy/agda module Negative1 where data D : Set where lam : (D -> D) -> D
Funlang.g4
mgrzeszczak/funlang
0
2248
<gh_stars>0 grammar Funlang; program : (statement Semicolon)+ | ; statement : definition | execution ; execution : name parameters ; parameterList : number | number Comma parameterList ; parameters : OpenParam CloseParam | OpenParam parameterList CloseParam ;...
tools/akt-commands-info.adb
thierr26/ada-keystore
25
9041
<filename>tools/akt-commands-info.adb ----------------------------------------------------------------------- -- akt-commands-info -- Info command of keystore -- Copyright (C) 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this fi...
programs/oeis/306/A306957.asm
karttu/loda
0
82995
<reponame>karttu/loda ; A306957: a(n) = n!*binomial(10,n). ; 1,10,90,720,5040,30240,151200,604800,1814400,3628800,3628800,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 mov $1,11 mov $2,11 lpb $0,1 sub $0,1 sub $2,1 mul $1,$2 lpe div $1,11
programs/oeis/113/A113217.asm
neoneye/loda
22
243371
<filename>programs/oeis/113/A113217.asm ; A113217: Parity of decimal digital root of n. ; 0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1 sub $0,1 mod $0,9 add $0,1 mo...
oeis/217/A217478.asm
neoneye/loda-programs
11
242622
; A217478: Triangle of coefficients of polynomials providing the second term of the numerator for the generating function for odd powers (2*m+1) of Chebyshev S-polynomials. The present polynomials are called P(m;1,x^2). ; Submitted by <NAME>(s4) ; -2,3,-4,-4,10,-6,5,-20,21,-8,-6,35,-56,36,-10,7,-56,126,-120,55,-12,-8,8...
proofs/AKS/Modular/Quotient/Properties.agda
mckeankylej/thesis
1
10608
open import Level using (0ℓ) open import Function using (_$_) open import Relation.Binary.PropositionalEquality using (_≡_; _≢_; refl; sym; trans; cong; cong₂; isEquivalence; setoid; module ≡-Reasoning) open import Relation.Binary.PropositionalEquality.WithK using (≡-irrelevant) open import Relation.Nullary.Negation u...
gumiho/src/main/resources/Demo.g4
kent-bo-hai/gumiho
0
1073
<filename>gumiho/src/main/resources/Demo.g4 grammar Demo; compileUnit : expr EOF ; expr : '(' expr ')' # parensExpr | op=('+'|'-') expr # unaryExpr | left=expr op=('*'|'/') right=expr # infixExpr | left=expr op=('+'|'-') right=expr # ...
source/numerics/i-fortra.ads
ytomino/drake
33
11929
pragma License (Unrestricted); with Ada.Numerics.Generic_Complex_Types; -- see G.1.1 pragma Elaborate_All (Ada.Numerics.Generic_Complex_Types); package Interfaces.Fortran is pragma Pure; type Fortran_Integer is new Integer; -- implementation-defined type Real is new Float; -- implementation-defined type D...
libsrc/_DEVELOPMENT/l/z80/long/small/l_small_asr_dehl.asm
jpoikela/z88dk
640
18031
<filename>libsrc/_DEVELOPMENT/l/z80/long/small/l_small_asr_dehl.asm<gh_stars>100-1000 SECTION code_clib SECTION code_l PUBLIC l_small_asr_dehl EXTERN error_lznc, error_lmnc l_small_asr_dehl: ; arithmetic shift right 32-bit signed long ; ; enter : dehl = 32-bit number ; a = shift amount ; ...
SLIDE_TronSolitaire.asm
XlogicX/CactusCon2017
2
160312
<reponame>XlogicX/CactusCon2017<gh_stars>1-10 %include 'textmode.h' call draw_border mov di, 160 * 2 + 8 ;where to place cursor mov si, line01 ;fetch the text mov ah, 0x0A ;color call slide_line mov di, 160 * 4 + 16 ;where to place cursor mov si, line02 ;fetch the text call slide_line ;Draw Border mov a...
smsq/java/smsq_base.asm
olifink/smsqe
0
98360
; Initialise SMSQ for SMSQmulator V2.04 (c) <NAME> 2012-2015 ; 2003-01-22 2.03 use sms_dlan to copy default language (wl) ; 2015 Jul 27 2.04 removed debug code (blats etc) ; based on ; Initialise SMSQ V2.02  1994 <NAME> section base xdef smsq_base xref init_vec ; initialise vector area xref init_trp ...
source/numerics/machine-w64-mingw32/s-ranini.ads
ytomino/drake
33
13448
pragma License (Unrestricted); -- implementation unit specialized for Windows with Ada.IO_Exceptions; with System.Storage_Elements; package System.Random_Initiators is pragma Preelaborate; procedure Get ( Item : Address; Size : Storage_Elements.Storage_Count); -- Exceptions Use_Error : exce...
Transynther/x86/_processed/US/_st_4k_/i7-7700_9_0xca_notsx.log_8_440.asm
ljhsiun2/medusa
9
98729
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r14 push %rax push %rcx lea addresses_WT_ht+0xd09e, %r14 nop nop nop nop nop and $47056, %r13 movb (%r14), %cl nop nop nop nop nop add $50601, %rax lea addresses_WC_ht+0x4d9e, %r11 xor $65339, %r14 mov $0x6162636465666768, %r10 movq %r10, ...
src/log_filter.ads
Lyaaaaaaaaaaaaaaa/Lyaaaaa-s-Log-Filters
1
21875
<gh_stars>1-10 ---------------------------------------------------------- -- Copyright (c), The MIT License (MIT) -- Author: Lyaaaaaaaaaaaaaaa -- -- Revision History: -- 18/09/2019 Lyaaaaaaaaaaaaaaa -- - Added file header -- - Filter_Check becomes Check_Filters -- -- Encoding issues : -- - Needs UTF-8 encoded ...
Validation/pyFrame3DD-master/gcc-master/gcc/ada/xoscons.adb
djamal2727/Main-Bearing-Analytical-Model
0
27064
------------------------------------------------------------------------------ -- -- -- GNAT SYSTEM UTILITIES -- -- -- -- ...
IPC/Syntax/Common.agda
mietek/hilbert-gentzen
29
380
<reponame>mietek/hilbert-gentzen -- Intuitionistic propositional calculus. -- Common syntax. module IPC.Syntax.Common where open import Common.Context public -- Types, or propositions. infixl 9 _∧_ infixl 8 _∨_ infixr 7 _▻_ data Ty : Set where α_ : Atom → Ty _▻_ : Ty → Ty → Ty _∧_ : Ty → Ty → Ty ⊤ : Ty ...
libsrc/_DEVELOPMENT/alloc/malloc/z80/asm_heap_info.asm
meesokim/z88dk
0
27719
<gh_stars>0 ; =============================================================== ; Apr 2014 ; =============================================================== ; ; void heap_info(void *heap, void *callback) ; ; Visit each block in the heap and pass information about ; the block to the callback function. ; ; ==============...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1964.asm
ljhsiun2/medusa
9
244704
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r14 push %r15 push %r8 push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x1cea6, %r10 nop nop nop nop cmp %r15, %r15 movw $0x6162, (%r10) nop nop nop nop add %rcx, %rcx lea addresses_WC_ht+0x14a66, %r14 nop nop nop nop nop dec %r8 mov...
Driver/Socket/TCPIP/tcpipDhcp.asm
steakknife/pcgeos
504
242248
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GlobalPC 2000. All rights reserved. GLOBALPC CONFIDENTIAL PROJECT: PC GEOS MODULE: TCP/IP Driver FILE: tcpipDhcp.asm AUTHOR: <NAME>., Jun 15, 2000 ROUTINES: Name Description ---- ----------- Tcpip...
6/execvesh/poc_asm.asm
91fc7b/SLAE
0
98208
<gh_stars>0 global _start section .text _start: mov eax,11 xor edx,edx push edx push dword 0x68732f2f push dword 0x6e69622f mov ebx, esp xor ecx, ecx int 0x80
engine/game_corner_slots2.asm
adhi-thirumala/EvoYellow
16
92071
AbleToPlaySlotsCheck: ld a, [wSpriteStateData1 + 2] and $8 jr z, .done ; not able ld b, COIN_CASE predef GetQuantityOfItemInBag ld a, b and a ld b, (GameCornerCoinCaseText_id - TextPredefs) / 2 + 1 jr z, .printCoinCaseRequired ld hl, wPlayerCoins ld a, [hli] or [hl] jr nz, .done ; able to play ld b, (Game...
source/web-ui-widgets-combo_boxes.adb
godunko/adawebui
2
6087
<filename>source/web-ui-widgets-combo_boxes.adb ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
programs/oeis/017/A017497.asm
neoneye/loda
22
25283
<reponame>neoneye/loda ; A017497: a(n) = 11*n + 9. ; 9,20,31,42,53,64,75,86,97,108,119,130,141,152,163,174,185,196,207,218,229,240,251,262,273,284,295,306,317,328,339,350,361,372,383,394,405,416,427,438,449,460,471,482,493,504,515,526,537,548,559,570,581,592,603,614,625,636,647,658,669,680,691,702,713,724,735,746,757,7...
Categories/Monoidal/Traced.agda
copumpkin/categories
98
4462
<reponame>copumpkin/categories {-# OPTIONS --universe-polymorphism #-} module Categories.Monoidal.Traced where open import Level open import Data.Product open import Data.Fin open import Categories.Category open import Categories.Monoidal open import Categories.Functor hiding (id; _∘_; identityʳ; assoc) open import ...
programs/oeis/075/A075255.asm
neoneye/loda
22
167210
<gh_stars>10-100 ; A075255: a(n) = n - (sum of primes factors of n (with repetition)). ; 1,0,0,0,0,1,0,2,3,3,0,5,0,5,7,8,0,10,0,11,11,9,0,15,15,11,18,17,0,20,0,22,19,15,23,26,0,17,23,29,0,30,0,29,34,21,0,37,35,38,31,35,0,43,39,43,35,27,0,48,0,29,50,52,47,50,0,47,43,56,0,60,0,35,62,53,59,60,0,67,69,39,0,70,63,41,55,71,0...
1581/64tass/bamutl.asm
silverdr/assembly
23
102536
rdbam lda jobnum ; save it sta tmpjbn lda bam1 ; is it in memory? bne bamend ; yes lda #>(bam1-buff0) ldx #1 ; sector jsr setts jsr doread lda #>(bam2-buff0) ldx #2 ; sec number jsr setts ...
programs/oeis/130/A130893.asm
neoneye/loda
22
83948
<filename>programs/oeis/130/A130893.asm ; A130893: Lucas numbers (beginning with 1) mod 10. ; 1,3,4,7,1,8,9,7,6,3,9,2,1,3,4,7,1,8,9,7,6,3,9,2,1,3,4,7,1,8,9,7,6,3,9,2,1,3,4,7,1,8,9,7,6,3,9,2,1,3,4,7,1,8,9,7,6,3,9,2,1,3,4,7,1,8,9,7,6,3,9,2,1,3,4,7,1,8,9,7,6,3,9,2,1,3,4,7,1,8,9,7,6,3,9,2,1,3,4,7 add $0,1 mod $0,12 seq $0...
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48.log_21829_2695.asm
ljhsiun2/medusa
9
100721
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r15 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0xbb30, %rsi lea addresses_normal_ht+0x2130, %rdi nop nop nop nop nop and %rdx, %rdx mov $53, %rcx rep movsw nop xor %r15, %r15 lea addresses_D_ht+0x...
nes-test-roms/mmc3_irq_tests/source/prefix_mmc3_validation.asm
joebentley/ones
1,461
172626
<gh_stars>1000+ .include "prefix_mmc3.a" begin_counter_test: sta result jsr clock_counter ; avoid pathological reload behavior jsr clock_counter txa jsr set_reload jsr clear_counter jsr clear_irq rts .code should_be_clear: j...
programs/oeis/230/A230089.asm
neoneye/loda
22
18237
; A230089: If n is divisible by 4 then 4, if n is divisible by 2 then 2, otherwise n. ; 1,2,3,4,5,2,7,4,9,2,11,4,13,2,15,4,17,2,19,4,21,2,23,4,25,2,27,4,29,2,31,4,33,2,35,4,37,2,39,4,41,2,43,4,45,2,47,4,49,2,51,4,53,2,55,4,57,2,59,4,61,2,63,4,65,2,67,4,69,2,71,4,73,2,75,4,77,2,79,4,81,2,83,4,85,2,87,4,89,2 lpb $0,$0 ...
proglangs-learning/Agda/plfa-exercises/part1/Equality.agda
helq/old_code
0
7630
module plfa.part1.Equality where data _≡_ {A : Set} (x : A) : A → Set where refl : x ≡ x infix 4 _≡_ sym : ∀ {A : Set} {x y : A} → x ≡ y → y ≡ x sym refl = refl trans : ∀ {A : Set} {x y z : A} → x ≡ y → y ≡ z → x ≡ z trans refl refl = refl cong : ∀ {A B : Set} (f : A → B) {x y : A} → x ≡ y → f x ≡ f y cong f ref...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/interface1.adb
best08618/asylo
7
14800
-- { dg-do run } with System; procedure Interface1 is package Pkg is type I1 is interface; type Root is tagged record Data : string (1 .. 300); end record; type DT is new Root and I1 with null record; end Pkg; use Pkg; use type System.Address; Obj : DT; procedure IW...
base/mvdm/wow16/kernel31/hmem.asm
npocmaka/Windows-Server-2003
17
178621
<gh_stars>10-100 title HMem ;HMem.asm - huge memory functions HMemCpy, etc include gpfix.inc include kernel.inc externFP Int21Handler DataBegin externW WinFlags ifdef WOW externD pFileTable externW cur_dos_PDB externW Win_PDB endif DataEnd ifdef WOW externFP WOWFileRead externFP WOWFileWrite en...
HelloWorld.adb
LinXueyuanStdio/HelloWorld
0
20871
<filename>HelloWorld.adb with Ada.Text_IO; use Ada.Text_IO; procedure Program is begin Ada.Text_IO.Put("HelloWorld"); end Program;
oeis/073/A073833.asm
neoneye/loda-programs
11
105381
; A073833: Numerators of b(n) where b(1) = 1, b(i) = b(i-1) + 1/b(i-1). ; Submitted by <NAME> ; 1,2,5,29,941,969581,1014556267661,1099331737522548368039021,1280590510388959061548230114212510564911731118541,1726999038066943724857508638586386504281539279376091034086485112150121338989977841573308941492781 mov $1,1 mov $3...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/bit_packed_array3.adb
best08618/asylo
7
18861
<reponame>best08618/asylo -- { dg-do run } -- { dg-options "-O2 -gnatp" } procedure Bit_Packed_Array3 is type Bitmap_T is array (1 .. 10) of Boolean; pragma Pack (Bitmap_T); type Maps_T is record M1 : Bitmap_T; end record; pragma Pack (Maps_T); for Maps_T'Size use 10; pragma Suppress_Initi...
_build/dispatcher/jmp_ippsSMS4_CCMGetTag_c594e231.asm
zyktrcn/ippcp
1
160126
extern m7_ippsSMS4_CCMGetTag:function extern n8_ippsSMS4_CCMGetTag:function extern y8_ippsSMS4_CCMGetTag:function extern e9_ippsSMS4_CCMGetTag:function extern l9_ippsSMS4_CCMGetTag:function extern n0_ippsSMS4_CCMGetTag:function extern k0_ippsSMS4_CCMGetTag:function extern ippcpJumpIndexForMergedLibs extern ippcpSafeIni...
programs/oeis/309/A309057.asm
neoneye/loda
22
95705
<filename>programs/oeis/309/A309057.asm ; 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 seq $0,80791 ; ...
src/plfa-code/Connectives.agda
chirsz-ever/plfa-code
0
12193
<filename>src/plfa-code/Connectives.agda module plfa-code.Connectives where import Relation.Binary.PropositionalEquality as Eq open Eq using (_≡_; refl) open Eq.≡-Reasoning open import Data.Nat using (ℕ) open import Function using (_∘_) open import plfa-code.Isomorphism using (_≃_; _≲_; extensionality) open plfa-code....
stage4/graphics_rectangle.asm
amrwc/8086-graphics
5
163261
<reponame>amrwc/8086-graphics<gh_stars>1-10 %include "graphics_rectangle_main.asm" %include "graphics_rectangle_algorithm.asm" Graphics_Rectangle: push word 50d ; x0 ; Default arguments push word 50d ; y0 push word 140d ; width push word 100d ; height call ...
legend-pure-m2-dsl-mapping/src/main/antlr4/org/finos/legend/pure/m2/dsl/mapping/serialization/grammar/OperationParser.g4
marinaelson/legend-pure
37
4305
<reponame>marinaelson/legend-pure<gh_stars>10-100 parser grammar OperationParser; options { tokenVocab = OperationLexer; } mapping: functionPath parameters (END_LINE)? EOF ; parameters: GROUP_OPEN (VALID_STRING (COMMA VALID_STRING)*)? GROUP_CLOSE ; functionPath: qual...
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_1798.asm
ljhsiun2/medusa
9
17173
<reponame>ljhsiun2/medusa<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r15 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0xfb70, %rsi lea addresses_A_ht+0x14954, %rdi clflush (%rdi) nop nop dec %rbx mov $80, %rcx rep movsq nop add %r10, %r10 lea addresses_W...
module-06/src/oedipus-elementary_functions.adb
morellam-dev/cs-4308-concepts-of-programming-languages
0
18959
<gh_stars>0 -- FILE: oedipus-elementary_functions.adb LICENSE: MIT © 2021 <NAME> with Oedipus; use Oedipus; package body Oedipus.Elementary_Functions is function "+" (C1, C2 : in Complex) return Complex is Sum : Complex := Create_Complex (Get_Real (C1) + Get_Real (C2), Get_Imagi...
programs/oeis/033/A033338.asm
karttu/loda
1
173238
; A033338: [ 18/n ]. ; 18,9,6,4,3,3,2,2,2,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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 add $0,1 mov $1,18 div $1,$0
examples/tests/expected/01_arithmetic.asm
aidnem/jenga-lang
0
22340
section .text extern _printf extern _exit global _main _main: word_0: ;; -- push 99 -- push 99 word_1: ;; -- push 1 -- push 1 word_2: ;; -- add -- pop rax pop rbx add rax, rbx push rax word_3: ;; -- dump -- mov rdi, dump_msg pop rsi call _printf word_4: ;; -- ...
test/Fail/Issue3517/S.agda
cruhland/agda
1,989
3433
{-# OPTIONS --safe --sized-types #-} module Issue3517.S where open import Agda.Builtin.Size public
lib/applescript/Music/state.scpt
fossabot/CatalinaScrobbler
0
3899
on run set info to "" tell application id "com.apple.Music" if player state is paused then set playerStateText to "Paused" else if player state is playing then set playerStateText to "Playing" else set playerStateText to "Stopped" end if en...
data/text/battle.asm
Dev727/ancientplatinum
28
92554
BattleText:: ; used only for BANK(BattleText) BattleText_PlayerPickedUpPayDayMoney: text "<PLAYER> picked up" line "¥@" text_decimal wPayDayMoney, 3, 6 text "!" prompt WildPokemonAppearedText: text "Wild @" text_ram wEnemyMonNick text_start line "appeared!" prompt HookedPokemonAttackedText: text "The hook...
Task/Metered-concurrency/Ada/metered-concurrency-1.ada
LaudateCorpus1/RosettaCodeData
1
21145
package Semaphores is protected type Counting_Semaphore(Max : Positive) is entry Acquire; procedure Release; function Count return Natural; private Lock_Count : Natural := 0; end Counting_Semaphore; end Semaphores;
oeis/074/A074845.asm
neoneye/loda-programs
11
243750
<reponame>neoneye/loda-programs ; A074845: Numbers n such that S(n) = largest difference between consecutive divisors of n (ordered by size), where S(n) is the Kempner function (A002034). ; Submitted by <NAME>(s1) ; 6,8,9,10,14,22,26,34,38,46,58,62,74,82,86,94,106,118,122,134,142,146,158,166,178,194,202,206,214,218,226...
third_party/antlr_grammars_v4/dice/DiceNotation.g4
mikhan808/rsyntaxtextarea-antlr4-extension
5
1283
/** * Copyright 2014-2019 the original author or authors * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_19.asm
ljhsiun2/medusa
9
8286
<filename>Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_19.asm .global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_WT_ht+0x15426, %rsi nop nop nop add $55041, %r10 movups (%rsi), %xmm3 vpextrq $0, %xmm3, %r13 nop nop ...
libsrc/target/krokha/stdio/generic_console.asm
ahjelm/z88dk
640
13624
<filename>libsrc/target/krokha/stdio/generic_console.asm ; Generic console driver for the Krokha ("tiny") SECTION code_clib PUBLIC generic_console_cls PUBLIC generic_console_vpeek PUBLIC generic_console_printc PUBLIC generic_console_scrollup PUBLIC generic_console_ioctl PUBLIC ...
libsrc/_DEVELOPMENT/compress/zx0/z80/asm_dzx0_standard.asm
ahjelm/z88dk
640
19803
<gh_stars>100-1000 SECTION code_lib SECTION code_compress_zx0 PUBLIC asm_dzx0_standard asm_dzx0_standard: INCLUDE "dzx0_standard.asm"
P6/data_P6_2/ALUTest153.asm
alxzzhou/BUAA_CO_2020
1
89804
addiu $1,$1,-8375 sb $5,6($0) slti $4,$4,24821 sb $6,8($0) sltu $4,$3,$3 lb $3,9($0) addiu $6,$0,-16224 addiu $4,$3,1361 sb $3,13($0) lhu $4,8($0) sll $6,$4,30 sh $3,12($0) subu $5,$5,$3 srlv $3,$3,$3 slti $1,$2,-1483 sh $4,6($0) lb $3,5($0) nor $5,$6,$3 sh $3,8($0) or $4,$5,$3 sll $4,$1,19 addiu $4,$5,20675 sra $5,$4,...
programs/oeis/135/A135215.asm
neoneye/loda
22
96820
<filename>programs/oeis/135/A135215.asm ; A135215: Maximal number of zero digits in square of number with n digits and without zero digits. ; 0,1,3,4,6,7,10,10,12,13,15 lpb $0 add $1,$0 div $0,2 add $1,$0 pow $0,2 cmp $0,$1 lpe mov $0,$1
DUT S2/M2101 - Assembleur/TP4/attenteActionUtilisateur.asm
Carduin/IUT
5
22408
<gh_stars>1-10 .DATA coordX DSW 1 coordY DSW 1 largeur DW 100 hauteur DW 100 .CODE LEA SP, STACK ;on efface l'écran au début LD R0,0 OUT R0,5 boucleSouris: ;Attente du premier clic souris de l'utilisateur IN R1, 0 CMP R1, %11000111 ;On teste si le clic a eu lieu, si oui, on dessine BEQ dessinInitial JMP ...
oeis/328/A328141.asm
neoneye/loda-programs
11
12275
; A328141: a(n) = a(n-1) - (n-2)*a(n-2), with a(0)=1, a(1)=2. ; Submitted by <NAME> ; 1,2,2,0,-4,-4,12,32,-40,-264,56,2432,1872,-24880,-47344,276096,938912,-3202528,-18225120,36217856,364270016,-323869248,-7609269568,-808015360,166595915136,185180268416,-3813121694848,-8442628405248,90698535660800,318649502602496,-2220...
programs/oeis/130/A130630.asm
karttu/loda
1
243444
<gh_stars>1-10 ; A130630: Periodic sequence with period 1 1 1 1 1 0 0 0 0. ; 1,1,1,1,1,0,0,0,0,1,1,1,1,1,0,0,0,0,1,1,1,1,1,0,0,0,0,1,1,1,1,1,0,0,0,0,1,1,1,1,1,0,0,0,0 mod $0,9 trn $0,4 pow $1,$0
regtests/files/test-ada-3/src/test3.adb
stcarrez/resource-embedder
7
6291
with Resource.Web; with Resource.Config; with Ada.Command_Line; with Ada.Text_IO; procedure Test3 is use Resource; C : Content_Access := Web.Get_Content ("main.html"); begin if C = null then Ada.Text_IO.Put_Line ("FAIL: No content 'main.html'"); Ada.Command_Line.Set_Exit_Status (Ada.Command_Line.F...
data/items/buena_prizes.asm
Dev727/ancientplatinum
28
165623
<filename>data/items/buena_prizes.asm<gh_stars>10-100 BuenaPrizeItems: ; there are NUM_BUENA_PRIZES items (see engine/events/buena.asm) db ULTRA_BALL, 2 db FULL_RESTORE, 2 db NUGGET, 3 db RARE_CANDY, 3 db PROTEIN, 5 db IRON, 5 db CARBOS, 5 db CALCIUM, 5 db HP_UP, 5 .End...
Task/Function-definition/Ada/function-definition-1.ada
LaudateCorpus1/RosettaCodeData
1
2288
function Multiply (A, B : Float) return Float;
artwork/goblin/goblin_idle.asm
fjpena/sword-of-ianna-zx
67
240035
; ASM source file created by SevenuP v1.20 ; SevenuP (C) Copyright 2002-2006 by <NAME>, aka Metalbrain ;GRAPHIC DATA: ;Pixel Size: ( 24, 32) ;Char Size: ( 3, 4) ;Sort Priorities: X char, Char line, Y char ;Data Outputted: Gfx ;Interleave: Sprite ;Mask: No goblin_idle: DEFB 0, 4,128...