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
metamath.g4
BlackHC/dart_metamath_naive
0
1510
<reponame>BlackHC/dart_metamath_naive grammar metamath; library: statement* EOF; scope: '${' statement* '$}'; statement : const_decls | var_decls | disjoint_restriction | floating_hypothesis | essential_hypothesis | axiomatic_assertion | provable_asser...
programs/oeis/259/A259319.asm
karttu/loda
0
161455
; A259319: a(n) = 2*A002309(n). ; 2,164,1414,6216,19338,48620,105742,206992,374034,634676,1023638,1583320,2364570,3427452,4842014,6689056,9060898,12062148,15810470,20437352,26088874,32926476,41127726,50887088,62416690,75947092,91728054,110029304,131141306,155376028,183067710,214573632,250274882,290577124,335911366,3867...
examples/SPARK2005/packages/polypaver-long_floats.adb
michalkonecny/polypaver
1
26951
with Ada.Numerics, Ada.Numerics.Generic_Elementary_Functions; package body PolyPaver.Long_Floats is package Long_Float_Functions is new Ada.Numerics.Generic_Elementary_Functions (Long_Float); function Eps_Abs return Long_Float is begin return 0.5**126; end Eps_Abs; function Eps_Rel return Lo...
src/main/fragment/mos6502-common/_deref_pvoc1=pvoc2_derefidx_vbuyy_memcpy_vbuc3.asm
jbrandwood/kickc
2
2909
<reponame>jbrandwood/kickc<filename>src/main/fragment/mos6502-common/_deref_pvoc1=pvoc2_derefidx_vbuyy_memcpy_vbuc3.asm ldx #0 !: lda {c2},y sta {c1},x iny inx cpx #{c3} bne !-
extern/gnat_sdl/gnat_sdl2/src/sdl_keycode_h.ads
AdaCore/training_material
15
24103
<reponame>AdaCore/training_material pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with SDL_stdinc_h; package SDL_keycode_h is SDLK_SCANCODE_MASK : constant := (2**30); -- ..\SDL2_tmp\SDL_keycode.h:47 -- arg-macro: function SDL_SCANCODE_TO_KEYCODE (X) -- return X or S...
programs/oeis/239/A239278.asm
karttu/loda
0
24728
; A239278: Smallest k > 1 such that n*(n+1)*...*(n+k-1) / (n+(n+1)+...+(n+k-1)) is an integer. ; 3,5,3,3,5,3,3,7,3,3,5,3,3,5,3,3,5,3,3,5,3,3,7,3,3,5,3,3,5,3,3,5,3,3,5,3,3,7,3,3,5,3,3,5,3,3,5,3,3,5,3,3,9,3,3,5,3,3,5,3,3,5,3,3,5,3,3,7,3,3,5,3,3,5,3,3,5,3,3,5,3,3,7,3,3,5,3,3,5,3,3,5,3,3,5,3,3,7,3 mov $4,$0 mov $3,$4 mov ...
scripts/scpt/AddLoginItem.scpt
walkingmask/WiFiToggler
1
2932
tell application "System Events" make login item at end with properties {path:"%@", name:"%@"} end tell
extern/game_support/stm32f4/src/memory_barriers.ads
AdaCore/training_material
15
23311
------------------------------------------------------------------------------ -- -- -- Hardware Abstraction Layer for STM32 Targets -- -- -- -- ...
engine/HoF_room_pc.asm
adhi-thirumala/EvoYellow
16
13437
<reponame>adhi-thirumala/EvoYellow<gh_stars>10-100 HallOfFamePC: callab FallingStarEnd call ClearScreen ld c, 100 call DelayFrames call DisableLCD ld a, $a7 ld [rWX], a xor a ld [rSCX], a ld [rSCY], a ld [hSCX], a ld [hSCY], a ld [hWY], a ld [rWY], a call CreditsLoadFont coord hl, 0, 0 call FillFourRo...
hello-world/hello.asm
newbies-step/asm-stuff
0
88279
<filename>hello-world/hello.asm section .text ;section declaration ;we must export the entry point to the ELF linker or global _start ;loader. ;entry point. Use ld -e foo to override the default. _start: ;wr...
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca_notsx.log_21829_455.asm
ljhsiun2/medusa
9
246132
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r15 push %r9 push %rbx push %rsi lea addresses_UC_ht+0x3979, %rbx nop nop sub $9440, %r12 mov $0x6162636465666768, %r15 movq %r15, (%rbx) nop nop sub %r9, %r9 lea addresses_UC_ht+0x8859, %r13 nop nop nop nop add %rsi, %rsi movb (%r13), %r9...
programs/oeis/343/A343842.asm
neoneye/loda
22
3613
; A343842: Series expansion of 1/sqrt(8*x^2 + 1), even powers only. ; 1,-4,24,-160,1120,-8064,59136,-439296,3294720,-24893440,189190144,-1444724736,11076222976,-85201715200,657270374400,-5082890895360,39392404439040,-305870434467840,2378992268083200,-18531097667174400,144542561803960320,-1128808577897594880 mov $1,-2 ...
test/interaction/Impossible.agda
cruhland/agda
1,989
12449
<gh_stars>1000+ module Impossible where {-# IMPOSSIBLE #-}
Working Disassembly/Levels/MHZ/Misc Object Data/Map - Big Leaves.asm
TeamASM-Blur/Sonic-3-Blue-Balls-Edition
5
94780
Map_3DC74: dc.w word_3DC7C-Map_3DC74 dc.w word_3DC84-Map_3DC74 dc.w word_3DC8C-Map_3DC74 dc.w word_3DC94-Map_3DC74 word_3DC7C: dc.w 1 dc.b $FC, 4, 0, 1, $FF, $F8 word_3DC84: dc.w 1 dc.b $FC, 4, 0, 3, $FF, $F8 word_3DC8C: dc.w 1 dc.b $FC, 4, 8, 1, $FF, $F8 word_3DC94: dc.w 1 ...
tests/tsasm-0000.asm
mras0/sasm
26
4782
;; Calling convention (unless otherwise mentioned): ;; ;; Callee-saved: DS, BP, SI, DI ;; Scratch: AX, BX, CX, DX, ES ;; Return value: (DX:)AX or BX for pointer values, ;; boolean values via the carry flag ;; ; TODO: Investigate whether stack potentially overlaps with allocations ;; ...
Epilog/asm/MSVC2015/func-rets-omitfp-stackp.asm
Dovgalyuk/AntiTaint
1
12820
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23506.0 TITLE D:\Projects\TaintAnalysis\AntiTaint\Epilog\src\func-rets.c .686P .XMM include listing.inc .model flat INCLUDELIB MSVCRT INCLUDELIB OLDNAMES PUBLIC ___local_stdio_printf_options PUBLIC __vfprintf_l PUBLIC _printf ...
file_system/temporaryPath.applescript
adriannier/applescript-functions
7
1035
<filename>file_system/temporaryPath.applescript (* Generates a unique path for a file in the current user's temporary items folder. *) temporaryPath() on temporaryPath() -- Generate pseudorandom numbers set rand1 to (round (random number from 100 to 999)) as text set rand2 to (round (random number from 100 to ...
Transynther/x86/_processed/US/_st_zr_/i9-9900K_12_0xca_notsx.log_43_1266.asm
ljhsiun2/medusa
9
88869
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r8 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0xf6e, %r8 nop nop nop nop nop add %rdx, %rdx mov (%r8), %rcx nop nop nop nop nop inc %r11 lea addresses_WT_ht+0x28ee, %rsi lea addresses_D_ht+0x122e, %rdi nop sub $16200, %r9 m...
lib/target/pps/classic/pps_crt0.asm
dikdom/z88dk
1
90844
; Kludgey startup for Peters Plus Sprinter ; ; djm 18/5/99 ; ; $Id: pps_crt0.asm $ ; MODULE pps_crt0 defc crt0 = 1 INCLUDE "zcc_opt.def" EXTERN _main ;main() is always external to crt0 code PUBLIC cleanup ;jp'd to by exit() PUBLIC l_dcal ...
Task/LZW-compression/Ada/lzw-compression-3.ada
LaudateCorpus1/RosettaCodeData
1
10416
with LZW; with Ada.Text_IO; procedure Test is package Text_IO renames Ada.Text_IO; package Code_IO is new Ada.Text_IO.Integer_IO (LZW.Codes); Test_Data : constant LZW.Compressed_Data := LZW.Compress ("TOBEORNOTTOBEORTOBEORNOT"); begin for Index in Test_Data'Range loop Code_IO.Put (Test_Data (I...
test/interaction/Issue2749.agda
cruhland/agda
1,989
16450
<reponame>cruhland/agda<gh_stars>1000+ {-# OPTIONS --no-unicode #-} module Issue2749 where -- testing ascii only lambda and arrow id : {A : Set} -> A -> A id = {!!} -- testing ascii only double braces it : {A : Set} {{a : A}} → A → A it = {!!} data B : Set where mkB : B → B → B -- testing ascii only suffixes lef...
programs/oeis/071/A071030.asm
neoneye/loda
22
97366
; A071030: Triangle read by rows giving successive states of cellular automaton generated by "Rule 54". ; 1,1,1,1,1,0,0,0,1,1,1,1,0,1,1,1,1,0,0,0,1,0,0,0,1,1,1,1,0,1,1,1,0,1,1,1,1,0,0,0,1,0,0,0,1,0,0,0,1,1,1,1,0,1,1,1,0,1,1,1,0,1,1,1,1,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,1,1,1,1,0,1,1,1,0,1,1,1,0,1,1,1,0,1,1,1 mov $2,1 add ...
oeis/045/A045393.asm
neoneye/loda-programs
11
91905
<filename>oeis/045/A045393.asm ; A045393: Primes congruent to {0, 1, 3, 4, 5, 6} mod 7. ; Submitted by <NAME> ; 3,5,7,11,13,17,19,29,31,41,43,47,53,59,61,67,71,73,83,89,97,101,103,109,113,127,131,137,139,151,157,167,173,179,181,193,197,199,211,223,227,229,239,241,251,257,263,269,271,277,281,283,293,307,311,313,337,347,...
evernote/get selected note of evernote.applescript
kinshuk4/evernote-automation
4
1171
<reponame>kinshuk4/evernote-automation<filename>evernote/get selected note of evernote.applescript<gh_stars>1-10 tell application "Evernote" try set theNotes to selection set note1 to first item in theNotes get title of note1 end try end tell
src/db-language/db_language.g4
e90r/formal_languages_course
0
602
grammar db_language; /* * parser rules */ script : (stmt ';')* EOF ; stmt : CONNECT '"' PATH '"' | STRING ':' pattern | SELECT obj FROM graph ; graph : GRAMMAR | '[' pattern ']' | '"' NAME '"' | '(' SET_START_FINAL vertices vertices graph ')' | '(' graph AND graph ')' ...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr24.adb
best08618/asylo
7
73
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr24.adb -- { dg-do run } -- { dg-options "-gnatp" } procedure Discr24 is type Family_Type is (Family_Inet, Family_Inet6); type Port_Type is new Natural; subtype Inet_Addr_Comp_Type is Natural range 0 .. 255; type Inet_Addr_VN_Type is array (Natur...
tlsf/src/proof/model/tlsf-proof-model.ads
vasil-sd/ada-tlsf
3
7872
package TLSF.Proof.Model with SPARK_Mode, Pure, Preelaborate, Ghost is end TLSF.Proof.Model;
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xca.log_21829_1337.asm
ljhsiun2/medusa
9
241989
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r15 push %r8 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x18309, %rbx nop inc %rsi movb $0x61, (%rbx) nop nop nop xor $10968, %rsi lea addresses_UC_ht+0x13449, %r14 nop nop dec %r8 movl $0x61626364, (%r14) nop nop and %rdx, %rdx...
oeis/253/A253083.asm
neoneye/loda-programs
11
84976
; A253083: Partial sums of A227349. ; Submitted by <NAME> ; 1,2,3,5,6,7,9,12,13,14,15,17,19,21,24,28,29,30,31,33,34,35,37,40,42,44,46,50,53,56,60,65,66,67,68,70,71,72,74,77,78,79,80,82,84,86,89,93,95,97,99,103,105,107,111,117,120,123,126,132,136,140,145,151,152,153,154,156,157,158,160,163,164,165,166,168,170,172,175,17...
programs/oeis/120/A120689.asm
neoneye/loda
22
3736
<filename>programs/oeis/120/A120689.asm ; A120689: a(n) = 10*a(n-1) - 16*a(n-2), n>0. ; 0,3,30,252,2040,16368,131040,1048512,8388480,67108608,536870400,4294966272,34359736320,274877902848,2199023247360,17592186028032,140737488322560,1125899906777088,9007199254609920,72057594037665792 mov $1,2 pow $1,$0 add $1,1 bin $1...
code/non1996/7.asm
KongoHuster/assembly-exercise
1
171371
DATA SEGMENT ORG 0E000H ;(1) ARRAY_BYTE LABEL BYTE ARRAY_WORD LABEL WORD ARRAY DB 100 DUP(0) ;(2) DATA ENDS STACK SEGMENT STACK ALIGN 16 DW 100H DUP(0) STACK ENDS CODE SEGMENT ASSUME CS:CODE DS:DATA ORG 1000H START: MOV AX, DATA ...
src/main/antlr/deltix/luminary/grammar/Luminary.g4
DeltixInc/Luminary-JetBrains-Plugin
1
164
grammar Luminary; protocol : namespace import_or_option* typeDefinition* EOF ; namespace : NAMESPACE qualifiedName SEMICOLON ; import_or_option : importStatement | option ; importStatement : IMPORT qualifiedName PERIOD IDENTIFIER SEMICOLON # ImportType |...
src/SecondOrder/Theory.agda
andrejbauer/formal
1
4244
<filename>src/SecondOrder/Theory.agda open import Agda.Primitive using (lzero; lsuc; _⊔_) import SecondOrder.Arity import SecondOrder.Signature import SecondOrder.Metavariable import SecondOrder.Renaming import SecondOrder.Term module SecondOrder.Theory {ℓ} {𝔸 : SecondOrder.Arity.Arity} (Σ : SecondOrder.Signat...
libsrc/_DEVELOPMENT/adt/ba_priority_queue/z80/__b_heap_sift_up.asm
jpoikela/z88dk
640
13932
SECTION code_clib SECTION code_adt_ba_priority_queue PUBLIC __b_heap_sift_up EXTERN l_compare_de_hl, error_znc __b_heap_sift_up: ; assumes 1-based array ; ; enter : de = start_index in bytes ; hl = & array[start_index] ; bc = array ; ix = compare ; ; exit ; hl = 0 ...
src/Categories/Diagram/Pushout/Properties.agda
MirceaS/agda-categories
0
13911
<filename>src/Categories/Diagram/Pushout/Properties.agda {-# OPTIONS --without-K --safe #-} open import Categories.Category -- obtain free properties from duality module Categories.Diagram.Pushout.Properties {o ℓ e} (C : Category o ℓ e) where open Category C open import Data.Product using (∃; _,_) open import Cat...
TotalParserCombinators/Laws/Derivative.agda
nad/parser-combinators
1
16219
<filename>TotalParserCombinators/Laws/Derivative.agda ------------------------------------------------------------------------ -- Laws related to D ------------------------------------------------------------------------ module TotalParserCombinators.Laws.Derivative where open import Algebra open import Codata.Musica...
Light/Implementation/Data/Product.agda
zamfofex/lightlib
1
6956
{-# OPTIONS --omega-in-omega --no-termination-check --overlapping-instances #-} {-# OPTIONS --allow-unsolved-metas #-} module Light.Implementation.Data.Product where open import Light.Library.Data.Product using (Library ; Dependencies) open import Light.Variable.Levels open import Light.Level using (_⊔_) open import...
resources/win64-data.asm
mateuszb/glutenfree
1
101705
<filename>resources/win64-data.asm bits 64 section .rdata global <name>_start global <name>_end global <name>_size <name>_start: incbin "<bin>" <name>_end: <name>_size: dd $ - <name>_start
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-coinho.ads
orb-zhuchen/Orb
0
15612
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
util/gut/schp.asm
olifink/smsqe
0
243593
<reponame>olifink/smsqe<gh_stars>0 ; Save file from heap V1.00  Apr 1988 J.R.Oakley QJUMP section gen_util xdef gu_schp xref gu_trap3 xref gu_fclos include 'dev8_keys_hdr' include 'dev8_keys_qdos_io' ;+++ ; Save a file from the common heap. The bytes...
src/tk/tk-image.ads
thindil/tashy2
2
4588
-- Copyright (c) 2021 <NAME> <<EMAIL>> -- -- 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 applicable law or agre...
source/web/tools/wsdl2ada/wsdl-iterators-containment.adb
svn2github/matreshka
24
13985
<reponame>svn2github/matreshka ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
grim.asm
asman2000/grim
0
172890
;^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^^%^%^%^%^%^%^% ; ; GRIM ; ; ;^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^^%^%^%^%^%^%^% SECTION game,CODE_P ;============================================================================= INCDIR "include:" INCLUDE "hardware/cia.i" ...
PRG/levels/Airship/W1AIntro.asm
narfman0/smb3_pp1
0
102123
; Original address was $AC29 ; Airship run, jump W1 .word W1AirshipL ; Alternate level layout .word W1AirshipO ; Alternate object layout .byte LEVEL1_SIZE_03 | LEVEL1_YSTART_170 .byte LEVEL2_BGPAL_00 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18 .byte LEVEL3_TILESET_10 | LEVEL3_VSCROLL_LOCKED | LEVEL3_PIPENOTEXIT .byte L...
programs/oeis/016/A016770.asm
neoneye/loda
22
101538
<reponame>neoneye/loda ; A016770: a(n) = (3*n)^6. ; 0,729,46656,531441,2985984,11390625,34012224,85766121,191102976,387420489,729000000,1291467969,2176782336,3518743761,5489031744,8303765625,12230590464,17596287801,24794911296,34296447249,46656000000,62523502209,82653950016,107918163081,139314069504,177978515625,225199...
code/include/header.asm
sttng/merken-revision-2020
31
18361
<filename>code/include/header.asm ;; NINTENDO LOGO db $CE,$ED,$66,$66 db $CC,$0D,$00,$0B db $03,$73,$00,$83 db $00,$0C,$00,$0D db $00,$08,$11,$1F db $88,$89,$00,$0E db $DC,$CC,$6E,$E6 db $DD,$DD,$D9,$99 db $BB,$BB,$67,$63 db $6E,$0E,$EC,$CC db $DD,$DC,$99,$9F db...
data/wildPokemon/mtsilver.asm
adhi-thirumala/EvoYellow
16
163648
MtSilverMons: db $0A db 7,SNEASEL db 6,EEVEE db 2,WOOPER db 7,TEDDIURSA db 3,PHANPY db 6,TYROGUE db 3,YANMA db 3,SNEASEL db 8,HOUNDOUR db 2,HERACROSS db $05 db 25,CHINCHOU db 30,KINGLER db 20,CHINCHOU db 30,STARYU db 35,TENTACOOL db 30,STARYU db 20,CHINCHOU db 30,STARYU db 30,CHINCHOU db 30,STARY...
llvm-gcc-4.2-2.9/gcc/ada/s-gloloc-mingw.adb
vidkidz/crossbridge
1
15751
<filename>llvm-gcc-4.2-2.9/gcc/ada/s-gloloc-mingw.adb ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
src/08-multi-func.asm
ARAJAMOMO5/MICE
0
90497
<reponame>ARAJAMOMO5/MICE<filename>src/08-multi-func.asm<gh_stars>0 ; ===================================================== ; To assemble and run: ; nasm -felf64 08-multi-func.asm -o 08-multi-func.o ; ===================================================== %include "include/consts.inc" %include "include/syscalls_x86-64....
asm/x86/aplib_x86_fast.asm
uniabis/apultra
79
18102
; aplib_x86_fast.asm - speed-optimized aPLib decompressor for x86 - 188 bytes ; ; Copyright (C) 2019 <NAME> ; ; This software is provided 'as-is', without any express or implied ; warranty. In no event will the authors be held liable for any damages ; arising from the use of this software. ; ; Permission...
programs/oeis/339/A339051.asm
jmorken/loda
1
16942
<reponame>jmorken/loda<filename>programs/oeis/339/A339051.asm ; A339051: Even bisection of the infinite Fibonacci word A096270. ; 0,0,1,1,1,0,1,1,1,0,0,1,1,0,0,1,1,0,0,1,1,1,0,1,1,1,0,0,1,1,0,0,1,1,0,0,1,1,1,0,1,1,1,0,1,1,1,0,0,1,1,0,0,1,1,1,0,1,1,1,0,1,1,1,0,0,1,1,0,0,1,1,1,0,1,1,1,0,1,1,1,0,0,1,1,0 mul $0,2 sub $0,1...
vcs.asm
TheRealCatherine/MakingGamesForAtari2600-MADS
0
102665
; VCS.asm ; MADS compatible version by JAC! 2010-12-15. ; Based on VCS.H version 1.05, 2003-11-13. ; Last update on 2010-11-11. ; The latest version of this file is availble on ; http://www.wudsn.com/productions/atari2600/ide/VCS.asm VERSION_VCS = 105 ; THIS IS A PRELIMINARY RELEASE OF *THE* "STANDARD" VCS.H ; THIS F...
alloy4fun_models/trashltl/models/4/aGtxXoZPWYM2wqEto.als
Kaixi26/org.alloytools.alloy
0
2837
open main pred idaGtxXoZPWYM2wqEto_prop5 { some f:File | eventually some Trash } pred __repair { idaGtxXoZPWYM2wqEto_prop5 } check __repair { idaGtxXoZPWYM2wqEto_prop5 <=> prop5o }
Kernel/asm/libasm.asm
camilaDiToro/Kernel-Pure64
0
20243
GLOBAL cpuVendor GLOBAL sys_RTClock GLOBAL sys_readKey GLOBAL save_registers ; systemCalls.c EXTERN store_registers section .text sys_RTClock: push rbp mov rbp, rsp mov al, dil out 70h, al in al, 71h mov rsp, rbp pop rbp ret sys_readKey: push rbp mov rbp, rsp xor rax, rax .loop: in al, 0x64 ; R...
examples/StateSized/StackStateDependent.agda
agda/ooAgda
23
6704
<filename>examples/StateSized/StackStateDependent.agda {-# OPTIONS --postfix-projections #-} module StateSized.StackStateDependent where open import Data.Product open import Function open import Data.String.Base as Str open import Data.Nat.Base as N open import Data.Vec as Vec using (Vec; []; _∷_; head; tail) open i...
day08/src/day.adb
jwarwick/aoc_2020
3
26794
-- AoC 2020, Day 8 with VM; use VM; with Ada.Text_IO; with Ada.Containers.Ordered_Sets; with Ada.Containers; use Ada.Containers; package body Day is package TIO renames Ada.Text_IO; package PC_Sets is new Ada.Containers.Ordered_Sets (Element_Type => Instruction_Index); use PC_Sets; function acc_before_repeat...
alloy4fun_models/trashltl/models/14/AT8sX7EyBNujPoji5.als
Kaixi26/org.alloytools.alloy
0
3571
<filename>alloy4fun_models/trashltl/models/14/AT8sX7EyBNujPoji5.als<gh_stars>0 open main pred idAT8sX7EyBNujPoji5_prop15 { eventually(all f:File-Trash | eventually (f in Trash)) } pred __repair { idAT8sX7EyBNujPoji5_prop15 } check __repair { idAT8sX7EyBNujPoji5_prop15 <=> prop15o }
oeis/144/A144758.asm
neoneye/loda-programs
11
176889
<reponame>neoneye/loda-programs<filename>oeis/144/A144758.asm ; A144758: Partial products of successive terms of A017197. ; 1,3,36,756,22680,884520,42456960,2420046720,159723083520,11979231264000,1006255426176000,93581754634368000,9545338972705536000,1059532625970314496000,127143915116437739520000,164015650500204683980...
src/caches-simple_caches.ads
HeisenbugLtd/cache-sim
0
4426
------------------------------------------------------------------------------ -- Copyright (C) 2012-2020 by Heisenbug Ltd. -- -- This work is free. You can redistribute it and/or modify it under the -- terms of the Do What The Fuck You Want To Public License, Version 2, -- as published by Sam Hocevar. See the LICE...
scripts/OpenIncognitoTab.applescript
liuyng0/awesome-hammerspoon
0
749
<reponame>liuyng0/awesome-hammerspoon #!/usr/bin/osascript on run {input} do shell script "echo the URL:" & input & ">>/tmp/input.log" set AppleScript's text item delimiters to "," set urls to every text item of the input set AppleScript's text item delimiters to "" tell application "Google Chrom...
_build/dispatcher/jmp_ippsSHA1Update_303bcab5.asm
zyktrcn/ippcp
1
103437
<reponame>zyktrcn/ippcp<gh_stars>1-10 extern m7_ippsSHA1Update:function extern n8_ippsSHA1Update:function extern y8_ippsSHA1Update:function extern e9_ippsSHA1Update:function extern l9_ippsSHA1Update:function extern n0_ippsSHA1Update:function extern k0_ippsSHA1Update:function extern ippcpJumpIndexForMergedLibs extern ip...
Transynther/x86/_processed/AVXALIGN/_ht_st_zr_un_/i7-7700_9_0xca.log_21829_1491.asm
ljhsiun2/medusa
9
9558
<reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/AVXALIGN/_ht_st_zr_un_/i7-7700_9_0xca.log_21829_1491.asm .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r15 push %rbp push %rcx push %rdi push %rsi lea addresses_D_ht+0x198ba, %r12 nop nop nop cmp %rbp, %rbp and $0xfffffffff...
LearnAssembly/chap3/memory.asm
wisemountain/wise.learn
3
241693
segment .data a dd 4 b dd 4.4 c times 10 dd 0 d dw 1, 2 e db 0xfb f db "hello world", 0 segment .bss g resd 1 h resd 10 i resb 100 segment .text global _start _start: mov eax, 60 mov ebx, 0 syscall
src/client/examples/example.asm
Mati365/i8086.js
66
173866
<filename>src/client/examples/example.asm<gh_stars>10-100 ; NASM MBR boot loader [bits 16] ; 16-bit code [org 0x7c00] ; BIOS loads us at 0x07c0:0000 jmp 0x0000:initialize_bios ; reset code segment to 0x0000 with long jump initialize_bios: xo...
ga_lib/src/test_mv.adb
rogermc2/GA_Ada
3
26152
<filename>ga_lib/src/test_mv.adb with Ada.Text_IO; use Ada.Text_IO; with Blade; with C3GA_Utilities; with GA_Maths; with Multivector; use Multivector; with Multivector_Type; procedure Test_Mv is no_bv : Multivector.Multivector := Get_Basis_Vector (Blade.no); e1_bv : Multivector.Multivector := Get_Basis_Ve...
asm/opcs.asm
pedroreissantos/pepe
0
10144
<gh_stars>0 SUB r1, r5 ADD r2, 5
programs/oeis/081/A081554.asm
jmorken/loda
1
94606
<filename>programs/oeis/081/A081554.asm<gh_stars>1-10 ; A081554: a(n) = sqrt(2)*( (3+2*sqrt(2))^n - (3-2*sqrt(2))^n ). ; 0,8,48,280,1632,9512,55440,323128,1883328,10976840,63977712,372889432,2173358880,12667263848,73830224208,430314081400,2508054264192,14618011503752,85200014758320,496582077046168,2894292447518688 mul...
04-cubical-type-theory/material/Part3.agda
tomdjong/EPIT-2020
0
6024
<reponame>tomdjong/EPIT-2020 {- Part 3: Univalence and the SIP - Univalence from ua and uaβ - Transporting with ua (examples: ua not : Bool = Bool, ua suc : Z = Z, ...) - Subst using ua - The SIP as a consequence of ua - Examples of using the SIP for math and programming (algebra, data structures, etc.) -} {-# OP...
Kernel/asm/scheduler.asm
salCas276/OS-pure64
0
2166
<filename>Kernel/asm/scheduler.asm GLOBAL _buildContext , InitFirstProcess EXTERN irqDispatcher , getCurrentRSP %macro pushState 0 push rax push rbx push rcx push rdx push rbp push rdi push rsi push r8 push r9 push r10 push r11 push r12 push r13 push r14 push r15 %endmacro %macro popState 0 pop r15 ...
libsrc/_DEVELOPMENT/arch/sms/SMSlib/z80/_SMS_crt0_RST18.asm
jpoikela/z88dk
640
172007
; ************************************************** ; SMSlib - C programming library for the SMS/GG ; ( part of devkitSMS - github.com/sverx/devkitSMS ) ; ************************************************** INCLUDE "SMSlib_private.inc" SECTION code_clib SECTION code_SMSlib PUBLIC _SMS_crt0_RST18 _SMS_crt0_RST18: ...
hack/TrackWalker.applescript
theriex/itsip
1
3922
property newline : " " -- Convert legacy comment format to new style on fixTrackComment(cmt) -- not already in converted form and have old style code section -- display dialog "before: " & cmt if cmt does not start with "[f" and (offset of "[" in cmt) > 0 then set fv to "30" set codes to "" if (offset of "fre...
oeis/000/A000540.asm
neoneye/loda-programs
11
11999
<gh_stars>10-100 ; A000540: Sum of 6th powers: 0^6 + 1^6 + 2^6 + ... + n^6. ; 0,1,65,794,4890,20515,67171,184820,446964,978405,1978405,3749966,6735950,11562759,19092295,30482920,47260136,71397705,105409929,152455810,216455810,302221931,415601835,563637724,754740700,998881325,1307797101,1695217590,2177107894,2771931215,...
src/fot/GroupTheory/AbelianGroup/PropertiesATP.agda
asr/fotc
11
2598
<filename>src/fot/GroupTheory/AbelianGroup/PropertiesATP.agda ------------------------------------------------------------------------------ -- Abelian group theory properties ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-size...
out/Prod/Signature.agda
JoeyEremondi/agda-soas
39
9401
{- This second-order signature was created from the following second-order syntax description: syntax Prod | P type _⊗_ : 2-ary | l40 term pair : α β -> α ⊗ β | ⟨_,_⟩ fst : α ⊗ β -> α snd : α ⊗ β -> β theory (fβ) a : α b : β |> fst (pair(a, b)) = a (sβ) a : α b : β |> snd (pair(a, b)) ...
test/Succeed/Issue2288.agda
cruhland/agda
1,989
13250
open import Agda.Builtin.Nat open import Agda.Builtin.Equality record Eq (A : Set) : Set₁ where field _≈_ : A → A → Set open Eq {{...}} public record Setoid : Set₁ where field ∣_∣ : Set {{eq}} : Eq ∣_∣ open Setoid public instance EqNat : Eq Nat _≈_ {{EqNat}} = _≡_ NatSetoid : Setoid ∣ NatS...
test/languages/ada/src/records.ads
claybrooks/dwarfgen
0
22410
package Records is type RecordA is record a: Character; b: Integer; end record; type RecordB is record a: String(1..100); end record; type RecordC is record a: String(0..100); end record; type RecordD is record a: String(10..100); end record; ...
example_relationships/src/generic_fifo.adb
cortlandstarrett/mcada
0
17754
<filename>example_relationships/src/generic_fifo.adb -- ************************************************************************************* -- The recipient is warned that this code should be handled in accordance -- with the HM Government Security Classification indicated throughout. -- -- This code and its contents...
src/sound/song336restored.asm
MusicTheorist/Mother2GbaTranslation
1
242557
<reponame>MusicTheorist/Mother2GbaTranslation song336restored_pri equ 100 song336restored_rev equ 0 song336restored_mvl equ 127 song336restored_key equ 0 song336restored_tbs equ 1 song336restored_exg equ 0 song336restored_cmp equ 1 .align 4 ;**************** Track 1 (Midi-Chn.7) ****************; @song33...
adagl/linux/glx.ads
Lucretia/old_nehe_ada95
0
3165
-- -- Copyright (c) 2002-2003, <NAME> -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are -- met: -- -- * Redistributions of source code must retain the above copyright notice, -- this list...
src/Dodo/Binary/Product.agda
sourcedennis/agda-dodo
0
14937
{-# OPTIONS --without-K --safe #-} module Dodo.Binary.Product where -- Stdlib imports open import Level using (Level; _⊔_) open import Function using (flip) open import Data.Product using (_×_; _,_; map₁; map₂) open import Relation.Unary using (Pred; _∈_) open import Relation.Binary using (REL; Rel) -- Local imports ...
mips/14-2_exam.asm
ping58972/Computer-Organization-Architecture
0
100231
#Ch14-2 .data x: .word 1 .text .globl main main: lui $8, 0x1001 lw $9, 0($8) ori $10, $0, 3 ori $11, $0, 7 mult $9, $10 mflo $10 addu $10, $10, $11 sll $11, $9, 1 addiu $11, $11, 8 div $10, $11 mflo $10
maps/CeladonGameCornerPrizeRoom.asm
Dev727/ancientplatinum
1
5953
<reponame>Dev727/ancientplatinum CELADONGAMECORNERPRIZEROOM_TM32_COINS EQU 1500 CELADONGAMECORNERPRIZEROOM_TM29_COINS EQU 3500 CELADONGAMECORNERPRIZEROOM_TM15_COINS EQU 7500 CELADONGAMECORNERPRIZEROOM_PIKACHU_COINS EQU 2222 CELADONGAMECORNERPRIZEROOM_PORYGON_COINS EQU 5555 CELADONGAMECORNERPRIZEROOM_LARVITAR_COINS EQ...
lib/Backend/arm64/Thunks.asm
Taritsyn/ChakraCore
8,664
95237
;------------------------------------------------------------------------------------------------------- ; Copyright (C) Microsoft. All rights reserved. ; Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. ;-------------------------------------------------------------...
main.adb
Feqzz/film-parser
0
16178
<filename>main.adb<gh_stars>0 with Ada.Text_IO; with Ada.Strings.Unbounded; with Ada.Strings.Fixed; with Ada.Command_Line; with Ada.Integer_Text_IO; with Ada.Task_Identification; with Parser; with Json; procedure Main is fileType : Ada.Text_IO.File_Type; fileName : Ada.Strings.Unbounded.Unbounded_String; cou...
Laburi/Lab4/9-extract-from-vect/no_neg_pos.asm
DanBrezeanu/IOCLA
2
4089
%include "io.inc" section .data v db -2, 3, 4, 11, -100, 4, -1, 0 len db 8 section .text global CMAIN CMAIN: ;write your code here xor eax, eax xor edx, edx mov ecx, [len] count: cmp byte [v + ecx - 1], 0 jl negative inc eax jmp end_loop negative: inc edx end_loop: ...
TinySimon.X/tinysimon.asm
74hc595/TinySimon
4
28697
<filename>TinySimon.X/tinysimon.asm<gh_stars>1-10 ;;; TinySimon ;;; <NAME> (<EMAIL>) ;;; August 7, 2016 ;;; ;;; The game of Simon* for the PIC10F200: as of August 2016, this is the ;;; smallest, most space-constrained PIC available. The chip has three general- ;;; purpose I/O pins, one input-only pin, no interrupts, a ...
oeis/292/A292601.asm
neoneye/loda-programs
11
171762
<gh_stars>10-100 ; A292601: a(n) = n - A292600(n). ; Submitted by <NAME> ; 0,1,1,2,1,2,4,5,1,2,4,5,8,9,9,10,1,2,4,5,8,9,9,10,16,17,17,18,17,18,20,21,1,2,4,5,8,9,9,10,16,17,17,18,17,18,20,21,32,33,33,34,33,34,36,37,33,34,36,37,40,41,41,42,1,2,4,5,8,9,9,10,16,17,17,18,17,18,20,21,32,33,33,34,33,34,36,37,33,34,36,37,40,41...
Transynther/x86/_processed/US/_ht_st_zr_un_/i9-9900K_12_0xa0_notsx.log_21829_533.asm
ljhsiun2/medusa
9
176540
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r9 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x18fb7, %r14 nop nop nop nop nop dec %rdx movups (%r14), %xmm7 vpextrq $0, %xmm7, %rcx cmp $39042, %rbx lea addresses_normal_ht+0xf977, %rsi nop nop nop nop inc %rbx movl $0x61626364, (%...
currypp/.cpm/packages/verify/examples/PROOF-gamelength.agda
phlummox/curry-tools
0
15798
<filename>currypp/.cpm/packages/verify/examples/PROOF-gamelength.agda -- Agda program using the Iowa Agda library {-# OPTIONS --termination-depth=2 #-} module PROOF-gamelength where open import eq open import bool open import nat open import nat-thms open import list open import nondet open import nondet-thms ----...
boards/OpenMV2/src/openmv-lcd_shield.adb
morbos/Ada_Drivers_Library
2
24887
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2016, AdaCore -- -- -- -- ...
test/Succeed/Issue1523b.agda
shlevy/agda
3
5870
<reponame>shlevy/agda -- {-# OPTIONS --copatterns #-} -- {-# OPTIONS -v tc.lhs:20 #-} open import Common.Size record Stream (i : Size) (A : Set) : Set where coinductive constructor _::_ field head : A tail : ∀ {j : Size< i} → Stream j A open Stream public -- size forgetful cons cons : ∀ i {A} → A → S...
Transynther/x86/_processed/US/_zr_/i7-7700_9_0xca_notsx.log_12_1410.asm
ljhsiun2/medusa
9
28643
<filename>Transynther/x86/_processed/US/_zr_/i7-7700_9_0xca_notsx.log_12_1410.asm .global s_prepare_buffers s_prepare_buffers: push %r14 push %r8 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0xfa4d, %rdx nop sub %rax, %rax mov $0x6162636465666768, %rcx movq %rcx, %xmm7 and $0xffffffff...
3rdParties/src/nasm/nasm-2.15.02/travis/test/invlpga.asm
blue3k/StormForge
1
104164
<filename>3rdParties/src/nasm/nasm-2.15.02/travis/test/invlpga.asm bits 32 invlpga invlpga ax,ecx invlpga eax,ecx bits 64 invlpga invlpga eax,ecx invlpga rax,ecx
bin/JWASM/Samples/Math1.asm
Abd-Beltaji/ASMEMU
3
179568
<reponame>Abd-Beltaji/ASMEMU ;--- sample how to use FPU and CRT math functions. ;--- Win32 binary: ;--- assemble: jwasm -coff Math1.asm crtexe.asm ;--- link: link Math1.obj crtexe.obj msvcrt.lib ;--- Linux binary: ;--- assemble: jwasm -elf -D?CRT=0 -zcw Math1.asm ;--- link: gcc -o Math1 Math1.o -lm ...
agda-stdlib/src/Function/Bundles.agda
DreamLinuxer/popl21-artifact
5
8434
<gh_stars>1-10 ------------------------------------------------------------------------ -- The Agda standard library -- -- Bundles for types of functions ------------------------------------------------------------------------ -- The contents of this file should usually be accessed from `Function`. -- Note that these...
source/VIA.g4
PaulAustin/Vireo
0
2679
<reponame>PaulAustin/Vireo<filename>source/VIA.g4<gh_stars>0 /* Copyright (c) 2015 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the righ...
oeis/038/A038867.asm
neoneye/loda-programs
11
16057
; A038867: (n+5)^3 - n^3. ; Submitted by <NAME> ; 125,215,335,485,665,875,1115,1385,1685,2015,2375,2765,3185,3635,4115,4625,5165,5735,6335,6965,7625,8315,9035,9785,10565,11375,12215,13085,13985,14915,15875,16865,17885,18935,20015,21125,22265,23435,24635,25865,27125,28415,29735,31085,32465,33875,35315,36785,38285,39815,...
programs/oeis/223/A223756.asm
neoneye/loda
22
162250
; A223756: Number of n X 2 0..3 arrays with rows, antidiagonals and columns unimodal. ; 16,256,2500,16900,87616,372100,1352569,4338889,12559936,33362176,82373776,190992400,419266576,877225924,1759047481,3396208729,6338070544,11471266816,20192978404,34657779556,58123423744,95427859396,153638129089,242921822641,377703659...
src/util/strg/dltsp.asm
olifink/qspread
0
174807
; delete trailing spaces from a string 18/01-92 O.Fink section string include win1_keys_err xdef st_dltsp ; delete trailing spaces ;+++ ; delete trailing spaces from a string ; "abc " -> dltsp -> "abc" ; ; Entry ...
src/Projects/eu_projects-nodes-timed_nodes.adb
fintatarta/eugen
0
13868
<reponame>fintatarta/eugen<gh_stars>0 package body EU_Projects.Nodes.Timed_Nodes is procedure Due_On (Item : in out Timed_Node; Time : in String) is begin Item.Expected_Raw := To_Unbounded_String (Time); -- Times.Time_Expressions.Symbolic (Time); end Due_On; ...