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 |
|---|---|---|---|---|
libsrc/gfx/common/div3_192.asm | ahjelm/z88dk | 640 | 93244 |
; Divide by three lookup table (192 entries)
;
; $Id: div3_192.asm $
;
SECTION rodata_graphics
PUBLIC div3_192
.div3_192
; 00 15 31
defb 0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6,... |
core/lib/types/Join.agda | cmknapp/HoTT-Agda | 0 | 6936 | {-# OPTIONS --without-K #-}
open import lib.Basics
open import lib.types.Paths
open import lib.types.Sigma
open import lib.types.Span
open import lib.types.Pointed
open import lib.types.Pushout
module lib.types.Join where
module _ {i j} (A : Type i) (B : Type j) where
*-span : Span
*-span = span A B (A × B) fs... |
programs/oeis/329/A329279.asm | karttu/loda | 1 | 164218 | ; A329279: Number of distinct tilings of a 2n X 2n square with 1 x n polyominoes.
; 1,9,11,19,22,33,37,51,56,73,79,99,106,129,137,163,172,201,211,243,254,289,301,339,352,393,407,451,466,513,529,579,596,649,667,723,742,801,821,883,904,969,991,1059,1082,1153,1177,1251,1276,1353,1379,1459,1486,1569,1597,1683,1712,1801,183... |
docs/asm_examples/large_mergesort.asm | schorrm/arm2riscv | 8 | 1012 | .file "large_mergesort.c"
.section .tdata
REG_BANK:
.dword 0
.dword 0
.dword 0
.dword 0
.dword 0
.dword 0
.dword 0
.dword 0
.text
.align 2
.global merge
.type merge, %function
merge:
# stp x29, x30, [sp, -128]!
sd x8, -128(sp)
sd ra, -120(s... |
src/grammar/bsize.g4 | myl7/bsize | 0 | 5728 | <filename>src/grammar/bsize.g4<gh_stars>0
grammar bsize;
size: Number Space* unit?;
unit: word | abbr;
word: (prefix | biPrefix)? suffix;
abbr: pre BiSign? suf | pre | suf;
prefix: KiloWord | MegaWord | GigaWord | TeraWord | PetaWord;
biPrefix: KibiWord | MebiWord | GibiWord | TebiWord | PebiWord;
suffix: (BitBody | B... |
agda/par-swap/dpg.agda | florence/esterel-calculus | 3 | 4670 | module par-swap.dpg where
open import par-swap
open import par-swap.properties
open import par-swap.confluent
open import par-swap.dpg-pot
open import par-swap.dpg-e-view
open import noetherian using (noetherian ; ∥_∥s)
open import Esterel.Lang
open import Esterel.Lang.Properties
open import Esterel.Lang.Binding
open ... |
beetl-core/src/main/java/org/beetl/core/parser/BeetlParser.g4 | tengyz/beetl2.0x | 2 | 895 | <gh_stars>1-10
parser grammar BeetlParser;
options {
tokenVocab=BeetlLexer;
}
// starting point for parsing a java file
prog
: statement*
EOF
;
block
: LEFT_BRACE statement* RIGHT_BRACE
;
// STATMENT
statement
: block #blockSt
| textStatment #textOutputSt
... |
oeis/213/A213031.asm | neoneye/loda-programs | 11 | 100008 | <reponame>neoneye/loda-programs
; A213031: [n/2]^3 -[n/3]^3, where []=floor.
; Submitted by <NAME>
; 0,0,1,0,7,7,19,19,56,37,98,98,152,152,279,218,387,387,513,513,784,657,988,988,1216,1216,1685,1468,2015,2015,2375,2375,3096,2765,3582,3582,4104,4104,5131,4662,5803,5803,6517,6517,7904,7273,8792,8792
mov $1,$0
div $0,2
p... |
libsrc/_DEVELOPMENT/math/float/math16/lm16/c/sdcc/___hmul_callee.asm | Frodevan/z88dk | 0 | 170153 | <filename>libsrc/_DEVELOPMENT/math/float/math16/lm16/c/sdcc/___hmul_callee.asm<gh_stars>0
SECTION code_fp_math16
PUBLIC ___hmul_callee
PUBLIC _f16_mul_callee
EXTERN cm16_sdcc_mul_callee
defc ___hmul_callee = cm16_sdcc_mul_callee
defc _f16_mul_callee = cm16_sdcc_mul_callee
|
Transynther/x86/_processed/US/_ht_zr_un_/i7-7700_9_0xca.log_21829_1810.asm | ljhsiun2/medusa | 9 | 165730 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r8
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x15472, %rsi
lea addresses_WC_ht+0x1aa70, %rdi
nop
nop
xor $47786, %rbx
mov $95, %rcx
rep movsw
nop
nop
nop
cmp %r11, %r11
lea addresses_normal_ht+0x... |
archive/agda-1/InterpretationEqualityExceptAtVariableName.agda | m0davis/oscar | 0 | 13261 | <filename>archive/agda-1/InterpretationEqualityExceptAtVariableName.agda
module InterpretationEqualityExceptAtVariableName where
open import OscarPrelude
open import VariableName
open import FunctionName
open import PredicateName
open import Elements
open import Interpretation
record _≞_/_ (𝓘 : Interpretation) (I :... |
Embedded LABs/Embedded lab 1/8a.asm | amritphuyal/LATEX | 1 | 104152 | ORG 00H
MOV R3,#05H
MOV B,R3
MOV R1,B
ACALL FACTO
MOV R1,A
AGAIN: MOV A,R1
MOV P0,A
ACALL DELAY
ACALL HTOD
MOV P0,A
ACALL DELAY
MOV A,B
MOV P0,A
ACALL DELAY
SJMP AGAIN
HTOD: MOV R4,#00H
MOV B,#0AH
DIV AB
MOV R2,A
SUBB A,#0AH
JC SKIP
MOV A,R2
MOV R3,B
MO... |
examples/StateSized/GUI/BitMaps.agda | agda/ooAgda | 23 | 7505 | module StateSized.GUI.BitMaps where
open import StateSizedIO.GUI.WxBindingsFFI
ship : Bitmap
ship = bitmap "./StateSized/GUI/ship.ico"
rock : Bitmap
rock = bitmap "./StateSized/GUI/rock.ico"
|
data/pokemon/base_stats/mime_jr.asm | TastySnax12/pokecrystal16-493-plus | 2 | 164494 | db 0 ; species ID placeholder
db 20, 25, 45, 60, 70, 90
; hp atk def spd sat sdf
db PSYCHIC, PSYCHIC ; type
db 145 ; catch rate
db 52 ; base exp
db NO_ITEM, MYSTERYBERRY ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 25 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/m... |
theorems/groups/ReducedWord.agda | timjb/HoTT-Agda | 0 | 9767 | {-# OPTIONS --without-K --rewriting #-}
open import HoTT
module groups.ReducedWord {i} {A : Type i} (dec : has-dec-eq A) where
is-reduced : Word A → Type i
is-reduced nil = Lift ⊤
is-reduced (_ :: nil) = Lift ⊤
is-reduced (inl x :: inl y :: w) = is-reduced (inl y :: w)
is-reduc... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_1726.asm | ljhsiun2/medusa | 9 | 104012 | <filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_1726.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x5820, %r13
nop
nop
nop
cmp $7440, %r15
vmovups (%r13), %ymm2
vextracti128 $0,... |
inet-tcp.ads | annexi-strayline/ASAP-INET | 0 | 15611 | <filename>inet-tcp.ads
------------------------------------------------------------------------------
-- --
-- Internet Protocol Suite Package --
-- ... |
P6/data_P6/testpoint/testpoint34.asm | alxzzhou/BUAA_CO_2020 | 1 | 17328 | ori $1, $0, 7
ori $2, $0, 2
ori $3, $0, 2
ori $4, $0, 3
sw $4, 0($0)
sw $3, 4($0)
sw $2, 8($0)
sw $1, 12($0)
sw $2, 16($0)
sw $3, 20($0)
sw $2, 24($0)
sw $2, 28($0)
sw $3, 32($0)
sw $2, 36($0)
sw $1, 40($0)
sw $2, 44($0)
sw $3, 48($0)
sw $4, 52($0)
sw $4, 56($0)
sw $2, 60($0)
sw $3, 64($0)
sw $4, 6... |
unittests/ASM/TwoByte/0F_F4.asm | woachk/FEX | 0 | 177185 | %ifdef CONFIG
{
"RegData": {
"MM0": ["0x000000000003FFFC", "0x0"],
"MM1": ["0x000000000003FFFC", "0x0"]
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
mov rdx, 0xe0000000
mov rax, 0x414243440000FFFF
mov [rdx + 8 * 0], rax
mov rax, 0x5152535400007FFF
mov [rdx + 8 * 1], rax
mov rax, 0x61626... |
oeis/349/A349050.asm | neoneye/loda-programs | 11 | 161947 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A349050: Number of multisets of size n that have no alternating permutations and cover an initial interval of positive integers.
; Submitted by <NAME>
; 0,0,1,1,3,4,8,12,20,32
lpb $0
sub $0,1
div $1,2
add $2,$1
sub $3,1
sub $3,$1
add $3,1
add $1,$3
add ... |
llvm-gcc-4.2-2.9/gcc/ada/sem_ch8.adb | vidkidz/crossbridge | 1 | 16103 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
tests/028_LABELS_-_testing_dot_notation.asm | tpisto/pasm | 103 | 29233 | ; name: LABELS - testing dot notation
; code: "0FA274FE0FA2E9FDFF0FA290"
cpuid
main:
.tommi:
jz .tommi
cpuid
maintest:
.tommi:
jmp .tommi
cpuid
nop
|
ejercicios3/intercambiar.adb | iyan22/AprendeAda | 0 | 22307 | <reponame>iyan22/AprendeAda<filename>ejercicios3/intercambiar.adb
with datos;
use datos;
procedure intercambiar (Pos_Min, posicion : in Integer; L : in out Lista_Enteros) is
-- Incio: X Y
-- Final: Y X
Auxiliar: Integer;
begin
Auxiliar := L.Numeros(posicion); -- Auxiliar es Posicion X
L.Numeros(posicion) := L.Nu... |
oeis/018/A018218.asm | neoneye/loda-programs | 11 | 96511 | ; A018218: Sum(C(j)*(n-j)*4^(n-j-1),j=0..n-1), C = Catalan numbers.
; Submitted by <NAME>
; 0,1,9,58,325,1686,8330,39796,185517,848830,3827230,17053356,75249954,329353948,1431575220,6185613032,26589395581,113780713806,484945025942,2059546425340,8719018250838,36805967321684,154967912827084,650939308033368,27283709186472... |
test/interaction/Issue3428.agda | cruhland/agda | 1,989 | 15144 | kk : ∀ {ℓ} → Set ℓ
kk = {!∀ B → B!}
|
GauInt/EucDomain.agda | onestruggler/EucDomain | 0 | 12560 | <filename>GauInt/EucDomain.agda
-- We show Gausssian Integers forms an Euclidean domain. The proofs
-- are straightforward.
{-# OPTIONS --without-K --safe #-}
module GauInt.EucDomain where
-- imports from local.
-- Hiding the usual div and mod function. We will the new instance in
-- Integer.EucDomain2
import Insta... |
test.asm | Nibble-Knowledge/label-replacer | 0 | 9527 | INF 19
NOP *CHIP_SELECT
HLT
test: .data 2
|
programs/oeis/171/A171588.asm | karttu/loda | 0 | 174239 | <gh_stars>0
; A171588: The Pell word: Fixed point of the morphism 0->001, 1->0.
; 0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,0,1,0,0,1,... |
programs/oeis/261/A261676.asm | karttu/loda | 1 | 160122 | <gh_stars>1-10
; A261676: Numbers which when represented as a sum of palindromes using the greedy algorithm require more than 3 palindromes.
; 1022,1033,1044,1055,1066,1077,1088,1099,1132,1143,1154,1165,1176,1187,1198,1209,1242,1253,1264,1275,1286,1297,1308,1319,1352,1363,1374,1385,1396,1407,1418,1429,1462,1473,1484,14... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1312.asm | ljhsiun2/medusa | 9 | 166578 | <filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1312.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x133fd, %rsi
lea addresses_WT_ht+0xe265, %rdi
nop
nop
nop
add %r15, %r15
mov $30, %rcx... |
runtime/ravenscar-sfp-stm32f427/math/a-nlelfu.ads | TUM-EI-RCS/StratoX | 12 | 27259 | ------------------------------------------------------------------------------
-- --
-- GNAT RUNTIME COMPONENTS --
-- --
-- ... |
Cubical/Algebra/Semigroup/Base.agda | Edlyr/cubical | 0 | 17467 | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Algebra.Semigroup.Base where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Equiv.HalfAdjoint
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Isomorphism
open import ... |
Sources/Globe_3d/globe_3d-io.adb | ForYouEyesOnly/Space-Convoy | 1 | 19452 | <filename>Sources/Globe_3d/globe_3d-io.adb
pragma Warnings (Off);
pragma Style_Checks (Off);
with Ada.Exceptions; use Ada.Exceptions;
with Ada.Strings.Fixed; use Ada.Strings, Ada.Strings.Fixed;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
-- with Ada.Char... |
libsrc/_DEVELOPMENT/adt/wv_stack/c/sdcc_iy/wv_stack_size.asm | meesokim/z88dk | 0 | 8653 | <gh_stars>0
; size_t wv_stack_size(wv_stack_t *s)
SECTION code_adt_wv_stack
PUBLIC _wv_stack_size
EXTERN _w_vector_size
defc _wv_stack_size = _w_vector_size
|
source/amf/uml/amf-uml-pins.ads | svn2github/matreshka | 24 | 17109 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
vtl2/vtl2.asm | paulscottrobson/vtl-1802 | 0 | 98965 | ; ***************************************************************************************************************
; ***************************************************************************************************************
;
; File: vtl2.asm
; Purpose: Main Program.
; Author: <NAME> (<EMAIL>)
; Based on F... |
tools/scitools/conf/understand/ada/ada12/s-tasren.ads | brucegua/moocos | 1 | 21694 | <filename>tools/scitools/conf/understand/ada/ada12/s-tasren.ads
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
LabExam-1.asm | IftekharMohammad/Computer-Organization-and-Architecture-Lab-Task | 0 | 166833 | <gh_stars>0
.MODEL SMALL
.STACK 100H
.DATA
QUES DB "Input 4 characters: $"
QUES2 DB "Input pattern character: $"
STAR DB ?
INITIAL1 DB ?
INITIAL2 DB ?
INITIAL3 DB ?
INITIAL4 DB ?
SUM1 DB 30H
SUM3 DB 30H
SUM5 DB 30H
.CODE
MAIN PROC
MOV AX,@DATA
MOV DS,AX
MOV AH,9
LEA DX,QUES
INT 21... |
Gramaticas/Micro.g4 | cor14095/proyecto1Compis | 0 | 4580 | <filename>Gramaticas/Micro.g4<gh_stars>0
grammar Micro;
KEYWORD
: 'PROGRAM'
| 'BEGIN'
| 'END'
| 'FUNCTION'
| 'READ'
| 'WRITE'
| 'IF'
| 'ELSE'
| 'FI'
| 'FOR'
| 'ROF'
| 'CONTINUE'
| 'BREAK'
| 'RETURN'
| 'INT'
| 'VOID'
| 'STRING'
| 'FLOAT'
;
IDENTIFIER
: [_a-zA-Z][_a-zA-Z0-9]*
;
INTLITERAL
: [0-9]... |
programs/oeis/158/A158732.asm | neoneye/loda | 22 | 94484 | ; A158732: a(n) = 68*n^2 + 1.
; 1,69,273,613,1089,1701,2449,3333,4353,5509,6801,8229,9793,11493,13329,15301,17409,19653,22033,24549,27201,29989,32913,35973,39169,42501,45969,49573,53313,57189,61201,65349,69633,74053,78609,83301,88129,93093,98193,103429,108801,114309,119953,125733,131649,137701,143889,150213,156673,1632... |
oeis/135/A135755.asm | neoneye/loda-programs | 11 | 243469 | ; A135755: a(n) = Sum_{k=0..n} C(n,k)*3^[k*(k-1)/2].
; Submitted by <NAME>
; 1,2,6,40,860,63000,14714728,10562062112,22960880409360,150300904214651680,2955814683617734854752,174481716707875308905153664,30905247968182392588500030233024,16423605022875515869684744918951064960,26184120631921143478178182301111552267630208,1... |
alloy4fun_models/trainstlt/models/15/dPDF4LL7ZhYAbjNMY.als | Kaixi26/org.alloytools.alloy | 0 | 3788 | open main
pred iddPDF4LL7ZhYAbjNMY_prop16 {
always (all t:pos.Exit | (always some t.pos) since t.pos in Entry)
}
pred __repair { iddPDF4LL7ZhYAbjNMY_prop16 }
check __repair { iddPDF4LL7ZhYAbjNMY_prop16 <=> prop16o } |
data/pokemon/base_stats/blaziken.asm | AtmaBuster/pokeplat-gen2 | 6 | 15809 | db 0 ; species ID placeholder
db 80, 120, 70, 80, 110, 70
; hp atk def spd sat sdf
db FIRE, FIRE ; type
db 45 ; catch rate
db 209 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F12_5 ; gender ratio
db 20 ; step cycles to hatch
INCBIN "gfx/pokemon/blaziken/front.dimensions"
db GROWTH_MEDIUM_SLO... |
Task/Factors-of-a-Mersenne-number/Ada/factors-of-a-mersenne-number.ada | LaudateCorpus1/RosettaCodeData | 1 | 22130 | <reponame>LaudateCorpus1/RosettaCodeData
with Ada.Text_IO;
-- reuse Is_Prime from [[Primality by Trial Division]]
with Is_Prime;
procedure Mersenne is
function Is_Set (Number : Natural; Bit : Positive) return Boolean is
begin
return Number / 2 ** (Bit - 1) mod 2 = 1;
end Is_Set;
function Get_Max_Bi... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1369.asm | ljhsiun2/medusa | 9 | 245806 | <filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1369.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x1e37, %r14
nop
nop
nop
nop
inc %rax
mov $0x6162636465666768, %r9
movq %r9, %x... |
dos/mknode.asm | minblock/msdos | 0 | 176641 | <gh_stars>0
TITLE MKNODE - Node maker
NAME MKNODE
;
; Microsoft Confidential
; Copyright (C) Microsoft Corporation 1991
; All Rights Reserved.
;
;** MKNODE.ASM
;
; Low level routines for making a new local file system node
; and filling in an SFT from a directory entry
;
; BUILDDIR
; SETDOTENT
; MakeNode
; NEWENTRY... |
45/runtime/rt/grputil.asm | minblock/msdos | 0 | 247522 | <reponame>minblock/msdos
TITLE GRPUTIL - iAPX 88/86 GRAPHICS UTILITY ROUTINES
;***
; GRPUTIL - iAPX 88/86 GRAPHICS UTILITY ROUTINES
;
; Copyright <C> 1986, Microsoft Corporation
;
;Purpose:
; Graphics utility routines.
;
;******************************************************************************
INCLUDE switch.in... |
Student/examples/Correct/CPRL0/Correct_121.asm | SoftMoore/CPRL-Kt | 6 | 4525 | PROGRAM 8
LDGADDR 0
LDCINT 5
STOREW
LDGADDR 4
LDCINT 0
STOREW
LDGADDR 4
LOADW
LDCINT 0
CMP
BNZ L4
LDCB 0
BR L5
L4:
LDGADDR 0
LOADW
LDGADDR 4
LOADW
DIV
LDCINT 10
CMP
BGE L2
LDCB 1
BR L3
L2:
LDCB 0
L3:
L5:
BZ L6
LDGADDR 0
LOADW
PUTINT
... |
source/kinit.asm | daniel3735928559/toast | 0 | 19720 | <gh_stars>0
[bits 32]
%define STACK_SIZE 0x3000
%define BASE 0xC0000000
extern kmain
extern monitor_init
global begin
begin:
pop eax
mov [vidmem],eax
;; Apply a new upstairs GDT so that we don't have to reply on that old one downstairs
;; 20090902: Insert code for filling out TSS entry properly here?
m... |
src/Categories/Category/Instance/LawvereTheories.agda | Trebor-Huang/agda-categories | 279 | 8046 | {-# OPTIONS --without-K --safe #-}
module Categories.Category.Instance.LawvereTheories where
-- Category of Lawvere Theories
open import Level
open import Categories.Category.Core using (Category)
open import Categories.Functor.Cartesian using (CartesianF)
open import Categories.NaturalTransformation.NaturalIsomorph... |
utils/torus.ads | Lucretia/old_nehe_ada95 | 0 | 13027 | ---------------------------------------------------------------------------------
-- 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.
-------------------------------------------------------------------... |
examples/led1.asm | NibNerd/asm85 | 3 | 163225 | <reponame>NibNerd/asm85<filename>examples/led1.asm
; Test program for 8085 SBC. Blinks an LED on SOD forever.
; Note the first jump that seems to do nothing. This is for the power-on jump.
; The ROM is normally at 8000 and the RAM at 0000. At reset, the ROM maps to
; both 0000 and 8000. This condition persists unti... |
NatDelta.agda | nickcollins/dependent-dicts-agda | 0 | 13548 | <gh_stars>0
open import Prelude
open import Nat
open import Bij
module NatDelta where
instance
NatBij : bij Nat Nat
NatBij = record {
convert = λ n → n;
inj = λ n → n;
surj = λ n → n , refl}
open import Delta Nat {{NatBij}}
nat-dd = dd
|
code/Forec/t12.asm | KongoHuster/assembly-exercise | 1 | 116 | ;; last edit date: 2016/10/24
;; author: Forec
;; LICENSE
;; Copyright (c) 2015-2017, Forec <<EMAIL>>
;; Permission to use, copy, modify, and/or distribute this code for any
;; purpose with or without fee is hereby granted, provided that the above
;; copyright notice and this permission notice appear in all copies.
;... |
libsrc/_DEVELOPMENT/temp/sp1/zx/sprites/draw/SP1_DRAW_MASK2LB.asm | jpoikela/z88dk | 640 | 99061 |
; DRAW MASK SPRITE 2 BYTE DEFINITION ROTATED, ON LEFT BORDER
; 01.2006 aralbrec, Sprite Pack v3.0
; sinclair spectrum version
INCLUDE "config_private.inc"
SECTION code_clib
SECTION code_temp_sp1
PUBLIC _SP1_DRAW_MASK2LB
EXTERN _SP1_DRAW_MASK2NR
EXTERN SP1RETSPRDRAW
; following data segment copied into struct sp1_... |
Projetos/I-VM/bin/nasm/StackTest.nasm | juanjorgegarcia/Z01 | 0 | 21027 | ; 0 - PUSH constant 17
leaw $17,%A
movw %A,%D
leaw $SP,%A
movw (%A),%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
incw %D
movw %D,(%A)
; 1 - PUSH constant 17
leaw $17,%A
movw %A,%D
leaw $SP,%A
movw (%A),%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
incw %D
movw %D,(%A)
; 2 - EQ
leaw $SP,%A
movw (%A),%D
decw %D
movw %D,(%A)
movw ... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/lto1_pkg.ads | best08618/asylo | 7 | 26117 | package Lto1_Pkg is
type Unsigned_64 is mod 2 ** 64;
type Associated_Report_T is (miss, radpr, radssr, radcmb);
-- sensor type : primary, secondary, co-rotating (combined)
subtype Sensor_Type_T is Associated_Report_T; -- range radpr .. radcmb;
subtype Antenna_Type_T is Sensor_Type_T range radpr .. ra... |
oeis/027/A027764.asm | neoneye/loda-programs | 11 | 98048 | <reponame>neoneye/loda-programs
; A027764: a(n) = (n+1)*binomial(n+1,4).
; 4,25,90,245,560,1134,2100,3630,5940,9295,14014,20475,29120,40460,55080,73644,96900,125685,160930,203665,255024,316250,388700,473850,573300,688779,822150,975415,1150720,1350360,1576784,1832600,2120580,2443665,2804970,3207789,3655600,4152070,47010... |
agda/Ctt.agda | anqurvanillapy/fpl | 1 | 3276 | {-# OPTIONS --cubical --safe #-}
module Ctt where
open import Cubical.Core.Everything
open import Agda.Primitive.Cubical
using ( primComp )
-- Identity function.
id : ∀ {ℓ} {A : Set ℓ} (x : A) → A
id x = x
-- Funciton composition.
_∘_ : ∀ {ℓ} {A B C : Type ℓ} (g : B → C) (f : A → B) → A → C
g ∘ f = λ a → g (f a)
... |
programs/oeis/110/A110550.asm | neoneye/loda | 22 | 92768 | <reponame>neoneye/loda
; A110550: Periodic {1,3,2,4,4,2,3,1}.
; 1,3,2,4,4,2,3,1,1,3,2,4,4,2,3,1,1,3,2,4,4,2,3,1,1,3,2,4,4,2,3,1,1,3,2,4,4,2,3,1,1,3,2,4,4,2,3,1,1,3,2,4,4,2,3,1,1,3,2,4,4,2,3,1,1,3,2,4,4,2,3,1,1,3,2,4,4,2,3,1,1,3,2,4,4,2,3,1,1,3,2,4,4,2,3,1,1,3,2,4
seq $0,341740 ; a(n) is the maximum value of the magic ... |
programs/oeis/136/A136290.asm | karttu/loda | 1 | 14776 | <reponame>karttu/loda<filename>programs/oeis/136/A136290.asm
; A136290: a(0)=1, a(1)=3, a(2)=9, a(3)=12, a(4)=15; thereafter a(n) = a(n-1)+a(n-3)-a(n-4).
; 1,3,9,12,15,21,24,27,33,36,39,45,48,51,57,60,63,69,72,75,81,84,87,93,96,99,105,108,111,117,120,123,129,132,135,141,144,147,153,156,159,165,168,171,177,180,183,189,1... |
programs/oeis/266/A266256.asm | karttu/loda | 0 | 93412 | <reponame>karttu/loda
; A266256: Number of ON (black) cells in the n-th iteration of the "Rule 11" elementary cellular automaton starting with a single ON (black) cell.
; 1,1,2,5,2,9,2,13,2,17,2,21,2,25,2,29,2,33,2,37,2,41,2,45,2,49,2,53,2,57,2,61,2,65,2,69,2,73,2,77,2,81,2,85,2,89,2,93,2,97,2,101,2,105,2,109,2,113,2,1... |
programs/oeis/081/A081348.asm | karttu/loda | 1 | 26042 | ; A081348: First row in maze arrangement of natural numbers.
; 1,6,7,20,21,42,43,72,73,110,111,156,157,210,211,272,273,342,343,420,421,506,507,600,601,702,703,812,813,930,931,1056,1057,1190,1191,1332,1333,1482,1483,1640,1641,1806,1807,1980,1981,2162,2163,2352,2353,2550,2551,2756,2757,2970,2971,3192,3193,3422,3423,3660,... |
Transynther/x86/_processed/AVXALIGN/_st_zr_un_4k_/i7-7700_9_0xca.log_21829_1261.asm | ljhsiun2/medusa | 9 | 8726 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r14
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x137, %rsi
lea addresses_A_ht+0x8483, %rdi
nop
nop
nop
sub %rbx, %rbx
mov $88, %rcx
rep movsq
nop
nop
and %r13, %r13
lea addresses_WT_ht+0x1c6b7, %r14
nop
add $52565, %r12
mo... |
ReductionSystem.agda | Lolirofle/stuff-in-agda | 6 | 4363 | open import Type
-- The relation (_⟶_) should be interpreted as "a term reduces/rewritten to another term".
-- Also called: Abstract reduction system, abstract rewriting system, rewriting system.
module ReductionSystem {ℓ₁ ℓ₂} {Term : Type{ℓ₁}} (_⟶_ : Term → Term → Type{ℓ₂}) where
open import Functional
open import G... |
data/src/main/antlr/com/linkedin/data/grammar/Pdl.g4 | aman1309/rest.li | 0 | 5307 | <gh_stars>0
/*
* Copyright 2015 Coursera Inc.
*
* 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... |
assets/assembly/IA32/linux_nasm_progs/nasm_linux_ORG_CH9/hex2char.asm | edassis/SB-Tradutor | 1 | 161717 | ;Hex equivalent of characters HEX2CHAR.ASM
;
; Objective: To print the hex equivalent of
; ASCII character code. Demonstrates
; the use of xlat instruction.
; Input: Requests a character from keyboard.
; Output: Prints the ASCII code of the
; ... |
src/fot/DistributiveLaws/README.agda | asr/fotc | 11 | 13118 | <reponame>asr/fotc<filename>src/fot/DistributiveLaws/README.agda
------------------------------------------------------------------------------
-- Distributive laws on a binary operation (Stanovský example)
------------------------------------------------------------------------------
{-# OPTIONS --exact-split ... |
oeis/227/A227347.asm | neoneye/loda-programs | 11 | 7699 | ; A227347: Number of lattice points in the closed region bounded by the graphs of y = (5/6)*x^2, x = n, and y = 0, excluding points on the x-axis.
; 0,3,10,23,43,73,113,166,233,316,416,536,676,839,1026,1239,1479,1749,2049,2382,2749,3152,3592,4072,4592,5155,5762,6415,7115,7865,8665,9518,10425,11388,12408,13488,14628,158... |
tests/inputs/test_dep_inst/test_R0_false_dep/R0_false_dep.asm | danielstumpp/tomasulo-simulator | 0 | 96023 | <reponame>danielstumpp/tomasulo-simulator
add, R0, R1, R1
ld, F1, 0(R0) |
oeis/157/A157668.asm | neoneye/loda-programs | 11 | 175534 | ; A157668: a(n) = 729*n^2 - 442*n + 67.
; 354,2099,5302,9963,16082,23659,32694,43187,55138,68547,83414,99739,117522,136763,157462,179619,203234,228307,254838,282827,312274,343179,375542,409363,444642,481379,519574,559227,600338,642907,686934,732419,779362,827763,877622,928939,981714,1035947,1091638,1148787,1207394,1267... |
programs/oeis/106/A106404.asm | neoneye/loda | 22 | 81564 | ; A106404: Number of even semiprimes dividing n.
; 0,0,0,1,0,1,0,1,0,1,0,2,0,1,0,1,0,1,0,2,0,1,0,2,0,1,0,2,0,2,0,1,0,1,0,2,0,1,0,2,0,2,0,2,0,1,0,2,0,1,0,2,0,1,0,2,0,1,0,3,0,1,0,1,0,2,0,2,0,2,0,2,0,1,0,2,0,2,0,2,0,1,0,3,0,1,0,2,0,2,0,2,0,1,0,2,0,1,0,2
dif $0,-2
div $0,2
max $0,0
seq $0,1221 ; Number of distinct primes ... |
source/connection.scpt | novelview9/alfred-workflow-toggle-airpods | 0 | 2125 | <filename>source/connection.scpt
"Required setting your airpod!(setairpods)"
|
Transynther/x86/_processed/US/_zr_/i7-8650U_0xd2_notsx.log_1649_878.asm | ljhsiun2/medusa | 9 | 19105 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x12424, %rsi
lea addresses_A_ht+0x950c, %rdi
nop
nop
nop
nop
nop
and %rbp, %rbp
mov $110, %rcx
rep movsl
nop
nop
add $33257, %r11
lea addresses_WT_ht+0x110dc, %r14
nop
nop
nop
nop
nop
and %rbp, %... |
source/amf/uml/amf-uml-parameterable_elements.ads | svn2github/matreshka | 24 | 24537 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
src/main/antlr/adl/base_lexer.g4 | openEHR/adl-antlr | 1 | 5326 | //
// General purpose patterns used in all openEHR parser and lexer tools
// author: <NAME> <<EMAIL>>
// support: openEHR Specifications PR tracker <https://openehr.atlassian.net/projects/SPECPR/issues>
// copyright: Copyright (c) 2018- openEHR Foundation <http://www.openEHR.org>
//
lexer grammar base_l... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/lto20.adb | best08618/asylo | 7 | 28790 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/lto20.adb
-- { dg-do run }
-- { dg-options "-flto" { target lto } }
-- { dg-excess-errors "does not match original declaration" }
with Lto20_Pkg;
procedure Lto20 is
begin
Lto20_Pkg.Proc (Lto20_Pkg.Null_Arr);
end;
|
tests/tkmrpc-servers-ike__mock.adb | DrenfongWong/tkm-rpc | 0 | 15483 | --
-- Copyright (C) 2013 <NAME> <<EMAIL>>
-- Copyright (C) 2013 <NAME> <<EMAIL>>
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions
-- are met:
-- 1. Redistributions of source code must retain the ... |
oeis/293/A293614.asm | neoneye/loda-programs | 11 | 26553 | <gh_stars>10-100
; A293614: a(n) = (8*n + 18)*Pochhammer(n, 6) / 6!.
; Submitted by <NAME>
; 0,26,238,1176,4200,12180,30492,68376,140712,270270,490490,848848,1410864,2264808,3527160,5348880,7922544,11490402,16353414,22881320,31523800,42822780,57425940,76101480,99754200,129442950,166399506,212048928,268031456,336226000,... |
programs/oeis/078/A078716.asm | jmorken/loda | 1 | 14929 | ; A078716: Sequence has period 9 and differences between successive terms are 4, -3, 4, -3, 4, -3, 4, -3, -4.
; 1,5,2,6,3,7,4,8,5,1,5,2,6,3,7,4,8,5,1,5,2,6,3,7,4,8,5,1,5,2,6,3,7,4,8,5,1,5,2,6,3,7,4,8,5,1,5,2,6,3,7,4,8,5,1,5,2,6,3,7,4,8,5,1,5,2,6,3,7,4,8,5,1
mod $0,9
mov $1,$0
mov $2,7
lpb $0
div $0,2
mul $0,2
mu... |
reo-interpreter/src/main/antlr4/nl/cwi/reo/interpret/RBA.g4 | kasperdokter/Reo-compiler | 9 | 6497 | grammar RBA;
import Tokens;
rba : '#RBA' rba_initial* rba_rule* ;
rba_initial : '$' ID '=' rba_term ';' ;
rba_rule : ('{' (rba_port (',' rba_port)* )? '}')? rba_formula;
rba_port : ID #rba_syncFire
| '~'ID #rba_syncBlock ;
rba_formula : 'true' #rba_true
| 'false' ... |
ada-strings-wide_maps-wide_constants.ads | mgrojo/adalib | 15 | 10643 | <filename>ada-strings-wide_maps-wide_constants.ads
-- Standard Ada library specification
-- Copyright (c) 2003-2018 <NAME> <<EMAIL>>
-- Copyright (c) 2004-2016 AXE Consultants
-- Copyright (c) 2004, 2005, 2006 Ada-Europe
-- Copyright (c) 2000 The MITRE Corporation, Inc.
-- Copyright (c) 1992, 19... |
alloy4fun_models/trashltl/models/9/WL9kxXCPezFy6vgw2.als | Kaixi26/org.alloytools.alloy | 0 | 61 | open main
pred idWL9kxXCPezFy6vgw2_prop10 {
all f:File | always (f in Protected) since f in Protected
}
pred __repair { idWL9kxXCPezFy6vgw2_prop10 }
check __repair { idWL9kxXCPezFy6vgw2_prop10 <=> prop10o } |
a10.asm | Sahilsinggh/MP_SEM4 | 1 | 15537 | <reponame>Sahilsinggh/MP_SEM4<filename>a10.asm
global main
extern printf,scanf;
%macro _printf 3
pop qword[stack];
mov rdi,%1;
movsd xmm0,qword[%2]; //MOVSD — Move Scalar Double-Precision Floating-Point Value
movsd xmm1,qword[%3];
mov rax,2;
call printf
push qword[stack];
%endmacro
%macro _scanf 1
pop qword... |
src/Polynomial/Simple/Solver.agda | mckeankylej/agda-ring-solver | 36 | 10718 | {-# OPTIONS --without-K --safe #-}
module Polynomial.Simple.Solver where
open import Polynomial.Expr public
open import Polynomial.Simple.AlmostCommutativeRing public hiding (-raw-almostCommutative⟶)
open import Data.Vec hiding (_⊛_)
open import Algebra.Solver.Ring.AlmostCommutativeRing using (-raw-almostCommutative⟶... |
data/maps/headers/SSAnneCaptainsRoom.asm | opiter09/ASM-Machina | 1 | 102467 |
map_header SSAnneCaptainsRoom, SS_ANNE_CAPTAINS_ROOM, SHIP, 0
end_map_header
|
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xa0_notsx.log_21829_1155.asm | ljhsiun2/medusa | 9 | 177282 | <filename>Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xa0_notsx.log_21829_1155.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r15
push %r8
push %rbp
lea addresses_normal_ht+0xe93, %r8
xor %r15, %r15
movb (%r8), %r10b
nop
nop
inc %r13
pop %rbp
pop %r8
pop %r15
pop %r13
pop %r10
ret
.... |
stm32f1/stm32gd-usb-peripheral.ads | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 8126 | with Ada.Interrupts.Names;
with STM32GD.USB;
generic
with function EP0_Reset_Callback (BTable_Offset : Integer) return Integer is STM32GD.USB.EP_Unused_Reset;
with function EP1_Reset_Callback (BTable_Offset : Integer) return Integer is STM32GD.USB.EP_Unused_Reset;
with function EP2_Reset_Callback (BTable_Off... |
Asm4Kids/18loop.asm | jacmoe/c64adventures | 17 | 174081 | <filename>Asm4Kids/18loop.asm
; loop using cpx (compare x) and bne (branch is not equal)
; prints a-z
; 10 SYS (49152)
*=$0801
BYTE $0E, $08, $0A, $00, $9E, $20, $28, $34, $39, $31, $35, $32, $29, $00, $00, $00
*=$c000
jsr $e544
ldx #65 ; initialize x with ... |
programs/oeis/027/A027084.asm | karttu/loda | 0 | 176311 | ; A027084: G.f.: x^2*(x^2 + x + 1)/(x^4 - 2*x + 1).
; 1,3,7,14,27,51,95,176,325,599,1103,2030,3735,6871,12639,23248,42761,78651,144663,266078,489395,900139,1655615,3045152,5600909,10301679,18947743,34850334,64099759,117897839,216847935,398845536
mov $2,$0
add $2,1
mov $4,$0
lpb $2,1
mov $0,$4
sub $2,1
sub $0,$2
... |
programs/oeis/002/A002265.asm | neoneye/loda | 22 | 85657 | <reponame>neoneye/loda<gh_stars>10-100
; A002265: Nonnegative integers repeated 4 times.
; 0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,6,6,6,6,7,7,7,7,8,8,8,8,9,9,9,9,10,10,10,10,11,11,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,22,22... |
test/asset/agda-stdlib-1.0/Level/Literals.agda | omega12345/agda-mode | 5 | 442 | <filename>test/asset/agda-stdlib-1.0/Level/Literals.agda<gh_stars>1-10
------------------------------------------------------------------------
-- The Agda standard library
--
-- Conversion from naturals to universe levels
------------------------------------------------------------------------
{-# OPTIONS --without-K... |
dino/lcs/base/782.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 167024 | copyright zengfr site:http://github.com/zengfr/romhack
00042A move.l D1, (A0)+
00042C dbra D0, $42a
004D20 move.l D0, (A4)+
004D22 move.l D0, (A4)+
020800 move.w ($6,A0), ($46,A6) [base+77E, base+780]
020806 move.w ($8,A0), ($48,A6)
020842 move.w ($46,A6), D0
020846 move.w ($48,A6), D1
021272 ... |
Capture One Scripts/select_next_variants.applescript | emorydunn/CaptureOneScripts | 17 | 766 | <filename>Capture One Scripts/select_next_variants.applescript
(*
Shift the variant selection up or down.
Created by <NAME>
*)
use application "Capture One 20"
try
set currentVariants to variants whose selected is true
if (count of currentVariants) is 0 then
select current document variant (first variant)
... |
pwnlib/shellcraft/templates/i386/ret.asm | kristoff3r/pwntools | 1 | 241986 | <gh_stars>1-10
<%docstring>A single-byte RET instruction.</%docstring>
ret
|
oeis/171/A171842.asm | neoneye/loda-programs | 11 | 246607 | ; A171842: Binomial transform of 1,0,1,0,2,0,4,0,8,0,16,...
; Submitted by <NAME>(s2)
; 1,1,2,4,9,21,50,120,289,697,1682,4060,9801,23661,57122,137904,332929,803761,1940450,4684660,11309769,27304197,65918162,159140520,384199201,927538921,2239277042,5406093004,13051463049,31509019101,76069501250,183648021600,443365544449... |
alloy4fun_models/trashltl/models/18/C3RzrJveQHSFgBnt9.als | Kaixi26/org.alloytools.alloy | 0 | 2824 | open main
pred idC3RzrJveQHSFgBnt9_prop19 {
all p: Protected | p in Protected until p in Trash
}
pred __repair { idC3RzrJveQHSFgBnt9_prop19 }
check __repair { idC3RzrJveQHSFgBnt9_prop19 <=> prop19o } |
sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBaseParser.g4 | h3ci/spark | 0 | 3429 | /*
* 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 agreed to in writing, software
* distribut... |
fastmodel-parser/src/main/antlr4/imports/CallParser.g4 | alibaba/fast-modeling-language | 9 | 68 | <reponame>alibaba/fast-modeling-language
parser grammar CallParser;
call :
KW_CALL functionExpression
;
|
orka/src/gl/interface/gl-objects-textures.ads | onox/orka | 52 | 4790 | <reponame>onox/orka
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2012 <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/... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.