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
Basic/Compiler/Code.agda
AndrasKovacs/SemanticsWithApplications
8
15462
<reponame>AndrasKovacs/SemanticsWithApplications module Basic.Compiler.Code where open import Basic.AST open import Basic.BigStep open import Utils.Decidable open import Utils.Monoid open import Data.Fin using (Fin; #_) open import Data.Vec hiding (_∷ʳ_; _++_; [_]) open import Data.Nat open import Data.Bool renaming...
wtfx/samples/whitenoise-v4.asm
bushy555/ZX-Spectrum-1-Bit-Routines
59
28920
db 136,136,238,255,255,5,5,0,204,136,204,0,0,238,238,204 db 0,5,5,5,0,204,238,204,204,0,204,0,0,5,238,204 db 136,0,136,5,0,136,5,238,204,204,238,238,5,0,5,0 db 0,5,5,136,204,238,255,255,238,0,255,255,0,204,0,136 db 238,136,0,238,204,0,0,5,238,238,238,204,255,204,238,5 db 204,204,0,255,5,255,204,238,5,136,136,5,2...
test1.asm
napobear/py6502
0
242508
<gh_stars>0 ; This is a comment ;So is this. LDY #$DF STY $23 LDY #0 LDY $23 LDA #$34 ROL TAX LDA #$90 ADC #$10 ORA #1 PHA LDA #0 PLA SEC SED
ada_gui-gnoga.ads
jrcarter/Ada_GUI
19
9666
-- Ada_GUI implementation based on Gnoga. Adapted 2021 -- Implementation hierarchy rooted at Ada_GUI.Gnoga in recognition -- Clients should never with packages in the Ada_GUI.Gnoga hierarchy -- Original Gnoga headers have been left on the implemetation packages for reference -- -----------------------------------------...
src/third_party/nasm/test/pragma.asm
Mr-Sheep/naiveproxy
2,219
100157
<gh_stars>1000+ %pragma %pragma bluttan %pragma bluttan blej %pragma "Hej tomtegubbar" %define PR asm foobar %pragma PR %pragma preproc %pragma preproc tjo fidelittan preproc %pragma dbg tjo fidelittan output %pragma dbgdbg tjo fidelittan debug format %pragma Dbg Tjo Fidelittan Output %pragma Dbgdbg Tjo Fidelittan Debu...
programs/oeis/016/A016810.asm
neoneye/loda
22
16278
; A016810: (4n)^10. ; 0,1048576,1073741824,61917364224,1099511627776,10240000000000,63403380965376,296196766695424,1125899906842624,3656158440062976,10485760000000000,27197360938418176,64925062108545024,144555105949057024,303305489096114176,604661760000000000,1152921504606846976,2113922820157210624,3743906242624487424,...
src/main/fragment/mos6502-common/vwum1=vwum1_plus_vwuc1.asm
jbrandwood/kickc
2
174992
lda {m1} clc adc #<{c1} sta {m1} lda {m1}+1 adc #>{c1} sta {m1}+1
Cubical/Algebra/AbGroup/Instances/Direct-Sum.agda
howsiyu/cubical
0
13266
{-# OPTIONS --safe #-} module Cubical.Algebra.AbGroup.Instances.Direct-Sum where open import Cubical.Foundations.Prelude open import Cubical.Algebra.AbGroup open import Cubical.Algebra.Direct-Sum.Base open import Cubical.Algebra.Direct-Sum.Properties open import Cubical.Algebra.Polynomials.Multivariate.Base privat...
data/moves/hm_moves.asm
opiter09/ASM-Machina
1
92066
; This file is INCLUDEd twice: ; - for HMMoves in home/names.asm ; - for HMMoveArray in engine/pokemon/bills_pc.asm db CUT db FLY db SURF db STRENGTH db FLASH db -1 ; end
src/fot/FOTC/Program/Mirror/Mirror.agda
asr/fotc
11
15476
------------------------------------------------------------------------------ -- The mirror function: A function with higher-order recursion ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS ...
src/main/antlr4/blf/grammar/BcqlUtil.g4
PaulsBecks/Blockchain-Logging-Framework
5
3692
// (outdated) based on // ANTLR4 grammar for SQLite by <NAME> (https://github.com/antlr/grammars-v4/blob/master/sqlite/SQLite.g4), and // ANTLR4 grammar for Java9 by <NAME> & <NAME> (https://github.com/antlr/grammars-v4/blob/master/java9/Java9.g4) // Tutorial for expression evaluation by <NAME> (https://www.co...
dapeng-test/src/test/java/com/github/dapeng/router/router.g4
calfgz/dapeng-soa
120
7871
grammar router; routes: (route)* EOF; route: left '=>' right; left: 'otherwise' | matcher (';' matcher)*; matcher: ID 'match' patterns; patterns: pattern (',' pattern)*; pattern: '~' pattern | string | regexpString | rangeString | NUMBER | ip | mod; right: r...
filtros/halftone_asm.asm
partu18/edge_detection_algorithm_SIMD
0
16536
; void halftone_asm ( ; unsigned char *src, ; unsigned char *dst, ; int m, ; int n, ; int src_row_size, ; int dst_row_size ; ); ; Parámetros: ; rdi = src ; rsi = dst ; rdx = m ; rcx = n ; r8 = src_row_size ; r9 = dst_row_size %define Tiene_Ultimo_Tramo 1 %define No_Tiene_ultimo_tramo 0 extern...
ls.asm
shahendahamdy/xv6-threads
0
103192
<gh_stars>0 _ls: file format elf32-i386 Disassembly of section .text: 00000000 <main>: close(fd); } int main(int argc, char *argv[]) { 0: f3 0f 1e fb endbr32 4: 8d 4c 24 04 lea 0x4(%esp),%ecx 8: 83 e4 f0 and $0xfffffff0,%esp b: ff 71 fc pushl ...
src/wfc-initialize_from_sample.adb
98devin/ada-wfc
9
29016
<reponame>98devin/ada-wfc with Ada.Containers.Vectors; with Ada.Containers.Ordered_Maps; separate (WFC) function Initialize_From_Sample ( Sample : in Element_Matrix; Include_Rotations : in Boolean := False; Include_Reflections : in Boolean := False; N, M : in Positive := 2 ...
Task/Continued-fraction/Ada/continued-fraction-3.ada
LaudateCorpus1/RosettaCodeData
1
27915
with Ada.Text_IO; with Continued_Fraction; procedure Test_Continued_Fractions is type Scalar is digits 15; package Square_Root_Of_2 is function A (N : in Natural) return Natural is (if N = 0 then 1 else 2); function B (N : in Positive) return Natural is (1); function Estimate is new Continu...
Melika Ahmadi Ranjbar/MiniJava.g4
meliiwamd/IUSTCompiler
0
5618
<filename>Melika Ahmadi Ranjbar/MiniJava.g4<gh_stars>0 // Parser section grammar MiniJava; program returns[value_attr = str(), type_attr = str()]: mainClass (classDeclaration)* EOF; mainClass returns[value_attr = str(), type_attr = str()]: Class mainClassEnter; mainClassEnter returns[value_attr = st...
oeis/166/A166752.asm
neoneye/loda-programs
11
12691
<reponame>neoneye/loda-programs ; A166752: Interleave A007583 and A000012. ; 1,1,3,1,11,1,43,1,171,1,683,1,2731,1,10923,1,43691,1,174763,1,699051,1,2796203,1,11184811,1,44739243,1,178956971,1,715827883,1,2863311531,1,11453246123,1,45812984491,1,183251937963,1,733007751851,1,2932031007403,1,11728124029611,1,469124961184...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_934.asm
ljhsiun2/medusa
9
174163
<reponame>ljhsiun2/medusa<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r9 push %rax push %rsi lea addresses_normal_ht+0x1df6e, %rax nop inc %rsi mov (%rax), %r9d nop nop nop nop lfence pop %rsi pop %rax pop %r9 pop %r10 ret .global s_faulty_load s_faulty_load: push %r11 push %r12 push...
Task/Phrase-reversals/Ada/phrase-reversals.ada
LaudateCorpus1/RosettaCodeData
1
26104
<reponame>LaudateCorpus1/RosettaCodeData<gh_stars>1-10 <with Ada.Text_IO, Simple_Parse; procedure Phrase_Reversal is function Reverse_String (Item : String) return String is Result : String (Item'Range); begin for I in Item'range loop Result (Result'Last - I + Item'First) := Item (I); ...
game-mod/characters/kiki/states.asm
sgadrat/super-tilt-bro
91
24529
<filename>game-mod/characters/kiki/states.asm<gh_stars>10-100 ; ; States index ; KIKI_STATE_THROWN = PLAYER_STATE_THROWN KIKI_STATE_RESPAWN = PLAYER_STATE_RESPAWN KIKI_STATE_INNEXISTANT = PLAYER_STATE_INNEXISTANT KIKI_STATE_SPAWN = PLAYER_STATE_SPAWN KIKI_STATE_IDLE = PLAYER_STATE_STANDING KIKI_STATE_RUNNING = PLAYER_...
programs/oeis/083/A083031.asm
neoneye/loda
22
11164
<reponame>neoneye/loda ; A083031: Numbers that are congruent to {0, 3, 7} mod 12. ; 0,3,7,12,15,19,24,27,31,36,39,43,48,51,55,60,63,67,72,75,79,84,87,91,96,99,103,108,111,115,120,123,127,132,135,139,144,147,151,156,159,163,168,171,175,180,183,187,192,195,199,204,207,211,216,219 mul $0,16 mov $1,$0 div $0,6 div $1,12 a...
test/Succeed/Issue3639.agda
shlevy/agda
1,989
3323
<gh_stars>1000+ module _ where open import Agda.Builtin.Equality open import Agda.Builtin.Bool open import Agda.Builtin.Unit open import Agda.Builtin.List open import Agda.Builtin.Nat open import Agda.Builtin.Reflection renaming (returnTC to return; bindTC to _>>=_) _>>_ : {A B : Set} → TC A → TC B → TC B m >> m' = ...
Task/Array-concatenation/AppleScript/array-concatenation-1.applescript
LaudateCorpus1/RosettaCodeData
1
2571
<reponame>LaudateCorpus1/RosettaCodeData<filename>Task/Array-concatenation/AppleScript/array-concatenation-1.applescript set listA to {1, 2, 3} set listB to {4, 5, 6} return listA & listB
programs/oeis/034/A034911.asm
neoneye/loda
22
1416
<reponame>neoneye/loda ; A034911: One fifth of octo-factorial numbers. ; 1,13,273,7917,292929,13181805,698635665,42616775565,2940557513985,226422928576845,19245948929031825,1789873250399959725,180777198290395932225,19704714613653156612525 mov $1,1 mov $2,5 lpb $0 sub $0,1 add $2,8 mul $1,$2 lpe mov $0,$1
gyak/gyak11/hauntedHouse/hauntedhouse.ads
balintsoos/LearnAda
0
2018
package hauntedhouse is -- W: Wall, R: Room, C: Corridor, E: Exit type Fields is (W,R,C,E); type Position is record x: Natural; y: Natural; end record; function IsWall(pos: Position) return Boolean; function IsCorrect(pos: Position) return Boolean; function IsCorridor(pos: Positi...
dv3/java/fd/ckwp.asm
olifink/smsqe
0
11389
; DV3 Java Floppy Disk Check Wrte Protect V3.00  1993 <NAME> ; based on ; DV3 QPC Floppy Disk Check Write Protect V3.00  1993 <NAME> section dv3 xdef fd_ckwp include 'dev8_dv3_keys' include 'dev8_keys_java' ;+++ ; Check write protect ; ; ; a3 c p pointer to linkage block ; a4 c p pointer to drive ...
books_and_notes/professional_courses/Assembly_language_and_programming/sources/汇编语言程序设计教程第四版/codes/9_4.asm
gxw1/review_the_national_post-graduate_entrance_examination
640
170464
<gh_stars>100-1000 STACK SEGMENT STACK DW 64 DUP(?) STACK ENDS CODE SEGMENT ASSUME CS:CODE,SS:STACK START: MOV CX,001AH MOV BL,61H MOV AH,02H A1: MOV DL,BL INT 21H INC BL PUSH CX MOV CX,0FFFFH A2: ...
libsrc/stdio/ansi/ansifont_f6.asm
ahjelm/z88dk
640
88171
<reponame>ahjelm/z88dk<gh_stars>100-1000 SECTION rodata_font_ansi PUBLIC ansifont_f6 ansifont_f6: BINARY "stdio/ansi/F6.BIN"
oeis/091/A091753.asm
neoneye/loda-programs
11
13266
<reponame>neoneye/loda-programs ; A091753: Fourth column (m=5) of array A091752 ((-1,2)Stirling2) divided by -6. ; Submitted by <NAME> ; 1,60,6720,1232000,336336000,128076748800,64892219392000,42217023873024000,34301331896832000000,34042166278055936000000,40523794737397786214400000,56991191326140341157888000000 mov $2...
Cubical/Algebra/DirectSum/DirectSumFun/Base.agda
thomas-lamiaux/cubical
0
609
{-# OPTIONS --safe #-} module Cubical.Algebra.DirectSum.DirectSumFun.Base where open import Cubical.Foundations.Prelude open import Cubical.Foundations.HLevels open import Cubical.Data.Nat renaming (_+_ to _+n_ ; _·_ to _·n_) open import Cubical.Data.Nat.Order open import Cubical.Data.Sigma open import Cubical.HITs....
src/gl/implementation/gl-api-subprogram_reference.ads
Roldak/OpenGLAda
79
12225
<reponame>Roldak/OpenGLAda -- part of OpenGLAda, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "COPYING" function GL.API.Subprogram_Reference (Function_Name : String) return System.Address; pragma Preelaborate (GL.API.Subprogram_Reference);
s2/sfx-original/C5 - Tally End.asm
Cancer52/flamedriver
9
99127
Sound45_TallyEnd_Header: smpsHeaderStartSong 2 smpsHeaderVoice Sound45_TallyEnd_Voices smpsHeaderTempoSFX $01 smpsHeaderChanSFX $03 smpsHeaderSFXChannel cFM5, Sound45_TallyEnd_FM5, $00, $00 smpsHeaderSFXChannel cFM4, Sound45_TallyEnd_FM4, $00, $00 smpsHeaderSFXChannel cPSG3, Sound45_TallyEnd_PSG3, $00, $...
BitwiseShift/bitwise_shift.adb
veyselharun/ABench2020
0
20028
<gh_stars>0 -- -- ABench2020 Benchmark Suite -- -- Bitwise Shift Program -- -- Licensed under the MIT License. See LICENSE file in the ABench root -- directory for license information. -- -- Uncomment the line below to print the result. -- with Ada.Text_IO; use Ada.Text_IO; with Interfaces; use Interfaces; proced...
symbolinen_konekieli/Ratol_msdos/teht43.asm
tkukka/VariousContent
0
170037
<filename>symbolinen_konekieli/Ratol_msdos/teht43.asm<gh_stars>0 ;RaTol Symbolinen konekieli: Harjoitus 4, tehtävä 3 ;Tero Kukka IY96A ;Tiedosto: teht43.asm Versio 1.0 ;Luotu 13.4.1998 include a:makrot.txt ;Ohjelman kuvaus: ;Luetaan päätteeltä N kpl oppilaiden ...
out/aaa_01hello.adb
FardaleM/metalang
22
18009
with ada.text_io, ada.Integer_text_IO, Ada.Text_IO.Text_Streams, Ada.Strings.Fixed, Interfaces.C; use ada.text_io, ada.Integer_text_IO, Ada.Strings, Ada.Strings.Fixed, Interfaces.C; procedure aaa_01hello is type stringptr is access all char_array; procedure PString(s : stringptr) is begin String'Write (Text_Strea...
programs/oeis/051/A051743.asm
karttu/loda
1
21217
<reponame>karttu/loda ; A051743: a(n) = (1/24)*n*(n + 5)*(n^2 + n + 6). ; 2,7,18,39,75,132,217,338,504,725,1012,1377,1833,2394,3075,3892,4862,6003,7334,8875,10647,12672,14973,17574,20500,23777,27432,31493,35989,40950,46407,52392,58938,66079,73850,82287,91427,101308,111969,123450,135792,149037,163228,178409,194625,21192...
alloy4fun_models/trashltl/models/11/MidrPz7QgwRLwuWtT.als
Kaixi26/org.alloytools.alloy
0
2485
<reponame>Kaixi26/org.alloytools.alloy<filename>alloy4fun_models/trashltl/models/11/MidrPz7QgwRLwuWtT.als open main pred idMidrPz7QgwRLwuWtT_prop12 { eventually some Trash } pred __repair { idMidrPz7QgwRLwuWtT_prop12 } check __repair { idMidrPz7QgwRLwuWtT_prop12 <=> prop12o }
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_317.asm
ljhsiun2/medusa
9
86616
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %r8 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x1c2f8, %rcx nop nop xor $7913, %r8 movw $0x6162, (%rcx) nop nop add $55205, %rbp lea addresses_A_ht+0x1c78, %rdx nop inc %rbp mov (%rdx), %r13w nop nop sub %rdx, %rdx lea add...
UnmanagedCode/updatescoreinc.asm
SchneiderAJ/Metis2020
0
2627
<reponame>SchneiderAJ/Metis2020 .code UpdateScoreIncAsm proc add ecx, 10 mov eax, ecx ret UpdateScoreIncAsm endp end
src/Generic/Test/Reify.agda
turion/Generic
30
1909
<filename>src/Generic/Test/Reify.agda module Generic.Test.Reify where open import Generic.Core open import Generic.Property.Reify open import Generic.Test.Data.Fin open import Generic.Test.Data.Vec open import Data.Fin renaming (Fin to StdFin) open import Data.Vec renaming (Vec to StdVec) xs : Vec (Fin 4) 3 xs = fsu...
tests/exec/return1.adb
xuedong/mini-ada
0
28698
with Ada.Text_IO; use Ada.Text_IO; procedure Hello is begin Put('A'); New_Line; return; Put('b'); New_Line; end Hello; -- Local Variables: -- compile-command: "gnatmake return1.adb && ./return1" -- End:
src/ada_containers_indefinite_holders.adb
egilhh/Futures-in-Ada
1
14224
with Ada.Unchecked_Deallocation; package body Ada_Containers_Indefinite_Holders is procedure Free is new Ada.Unchecked_Deallocation (Element_Type, Element_Access); procedure Adjust (Self : in out Holder) is begin Self.Element := new Element_Type'(Self.Element.all); end Adjust; -----------...
scripts/Batch Cue Edits/Change Patch.applescript
samschloegel/qlab-scripts
8
1062
<gh_stars>1-10 -- For help, bug reports, or feature suggestions, please visit https://github.com/samschloegel/qlab-scripts -- Built for QLab 4. v211121-01 set networkPatchQty to 5 tell application id "com.figure53.QLab.4" to tell front workspace set errorOccured to false set listNetwork to {} repeat with i from 1 ...
Appl/Games/Sokoban/sokobanDocument.asm
steakknife/pcgeos
504
104407
<reponame>steakknife/pcgeos COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved GEOWORKS CONFIDENTIAL PROJECT: GEOS MODULE: Sokoban FILE: sokobanDocument.asm AUTHOR: <NAME>, Nov 18, 1992 ROUTINES: Name Description --...
sharding-core/src/main/antlr4/imports/MySQLBase.g4
ahugeStone/sharding-sphere
0
5700
<filename>sharding-core/src/main/antlr4/imports/MySQLBase.g4<gh_stars>0 grammar MySQLBase; import MySQLKeyword, Keyword, BaseRule, DataType, Symbol; alias : ID | PASSWORD ; characterSet : (CHARACTER | CHAR) SET EQ_? charsetName | CHARSET EQ_? charsetName ; charsetName : ID | BINARY ;...
programs/oeis/098/A098821.asm
karttu/loda
1
164477
; A098821: a(n) = (n-2) * 2^(n-1) + 5. ; 4,4,5,9,21,53,133,325,773,1797,4101,9221,20485,45061,98309,212997,458757,983045,2097157,4456453,9437189,19922949,41943045,88080389,184549381,385875973,805306373,1677721605,3489660933,7247757317 mov $1,$0 sub $1,2 mov $2,2 pow $2,$0 mul $1,$2 add $1,2 div $1,2 add $1,4
internaltest/attr.asm
akmed772/dosvax
1
82847
;Copyright (c) 2021 akm ;This content is under the MIT License. ;directive for NASM [BITS 16] SIZE equ 4000 Y_ALIGN equ 800 ;=80*2*5 global start section .text start: ;open ATTR.BIN mov ax, ds add ax, 0x10;offset DS mov ds, ax xor ax, ax mov ah, 0x3d ;DOS: open an existing file ;al=0 (r...
oeis/215/A215602.asm
neoneye/loda-programs
11
82193
; A215602: a(n) = L(n)*L(n+1), where L = A000032 (Lucas numbers). ; Submitted by <NAME>(s2.) ; 2,3,12,28,77,198,522,1363,3572,9348,24477,64078,167762,439203,1149852,3010348,7881197,20633238,54018522,141422323,370248452,969323028,2537720637,6643838878,17393796002,45537549123,119218851372,312119004988,817138163597,213929...
Classes/boolean/class of true.applescript
looking-for-a-job/applescript-examples
1
455
<filename>Classes/boolean/class of true.applescript #!/usr/bin/osascript class of true --> boolean
Library/SpecUI/CommonUI/CWin/cwinFieldUncommon.asm
steakknife/pcgeos
504
96532
<gh_stars>100-1000 COMMENT @--------------------------------------------------------------------- Copyright (c) GeoWorks 1994 -- All Rights Reserved GEOWORKS CONFIDENTIAL PROJECT: GEOS MODULE: CommonUI/CWin (common code for several specific ui's) FILE: cwinFieldUncommon.asm ROUTINES: Name Descriptio...
data/profiles/N64/libs/sm64mlib/sm64functions.asm
DavidSM64/SimpleArmipsGui
10
241311
<reponame>DavidSM64/SimpleArmipsGui // Note: All macro names are not case-sensitive .macro .f_CalSaveChecksum, ramAddr, numBytes, upper16 li a0, ramAddr li a1, numBytes jal 0x8027939C li.l a2, upper16 .endmacro .macro .f_CheckCurrObjBehavior, behAddr li.u a0, behAddr jal 0x802A14FC li.l a0, behAddr .endmacro ...
demo2.asm
6502/js6502
18
4640
; ; Special locations ; (they work with LDA/STA abs only!) ; set_palette = $FF00 ; W: sets current index write_color = $FF01 ; W++: R, G or B set_row = $FF02 ; W: pixel row set_col = $FF03 ; W: pixel col write_pixel = $FF04 ; W++: writes a pixel random = $FF80 ; R: a random byte clock0 = $FF81 ; R: u...
externals/ffmpeg/libavcodec/x86/v210.asm
vuece/vuece-libjingle
0
90560
<reponame>vuece/vuece-libjingle ;****************************************************************************** ;* V210 SIMD unpack ;* Copyright (c) 2011 <NAME> <<EMAIL>> ;* Copyright (c) 2011 <NAME> <<EMAIL>> ;* ;* This file is part of Libav. ;* ;* Libav is free software; you can redistribute it and/or ;* modify it un...
src/tests/ahven/ahven-results.adb
RREE/ada-util
60
5226
<reponame>RREE/ada-util<gh_stars>10-100 -- -- Copyright (c) 2007-2009 <NAME> <<EMAIL>> -- -- Permission to use, copy, modify, and distribute this software for any -- purpose with or without fee is hereby granted, provided that the above -- copyright notice and this permission notice appear in all copies. -- -- THE SOFT...
test/Succeed/Issue854.agda
redfish64/autonomic-agda
3
11054
-- 2013-06-15 Andreas, issue reported by <NAME> module Issue854 where infixr 1 _⊎_ infixr 2 _×_ infixr 4 _,_ infix 4 _≡_ data ⊥ : Set where ⊥-elim : {A : Set} → ⊥ → A ⊥-elim () record ⊤ : Set where constructor tt data Bool : Set where true false : Bool data ℕ : Set where zero : ℕ suc : (n : ℕ) → ℕ data ...
programs/oeis/040/A040789.asm
neoneye/loda
22
84015
<filename>programs/oeis/040/A040789.asm<gh_stars>10-100 ; A040789: Continued fraction for sqrt(818). ; 28,1,1,1,1,56,1,1,1,1,56,1,1,1,1,56,1,1,1,1,56,1,1,1,1,56,1,1,1,1,56,1,1,1,1,56,1,1,1,1,56,1,1,1,1,56,1,1,1,1,56,1,1,1,1,56,1,1,1,1,56,1,1,1,1,56,1,1,1,1,56,1,1,1,1,56,1,1,1,1,56,1,1,1,1 seq $0,10152 ; Continued frac...
parsers/src/main/goslin/LipidMaps.g4
lifs-tools/jg
0
3187
//////////////////////////////////////////////////////////////////////////////// // MIT License // // Copyright (c) the authors (listed in global LICENSE file) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the 'Software'), to ...
examples/outdated-and-incorrect/AIM6/Cat/lib/Data/Map.agda
cruhland/agda
1,989
7008
<gh_stars>1000+ module Data.Map (Key : Set) where import Data.Bool import Data.Maybe open Data.Bool infix 40 _<_ _>_ postulate _<_ : Key -> Key -> Bool _>_ : Key -> Key -> Bool x > y = y < x private data Map' (a : Set) : Set where leaf : Map' a node : Key -> a -> Map' a -> Map' a -> Map' a ...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1410.asm
ljhsiun2/medusa
9
95183
<filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1410.asm .global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r15 push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x9321, %r15 nop nop add %r12, %r12 movb $0x61, (%r15) nop and %rbx, %rbx lea addresses...
libsrc/games/bit_click.asm
ahjelm/z88dk
640
24195
; $Id: bit_click.asm,v 1.6 2016-06-11 20:52:25 dom Exp $ ; ; Generic 1 bit sound functions ; ; void bit_click(); ; ; <NAME> - 2/10/2001 ; IF !__CPU_GBZ80__ SECTION code_clib PUBLIC bit_click PUBLIC _bit_click INCLUDE "games/games.inc" EXTERN __snd_tick .bit_click ._bit_click ...
oeis/172/A172049.asm
neoneye/loda-programs
11
160592
<reponame>neoneye/loda-programs<filename>oeis/172/A172049.asm<gh_stars>10-100 ; A172049: Irregular triangle T(n,k) = 2k-1 with A008794(n+2) values in row n. ; Submitted by <NAME> ; 1,1,1,3,5,7,1,3,5,7,1,3,5,7,9,11,13,15,17,1,3,5,7,9,11,13,15,17,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,1,3,5,7,9,11,13,15,17,19,21,23,2...
test/Succeed/MacroEval.agda
shlevy/agda
1,989
15140
<filename>test/Succeed/MacroEval.agda open import Common.Prelude open import Common.Equality open import Common.Reflection pattern _`+_ a b = def (quote _+_) (vArg a ∷ vArg b ∷ []) `_ : Term → Term ` con c [] = con (quote Term.con) (vArg (lit (qname c)) ∷ vArg (con (quote []) []) ∷ []) ` _ = unknown -- Preve...
other.7z/SFC.7z/SFC/ソースデータ/MarioKart/kart-enemy.asm
prismotizm/gigaleak
0
100233
Name: kart-enemy.asm Type: file Size: 25689 Last-Modified: '1992-08-30T15:00:00Z' SHA-1: 2997F0BBD8E389E1135BD2918287D07B939A24D1 Description: null
Transynther/x86/_processed/NONE/_un_xt_/i9-9900K_12_0xa0.log_21829_647.asm
ljhsiun2/medusa
9
85024
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r15 push %r9 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x113c2, %rbp clflush (%rbp) nop nop sub $25213, %rsi mov $0x6162636465666768, %rdx movq %rdx, (%rbp) nop and $54727, %rbp lea addresses_UC_ht+0x18872, %r14 nop nop i...
arch/ARM/STM32/devices/stm32f1/stm32-rcc.adb
morbos/Ada_Drivers_Library
2
3908
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015, AdaCore -- -- -- -- ...
src/usb-device-hid-gamepad.ads
Fabien-Chouteau/usb_embedded
14
15093
<reponame>Fabien-Chouteau/usb_embedded ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2018-2021, AdaCore -- -- ...
startup.asm
tecty/toyOS
0
4772
<gh_stars>0 .extern stack_top .global _start _start: // reset control registers // we are on el1 LDR X1, =0x30C50838 MSR SCTLR_EL1, X1 ldr x30, =stack_top mov sp, x30 bl main hang: b hang .equ _psci_system_off, 0x84000008 .global system_off system_off: ldr x0, =_psci_system_off hvc #0
oeis/107/A107003.asm
neoneye/loda-programs
11
172350
<gh_stars>10-100 ; A107003: Primes of the form 24n + 5. ; Submitted by <NAME> ; 5,29,53,101,149,173,197,269,293,317,389,461,509,557,653,677,701,773,797,821,941,1013,1061,1109,1181,1229,1277,1301,1373,1493,1613,1637,1709,1733,1877,1901,1949,1973,1997,2069,2141,2213,2237,2309,2333,2357,2381,2477,2549,2621,2693,2741,2789,...
oeis/271/A271079.asm
neoneye/loda-programs
11
3427
<reponame>neoneye/loda-programs<gh_stars>10-100 ; A271079: Residues (mod 32) of partial sums of Fibonacci numbers starting with F(2). ; Submitted by <NAME> ; 1,3,6,11,19,0,21,23,14,7,23,0,25,27,22,19,11,0,13,15,30,15,15,0,17,19,6,27,3,0,5,7,14,23,7,0,9,11,22,3,27,0,29,31,30,31,31,0 mov $3,1 lpb $0 sub $0,1 add $1,...
programs/oeis/267/A267730.asm
neoneye/loda
22
167925
; A267730: Number of nX3 0..1 arrays with every repeated value in every row and column greater than or equal to the previous repeated value. ; 8,64,512,3375,21952,132651,778688,4410944,24389000,131872229,700227072,3659383421,18863581528,96071912000,484106454208,2416353439059,11958715956032,58732317850311,28645182668800...
src/Categories/Diagram/KernelPair.agda
Trebor-Huang/agda-categories
279
7789
<reponame>Trebor-Huang/agda-categories {-# OPTIONS --without-K --safe #-} open import Categories.Category.Core -- Kernel Pair - a Pullback of a morphism along itself -- https://ncatlab.org/nlab/show/kernel+pair module Categories.Diagram.KernelPair {o ℓ e} (𝒞 : Category o ℓ e) where open import Level open import Ca...
Definition/LogicalRelation/Properties/Escape.agda
Vtec234/logrel-mltt
0
14751
<reponame>Vtec234/logrel-mltt {-# OPTIONS --without-K --safe #-} open import Definition.Typed.EqualityRelation module Definition.LogicalRelation.Properties.Escape {{eqrel : EqRelSet}} where open EqRelSet {{...}} open import Definition.Untyped open import Definition.Typed open import Definition.Typed.Weakening open i...
Microprocessor/matrix.asm
Nmane1612/Nihar-Mane
3
17067
<filename>Microprocessor/matrix.asm ; matrix transpose sample (reverse rows with columns). name "matrix" org 100h jmp start ; go to code... msg db "to the view matrix click vars button,", 0dh,0ah db " and set elements property to 3 for these items:", 0dh,0ah, 0ah db " matrix ", 0dh,0ah d...
boards/native/src/native-i2c.adb
Sawchord/Ada_Drivers_Library
0
1491
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2018, AdaCore -- -- -- -- ...
src/sdl-rwops.ads
treggit/sdlada
89
18292
-------------------------------------------------------------------------------------------------------------------- -- Copyright (c) 2013-2020, <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...
programs/oeis/187/A187971.asm
neoneye/loda
22
167327
<reponame>neoneye/loda ; A187971: Positions of 1 in A187969; complement of A187970. ; 2,7,12,14,19,24,26,31,36,41,43,48,53,55,60,65,70,72,77,82,84,89,94,96,101,106,111,113,118,123,125,130,135,140,142,147,152,154,159,164,166,171,176,181,183,188,193,195,200,205,210,212,217,222,224,229,234,239,241,246,251,253,258,263,265,...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt59.adb
best08618/asylo
7
6556
-- { dg-do run } -- { dg-options "-O" } with Opt59_Pkg; use Opt59_Pkg; procedure Opt59 is type Enum is (Zero, One, Two); function Has_True (V : Boolean_Vector) return Boolean is begin for I in V'Range loop if V (I) then return True; end if; end loop; return False; e...
src/_demo/debug_trace/apsepp_demo_dt_instance_client.adb
thierr26/ada-apsepp
0
14454
-- Copyright (C) 2019 <NAME> <<EMAIL>> -- MIT license. Please refer to the LICENSE file. -- "With" the shared debug trace instance access point package. with Apsepp.Debug_Trace; package body Apsepp_Demo_DT_Instance_Client is ---------------------------------------------------------------------------- procedur...
projects/Assembler/asm-programs/Max.asm
UrielX/nand2tetris
0
243253
<filename>projects/Assembler/asm-programs/Max.asm // This file is part of www.nand2tetris.org // and the book "The Elements of Computing Systems" // by <NAME> Schocken, MIT Press. // File name: projects/06/max/Max.asm // Computes R2 = max(R0, R1) (R0,R1,R2 refer to RAM[0],RAM[1],RAM[2]) @R0 D=M @R1...
src/algebra/semigroup.agda
pcapriotti/agda-base
20
1730
{-# OPTIONS --without-K #-} module algebra.semigroup where open import algebra.semigroup.core public open import algebra.semigroup.morphism public
solutions/64 - Binary Counter/size-60_speed-17.asm
michaelgundlach/7billionhumans
45
15583
-- 7 Billion Humans (2144) -- -- 64: Binary Counter -- -- Author: soerface -- Size: 60 -- Speed: 17 if e == nothing and w == worker: step s step s pickup n a: mem1 = set c drop mem1 = set c pickup c jump a endif if w == datacube: step s b: step s step n jump b endif if w == nothing: step s step s pi...
programs/oeis/008/A008750.asm
neoneye/loda
22
102496
<gh_stars>10-100 ; A008750: Expansion of (1+x^7)/((1-x)*(1-x^2)*(1-x^3)). ; 1,1,2,3,4,5,7,9,11,14,17,20,24,28,32,37,42,47,53,59,65,72,79,86,94,102,110,119,128,137,147,157,167,178,189,200,212,224,236,249,262,275,289,303,317,332,347,362,378,394,410,427,444,461,479,497,515,534,553,572,592,612,632,653,674,695,717,739,761,7...
Cubical/Algebra/Group/EilenbergMacLane/CupProduct.agda
thomas-lamiaux/cubical
0
11861
{-# OPTIONS --safe --experimental-lossy-unification #-} module Cubical.Algebra.Group.EilenbergMacLane.CupProduct where open import Cubical.Algebra.Group.EilenbergMacLane.Base renaming (elim to EM-elim) open import Cubical.Algebra.Group.EilenbergMacLane.WedgeConnectivity open import Cubical.Algebra.Group.EilenbergMacL...
Base/Change/Products.agda
inc-lc/ilc-agda
10
15458
<reponame>inc-lc/ilc-agda module Base.Change.Products where open import Relation.Binary.PropositionalEquality open import Level open import Base.Change.Algebra open import Base.Change.Equivalence open import Base.Change.Equivalence.Realizers -- Also try defining sectioned change structures on the positives halves of...
book-01/Assembly/asm/avx/packed/avx_p_array_sqrt_float.asm
gfurtadoalmeida/study-assembly-x64
2
163473
<gh_stars>1-10 .code ; AVX_Packed_Array_Sqtr_Float_(float* input, int arrayLength, const float* output) AVX_Packed_Array_Sqtr_Float_ proc xor rax, rax ; Our counter for the loop test rdx, rdx ; Exit if array length is zero jz Done ; If (rcx & 0f) != 0 then exit ; because the address is not 16 byte ; aligned. test ...
arch/ARM/NXP/svd/lpc55s6x/nxp_svd-pmc.ads
morbos/Ada_Drivers_Library
2
20832
-- Copyright 2016-2019 NXP -- All rights reserved.SPDX-License-Identifier: BSD-3-Clause -- This spec has been automatically generated from LPC55S6x.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package NXP_SVD.PMC is pragma Preelaborate; ...
Task/Greatest-element-of-a-list/Ada/greatest-element-of-a-list-1.ada
LaudateCorpus1/RosettaCodeData
1
2314
<gh_stars>1-10 with Ada.Text_Io; procedure Max_Test isco -- substitute any array type with a scalar element type Flt_Array is array (Natural range <>) of Float; -- Create an exception for the case of an empty array Empty_Array : Exception; function Max(Item : Flt_Array) return Float is Max_Eleme...
Time & Date/part1.asm
TechZx/PICSimLab_examples_in_MicroC
0
98084
<reponame>TechZx/PICSimLab_examples_in_MicroC<gh_stars>0 ; ASM code generated by mikroVirtualMachine for PIC - V. 8.0.0.0 ; Date/Time: 18-Jun-20 11:26:38 PM ; Info: http://www.mikroe.com ; ADDRESS OPCODE ASM ; ---------------------------------------------- $0000 $EF6A F002 GOTO _main $0008 $ _Delay_1us: ...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/derived_type3_pkg.ads
best08618/asylo
7
13161
<reponame>best08618/asylo package Derived_Type3_Pkg is procedure Proc1; procedure Proc2; end Derived_Type3_Pkg;
scripts/celadonmansion1_2.asm
adhi-thirumala/EvoYellow
0
247729
<filename>scripts/celadonmansion1_2.asm Func_f1e70: ld a, $1 ld [wDoNotWaitForButtonPressAfterDisplayingText], a ld hl, CeladonMansion1Text_f1e96 call PrintText callab IsStarterPikachuInOurParty ret nc ld hl, CeladonMansionText_f1e9c call PrintText ld a, $0 ld [wDoNotWaitForButtonPressAfterDisplayingText], a ...
alloy4fun_models/trashltl/models/4/vjdvnTJywobYZiMq6.als
Kaixi26/org.alloytools.alloy
0
3298
open main pred idvjdvnTJywobYZiMq6_prop5 { eventually some f:File | f not in Protected and File' = File -f } pred __repair { idvjdvnTJywobYZiMq6_prop5 } check __repair { idvjdvnTJywobYZiMq6_prop5 <=> prop5o }
practica6/Ejercicio4P6.asm
ramseslopez/Arqui
0
174536
<filename>practica6/Ejercicio4P6.asm .data menosuno: .float 1.0 iter: .float 0.0 iter1: .float 1.0 numiter: .float 0.0 # x2: .float 2.0 x4: .float 4.0 .text lwc1 $f11 menosuno lwc1 $f6 iter lwc1 $f10 iter1 lwc1 $f8 numiter lwc1 $f9 x2 lwc1 $f14 x4 add $a0, $a0, 41 #NUMERO DE VECES DE LA S...
tests/sjasmplus_regressions/duplicated_define.asm
cizo2000/sjasmplus
220
100361
<reponame>cizo2000/sjasmplus define label "value1" define label "value2"
TestData/switch.asm
robertmuth/Cwerg
171
103618
<reponame>robertmuth/Cwerg # demonstrates use of switch instruction for computed jumps # requires std_lib.asm # ======================================== .fun main NORMAL [S32] = [] .reg U32 [size i] .jtb switch_tab 5 labelD [1 labelA 2 labelB 4 labelC] .bbl start mov i 0 .bbl loop switch i switch_tab ....
2/q2/patch1.asm
tomersamara/InfoSec
0
85564
mov eax, 0x080485d4 jmp eax
asm/sa1/rotate_yaxis.asm
VitorVilela7/SMW-CodeLib
14
6506
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; SA-1 32x32 "y axis" rotation ; parallel mode service ; turn off service: set $8b.7 ; destination bw-ram "virtual ram" & bw-ram !dest = $600000+($3e00*2) ;stuff !destbw = $403e00 ; temp ram ($e0-$ff) !re = $e0 ;$e0-$e3 is reserved !cos = $e4 ;$e4-$e5 i...
Rings/Divisible/Lemmas.agda
Smaug123/agdaproofs
4
8365
{-# OPTIONS --safe --warning=error --without-K #-} open import LogicalFormulae open import Setoids.Setoids open import Functions.Definition open import Sets.EquivalenceRelations open import Rings.Definition module Rings.Divisible.Lemmas {a b : _} {A : Set a} {S : Setoid {a} {b} A} {_+_ _*_ : A → A → A} (R : Ring S _+...
oeis/008/A008472.asm
neoneye/loda-programs
11
242092
; A008472: Sum of the distinct primes dividing n. ; Submitted by <NAME>(w1) ; 0,2,3,2,5,5,7,2,3,7,11,5,13,9,8,2,17,5,19,7,10,13,23,5,5,15,3,9,29,10,31,2,14,19,12,5,37,21,16,7,41,12,43,13,8,25,47,5,7,7,20,15,53,5,16,9,22,31,59,10,61,33,10,2,18,16,67,19,26,14,71,5,73,39,8,21,18,18,79,7,3,43,83,12,22,45,32,13,89,10,20,25,...
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ca/ca5006a.ada
best08618/asylo
7
3464
<gh_stars>1-10 -- CA5006A.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein....