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 |
|---|---|---|---|---|
Engine Hacks/FE8-Item Range Fix/Range Write.asm | sme23/Christmas2 | 3 | 14694 | .thumb
.org 0x0
@r0 = char data pointer, r1 = item id
push {r4-r7,r14}
mov r7,r8
push {r7}
mov r7,r0
mov r6,#0xFF
and r6,r1 @item id
mov r8,r6
lsl r1,r6,#0x3
add r1,r1,r6
lsl r1,r1,#0x2
ldr r6,Item_Table
add r1,r1,r6
ldrb r6,[r1,#0x19] @range byte
mov r4,#0x10
ldsb r4,[r0,r4] @x coord
mov r5,#0x11
ldsb ... |
programs/oeis/188/A188218.asm | jmorken/loda | 1 | 28171 | <reponame>jmorken/loda
; A188218: Positions of 1 in A188192; complement of A188217.
; 1,2,5,6,7,9,10,11,13,14,15,17,18,19,22,23,24,26,27,28,30,31,32,34,35,36,39,40,41,43,44,45,47,48,49,51,52,53,56,57,58,60,61,62,64,65,66,68,69,70,73,74,75,77,78,79,81,82,83,85,86,87,89,90,91,94,95,96,98,99,100,102,103,104,106,107,108,11... |
daikon-tql/daikon-tql-core/src/main/antlr4/TqlParser.g4 | Zomzog/daikon | 0 | 7038 | <reponame>Zomzog/daikon<filename>daikon-tql/daikon-tql-core/src/main/antlr4/TqlParser.g4<gh_stars>0
/* Parser grammar for Tql filters parsing.*/
parser grammar TqlParser;
options { tokenVocab=TqlLexer; }
/**
* Syntax
**/
allFields : ALL_FIELDS;
comparisonOperator : EQ | LT | GT | NEQ | LET | GET;
booleanValue :... |
src/LibraBFT/Concrete/System.agda | LaudateCorpus1/bft-consensus-agda | 0 | 7739 | {- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2020, 2021, Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
open import LibraBFT.Base.Types
open import LibraBFT.Concrete.System.Pa... |
Transynther/x86/_processed/AVXALIGN/_st_zr_sm_/i7-7700_9_0x48.log_17342_2327.asm | ljhsiun2/medusa | 9 | 5817 | <filename>Transynther/x86/_processed/AVXALIGN/_st_zr_sm_/i7-7700_9_0x48.log_17342_2327.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x12a5a, %rsi
lea addresses_WC_ht+0xa9ea, %rdi
nop
nop
and %rbx, %rbx
mov $27, %rcx
r... |
agda/BBHeap/Insert.agda | bgbianchi/sorting | 6 | 11075 | open import Relation.Binary.Core
module BBHeap.Insert {A : Set}
(_≤_ : A → A → Set)
(tot≤ : Total _≤_)
(trans≤ : Transitive _≤_) where
open import BBHeap _≤_
open import BBHeap.Properties _≤_
open import BBHeap.Subtyping.Properties _≤_ trans≤
open import Bound.... |
136/ada/increment_by.adb | notdb/LC-Practice | 0 | 19554 | <reponame>notdb/LC-Practice
function Increment_By
(I : Integer := 0;
Incr : Integer := 1) return Integer is
-- ^ Default value for parameters
begin
return I + Incr;
end Increment_By; |
src/ui/combat-ui.adb | thindil/steamsky | 80 | 12166 | -- Copyright (c) 2020-2021 <NAME> <<EMAIL>>
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is... |
scripts/.screensaver-names.applescript | andrewp-as-is/mac-screensaver | 0 | 1692 | #!/usr/bin/osascript
tell application "System Events"
repeat with ss in screen savers
log (name of ss as text)
end repeat
end tell
|
programs/oeis/289/A289121.asm | jmorken/loda | 1 | 179864 | <reponame>jmorken/loda<filename>programs/oeis/289/A289121.asm
; A289121: a(n) = (8 - 2*n + 11*n^2 - 6*n^3 + n^4)/4.
; 3,4,5,12,37,98,219,430,767,1272,1993,2984,4305,6022,8207,10938,14299,18380,23277,29092,35933,43914,53155,63782,75927,89728,105329,122880,142537,164462,188823,215794,245555,278292,314197,353468,396309,44... |
src/main/antlr4/com/github/anilople/dog/frontend/CommonLexerRules.g4 | Anilople/Dog | 0 | 2473 | /*
公共部分的词法分析
*/
lexer grammar CommonLexerRules;
Identifier
: [a-zA-Z] ([a-zA-Z0-9] | '.' | '?')*
;
// 特殊字符,按键盘顺序列举
// 里面没有 ()[]{}
SpecialCharacters
: ('~'|'!'|'@'|'#'|'$'|'%'|'^'|'&'|'*'|'+'|'-'|'='|'|'|'<'|'>')+
;
// 字符串
StringLiteral
: '"' StringCharacters? '"'
;
fragment
StringCharacters... |
binutils-2.21.1/gcc-4.5.1/gcc/config/rs6000/darwin-fpsave.asm | cberner12/xv6 | 51 | 86986 | <filename>binutils-2.21.1/gcc-4.5.1/gcc/config/rs6000/darwin-fpsave.asm
/* This file contains the floating-point save and restore routines.
*
* Copyright (C) 2004, 2009 Free Software Foundation, Inc.
*
* This file is free software; you can redistribute it and/or modify it
* under the terms of the GNU General P... |
data/declaration/Open2.agda | msuperdock/agda-unused | 6 | 2690 | module Open2 where
data ⊤
: Set
where
tt
: ⊤
data ⊤'
(x : ⊤)
: Set
where
tt
: ⊤' x
record R
: Set
where
field
x
: ⊤
y
: ⊤
record S
: Set₁
where
field
x
: R
open R x public
renaming (x to y; y to z)
postulate
s
: S
open S s
usin... |
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0x48.log_1_394.asm | ljhsiun2/medusa | 9 | 23253 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x16a01, %rdx
nop
nop
nop
nop
nop
cmp %r10, %r10
mov (%rdx), %r13w
nop
nop
nop
nop
nop
add $18887, %rbx
lea addresses_D_ht+0x8201, %rsi
lea addresses... |
libsrc/_DEVELOPMENT/arch/zx/bifrost2/c/sdcc/BIFROST2_start.asm | jpoikela/z88dk | 640 | 8484 | ; ----------------------------------------------------------------
; Z88DK INTERFACE LIBRARY FOR THE BIFROST*2 ENGINE
;
; See "bifrost2.h" for further details
; ----------------------------------------------------------------
; void BIFROST2_start(void)
SECTION code_clib
SECTION code_bifrost2
PUBLIC _BIFROST2_start
... |
base/atari/xmspos.asm | zbyti/Mad-Pascal | 7 | 179744 | <reponame>zbyti/Mad-Pascal<filename>base/atari/xmspos.asm
; unit MISC: DetectMem
; by Tebe
.proc @xmsAddPosition
.use @xmsReadBuf
add ptr3
sta ptr3
lda #$00
adc ptr3+1
sta ptr3+1
lda #$00
adc ptr3+2
sta ptr3+2
lda #$00
adc ptr3+3
sta ptr3+3
rts
.endp
.proc @xmsUpdatePosition
... |
data/jpred4/jp_batch_1613899824__mRES7kW/jp_batch_1613899824__mRES7kW.als | jonriege/predict-protein-structure | 0 | 4789 | SILENT_MODE
BLOCK_FILE jp_batch_1613899824__mRES7kW.concise.blc
MAX_NSEQ 587
MAX_INPUT_LEN 589
OUTPUT_FILE jp_batch_1613899824__mRES7kW.concise.ps
PORTRAIT
POINTSIZE 8
IDENT_WIDTH 12
X_OFFSET 2
Y_OFFSET 2
DEFINE_FONT 0 Helvetica DEFAULT
DEFINE_FONT 1 Helvetica REL 0.75
DEFINE_FONT 7 Helvetica REL 0.6
DEFINE_FO... |
programs/oeis/286/A286809.asm | neoneye/loda | 22 | 92199 | <reponame>neoneye/loda<filename>programs/oeis/286/A286809.asm<gh_stars>10-100
; A286809: Positions of 1 in A286807; complement of A286808.
; 3,4,6,7,9,11,13,14,16,18,20,22,24,26,28,29,31,33,35,37,39,41,43,45,47,49,51,53,55,57,59,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114... |
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/constant_declaration.ads | ouankou/rose | 488 | 9456 | package Constant_Declaration is
The_Constant : constant Integer := 1;
end Constant_Declaration;
|
Server/server_assets_package.adb | albinjal/Ada_Project | 4 | 16211 | with Ada.Exceptions; use Ada.Exceptions;
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Numerics.Discrete_Random;
with TJa.Sockets; use TJa.Sockets;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
with Klient_Assets_Package; use Klient_Assets_Package;
package body Server_Assets_Package is
function... |
programs/oeis/083/A083033.asm | neoneye/loda | 22 | 80762 | ; A083033: Numbers that are congruent to {0, 2, 3, 5, 7, 9, 10} mod 12.
; 0,2,3,5,7,9,10,12,14,15,17,19,21,22,24,26,27,29,31,33,34,36,38,39,41,43,45,46,48,50,51,53,55,57,58,60,62,63,65,67,69,70,72,74,75,77,79,81,82,84,86,87,89,91,93,94,96,98,99,101,103,105,106,108,110,111,113,115,117,118,120,122,123,125,127,129,130,132... |
src/gstreamer-rtsp-message.adb | persan/A-gst | 1 | 24954 | <filename>src/gstreamer-rtsp-message.adb
pragma Ada_2012;
package body GStreamer.rtsp.message is
--------------
-- Get_Type --
--------------
function Get_Type
(Msg : access GstRTSPMessage_Record)
return GstRTSPMsgType
is
begin
-- Generated stub: replace with real body!
pragm... |
src/Implicits/Resolution/Infinite/NormalFormEquiv.agda | metaborg/ts.agda | 4 | 11710 | <reponame>metaborg/ts.agda<gh_stars>1-10
module Implicits.Resolution.Infinite.NormalFormEquiv where
open import Prelude
open import Implicits.Syntax
open import Implicits.Resolution.Infinite.Resolution
open import Implicits.Resolution.Embedding
open import Implicits.Resolution.Embedding.Lemmas
open import SystemF.Ev... |
tools/akt-commands-password.ads | thierr26/ada-keystore | 25 | 4071 | <filename>tools/akt-commands-password.ads
-----------------------------------------------------------------------
-- akt-commands-password -- Add/Change/Remove the wallet password
-- Copyright (C) 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- yo... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ce/ce3104a.ada | best08618/asylo | 7 | 5251 | <gh_stars>1-10
-- CE3104A.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.... |
LibraBFT/Base/Types.agda | cwjnkins/bft-consensus-agda | 0 | 5435 | {- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2020, 2021, Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
open import LibraBFT.Prelude
open import LibraBFT.Hash
open import Libra... |
programs/oeis/295/A295884.asm | karttu/loda | 0 | 16939 | <filename>programs/oeis/295/A295884.asm<gh_stars>0
; A295884: Number of exponents larger than 3 in the prime factorization of n.
; 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0... |
platinum-experiment-data/comparison/CSOS/CSOS.als | jringert/alloy-diff | 1 | 3707 | <reponame>jringert/alloy-diff
module CSOS
open Declaration
one sig Channel extends Class{}{
attrSet = channelID
id=channelID
isAbstract = No
no parent
}
one sig channelID extends Integer{}
one sig EmailChannel extends Class{}{
attrSet = emailID
one parent
parent in Channel
isAbstract = No
id=channelID
}
one sig ema... |
oeis/108/A108233.asm | neoneye/loda-programs | 11 | 25176 | ; A108233: Numbers n such that 11*n + 5 is prime.
; Submitted by <NAME>
; 0,6,12,16,24,28,34,36,42,52,54,58,64,72,78,82,84,94,96,106,108,112,114,118,138,142,154,156,162,166,184,196,208,216,222,232,234,244,246,252,258,262,264,268,274,276,292,306,322,328,336,342,348,352,358,384,388,394,408,418,426,436,444,448,454,456,462... |
alloy4fun_models/trashltl/models/8/HSTkYTvBgqmPC9XkW.als | Kaixi26/org.alloytools.alloy | 0 | 1876 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idHSTkYTvBgqmPC9XkW_prop9 {
all p : Protected | p not in Trash and p not in Trash'
}
pred __repair { idHSTkYTvBgqmPC9XkW_prop9 }
check __repair { idHSTkYTvBgqmPC9XkW_prop9 <=> prop9o } |
oeis/028/A028159.asm | neoneye/loda-programs | 11 | 2923 | <filename>oeis/028/A028159.asm
; A028159: Expansion of 1/((1-4x)(1-8x)(1-10x)(1-12x)).
; Submitted by <NAME>
; 1,34,740,13160,208656,3075744,43147840,584341120,7711252736,99794799104,1272281687040,16031996897280,200167551471616,2480945949220864,30569500530851840,374885865442672640
mov $1,1
mov $2,$0
mov $3,$0
lpb $2
... |
oeis/055/A055835.asm | neoneye/loda-programs | 11 | 243885 | ; A055835: T(2n+1,n), where T is the array in A055830.
; Submitted by <NAME>
; 1,3,12,54,255,1239,6132,30744,155628,793650,4071210,20984340,108590118,563816526,2935798680,15324533448,80164934919,420151515255,2205762626010,11597513662350,61060181223195,321870918101535,1698584022537480,8972874824434560,47443688971812900,... |
hw2.agda | andmkent/misc-HoTT | 1 | 4053 | <gh_stars>1-10
{-# OPTIONS --without-K #-}
module hw2 where
open import Level using (_⊔_)
open import Function using (id)
open import Data.Nat using (ℕ; suc; _+_; _*_)
open import Data.Empty using (⊥)
open import Data.Sum using (_⊎_; inj₁; inj₂)
import Level
infix 4 _≡_
recℕ : ∀ {ℓ} → (C : Set ℓ) → C → (ℕ → C → C) ... |
oeis/183/A183872.asm | neoneye/loda-programs | 11 | 84820 | ; A183872: n+floor(sqrt(5n)); complement of A183873.
; Submitted by <NAME>
; 3,5,6,8,10,11,12,14,15,17,18,19,21,22,23,24,26,27,28,30,31,32,33,34,36,37,38,39,41,42,43,44,45,47,48,49,50,51,52,54,55,56,57,58,60,61,62,63,64,65,66,68,69,70,71,72,73,75,76,77,78,79,80,81,83,84,85,86,87,88,89,90,92,93,94,95,96,97,98,100,101,10... |
src/fot/FOTC/Program/Mirror/Tree/TotalityI.agda | asr/fotc | 11 | 4962 | <reponame>asr/fotc<filename>src/fot/FOTC/Program/Mirror/Tree/TotalityI.agda
------------------------------------------------------------------------------
-- Totality properties for Tree
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTION... |
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i7-7700_9_0x48_notsx.log_21829_1835.asm | ljhsiun2/medusa | 9 | 97823 | <filename>Transynther/x86/_processed/AVXALIGN/_ht_zr_/i7-7700_9_0x48_notsx.log_21829_1835.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1e33c, %rbx
nop
nop
nop
inc %rax
movl $0x61626364, (%rbx)
cmp %rcx, %rcx
lea ad... |
test/Succeed/ImproveInertRHS.agda | alhassy/agda | 3 | 8249 | <reponame>alhassy/agda
data Nat : Set where
zero : Nat
suc : Nat → Nat
data Id (A : Set) : Set where
mkId : A → Id A
data Monad (M : Set → Set) : Set where
postulate
return : ∀ {M} {{Mon : Monad M}} {A} → A → M A
_>>=_ : ∀ {M} {{Mon : Monad M}} {A B} → M A → (A → M B) → M B
State : (S A : Set) → Set
... |
programs/oeis/076/A076455.asm | neoneye/loda | 22 | 89033 | ; A076455: Sum of numbers that can be written as t*n + u*(n+1) for nonnegative integers t,u in exactly two ways.
; 5,57,246,710,1635,3255,5852,9756,15345,23045,33330,46722,63791,85155,111480,143480,181917,227601,281390,344190,416955,500687,596436,705300,828425,967005,1122282,1295546,1488135,1701435,1936880,2195952,2480... |
Working Disassembly/Levels/DEZ/Misc Object Data/Map - Bumper Wall.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 5 | 100122 | dc.w word_498C4-Map_DEZBumperWall
word_498C4: dc.w 2 ; DATA XREF: ROM:000498C2o
dc.b $E0, $B, 0, $10, $FF, $F4
dc.b 0, $B, $10, $10, $FF, $F4
|
alloy4fun_models/trashltl/models/8/fTkt6N7HmxKxrogEF.als | Kaixi26/org.alloytools.alloy | 0 | 4115 | <gh_stars>0
open main
pred idfTkt6N7HmxKxrogEF_prop9 {
always no Protected + Trash
}
pred __repair { idfTkt6N7HmxKxrogEF_prop9 }
check __repair { idfTkt6N7HmxKxrogEF_prop9 <=> prop9o } |
oeis/168/A168364.asm | neoneye/loda-programs | 11 | 166411 | <reponame>neoneye/loda-programs
; A168364: a(n) = n^5*(n^2 + 1)/2.
; 0,1,80,1215,8704,40625,143856,420175,1064960,2421009,5050000,9824111,18040320,31559905,52975664,85809375,134742016,205879265,307054800,448173919,641600000,902586321,1249755760,1705630895,2297217024,3056640625,4021845776,5237351055,6755069440,863519372... |
out/npi.adb | Melyodas/metalang | 22 | 12852 | <reponame>Melyodas/metalang
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 npi is
type stringptr is access all char_array;
procedure PInt(i : in Integer) is
begin
String... |
oeis/131/A131835.asm | neoneye/loda-programs | 11 | 103692 | <reponame>neoneye/loda-programs
; A131835: Numbers starting with 1.
; Submitted by <NAME>(s1)
; 1,10,11,12,13,14,15,16,17,18,19,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,... |
alloy4fun_models/trainstlt/models/10/txb2xExEZxktdpX2G.als | Kaixi26/org.alloytools.alloy | 0 | 2750 | <filename>alloy4fun_models/trainstlt/models/10/txb2xExEZxktdpX2G.als<gh_stars>0
open main
pred idtxb2xExEZxktdpX2G_prop11 {
always ( all t:Train| some t.pos and historically t.pos in Entry)
}
pred __repair { idtxb2xExEZxktdpX2G_prop11 }
check __repair { idtxb2xExEZxktdpX2G_prop11 <=> prop11o } |
out/prologin_template_intmatrix.adb | FardaleM/metalang | 22 | 21849 | <reponame>FardaleM/metalang
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 prologin_template_intmatrix is
type stringptr is access all char_array;
procedure PString(s : st... |
2nd Assignment - Temperature Transformation/temperature_transformation.asm | elefthvp/Computer-Architecture--MIPS--Assignments | 0 | 161327 | .data 0x10008000
.word 5,9,32
string1: .asciiz "Select temperature c or f \n"
string2: .asciiz "Type the desired number=? \n"
string3: .asciiz "Temperature: "
messagec: .asciiz " C"
messagef: .asciiz " F"
number: .float 0.0
zeroo: .float 0.0
.text
main:
lui $gp,0x1000
ori ... |
MP/LAB_001_Opt/Ver_Contiene_Caracter.adb | usainzg/EHU | 0 | 28913 | WITH Ada.Text_Io; USE Ada.Text_Io;
procedure Ver_Contiene_Caracter is
-- salida: 7 booleanos(SE)
-- post: corresponden a cada uno de los casos de pruebas dise�ados.
-- pre: { True }
function Contiene_Caracter (
S : String;
L : Character)
return Boolean is
-- EJERCICIO 3- ESPECIFIC... |
PRG/levels/Airship/CoinBoss.asm | narfman0/smb3_pp1 | 0 | 162168 | <gh_stars>0
; Original address was $BCB8
; Tank boss room
.word $0000 ; Alternate level layout
.word $0000 ; Alternate object layout
.byte LEVEL1_SIZE_01 | LEVEL1_YSTART_170
.byte LEVEL2_BGPAL_05 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18
.byte LEVEL3_TILESET_00 | LEVEL3_VSCROLL_LOCKED
.byte LEVEL4_BGBANK_INDEX(10) | ... |
oeis/256/A256871.asm | neoneye/loda-programs | 11 | 96853 | ; A256871: a(n) = 2^(n-1)*(2^n+11).
; 6,13,30,76,216,688,2400,8896,34176,133888,529920,2108416,8411136,33599488,134307840,537051136,2147844096,8590655488,34361180160,137441837056,549761581056,2199034789888,8796116090880,35184418226176,140737580630016,562950137970688,2251800182784000,9007199992938496,36028798495358976,1... |
src/MLib/Algebra/PropertyCode/Dependent.agda | bch29/agda-matrices | 0 | 16758 | open import MLib.Algebra.PropertyCode
module MLib.Algebra.PropertyCode.Dependent {k c ℓ} {code : Code k} (struct : Struct code c ℓ) where
open import MLib.Prelude
open import MLib.Algebra.PropertyCode.Core
open import Function.Equivalence using (Equivalence)
open Struct struct
private
module FuncBased {c′ ℓ′} (d... |
oeis/339/A339146.asm | neoneye/loda-programs | 11 | 92072 | <gh_stars>10-100
; A339146: a(n) = a(floor(n / 5)) * (n mod 5 + 1); initial terms are 1.
; Submitted by <NAME>(s3)
; 1,1,1,1,1,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,2,4,6,8,10,3,6,9,12,15,4,8,12,16,20,5,10,15,20,25,1,2,3,4,5,2,4,6,8,10,3,6,9,12,15,4,8,12,16,20,5,10,15,20,25,1,2,3,4,5,2,4,6,8,10,3,6,9,12,15,... |
Analysis/SFX engine.asm | maxim-zhao/micromachineseditor | 5 | 174422 | .section "Game sound effects" force
; API functions at start
PagedFunction_2B5D2_GameVBlankUpdateSoundTrampoline:
jp _GameVBlankUpdateSound
PagedFunction_2B5D5_SilencePSG:
SetPSGAttenuationImmediate 3, 0
SetPSGAttenuationImmediate 0, 0
SetPSGAttenuationImmediate 1, 0
SetPSGAttenuationImmediate 2, 0
ret
.i... |
cmd/mem/wintest.asm | minblock/msdos | 0 | 11973 | <filename>cmd/mem/wintest.asm<gh_stars>0
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1988 - 1993
; * All Rights Reserved.
; */
;
; Checks to see if Windows is running. Returns 1 if Windows 3.0 or
; above is running, 0 otherwise... |
NightLamp/main.asm | zeniton/NightLamp | 0 | 85543 | ;************************************
; written by: <NAME>
; for AVR: ATTiny85
; clock frequency: 1 MHz
; Function: Night light controller with motion detection
; Ambient light level measured with LDR
; Switch lamp on for 3hrs at sunset
; Switch lamp on for 10mins when dark & motion detected
.nolist
.inc... |
lib/parser/SqlMapLexer.g4 | fronteer-kr/sqlmap | 0 | 513 | <reponame>fronteer-kr/sqlmap<gh_stars>0
lexer grammar SqlMapLexer;
@lexer::members {
SqlMapLexer.DEFAULT_MODE = 0;
SqlMapLexer.prototype.statementStack = [];
SqlMapLexer.prototype.currentStatement = function() {
return this.statementStack.length == 0 ? null : this.statementStack[this.statementStack.length - 1]... |
STM32F4/ToyOBDH/src/ttc.adb | AntonioRamosNieto/TFG-STM32F429 | 0 | 18332 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2018, Universidad Politécnica de Madrid --
-- --
-- ... |
MSDOS/Virus.MSDOS.Unknown.richards.asm | fengjixuchui/Family | 3 | 175872 | ; RICHARDS.ASM -- <NAME>
; Created with Nowhere Man's Virus Creation Laboratory v1.00
; Written by <NAME>
virus_type equ 3 ; Trojan Horse
is_encrypted equ 1 ; We're encrypted
tsr_virus equ 0 ; We're not TSR
code segment byte public
assume cs:code,ds:code,es:code,ss:code
org 0100h
start label near
main ... |
Library/Text/TextRegion/trSmallDraw.asm | steakknife/pcgeos | 504 | 9268 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: trSmallDraw.asm
AUTHOR: <NAME>, Dec 23, 1992
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Descript... |
Asm/x86/7zCrcOpt.asm | sdottaka/sevenzip | 8 | 167827 | <reponame>sdottaka/sevenzip<filename>Asm/x86/7zCrcOpt.asm<gh_stars>1-10
; 7zCrcOpt.asm -- CRC32 calculation : optimized version
; 2021-02-07 : <NAME> : Public domain
include 7zAsm.asm
MY_ASM_START
rD equ r2
rN equ r7
rT equ r5
ifdef x64
num_VAR equ r8
table_VAR equ r9
else
if... |
programs/oeis/100/A100585.asm | karttu/loda | 0 | 102668 | <reponame>karttu/loda
; A100585: a(n+1) = a(n)+floor(a(n)/3), a(1) = 3.
; 3,4,5,6,8,10,13,17,22,29,38,50,66,88,117,156,208,277,369,492,656,874,1165,1553,2070,2760,3680,4906,6541,8721,11628,15504,20672,27562,36749,48998,65330,87106,116141,154854,206472,275296,367061,489414,652552
mov $1,3
mov $2,$0
lpb $2,1
mov $3,1
... |
oeis/154/A154360.asm | neoneye/loda-programs | 11 | 88727 | ; A154360: a(n) = 250*n - 180.
; -180,70,320,570,820,1070,1320,1570,1820,2070,2320,2570,2820,3070,3320,3570,3820,4070,4320,4570,4820,5070,5320,5570,5820,6070,6320,6570,6820,7070,7320,7570,7820,8070,8320,8570,8820,9070,9320,9570,9820,10070,10320,10570,10820,11070,11320,11570,11820,12070,12320,12570,12820,13070,13320,135... |
tools-src/gnu/gcc/gcc/ada/g-os_lib.ads | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 28906 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
src/Shaders/Sdk/Direct3D10/CubeMapGS/GS_CubeMap_GS.asm | tgjones/slimshader-cpp | 20 | 89491 | //
// Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.16384
//
//
///
// Buffer Definitions:
//
// cbuffer cbMultiPerFrameFrame
// {
//
// float4x4 mWorldViewProj; // Offset: 0 Size: 64 [unused]
// float4x4 mWorldView; // Offset: 64 Size: 64 [unused]
// float4x4 mWorl... |
_tests/trconvert/antlr2/cil.g4 | SKalt/Domemtech.Trash | 16 | 3968 |
/* PARSER */
grammar CIL;
options
{
importVocab=CILLexer;
}
start: declarations
;
//=== DECLARATIONS ===
declarations: (declaration)* EOF
;
declaration: classDeclaration
| namespaceDeclaration
| methodDeclaration
| fieldDeclaration
| dataDeclaration
| vtableDeclaration
| vtfixupDeclaration
| extSou... |
src/util/icon/asm_cellcopy.asm | olifink/qspread | 0 | 819 | <gh_stars>0
* Sprite cellcopy
*
* Mode 4
* +|-------------------+
* -wwwwwwwwwww -
* |wrrrrrrrrrw |
* |wrrrrrrrrrw |
* |wrrrrrrrrrw |
* |wrrrrwwrrrw |
* |wrrrwaawwrw |
* |wrrrrwwaaww www |
* |wrrrrrrwwaawwaawwwww|
* |wwwwwwwwwwwaaaawrrrw|
* | waaaaaawrrrw|
* | wwwwwwwwrrrw|
* | wrr... |
test/pmulhw.asm | killvxk/AssemblyLine | 147 | 20168 | <reponame>killvxk/AssemblyLine
SECTION .text
GLOBAL test
test:
pmulhw xmm0, xmm0
pmulhw xmm0, xmm1
pmulhw xmm0, xmm2
pmulhw xmm0, xmm3
pmulhw xmm0, xmm4
pmulhw xmm0, xmm5
pmulhw xmm0, xmm6
pmulhw xmm0, xmm7
pmulhw xmm0, xmm8
pmulhw xmm0, xmm9
pmulhw xmm0, xmm10
pmulhw xmm0, xmm11
pmulhw xmm0, xmm12
pmulhw xmm0, xmm13
p... |
lotlan/LoTLanLexer.g4 | iml130/LoTLan | 0 | 6575 | <reponame>iml130/LoTLan<gh_stars>0
// Copyright 2020 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V.
//
// 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
//
// https://www... |
programs/oeis/172/A172022.asm | neoneye/loda | 22 | 6469 | <reponame>neoneye/loda
; A172022: a(n) = prime(n) + (-1)^n.
; 1,4,4,8,10,14,16,20,22,30,30,38,40,44,46,54,58,62,66,72,72,80,82,90,96,102,102,108,108,114,126,132,136,140,148,152,156,164,166,174,178,182,190,194,196,200,210,224,226,230,232,240,240,252,256,264,268,272,276
mov $1,$0
mul $0,2
mod $0,4
seq $1,40 ; The prime ... |
programs/oeis/087/A087030.asm | neoneye/loda | 22 | 246106 | ; A087030: n "reflected" in the next prime: a(n)=2p-n, p is smallest prime > n.
; 3,4,7,6,9,8,15,14,13,12,15,14,21,20,19,18,21,20,27,26,25,24,35,34,33,32,31,30,33,32,43,42,41,40,39,38,45,44,43,42,45,44,51,50,49,48,59,58,57,56,55,54,65,64,63,62,61,60,63,62,73,72,71,70,69,68,75,74,73,72,75,74,85,84,83,82,81,80,87,86,85,8... |
oeis/291/A291681.asm | neoneye/loda-programs | 11 | 89898 | <gh_stars>10-100
; A291681: First differences of A067046.
; Submitted by <NAME>
; 1,8,0,25,-7,56,-24,105,-55,176,-104,273,-175,400,-272,561,-399,760,-560,1001,-759,1288,-1000,1625,-1287,2016,-1624,2465,-2015,2976,-2464,3553,-2975,4200,-3552,4921,-4199,5720,-4920,6601,-5719,7568,-6600,8625,-7567,9776,-8624,11025,-9775,1... |
Code/mips.asm | m-derakhshan/Compiler_991 | 2 | 169272 | .data
backn: .asciiz "\n"
.text
.globl main
|
programs/oeis/046/A046065.asm | neoneye/loda | 22 | 6727 | <reponame>neoneye/loda
; A046065: a(n) = n^(n+2) - (n+2)^n.
; -1,-2,0,118,2800,61318,1417472,35570638,973741824,29023111918,938082635776,32730551749894,1227224552173568,49239697945731382,2105895743771443200,95663702284183543582,4600926951773050961920,233592048827366522661214,12486092216396078174437376,70096099905304217... |
data/pokemon/base_stats/hoenn/armaldo.asm | Dev727/ancientplatinum | 0 | 91512 | <reponame>Dev727/ancientplatinum
db 0 ; 348 DEX NO
db 75, 125, 100, 45, 70, 80
; hp atk def spd sat sdf
db ROCK, BUG ; type
db 45 ; catch rate
db 199 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F12_5 ; gender ratio
db 100 ; unknown 1
db 30 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gf... |
src/tiles08.asm | fjpena/sword-of-ianna-msx2 | 43 | 89849 | <reponame>fjpena/sword-of-ianna-msx2<filename>src/tiles08.asm<gh_stars>10-100
org $8000
tilestest: INCBIN "tiles_nivel08.SR5.plet1"
|
6502/draw something.asm | nikosev/gabrielsroka.github.io | 70 | 105447 | <gh_stars>10-100
lda #$0a ; red
;sta $0200
;sta $021f
;sta $0220
;sta $023f
;sta $05e0
;sta $05ff
sta $0222
sta $0223
sta $0224
sta $0225
sta $022A
sta $022B
sta $022C
sta $022D
sta $0231
sta $0236
sta $0239
sta $023A
sta $023B
sta $023C
sta $023D
sta $023E
... |
CatalinaExporter/ArtifactFinder.applescript | andrewbluepiano/CatalinaForensicsTool | 7 | 712 | <gh_stars>1-10
-- Author: <NAME>
-- https://github.com/andrewbluepiano/macOS-CatalinaForensicsTool/
-- FSEParser Author, Owner: <NAME>
-- https://github.com/dlcowen/FSEventsParser
use framework "Foundation"
use framework "OSAKit"
use scripting additions
script ArtifactFinder
property parent : class "NSObject"
--... |
18_ConvertToBCD.asm | furkanisitan/ExampleProgramsFor8085Microprocessor | 0 | 98982 | STC
CMC
MVI B, 009AH ; B=154
MVI A, 0 ; A=0
LXI H, 0 ; HL=0
LOOP: ADI 1 ; A+=1
DAA ; A yı BCD ye dönüştür
JNC NXT ; Elde yoksa atla
INR H ; H+=1
NXT: DCR B ; B-=1
JNZ LOOP ; 0 değilse atla
MOV L, A ; L=A
HLT
; Her döngüde A ya 1 eklenip BCD ye dönüştürür.
; Eğer elde varsa, H 1 arttırılır.
; Son olarak A değeri L ... |
libsrc/_DEVELOPMENT/math/float/am9511/c/sccz80/cam32_sccz80_neg.asm | ahjelm/z88dk | 640 | 15345 | <reponame>ahjelm/z88dk
SECTION code_fp_am9511
PUBLIC cam32_sccz80_neg
EXTERN cam32_sccz80_read1, asm_am9511_neg
; negate sccz80 floats
;
; enter : stack = sccz80_float number, ret
;
; exit : DEHL = sccz80_float(-number)
;
; uses : af, bc, de, hl
.cam32_sccz80_neg
call cam32_sccz8... |
libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sccz80/esx_m_drvapi.asm | Toysoft/z88dk | 0 | 92004 | <reponame>Toysoft/z88dk<filename>libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sccz80/esx_m_drvapi.asm
; unsigned char esx_m_drvapi(struct esx_drvapi *)
SECTION code_esxdos
PUBLIC esx_m_drvapi
EXTERN asm_esx_m_drvapi
defc esx_m_drvapi = asm_esx_m_drvapi
|
registrar-executive-unit_entry-execute.adb | annexi-strayline/AURA | 13 | 4936 | <reponame>annexi-strayline/AURA<gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Ada User Repository Annex (AURA) --
-- ANNEXI-STRAYLINE ... |
programs/oeis/122/A122709.asm | neoneye/loda | 22 | 175041 | ; A122709: a(0)=1; thereafter a(n) = 9*n-3.
; 1,6,15,24,33,42,51,60,69,78,87,96,105,114,123,132,141,150,159,168,177,186,195,204,213,222,231,240,249,258,267,276,285,294,303,312,321,330,339,348,357,366,375,384,393,402,411,420,429,438,447,456,465,474,483,492,501,510,519,528,537,546,555,564,573,582,591,600,609,618,627,636,... |
test/interaction/Issue3460.agda | cruhland/agda | 1,989 | 16269 | <reponame>cruhland/agda<filename>test/interaction/Issue3460.agda
postulate A : Set
postulate B : A → Set
variable a : A
foo : B a → Set
foo x = {!a!} -- WAS: C-c C-c here reports "Not a variable: a"
-- SHOULD instead introduce the hidden argument {a}
{- C-c C-e reports
a : A (not in scope)
x : B a
-}
|
programs/oeis/058/A058974.asm | neoneye/loda | 22 | 85155 | <reponame>neoneye/loda
; A058974: a(n) = 0 if n = 1 or a prime, otherwise a(n) = s + a(s) iterated until no change occurs, where s (A008472) is sum of distinct primes dividing n.
; 0,0,0,2,0,5,0,2,3,7,0,5,0,12,10,2,0,5,0,7,17,13,0,5,5,25,3,12,0,17,0,2,26,19,17,5,0,38,18,7,0,17,0,13,10,30,0,5,7,7,27,25,0,5,18,12,35,31,0... |
include/bits_types_u_file_h.ads | docandrew/troodon | 5 | 8916 | pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with bits_types_struct_FILE_h;
package bits_types_u_FILE_h is
subtype uu_FILE is bits_types_struct_FILE_h.u_IO_FILE; -- /usr/include/bits/types/__FILE.h:5
end bits_types_u_FILE_h;
|
data/jpred4/jp_batch_1613899824__XqlstVh/jp_batch_1613899824__XqlstVh.als | jonriege/predict-protein-structure | 0 | 1044 | SILENT_MODE
BLOCK_FILE jp_batch_1613899824__XqlstVh.concise.blc
MAX_NSEQ 540
MAX_INPUT_LEN 542
OUTPUT_FILE jp_batch_1613899824__XqlstVh.concise.ps
PORTRAIT
POINTSIZE 8
IDENT_WIDTH 12
X_OFFSET 2
Y_OFFSET 2
DEFINE_FONT 0 Helvetica DEFAULT
DEFINE_FONT 1 Helvetica REL 0.75
DEFINE_FONT 7 Helvetica REL 0.6
DEFINE_FO... |
flink-datalog/src/main/antlr4/org/apache/flink/datalog/Datalog.g4 | Temitope-A/cog | 0 | 5349 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
NORFlash.asm | Bread80/RC2014-512K-ROM-512K-RAM-Board | 2 | 165269 | ;**********************************
; Code to write data to the ROM on the RC2014 official
; 512K ROM 512K RAM module using a Z80 processor
;
; For full background and explanation see: http://bread80.com/?p=153
;
; This code probably works with other similar modules but hasn;t been tested
; with other hardware.
; Spe... |
test/interaction/Issue4215.agda | shlevy/agda | 1,989 | 7456 | <filename>test/interaction/Issue4215.agda
open import Agda.Builtin.Nat
foo : Nat → Nat → Nat
foo 0 m = {!m!}
foo (suc n) m = {!!}
|
programs/oeis/100/A100052.asm | karttu/loda | 0 | 241103 | ; A100052: A Chebyshev transform of the odd numbers.
; 1,3,3,-2,-9,-9,2,15,15,-2,-21,-21,2,27,27,-2,-33,-33,2,39,39,-2,-45,-45,2,51,51,-2,-57,-57,2,63,63,-2,-69,-69,2,75,75,-2,-81,-81,2,87,87,-2,-93,-93,2,99,99,-2,-105,-105,2,111,111,-2,-117,-117
mov $1,$0
sub $1,1
mov $2,$0
mov $3,1
lpb $2,1
add $3,$2
add $3,$1
... |
alloy4fun_models/trashltl/models/4/oskCzFPFHd49DNQRc.als | Kaixi26/org.alloytools.alloy | 0 | 5088 | open main
pred idoskCzFPFHd49DNQRc_prop5 {
eventually some (File & Trash)
}
pred __repair { idoskCzFPFHd49DNQRc_prop5 }
check __repair { idoskCzFPFHd49DNQRc_prop5 <=> prop5o } |
src/common/sp-interactive.ads | jquorning/septum | 236 | 12330 | <reponame>jquorning/septum
-------------------------------------------------------------------------------
-- Copyright 2021, The Septum Developers (see AUTHORS file)
-- 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... |
Cubical/Codata/Conat/Properties.agda | limemloh/cubical | 0 | 7209 | {- Conatural number properties (<NAME> al., Feb. 2019)
This file defines operations and properties on conatural numbers:
- Infinity (∞).
- Proof that ∞ + 1 is equivalent to ∞.
- Proof that conatural is an hSet.
- Bisimulation on conatural
- Proof that bisimulation is equivalent to equivalence (Coinductive Proof
... |
projects/Links_Awakening_gb.windfish/configuration/macros/assign.asm | jverkoey/awaken | 68 | 245579 | <reponame>jverkoey/awaken<gh_stars>10-100
ld a, #2
ld [#1], a |
test/Succeed/Issue2168b.agda | cruhland/agda | 1,989 | 14387 | <filename>test/Succeed/Issue2168b.agda
-- Andreas, 2016-09-19, issue #2168, reported by Nisse
-- {-# OPTIONS -v tc.cover:10 #-}
-- {-# OPTIONS -v tc.cover.splittree:30 -v tc.cc:40 -v tc.cover.split.con:30 #-}
open import Common.Equality
data Three : Set where
one two three : Three
data Bool : Set where
true fal... |
theorems/groups/KernelCstImageCst.agda | mikeshulman/HoTT-Agda | 0 | 11134 | {-# OPTIONS --without-K --rewriting #-}
open import HoTT
module groups.KernelCstImageCst {i j k}
(G : Group i) (H : Group j) (K : Group k)
(H-ab : is-abelian H) where
private
module H = Group H
open import groups.KernelImage {G = G} {H = H} {K = K} cst-hom cst-hom H-ab
Ker-cst-quot-Im-cst : Ker/Im ≃ᴳ... |
src/audio/game_level_bgm.asm | TypeDefinition/NautiBuoy | 2 | 169161 | <filename>src/audio/game_level_bgm.asm
include "./src/include/hUGE.inc"
; GB-Studio-Community Assets: Great Melody 02 (Channel 1 is reserved for SFX, so all music was placed into Channel 2.)
SECTION "Game Level BGM", ROMX
GameLevelBGM::
db 7
dw order_cnt
dw order1, order2, order3, order4
dw duty_instruments,... |
oeis/050/A050458.asm | neoneye/loda-programs | 11 | 172142 | ; A050458: Difference between Sum_{d|n, d == 1 mod 4} d^2 and Sum_{d|n, d == 3 mod 4} d^2.
; Submitted by <NAME>
; 1,1,8,1,26,8,48,1,73,26,120,8,170,48,208,1,290,73,360,26,384,120,528,8,651,170,656,48,842,208,960,1,960,290,1248,73,1370,360,1360,26,1682,384,1848,120,1898,528,2208,8,2353,651,2320,170,2810,656,3120,48,288... |
test/lib-succeed/Issue784.agda | larrytheliquid/agda | 1 | 13847 | <filename>test/lib-succeed/Issue784.agda
-- From <NAME>
-- https://github.com/dima-starosud/Uniqueness-typing-in-Agda/blob/master/RefAPITest.agda
module Issue784 where
open import Issue784.RefAPI
open import Function
open import Data.Nat
open import Data.Product
-- new : ∀ a n → Transformer! [] [(n , Unique (Ref-ℕ a... |
programs/oeis/026/A026219.asm | jmorken/loda | 1 | 241927 | <reponame>jmorken/loda
; A026219: Position of n in A026218.
; 1,2,5,3,9,4,13,6,17,7,21,8,25,10,29,11,33,12,37,14,41,15,45,16,49,18,53,19,57,20,61,22,65,23,69,24,73,26,77,27,81,28,85,30,89,31,93,32,97,34,101,35,105,36,109,38,113,39,117,40,121
mov $4,$0
mod $0,2
mov $3,10
mul $4,2
mov $1,$4
lpb $0
bin $0,$3
add $1,1... |
source/amf/uml/amf-internals-tables-standard_profile_l2_metamodel-properties.adb | svn2github/matreshka | 24 | 13939 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.