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
DevSound_Macros.asm
DevEd2/ScootTheBurbs
5
164873
; ================================================================ ; DevSound macros ; ================================================================ if !def(incDSMacros) incDSMacros set 1 Instrument: macro db \1 if "\2" == "_" dw DummyTable else dw vol_\2 endc if "\3" == "_" dw DummyTable else dw arp_\3 endc...
solutions/18 - Uniqueley Disposed/size-5_speed-23.asm
behrmann/7billionhumans
45
178409
<filename>solutions/18 - Uniqueley Disposed/size-5_speed-23.asm -- 7 Billion Humans (2087) -- -- 18: Uniquely Disposed -- -- Author: landfillbaby -- Size: 5 -- Speed: 23 pickup w step sw a: step se giveto s jump a
Labs/Lab8/lab08_ex3.asm
ptr2578/CS61
1
163734
;================================================= ; Name: <NAME> ; Email: <EMAIL> ; GitHub username: ptr2578 ; ; Lab: lab 8 ; Lab section: B21 ; TA: <NAME> ; ;================================================= .ORIG x3000 ;-------------- ; Instructions ;-------------- ;------------------------------- ; INSERT CODE S...
Library/Text/TextRegion/trLargeGState.asm
steakknife/pcgeos
504
19911
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: trLargeGState.asm AUTHOR: <NAME>, Feb 25, 1992 ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name Date Descri...
lib/i386/aesasm.asm
0xflotus/SymCrypt
1
16418
<gh_stars>1-10 ; ; AesAsm.asm Assembler code for fast AES on the x86 ; ; Copyright (c) Microsoft Corporation. Licensed under the MIT license. ; ; This code is derived from the AesFast implemenation that ; <NAME> wrote from scratch for BitLocker during Vista. ; That code is still in RSA32. ; TI...
2.0/cpm20_code/os1boot.asm
officialrafsan/CP-M
0
177620
title 'mds cold start loader at 3000h' ; ; MDS-800 Cold Start Loader for CP/M 2.0 ; ; Version 2.0 August, 1979 ; false equ 0 true equ not false testing equ false ;if true, then go to mon80 on errors ; if testing bias equ 03400h endif if not testing bias equ 0000h endif cpmb equ bias ;base of dos load bdos equ 806...
programs/oeis/105/A105946.asm
karttu/loda
1
11127
<gh_stars>1-10 ; A105946: C(n+5,n)*C(n+3,3). ; 1,24,210,1120,4410,14112,38808,95040,212355,440440,858858,1589952,2815540,4798080,7907040,12651264,19718181,30020760,44753170,65456160,94093230,133138720,185679000,255528000,347358375,466849656,620854794,817586560,1066825320 mov $2,5 add $2,$0 cal $0,108647 ; a(n) = (n+1)...
Kaleid.agda
ashinkarov/agda-extractor
1
34
<filename>Kaleid.agda open import Structures open import Data.String using (String; _≈?_) open import Data.List as L using (List; []; _∷_; [_]) open import Data.List.Categorical open import Data.Nat as ℕ using (ℕ; zero; suc; _+_) import Data.Nat.Properties as ℕ open import Data.Nat.DivMod open import Agda.Builtin.Nat ...
Library/AccPnt/accpntApi.asm
steakknife/pcgeos
504
94911
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Geoworks 1995 -- All Rights Reserved GEOWORKS CONFIDENTIAL PROJECT: socket MODULE: access point database FILE: accpntApi.asm AUTHOR: <NAME>, Apr 24, 1995 ROUTINES: Name Description ---- ----------- ...
src/vwf.asm
ISSOtm/gb-open-world
8
12342
INCLUDE "hardware.inc/hardware.inc" SKIP_HELD_KEYS equ PADF_B SKIP_PRESSED_KEYS equ PADF_A NB_CHARSETS equ 1 CHARSET_0 equs "res/optix.vwf" lb: MACRO assert -128 <= (\2) && (\2) <= 255, "Second argument to `lb` must be 8-bit!" assert -128 <= (\3) && (\3) <= 255, "Third argument to `lb` must be 8-bit!" ld \1, ((\...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/vect16.ads
best08618/asylo
7
29857
package Vect16 is type Sarray is array (1 .. 4) of Long_Float; for Sarray'Alignment use 16; procedure Add_Sub (X, Y : Sarray; R,S : out Sarray); end Vect16;
0x06.asm
0xdea/xorpd-solutions
53
8498
<filename>0x06.asm ; ; $Id: 0x06.asm,v 1.1.1.1 2016/03/27 08:40:12 raptor Exp $ ; ; 0x06 explanation - from xchg rax,rax by <EMAIL> ; Copyright (c) 2016 <NAME> <<EMAIL>> ; ; This snippet sets rax with its initial value, by doing ; the following operations: ; ; 1. bitwise not of rax (one's complement negation) ; 2. rax ...
src/gnat/sinput.adb
My-Colaborations/dynamo
15
19895
<reponame>My-Colaborations/dynamo<filename>src/gnat/sinput.adb<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
alloy4fun_models/trashltl/models/11/99e8Hb3LPu9oeLocq.als
Kaixi26/org.alloytools.alloy
0
3751
<gh_stars>0 open main pred id99e8Hb3LPu9oeLocq_prop12 { all f: File | eventually f in Trash and after always f in Trash } pred __repair { id99e8Hb3LPu9oeLocq_prop12 } check __repair { id99e8Hb3LPu9oeLocq_prop12 <=> prop12o }
ASMFiles/printChar.asm
Undeadtaker/Assembly
0
177624
.model small .data .code mov ah, 1h ; 01h DOS interrupt for READ CHARACTER FROM STANDARD INPUT, WITH ECHO, character stored in al not ah! ah is for read only! int 21h ; execute the 21h interrupt mov dl, al ; move the character from al to dl mov ah, 2h ; 02h DOS interrupt for WRITE C...
Transynther/x86/_processed/NONE/_st_/i9-9900K_12_0xa0_notsx.log_21829_801.asm
ljhsiun2/medusa
9
175167
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r15 push %r8 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x12d26, %rax nop nop dec %r8 movl $0x61626364, (%rax) nop nop nop and $28988, %rbx lea addresses_normal_ht+0x1e87c, %rsi clflush (%rsi) nop ...
programs/oeis/047/A047343.asm
neoneye/loda
22
171191
; A047343: Numbers that are congruent to {1, 3, 4} mod 7. ; 1,3,4,8,10,11,15,17,18,22,24,25,29,31,32,36,38,39,43,45,46,50,52,53,57,59,60,64,66,67,71,73,74,78,80,81,85,87,88,92,94,95,99,101,102,106,108,109,113,115,116,120,122,123,127,129,130,134,136,137,141 add $0,8 seq $0,47266 ; Numbers that are congruent to {0, 1, 5...
programs/oeis/245/A245354.asm
neoneye/loda
22
10152
<reponame>neoneye/loda<gh_stars>10-100 ; A245354: Sum of digits of n in fractional base 9/5. ; 0,1,2,3,4,5,6,7,8,5,6,7,8,9,10,11,12,13,6,7,8,9,10,11,12,13,14,11,12,13,14,15,16,17,18,19,8,9,10,11,12,13,14,15,16,13,14,15,16,17,18,19,20,21,14,15,16,17,18,19,20,21,22,19,20,21,22,23 lpb $0 add $1,530 lpb $0 dif $0,...
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48_notsx.log_21829_1080.asm
ljhsiun2/medusa
9
16135
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r15 push %r9 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_WC_ht+0x74a, %r10 nop nop and %rsi, %rsi mov (%r10), %bp nop nop nop xor %r10, %r10 lea addresses_WC_ht+0x1d40a, %rsi lea addresses_UC_ht+0x13b4a, %rdi nop nop nop nop nop inc %r10 m...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/renaming8_pkg1.ads
best08618/asylo
7
24326
with Renaming8_Pkg2; use Renaming8_Pkg2; package Renaming8_Pkg1 is B: Boolean renames F.E(1); end Renaming8_Pkg1;
src/asf-contexts-exceptions-iterate.ads
My-Colaborations/ada-asf
0
2170
----------------------------------------------------------------------- -- asf-contexts-exceptions -- Exception handlers in faces context -- Copyright (C) 2011 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in complian...
src/test/ref/sizeof-arrays.asm
jbrandwood/kickc
2
12452
// Tests the sizeof() operator on arrays // Commodore 64 PRG executable file .file [name="sizeof-arrays.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .segmentdef Basic [start=$0801] .segmentdef Code [start=$80d] .segmentdef Data [startAfter="Code"] .segment Basic :BasicUpsta...
wof/lcs/enemy/4E.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
6
3188
copyright zengfr site:http://github.com/zengfr/romhack 001590 lea ($20,A0), A0 012272 move.l (A2)+, (A3)+ [enemy+48, enemy+4A] 012274 move.l (A2)+, (A3)+ 01A75E dbra D4, $1a75c copyright zengfr site:http://github.com/zengfr/romhack
libsrc/_DEVELOPMENT/target/rc2014/device/acia/z80/__acia_data_Rx.asm
ahjelm/z88dk
640
3139
<filename>libsrc/_DEVELOPMENT/target/rc2014/device/acia/z80/__acia_data_Rx.asm INCLUDE "config_private.inc" SECTION data_driver PUBLIC aciaRxCount, aciaRxIn, aciaRxOut, aciaRxLock aciaRxCount: defb 0 ; Space for Rx Buffer Management aciaRxIn: defw aciaRxBuffer ; pointer to buffer ac...
3-mid/opengl/source/lean/opengl-texture.ads
charlie5/lace
20
27755
with ada.unchecked_Conversion, ada.Strings.unbounded.Hash, ada.Containers.hashed_Maps; package openGL.Texture -- -- Provides openGL textures. -- is -- Object - an openGL texture 'object' -- type Object is tagged private; type Objects is array (Positive range <>) of Object; null_Objec...
misc/RecursiveDescent/Inductive/Semantics.agda
yurrriq/parser-combinators
7
10988
------------------------------------------------------------------------ -- Semantics of the parsers ------------------------------------------------------------------------ -- Currently it is only specified when a string is _accepted_ by a -- parser; semantic actions are not included. module RecursiveDescent.Inducti...
include/bits_types_u_fpos_t_h.ads
docandrew/troodon
5
16579
pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with bits_types_h; with bits_types_u_mbstate_t_h; package bits_types_u_fpos_t_h is -- The tag name of this struct is _G_fpos_t to preserve historic -- C++ mangled names for functions taking fpos_t arguments. -- That name shoul...
programs/oeis/004/A004378.asm
neoneye/loda
22
177223
; A004378: Binomial coefficient C(7n,n-10). ; 1,77,3486,121485,3612280,96560646,2392407864,56017460733,1255914977625,27212042858000,573658984353378,11825811462719982,239315973934897860,4768545345973022600,93780365051563029360 mov $1,$0 add $0,10 mul $0,7 bin $0,$1
Agda/RevRev.agda
Brethland/LEARNING-STUFF
2
3981
{-# OPTIONS --safe #-} module RevRev where open import Relation.Binary.PropositionalEquality open import Data.List open import Data.List.Properties rev : ∀ {ℓ} {A : Set ℓ} → List A → List A rev [] = [] rev (x ∷ xs) = rev xs ++ x ∷ [] lemma : ∀ {ℓ} {A : Set ℓ} (a b : List A) → rev (a ++ b) ≡ rev b ++ rev a lemma [] b...
programs/oeis/266/A266250.asm
karttu/loda
0
242211
; A266250: Total number of ON (black) cells after n iterations of the "Rule 9" elementary cellular automaton starting with a single ON (black) cell. ; 1,1,3,5,9,14,18,27,31,44,48,65,69,90,94,119,123,152,156,189,193,230,234,275,279,324,328,377,381,434,438,495,499,560,564,629,633,702,706,779,783,860,864,945,949,1034,1038...
src/shaders/post_processing/gen5_6/Common/AYUV_Load_16x8.asm
tizenorg/platform.upstream.libva-intel-driver
0
84332
/* * All Video Processing kernels * Copyright © <2010>, Intel Corporation. * * This program is licensed under the terms and conditions of the * Eclipse Public License (EPL), version 1.0. The full text of the EPL is at * http://www.opensource.org/licenses/eclipse-1.0.php. * */ // Module name: AYUV_Load_16x8.a...
libsrc/_DEVELOPMENT/arch/ts2068/misc/c/sccz80/tshc_visit_wc_pix.asm
jpoikela/z88dk
38
84808
; void tshc_visit_wc_pix(struct r_Rect8 *r, void *function) SECTION code_clib SECTION code_arch PUBLIC tshc_visit_wc_pix EXTERN asm_zx_visit_wc_pix tshc_visit_wc_pix: pop af pop de pop ix push de push de push af jp asm_zx_visit_wc_pix
test/Fail/Issue4775.agda
cruhland/agda
1,989
12258
<reponame>cruhland/agda<filename>test/Fail/Issue4775.agda -- Andreas, 2020-06-24, issue #4775 reported by JakobBruenker -- Non-record patterns in lets and lambdas lead to internal error -- {-# OPTIONS -v tc.term.lambda:30 #-} -- {-# OPTIONS -v tc.lhs:15 #-} -- {-# OPTIONS -v tc.term.let.pattern:30 #-} -- -- {-# OPTION...
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cc/cc3106b.ada
best08618/asylo
7
27109
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cc/cc3106b.ada -- CC3106B.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...
programs/oeis/185/A185906.asm
jmorken/loda
1
102952
; A185906: Weight array of A000007 (which has only one nonzero term and whose second accumulation array is the multiplication table for the positive integers), by antidiagonals. ; 1,-1,-1,0,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,...
lab06_skel_v2/task5(bonus).asm
andreeanec10/Calculatoare-Numerice-2
0
900
<gh_stars>0 ldi r20, 255 out 0x01, r20 ldi r19, 1 out 0x02, r19 ldi r19, 2 out 0x02, r19 ldi r19, 4 out 0x02, r19 ldi r19, 8 out 0x02, r19 ldi r19, 16 out 0x02, r19 ldi r19, 32 out 0x02, r19 ldi r19, 64 out 0x02, r19 ldi r19, 128 out 0x02, r19
programs/oeis/086/A086748.asm
karttu/loda
0
28514
; A086748: Numbers m such that when C(2k, k) == 1 (mod m) then k is necessarily even. ; 3,5,9,15,21,25,27,33,35,39,45,51,55,57,63,65,69,75,81,85,87,93,95,99,105,111,115,117,123,125,129,135,141,145,147,153,155,159,165,171,175,177,183,185,189,195,201,205,207,213,215,219,225,231,235,237,243,245 mov $7,$0 add $7,1 lpb $7,...
oeis/169/A169529.asm
neoneye/loda-programs
11
27563
; A169529: Number of reduced words of length n in Coxeter group on 36 generators S_i with relations (S_i)^2 = (S_i S_j)^34 = I. ; 1,36,1260,44100,1543500,54022500,1890787500,66177562500,2316214687500,81067514062500,2837362992187500,99307704726562500,3475769665429687500,121651938290039062500,4257817840151367187500,14902...
pkgs/tools/yasm/src/modules/parsers/nasm/tests/long.asm
manggoguy/parsec-modified
2,151
168665
<reponame>manggoguy/parsec-modified mov [eax], long 0
chronix-server-query-language/src/main/antlr/CQLCF.g4
ChronixDB/chronix-server
275
2586
grammar CQLCF; cqlcf: chronixTypedFunctions; chronixTypedFunctions: chronixTypedFunction ((';')? chronixTypedFunction)*; chronixTypedFunction: chronixType '{' chronixfunction (';' chronixfunction)* '}'; chronixType: LOWERCASE_STRING; chronixfunction : name | name ':' parameter (',' parameter)* ...
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i9-9900K_12_0xca.log_21829_1432.asm
ljhsiun2/medusa
9
86904
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r13 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_D_ht+0x22d4, %rax nop nop nop nop nop xor %r11, %r11 mov (%rax), %rbp nop nop and %rax, %rax lea addresses_A_ht+0x11254, %r12 clflush (%r12) sub %rax, %rax movw $0x6162, (...
alchemy-core/src/main/antlr4/Filter.g4
RentTheRunway/alchemy
16
2837
<reponame>RentTheRunway/alchemy<gh_stars>10-100 grammar Filter; AND: ('&' | 'and'); OR: ('|' | 'or'); NOT: ('!' | 'not'); NUMBER: ('-' | '+')? [0-9]+; STRING: '"' ~('"')* '"'; BOOLEAN: ('true' | 'false'); IDENTIFIER: [A-Za-z_-][A-Za-z0-9_-]*; COMPARISON: ('<' | '>' | '=' | '<>' | '!=' | '<=' | '>='); WS: [ \r\n\t]+ ->...
utils/obb.adb
Lucretia/old_nehe_ada95
0
11795
<reponame>Lucretia/old_nehe_ada95<gh_stars>0 --------------------------------------------------------------------------------- -- Copyright 2004-2005 © <NAME> -- -- This code is to be used for tutorial purposes only. -- You may not redistribute this code in any form without my express permission. ----------------------...
_tests/trconvert/antlr3/C.g4
SKalt/Domemtech.Trash
16
5380
/** ANSI C ANTLR v3 grammar Translated from Jutta Degener's 1995 ANSI C yacc grammar by <NAME> July 2006. The lexical rules were taken from the Java grammar. Jutta says: "In 1985, <NAME> published his Yacc grammar (which is accompanied by a matching Lex specification) for the April 30, 1985 draft version of the ANSI...
nasm-8086-assembly-course/0x02-input/input.asm
ailtonbsj/buffer-overflow-studies
0
21296
segment .data LF equ 0x0a ; Line feed CR equ 0x0d ; Carriage return NULL equ 0x00 ; NULL \0 character SYS_CALL equ 0x80 ; OS interrupt vector ; On EAX SYS_EXIT equ 0x01 ; Finish program code SYS_READ equ 0x03 ; Read data code SYS_WRITE equ 0x04 ; Write data cod...
testsuite/tests/NA17-007__copyright/copyright-ok-8.adb
AdaCore/style_checker
2
21374
<reponame>AdaCore/style_checker ------------------------------------------------------------------------- -- Copyright (C) 2000-2006, Universidad de Atlantis, TIERRA package Foo is end Foo;
oeis/171/A171219.asm
neoneye/loda-programs
11
172980
<reponame>neoneye/loda-programs ; A171219: A138101(n)+A168142(n). ; Submitted by <NAME> ; 5,5,21,21,21,21,21,21,21,21,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121 mov $1,$0 mul $0,2 seq ...
engine/battle/ai/move.asm
AtmaBuster/pokeplat-gen2
6
9429
<filename>engine/battle/ai/move.asm AIChooseMove: ; Score each move in wEnemyMonMoves starting from wBuffer1. Lower is better. ; Pick the move with the lowest score. ; Wildmons attack at random. ld a, [wBattleMode] dec a ret z ld a, [wLinkMode] and a ret nz ; No use picking a move if there's no choice. farcal...
alloy4fun_models/trashltl/models/3/TXWGhCJrD5sSkCSrL.als
Kaixi26/org.alloytools.alloy
0
4453
open main pred idTXWGhCJrD5sSkCSrL_prop4 { some f:File | eventually f in Trash } pred __repair { idTXWGhCJrD5sSkCSrL_prop4 } check __repair { idTXWGhCJrD5sSkCSrL_prop4 <=> prop4o }
oeis/117/A117255.asm
neoneye/loda-programs
11
85806
; A117255: Column 0 of triangle A117254. ; Submitted by <NAME> ; 1,1,-6,224,-39424,30277632,-98180268032,1321338098679808,-73064711504598663168,16493270769791857518968832,-15132641904367108441083979235328,56258298143912014448000446346897129472,-845539117695226477286180063077230730209656832 mul $0,2 mov $1,1 mov $2,1 m...
programs/oeis/016/A016263.asm
neoneye/loda
22
101271
<reponame>neoneye/loda ; A016263: Expansion of 1/((1-x)(1-9x)(1-12x)). ; 1,22,355,5080,68341,886522,11236135,140214460,1731001081,21207861022,258416964715,3136307268640,37953420452221,458300644483522,5525344125314095,66535757027375620,800513732040965761 lpb $0 mov $2,$0 sub $0,1 seq $2,16191 ; Expansion of 1/((1...
src/test/resources/framework_specifications/TestSpecificationFactoryLexer.g4
google/polymorphicDSL
3
2977
lexer grammar TestSpecificationFactoryLexer ; import GherkinCommonLexer, PdslFrameworkSpecificationLexer ; tokens { END } GIVEN_SPECIFIC_GRAMMAR : GHERKIN_STEP_KEYWORD 'the Grammar being used is '; GIVEN_SPECIFIC_SUBGRAMMAR : GHERKIN_STEP_KEYWORD 'the Subgrammar being used is '; THEN_TEST_SPECIFICATION_FAILS_DUE_TO_...
_anim/obj5F.asm
NatsumiFox/AMPS-Sonic-1-2005
2
85517
<filename>_anim/obj5F.asm ; --------------------------------------------------------------------------- ; Animation script - Bomb enemy ; --------------------------------------------------------------------------- dc.w byte_11C12-Ani_obj5F dc.w byte_11C16-Ani_obj5F dc.w byte_11C1C-Ani_obj5F dc.w byte_11C20-Ani_...
src/Categories/Category/Cartesian/Bundle.agda
Trebor-Huang/agda-categories
279
11451
<reponame>Trebor-Huang/agda-categories {-# OPTIONS --without-K --safe #-} -- Bundled version of a Cartesian Category module Categories.Category.Cartesian.Bundle where open import Level open import Categories.Category.Core using (Category) open import Categories.Category.Cartesian using (Cartesian) open import Catego...
adahw4/market.adb
jamalakhaligova/ADA
0
4209
<filename>adahw4/market.adb with Ada.Text_IO,Ada.Numerics.Discrete_Random,Ada.Calendar; use Ada.Text_IO; procedure Market is subtype Index is Positive range 1..10; package randomPos is new Ada.Numerics.Discrete_Random(Index); infected_count : Natural := 0; type Position is record x: Natural; y:...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_2_588.asm
ljhsiun2/medusa
9
244210
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r9 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x123e, %rax and $47958, %r9 mov $0x6162636465666768, %r14 movq %r14, %xmm7 movups %xmm7, (%rax) nop nop nop sub %rsi, %rsi lea addresses_A_ht+0x11689, %rsi lea addresses_WT_ht...
extern/gnat_sdl/gnat_sdl2/src/avxintrin_h.ads
AdaCore/training_material
15
5377
<reponame>AdaCore/training_material<filename>extern/gnat_sdl/gnat_sdl2/src/avxintrin_h.ads<gh_stars>10-100 pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; package avxintrin_h is -- Copyright (C) 2008-2017 Free Software Foundation, Inc. -- This file is part of GCC. -- GCC is...
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_297.asm
ljhsiun2/medusa
9
9416
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r14 push %r8 push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x7134, %r8 nop nop nop nop add $22738, %rbx mov (%r8), %r14 sub %rbx, %rbx lea addresses_A_ht+0xd89c, %rsi lea addresses_A_ht+0x10814, %rdi nop nop mfence mov $90, %rcx rep mov...
code/header.asm
sinusoid-studios/rhythm-land
11
245575
INCLUDE "constants/other-hardware.inc" SECTION "Entry Point", ROM0[$0100] EntryPoint: di jp Initialize ; Ensure no space is wasted ASSERT @ == $0104 SECTION "Cartridge Header", ROM0[$0104] ; Leave room for the cartridge header, filled in by RGBFIX CartridgeHeader: DS $0150 - $0104, 0 ...
programs/oeis/117/A117591.asm
karttu/loda
0
169347
<reponame>karttu/loda ; A117591: 2^n + Fibonacci(n). ; 1,3,5,10,19,37,72,141,277,546,1079,2137,4240,8425,16761,33378,66523,132669,264728,528469,1055341,2108098,4212015,8417265,16823584,33629457,67230257,134414146,268753267,537385141,1074573864,2148829917,4297145605,8593459170,17185572071,34368965833,68734407088,1374631...
test/Fail/ConfluenceTypeLevelReduction.agda
hborum/agda
2
1624
<filename>test/Fail/ConfluenceTypeLevelReduction.agda -- Jesper, 2019-05-20: When checking confluence of two rewrite rules, -- we disable all reductions during unification of the left-hand -- sides. However, we should not disable reductions at the type-level, -- as shown by this (non-confluent) example. {-# OPTIONS --...
awa/src/model/awa-events-models.adb
twdroeger/ada-awa
0
4551
----------------------------------------------------------------------- -- AWA.Events.Models -- AWA.Events.Models ----------------------------------------------------------------------- -- File generated by ada-gen DO NOT MODIFY -- Template used: templates/model/package-body.xhtml -- Ada Generator: https://ada-gen....
test/Succeed/Issue857.agda
shlevy/agda
1,989
16655
module Issue857 where -- From the Agda mailing list, 2013-05-24, question raised by <NAME>. -- 2013-05-24 reported by <NAME>, test case by <NAME> {- The crucial point is that λ() is not equal to λ(), so e.g. the ones appearing in the body of main-closed-ground' don't match the ones in its own type. To be concrete we...
nicolai/anonymousExistence/Sec3hedberg.agda
nicolaikraus/HoTT-Agda
1
7341
<reponame>nicolaikraus/HoTT-Agda<filename>nicolai/anonymousExistence/Sec3hedberg.agda {-# OPTIONS --without-K #-} open import library.Basics hiding (Type ; Σ) open import library.types.Sigma open import Sec2preliminaries module Sec3hedberg where -- Lemma 3.2 discr→pathHasConst : {X : Type} → has-dec-eq X → pathHa...
src/test/ref/assignment-chained.asm
jbrandwood/kickc
2
13953
// Tests that chained assignments work as intended // Commodore 64 PRG executable file .file [name="assignment-chained.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .segmentdef Basic [start=$0801] .segmentdef Code [start=$80d] .segmentdef Data [startAfter="Code"] .segment Ba...
learyouanagda/IPL.agda
shouya/thinking-dumps
24
3300
<gh_stars>10-100 module IPL where data _∧_ (P : Set) (Q : Set) : Set where ∧-intro : P → Q → (P ∧ Q) proof₁ : {P Q : Set} → (P ∧ Q) → P proof₁ (∧-intro p q) = p proof₂ : {P Q : Set} → (P ∧ Q) → Q proof₂ (∧-intro p q) = q _⇔_ : (P : Set) → (Q : Set) → Set a ⇔ b = (a → b) ∧ (b → a) ∧-comm′ : (P Q : Set) → (P ∧...
scripts/music/en/nextTrack.applescript
dnedry2/vscode-itunes
16
3604
tell application "Music" next track end tell
programs/oeis/081/A081910.asm
karttu/loda
0
242200
; A081910: 4^n*(n^2-n+32)/32. ; 1,4,17,76,352,1664,7936,37888,180224,851968,3997696,18612224,85983232,394264576,1795162112,8120172544,36507222016,163208757248,725849473024,3212635537408,14156212207616,62122406969344,271579372060672,1183074511486976,5136918324969472 mov $4,$0 mul $0,2 bin $4,2 mov $3,$4 add $3,4 add $4...
validation.adb
annexi-strayline/AURA
13
9922
------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- ANNEXI-STRAYLINE Reference Implementation -- -- ...
chrome/browser/ui/cocoa/applescript/examples/tab_navigation.applescript
zealoussnow/chromium
14,668
375
<reponame>zealoussnow/chromium<filename>chrome/browser/ui/cocoa/applescript/examples/tab_navigation.applescript -- Copyright (c) 2010 The Chromium Authors. All rights reserved. -- Use of this source code is governed by a BSD-style license that can be -- found in the LICENSE file. tell application "Chromium" tell win...
gnu/usr.bin/binutils/gdb/testsuite/gdb.ada/null_record.adb
ArrogantWombatics/openbsd-src
105
8471
-- Copyright 2004 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 2 of the License, or -- (at your option) any later version. -- -- This...
Task/Create-a-file/AppleScript/create-a-file-3.applescript
LaudateCorpus1/RosettaCodeData
1
2980
<gh_stars>1-10 tell application "Finder" to set wd to target of window 1 as string close (open for access wd & "output.txt")
models/amalgam/tests/test_ordering.als
transclosure/Amalgam
4
279
<gh_stars>1-10 /* Test bounds recovery on ordering. This specification is fully constrained, and has only one model. 0->0->0->0 */ open util/ordering[Node] sig Node {edges: set Node} fact orderingEdges { all n: Node | { -- first node has no inflow (un-necessary with equality in 2nd constraint) -- first not ...
contrib/ayacc/src/parse_table.adb
faelys/gela-asis
4
6401
-- Copyright (c) 1990 Regents of the University of California. -- All rights reserved. -- -- The primary authors of ayacc were <NAME> and <NAME>. -- Enhancements were made by <NAME>. -- -- Send requests for ayacc information to <EMAIL> -- Send bug reports for ayacc to <EMAIL> -- -- Redistribution and use in...
src/Data/FingerTree/Split/Point.agda
oisdk/agda-indexed-fingertree
1
14261
<reponame>oisdk/agda-indexed-fingertree<gh_stars>1-10 {-# OPTIONS --without-K --safe #-} open import Algebra open import Relation.Unary open import Relation.Binary hiding (Decidable) module Data.FingerTree.Split.Point {r m} (ℳ : Monoid r m) {s} {ℙ : Pred (Monoid.Carrier ℳ) s} (ℙ-resp : ℙ Respects (Monoid._≈...
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_4594_1473.asm
ljhsiun2/medusa
9
1535
<filename>Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_4594_1473.asm .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r9 push %rbp push %rcx push %rsi lea addresses_normal_ht+0xadd0, %rbp dec %r11 mov $0x6162636465666768, %rcx movq %rcx, %xmm1 vmovups %ymm1, (%rbp) nop nop add ...
Numeral/Natural/LinearSearch.agda
Lolirofle/stuff-in-agda
6
11726
<reponame>Lolirofle/stuff-in-agda module Numeral.Natural.LinearSearch where open import Data.Boolean open import Data.Boolean.Stmt open import Data.List import Data.List.Functions as List open import Data.List.Relation.Membership using (_∈_) open import Data.List.Relation.Membership.Proofs open import Data.List.R...
oeis/018/A018806.asm
neoneye/loda-programs
11
84909
; A018806: Sum of gcd(x, y) for 1 <= x, y <= n. ; Submitted by <NAME> ; 1,5,12,24,37,61,80,112,145,189,220,288,325,389,464,544,593,701,756,880,989,1093,1160,1336,1441,1565,1700,1880,1965,2205,2296,2488,2665,2829,3028,3328,3437,3621,3832,4152,4273,4621,4748,5040,5373,5597,5736,6168,6385,6725,7004,7352,7509,7941,8264,872...
audio/music/lookpokemaniac.asm
Dev727/ancientplatinum
28
29201
<reponame>Dev727/ancientplatinum Music_LookPokemaniac: musicheader 3, 1, Music_LookPokemaniac_Ch1 musicheader 1, 2, Music_LookPokemaniac_Ch2 musicheader 1, 3, Music_LookPokemaniac_Ch3 Music_LookPokemaniac_Ch1: stereopanning $f tempo 144 volume $77 vibrato $2, $33 tone $0002 notetype $c, $b3 note __, 8 Music_...
agda-stdlib/src/Data/Product/N-ary.agda
DreamLinuxer/popl21-artifact
5
14693
------------------------------------------------------------------------ -- The Agda standard library -- -- This module is DEPRECATED. Please use Data.Vec.Recursive instead. ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} module Data.Product.N-ary where {-#...
MSX/rddev.asm
Konamiman/NestorDevice
1
105100
; USB keyboard reporter for MSX using a CH372/5/6 ; By Konamiman, 7/2021 ; ; Configures the CH372 in internal firmware mode and checks ; the keyboard status continuously, if there's any change ; it sends two bytes (row number + row data) to interrupt ; endpoint 81h. ; ; A circular queue is used in case keyboard status ...
programs/oeis/192/A192376.asm
neoneye/loda
22
85410
; A192376: Constant term of the reduction by x^2->x+2 of the polynomial p(n,x) defined below in Comments. ; 1,0,7,16,73,256,975,3616,13521,50432,188247,702512,2621849,9784832,36517535,136285248,508623521,1898208768,7084211623,26438637648,98670339049,368242718464,1374300534895,5128959421024,19141537149297,71437189176064...
src/test/ref/typedef-1.asm
jbrandwood/kickc
2
15182
// Commodore 64 PRG executable file .file [name="typedef-1.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .segmentdef Basic [start=$0801] .segmentdef Code [start=$80d] .segmentdef Data [startAfter="Code"] .segment Basic :BasicUpstart(main) .const OFFSET_STRUCT_POINTDEF_Y = ...
src/fltk-widgets-valuators-value_inputs.adb
micahwelf/FLTK-Ada
1
1405
with Ada.Unchecked_Deallocation, Interfaces.C.Strings, System; use type Interfaces.C.int, System.Address; package body FLTK.Widgets.Valuators.Value_Inputs is procedure value_input_set_draw_hook (W, D : in System.Address); pragma Import (C, value_input_set_draw_hook, "valu...
src/instruction-test/hex-immediates.asm
brgmnn/uob-cpu-simulator
0
101929
<reponame>brgmnn/uob-cpu-simulator<filename>src/instruction-test/hex-immediates.asm<gh_stars>0 # tests the assembler and not the simulator. mov r0,#0xff mov r1,#0xaa mov r2,#0b110
alloy4fun_models/trainstlt/models/4/DhStsWnAmGW9oMKMA.als
Kaixi26/org.alloytools.alloy
0
1396
<filename>alloy4fun_models/trainstlt/models/4/DhStsWnAmGW9oMKMA.als open main pred idDhStsWnAmGW9oMKMA_prop5 { always all t : Train { ((t.pos = Exit) implies (no t.pos')) or (t.pos' in t.pos.prox) } } pred __repair { idDhStsWnAmGW9oMKMA_prop5 } check __repair { idDhStsWnAmGW9oMKMA_prop5 <=> prop...
dartagnan/src/main/antlr4/LitmusAssertions.g4
3dik/Dat3M
36
2945
grammar LitmusAssertions; import BaseLexer; @header{ import com.dat3m.dartagnan.expression.op.COpBin; } assertionFilter : AssertionFilter a = assertion Semi? ; assertionList : AssertionExists a = assertion Semi? | AssertionNot AssertionExists a = assertion Semi? | AssertionForall a = ass...
example/src/example_2.adb
Heziode/ada-dotenv
6
20860
with Ada.Environment_Variables; with Dotenv; with Print_Variable; procedure Example_2 is begin Dotenv.Config (Path => "bin/.env.interpolation", File_Form => "wcem=8", Overwrite => True, Debug => True, Interpolate => True); ...
programs/oeis/098/A098378.asm
karttu/loda
1
92503
; A098378: Number of characters needed to write number n in the traditional Ethiopic (Geez) number system. ; 1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,1,2,2,2,2 ad...
project/ntstub/amd64/6_3_9600_sp0_ssdt_sysenter.asm
mehrdad-shokri/windows-syscall-table
372
15442
<gh_stars>100-1000 ; DO NOT MODIFY THIS FILE DIRECTLY! ; author: @TinySecEx ; ssdt asm stub for 6.3.9600-sp0-windows-8.1 amd64 option casemap:none option prologue:none option epilogue:none .code ; ULONG64 __stdcall NtWorkerFactoryWorkerReady( ULONG64 arg_01 ); _6_3_9600_sp0_windows_8_1_NtWorkerFacto...
oeis/140/A140472.asm
neoneye/loda-programs
11
240996
<gh_stars>10-100 ; A140472: Chaotic sequence related to A004001: a(n) = a(n - a(n-1)) + a(floor(n/2)). ; 0,1,2,2,4,3,4,4,8,5,6,6,8,7,8,8,16,9,10,10,12,11,12,12,16,13,14,14,16,15,16,16,32,17,18,18,20,19,20,20,24,21,22,22,24,23,24,24,32,25,26,26,28,27,28,28,32,29,30,30,32,31,32,32,64,33,34,34,36,35,36,36,40,37,38,38,40,3...
x86-64/Algebra64.asm
Luis-D/libLDM
0
91461
<gh_stars>0 ; <NAME>. 2019 ; To be used with NASM-Compatible Assemblers ; For x86-64 architecture. ; System V AMD64 ABI Convention (*nix) ; Function parameters are passed this way: ; Interger values: RDI, RSI, RDX, RCX, R8, R9 ; Floating Point values: XMM0, XMM1, XMM2, XMM3, XMM4, XMM5, XMM6, XMM7 ; Extra arguments ar...
test/Succeed/Issue2034.agda
alhassy/agda
3
7831
<reponame>alhassy/agda module _ where open import Agda.Builtin.Nat postulate T : Set C₁ : Set instance I₁ : C₁ C₂ : Nat → Set instance I₂ : ∀ {n} → C₂ n it : {A : Set} {{_ : A}} → A it {{x}} = x postulate f₁ : {{_ : Nat → C₁}} → T f₂ : {{_ : ∀ n → C₂ n}} → T works₁ : T works₁ = f₁ -- f₁ {{...
libsrc/_DEVELOPMENT/arch/zx/display/c/sccz80/zx_saddrpdown.asm
Frodevan/z88dk
640
240896
<reponame>Frodevan/z88dk ; void *zx_saddrpdown(void *saddr) SECTION code_clib SECTION code_arch PUBLIC zx_saddrpdown EXTERN asm_zx_saddrpdown defc zx_saddrpdown = asm_zx_saddrpdown ; SDCC bridge for Classic IF __CLASSIC PUBLIC _zx_saddrpdown defc _zx_saddrpdown = zx_saddrpdown ENDIF
tests/resources/incomplete/SharedRules.g4
baniuk/setuptools-antlr
1
6683
<reponame>baniuk/setuptools-antlr<gh_stars>1-10 grammar SharedRules; import CommonTerminals; sub_rule_foo : 'foo' IDENTIFIER ; sub_rule_bar : 'bar' IDENTIFIER (SEPARATOR IDENTIFIER)* ;
alloy4fun_models/trashltl/models/3/XwG8Gfezbf8C2X8Xk.als
Kaixi26/org.alloytools.alloy
0
4306
open main pred idXwG8Gfezbf8C2X8Xk_prop4 { some f:File | eventually f in Trash } pred __repair { idXwG8Gfezbf8C2X8Xk_prop4 } check __repair { idXwG8Gfezbf8C2X8Xk_prop4 <=> prop4o }
win/macosx/NetHackGuidebook.applescript
timdetering/NetHack-VisualStudio
2
3026
<filename>win/macosx/NetHackGuidebook.applescript #!/usr/bin/osascript # NetHack 3.6.1 NetHackGuidebook.applescript $NHDT-Date: 1524684596 2018/04/25 19:29:56 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.8 $ # Copyright (c) <NAME>, Kensington, Maryland, 2011 # NetHack may be freely redistributed. See license fo...
oeis/135/A135484.asm
neoneye/loda-programs
11
27911
; A135484: a(n) = Sum_{i=1..n} i^prime(i), where prime(i) denotes i-th prime number. ; 1,9,252,16636,48844761,13109538777,232643623525984,144347831699381856,8863082467484200477785,100000008863082467484200477785,192043424966613562971631041769596,8505622691864527111189694655745871704188,4695460930721600661616082599032077...
cpm2/RomWBW/Source/HBIOS/asci.asm
grancier/z180
0
245240
<gh_stars>0 ; ;================================================================================================== ; ASCI DRIVER (Z180 SERIAL PORTS) ;================================================================================================== ; ; SETUP PARAMETER WORD: ; +-------+---+-------------------+ +-...
firmware/bin/main.asm
bidhata/phison-2307-BadUSB
14
96124
;-------------------------------------------------------- ; File Created by SDCC : free open source ANSI-C Compiler ; Version 3.7.1 #10443 (MINGW64) ;-------------------------------------------------------- .module main .optsdcc -mmcs51 --model-small ;-------------------------------------------------------- ...