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 |
|---|---|---|---|---|
Assembly/bosses_moved.asm | Berserker66/Enemizer | 2 | 85690 | ;================================================================================
; Move the bosses to the right screen location depending on the room
;--------------------------------------------------------------------------------
boss_move:
{
; TODO: should probably double check that we don't need to preser... |
libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sccz80/esx_f_rmdir.asm | Toysoft/z88dk | 0 | 241823 | <gh_stars>0
; unsigned char esx_f_rmdir(unsigned char *pathname)
SECTION code_esxdos
PUBLIC esx_f_rmdir
EXTERN asm_esx_f_rmdir
defc esx_f_rmdir = asm_esx_f_rmdir
|
src/functions.asm | Hacktix/gbctv | 14 | 19568 | SECTION "Functions", ROM0
;------------------------------------------------------------------------
; Copies BC bytes to a memory region starting at HL from a memory
; region starting at DE.
;------------------------------------------------------------------------
Memcpy::
ld a, [de]
ld [hli], a
inc de
... |
scripts/SeafoamIslandsB3F.asm | opiter09/ASM-Machina | 1 | 162322 | <filename>scripts/SeafoamIslandsB3F.asm<gh_stars>1-10
SeafoamIslandsB3F_Script:
call EnableAutoTextBoxDrawing
ld hl, wFlags_0xcd60
bit 7, [hl]
res 7, [hl]
jr z, .asm_465dc
ld hl, Seafoam4HolesCoords
call CheckBoulderCoords
ret nc
EventFlagAddress hl, EVENT_SEAFOAM4_BOULDER1_DOWN_HOLE
ld a, [wCoordIndex]
cp $... |
tests/aco-drivers-dummy.adb | jonashaggstrom/ada-canopen | 6 | 17850 | package body ACO.Drivers.Dummy is
overriding
procedure Receive_Message_Blocking
(This : in out Dummy_Driver;
Msg : out ACO.Messages.Message)
is
begin
This.Get_First_Sent (Msg);
end Receive_Message_Blocking;
overriding
procedure Send_Message
(This : in out Dummy_Driver;
... |
libsrc/_DEVELOPMENT/arch/zxn/esxdos/z80/asm_esx_dos_catalog_next.asm | jpoikela/z88dk | 640 | 25406 | ; unsigned char esx_dos_catalog_next(struct esx_cat *cat)
SECTION code_esxdos
PUBLIC asm_esx_dos_catalog_next
EXTERN l_asm_esx_dos_catalog
asm_esx_dos_catalog_next:
; enter : hl = struct esx_cat *cat (unchanged from last catalog call)
; note that this structure must be in main memory
;
; e... |
notes/FOT/FOTC/Program/Mirror/Induction/Acc/WellFounded.agda | asr/fotc | 11 | 4346 | <gh_stars>10-100
------------------------------------------------------------------------------
-- Generic well-founded induction on trees
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --n... |
alloy4fun_models/trashltl/models/18/vijahzyogXPZjm8er.als | Kaixi26/org.alloytools.alloy | 0 | 5072 | open main
pred idvijahzyogXPZjm8er_prop19 {
all f:File | f in Protected until f in Trash
}
pred __repair { idvijahzyogXPZjm8er_prop19 }
check __repair { idvijahzyogXPZjm8er_prop19 <=> prop19o } |
agda-stdlib/src/Data/Star/Properties.agda | DreamLinuxer/popl21-artifact | 5 | 13927 | <reponame>DreamLinuxer/popl21-artifact
------------------------------------------------------------------------
-- The Agda standard library
--
-- This module is DEPRECATED. Please use the
-- Relation.Binary.Construct.Closure.ReflexiveTransitive.Properties
-- module directly.
-------------------------------------------... |
ada/protected_counters.ads | rtoal/enhanced-dining-philosophers | 0 | 12898 | <reponame>rtoal/enhanced-dining-philosophers
------------------------------------------------------------------------------
-- protected_counters.ads
--
-- This package defines protected type Counter. A counter is basically an in-
-- teger which starts with some initial positive value and is decremented (by
-- 1... |
Transynther/x86/_processed/NC/_ht_un_/i7-7700_9_0x48.log_14_1006.asm | ljhsiun2/medusa | 9 | 89651 | <filename>Transynther/x86/_processed/NC/_ht_un_/i7-7700_9_0x48.log_14_1006.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r15
push %r8
push %r9
lea addresses_D_ht+0x7462, %r10
nop
nop
nop
nop
inc %r15
mov (%r10), %r9w
nop
nop
nop
nop
sub $38964, %r8
lea addresses_WC_ht+0xfdc2, %r8
nop
nop
an... |
oeis/001/A001680.asm | neoneye/loda-programs | 11 | 97530 | ; A001680: The partition function G(n,3).
; Submitted by <NAME>
; 1,1,2,5,14,46,166,652,2780,12644,61136,312676,1680592,9467680,55704104,341185496,2170853456,14314313872,97620050080,687418278544,4989946902176,37286121988256,286432845428192,2259405263572480,18280749571449664,151561941235370176,1286402259593355776,111682... |
libsrc/_DEVELOPMENT/adt/p_forward_list_alt/z80/asm_p_forward_list_alt_empty.asm | jpoikela/z88dk | 640 | 97746 |
; ===============================================================
; Dec 2013
; ===============================================================
;
; int p_forward_list_alt_empty(p_forward_list_alt_t *list)
;
; Return true (non-zero) if list is empty.
;
; ===============================================================
... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_586.asm | ljhsiun2/medusa | 9 | 169979 | <filename>Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_586.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x500e, %r11
nop
nop
add $24752, %r10
movups (%r11), %xmm5
vpextrq $1, %xmm5, %r9
... |
theorems/homotopy/SmashIsCofiber.agda | timjb/HoTT-Agda | 294 | 8784 | {-# OPTIONS --without-K --rewriting #-}
open import HoTT
open import homotopy.elims.CofPushoutSection as CofPushoutSection
module homotopy.SmashIsCofiber {i j} (X : Ptd i) (Y : Ptd j) where
{- the proof that our smash matches the more classical definition as a cofiber -}
Smash-equiv-Cof : Smash X Y ≃ Cofiber (∨-to-... |
test/Fail/WithScopeError.agda | cruhland/agda | 1,989 | 2985 | -- There was a bug when scope checking with clauses.
module WithScopeError where
data Nat : Set where
zero : Nat
suc : Nat -> Nat
f : Nat -> Nat
f n with y
where y = suc n
f n | x = y x
|
oeis/033/A033270.asm | neoneye/loda-programs | 11 | 102607 | <filename>oeis/033/A033270.asm
; A033270: Number of odd primes <= n.
; Submitted by <NAME>
; 0,0,1,1,2,2,3,3,3,3,4,4,5,5,5,5,6,6,7,7,7,7,8,8,8,8,8,8,9,9,10,10,10,10,10,10,11,11,11,11,12,12,13,13,13,13,14,14,14,14,14,14,15,15,15,15,15,15,16,16,17,17,17,17,17,17,18,18,18,18,19,19,20,20,20,20,20,20,21,21,21,21,22,22,22,22... |
mc-sema/validator/x86/tests/RCR16rCL.asm | randolphwong/mcsema | 2 | 179821 | BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=FLAG_OF
;TEST_FILE_META_END
; RCR16rCL
mov bx, 0x414
mov cl, 0x3
;TEST_BEGIN_RECORDING
rcr bx, cl
;TEST_END_RECORDING
|
vendor/stdlib/src/Algebra/RingSolver/Simple.agda | isabella232/Lemmachine | 56 | 13681 | ------------------------------------------------------------------------
-- Instantiates the ring solver with two copies of the same ring
------------------------------------------------------------------------
open import Algebra.RingSolver.AlmostCommutativeRing
module Algebra.RingSolver.Simple (r : AlmostCommutativ... |
thirdparty/adasdl/thin/adasdl/AdaSDL/stdtest/testwm_sprogs.ads | Lucretia/old_nehe_ada95 | 0 | 24013 | <reponame>Lucretia/old_nehe_ada95
-- ----------------------------------------------------------------- --
-- --
-- This is free software; you can redistribute it and/or --
-- modify it under the terms of the GNU General Public ... |
unittests/ASM/PrimaryGroup/2_D3_03_6.asm | cobalt2727/FEX | 628 | 98731 | <gh_stars>100-1000
%ifdef CONFIG
{
"RegData": {
"RBX": "0x8000000000000000",
"RDI": "0x0000000000000000",
"RDX": "0xC000000000000000",
"RSI": "0x4000000000000000",
"R8": "0x1",
"R9": "0x0",
"R10": "0x0",
"R11": "0x1"
}
}
%endif
mov rbx, 0x0000000000000001
mov rdi, 0x00000000000000... |
alloy4fun_models/trashltl/models/7/gi5ko7RXYoRhJGK4Y.als | Kaixi26/org.alloytools.alloy | 0 | 1028 | open main
pred idgi5ko7RXYoRhJGK4Y_prop8 {
always (some f : File | some f.link implies eventually f in Trash')
}
pred __repair { idgi5ko7RXYoRhJGK4Y_prop8 }
check __repair { idgi5ko7RXYoRhJGK4Y_prop8 <=> prop8o } |
x86/linux64.asm | lantonov/asm | 150 | 165549 | <reponame>lantonov/asm
struct timespec
tv_sec rq 1
tv_nsec rq 1
ends
; for stat stucture, see /usr/include/x86_64-linux-gnu/bits/stat.h
; it takes some work to unwind everything
struct stat ; offset of
st_dev rq 1 ; 0
st_ino rq 1 ; 8
st_nlink rq 1 ; 16
st_mode ... |
汇编语言/实验/exp2/4.asm | wine99/hfut-cs-assignments | 56 | 91105 | <filename>汇编语言/实验/exp2/4.asm
; Initialize the 20 bytes starting at DS:0000
; to 0cch and copy to into the next 20 bytes.
assume cs:code, ds:data
data segment
db 40 dup(10)
data ends
code segment
start:
mov ax, data
mov ds, ax
mov es, ax
cld
mov cx, 20
mov di, 0
mov al, 0cch
rep s... |
tools/assembler/forth/math.asm | Darkstrumn/HCTM | 4 | 162813 | dcode 1+,2,,INCR ; ( a -- a+1 )
pla
inc a
pha
nxt
dcode 1-,2,,DECR ; ( a -- a-1 )
pla
dec a
pha
nxt
dcode 2+,2,,INCRTWO ; ( a -- a+2 )
pla
inc a
inc a
pha
nxt
dcode 2-,2,,DECRTWO ; ( a -- a-2 )
pla
dec a
dec a
pha
nxt
dcode +,1,,ADD ; ( a b -- a+b )
pla
... |
Cutting.agda | pigworker/InteriorDesign | 6 | 9687 | <reponame>pigworker/InteriorDesign<filename>Cutting.agda
module Cutting where
open import Basics
open import Ix
open import All
record _|>_ (I O : Set) : Set1 where
field
Cuts : O -> Set
inners : {o : O} -> Cuts o -> List I
NatCut : Nat |> Nat
NatCut = record
{ Cuts = \ mn -> Sg Nat \ m -> Sg Nat \ n... |
Library/Shell/Buffer/bufferManager.asm | steakknife/pcgeos | 504 | 242840 | COMMENT @=====================================================================
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC/GEOS
MODULE: Iclas -- HugeFile
FILE: hugefileManager.asm
AUTHOR: <NAME>, September 23, 1992
REVISION HISTORY:
Name Date Description
---- ---- -----------
... |
cmstack/codegen/tabla/include/Tabla.g4 | he-actlab/cdstack | 1 | 4908 | <filename>cmstack/codegen/tabla/include/Tabla.g4<gh_stars>1-10
grammar Tabla;
/* scanner tokens */
MODEL_INPUT : 'model_input';
MODEL_OUTPUT : 'model_output';
MODEL : 'model';
GRADIENT : 'gradient';
ITERATOR : 'iterator';
ADD : '+';
SUB : '-';
LT : '<';
GT : '>';
MUL : '*';
PI : 'pi';
SUM : 'sum';
NORM : 'norm';
GAUSS... |
tools/scitools/conf/understand/ada/ada95/i-cobol.ads | brucegua/moocos | 1 | 5586 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
cpm2/RomWBW/Source/Apps/XM/xmdm125.asm | grancier/z180 | 0 | 97982 | <filename>cpm2/RomWBW/Source/Apps/XM/xmdm125.asm<gh_stars>0
;
; TITLE 'XMODEM ver. 12.5 - 07/13/86'
;
; XMDM125.ASM - REMOTE CP/M FILE TRANSFER PROGRAM
;
; Originally adapted from <NAME>en's MODEM2
; by <NAME>, W8SDZ
;
; ASEG ;Needed by M80 assemblers, comment out if using MAC
;
; This program allows a ... |
programs/oeis/076/A076826.asm | karttu/loda | 0 | 172398 | ; A076826: a(n) = 2*(Sum_{k=0..n} A010060(k)) - n, where A010060 is a Thue-Morse sequence.
; 0,1,2,1,2,1,0,1,2,1,0,1,0,1,2,1,2,1,0,1,0,1,2,1,0,1,2,1,2,1,0,1,2,1,0,1,0,1,2,1,0,1,2,1,2,1,0,1,0,1,2,1,2,1,0,1,2,1,0,1,0,1,2,1,2,1,0,1,0,1,2,1,0,1,2,1,2,1,0,1,0,1,2,1,2,1,0,1,2,1,0,1,0,1,2,1,0,1,2,1,2,1,0,1,2,1,0,1,0,1,2,1,2,1... |
programs/oeis/073/A073216.asm | neoneye/loda | 22 | 177858 | ; A073216: The terms of A055235 (sums of two powers of 3) divided by 2.
; 1,2,3,5,6,9,14,15,18,27,41,42,45,54,81,122,123,126,135,162,243,365,366,369,378,405,486,729,1094,1095,1098,1107,1134,1215,1458,2187
seq $0,131437 ; (A000012 * A131436) + (A131436 * A000012) - A000012.
mul $0,2
seq $0,32924 ; Numbers whose ternary... |
alloy4fun_models/trashltl/models/4/JuQ6ArYLBpt4CmjBe.als | Kaixi26/org.alloytools.alloy | 0 | 1128 | open main
pred idJuQ6ArYLBpt4CmjBe_prop5 {
always some f : File | eventually f not in File
}
pred __repair { idJuQ6ArYLBpt4CmjBe_prop5 }
check __repair { idJuQ6ArYLBpt4CmjBe_prop5 <=> prop5o } |
alloy4fun_models/trashltl/models/15/rwrGXzkvYiAWb8iNW.als | Kaixi26/org.alloytools.alloy | 0 | 3347 | <filename>alloy4fun_models/trashltl/models/15/rwrGXzkvYiAWb8iNW.als<gh_stars>0
open main
pred idrwrGXzkvYiAWb8iNW_prop16 {
always ((some Protected) implies (historically some Protected))
}
pred __repair { idrwrGXzkvYiAWb8iNW_prop16 }
check __repair { idrwrGXzkvYiAWb8iNW_prop16 <=> prop16o } |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_833.asm | ljhsiun2/medusa | 9 | 247886 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x19b9e, %rdi
nop
nop
nop
nop
add %r14, %r14
mov $0x6162636465666768, %rax
movq %rax, %xmm0
and $0xffffffffffffffc0, %rdi
movaps %xmm0, (%rdi)
nop
xo... |
cs61/assn6.asm | bmoya217/ucr | 0 | 166800 | ;=================================================
; Name: <NAME>
; Username: <EMAIL>
;
; Assignment name: assn1
; Lab section: 021
; TA: <NAME>
;
; I hereby certify that I have not recieved
; assistance on this assignment, or used code, from
; ANY outside source other than the instuction team.
;
;===================... |
ITS_Assembler/testSt.asm | RobertGageStroud/Portfolio | 0 | 169674 | <filename>ITS_Assembler/testSt.asm
;Test file for assembly of the ST instruction
;This is a comment
.orig xA000
st R0, L9
st R1, L8
st R2, L7
st R3, L6
st R4, L5
st R5, L4
st R6, L3
st R7, L2
st R0, L1
st R1, L0
L0 .fill 0
L1 .fill 0
L2 .fill 0
L3 .fill 0
L4 .fill 0
L5 .fill 0
L6 .fill 0
L7 .fill 0
L8 .fill... |
libsrc/_DEVELOPMENT/font/fzx/fonts/kk/_ff_kk_MagdalenaLatin1.asm | jpoikela/z88dk | 640 | 90501 |
SECTION rodata_font
SECTION rodata_font_fzx
PUBLIC _ff_kk_MagdalenaLatin1
_ff_kk_MagdalenaLatin1:
BINARY "font/fzx/fonts/kk/Magdalena_Latin1.fzx"
|
Task/Loops-Foreach/Ada/loops-foreach-1.ada | LaudateCorpus1/RosettaCodeData | 1 | 9799 | <reponame>LaudateCorpus1/RosettaCodeData
with Ada.Integer_Text_IO;
use Ada.Integer_Text_IO;
procedure For_Each is
A : array (1..5) of Integer := (-1, 0, 1, 2, 3);
begin
for Num in A'Range loop
Put( A (Num) );
end loop;
end For_Each;
|
programs/oeis/225/A225569.asm | karttu/loda | 0 | 102638 | <reponame>karttu/loda
; A225569: Decimal expansion of Sum_{n>=0} 1/10^(3^n), a transcendental number.
; 1,0,1,0,0,0,0,0,1,0,0,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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,... |
src/ordinal.agda | shinji-kono/zf-in-agda | 5 | 11160 | <reponame>shinji-kono/zf-in-agda<filename>src/ordinal.agda
open import Level
module ordinal where
open import logic
open import nat
open import Data.Nat renaming ( zero to Zero ; suc to Suc ; ℕ to Nat ; _⊔_ to _n⊔_ )
open import Data.Empty
open import Relation.Binary.PropositionalEquality
open import Relation.Binary... |
src/bootloader/stage1/disk.asm | StrBrkrs-NullException/NoolOS | 5 | 4372 | %ifndef _SOARE_DISK_ASM
%define _SOARE_DISK_ASM
CHS_cylinders db 0
CHS_heads db 0
CHS_sectors db 0
;IN:
;AX = LBA
;OUT:
;CHS variables = CHS
;cylinders = LBA / (sectors per track * head count)
;heads = (LBA / sectors per track) % head count
;sectors = (LBA % sectors per track) + 1
LBA2CHS:
push dx
xor dx, dx... |
agda/SelectSort/Everything.agda | bgbianchi/sorting | 6 | 9129 | open import Relation.Binary.Core
module SelectSort.Everything {A : Set}
(_≤_ : A → A → Set)
(tot≤ : Total _≤_)
(trans≤ : Transitive _≤_) where
open import SelectSort.Correctness.Order _≤_ tot≤ trans≤
open import SelectSort.Correctness.Permutation _≤_ tot≤
|
PIC/ParallelCom2/ParallelCOM2.asm | MrRomo/Rbot- | 1 | 167310 |
_main:
;ParallelCOM2.c,3 :: void main(){
;ParallelCOM2.c,4 :: TRISB=0x00;
CLRF TRISB+0
;ParallelCOM2.c,5 :: PORTB=0X00;
CLRF PORTB+0
;ParallelCOM2.c,6 :: TRISC=0x00;
CLRF TRISC+0
;ParallelCOM2.c,7 :: PORTC=0X38;
MOVLW 56
MOVWF PORTC+0
;ParallelCOM2.c,8 :: dela... |
src/nso-json-parameters_to_json.ads | SSOCsoft/Log_Reporter | 0 | 21401 | <reponame>SSOCsoft/Log_Reporter<gh_stars>0
Pragma Ada_2012;
With
Gnoga.Types;
--------------------------
-- PARAMETERS_TO_JSON --
--------------------------------------------------------------------------------
-- This function takes the parameters collected from an HTML Form and returns --
-- a result of the JSON ... |
P6/data_P6/testpoint/testpoint10.asm | alxzzhou/BUAA_CO_2020 | 1 | 4141 | <reponame>alxzzhou/BUAA_CO_2020
ori $1, $0, 1
ori $2, $0, 6
ori $3, $0, 0
ori $4, $0, 3
sw $3, 0($0)
sw $3, 4($0)
sw $3, 8($0)
sw $1, 12($0)
sw $2, 16($0)
sw $2, 20($0)
sw $3, 24($0)
sw $1, 28($0)
sw $1, 32($0)
sw $3, 36($0)
sw $3, 40($0)
sw $4, 44($0)
sw $4, 48($0)
sw $2, 52($0)
sw $4, 56($0)
sw $1,... |
src/Relation/Ternary/Separation/Monad/Reader.agda | laMudri/linear.agda | 34 | 2164 | <filename>src/Relation/Ternary/Separation/Monad/Reader.agda
module Relation.Ternary.Separation.Monad.Reader where
open import Level
open import Function using (_∘_; case_of_)
open import Relation.Binary.PropositionalEquality using (refl)
open import Relation.Unary
open import Relation.Unary.PredicateTransformer using ... |
src/main/antlr/io/georocket/index/Properties.g4 | tobias93/georocket | 0 | 3515 | grammar Properties;
@header {
package io.georocket.index;
import org.apache.commons.text.StringEscapeUtils;
import io.georocket.query.ThrowingErrorListener;
}
@members {
public static java.util.Map<String, Object> parse(String properties) {
PropertiesLexer lexer = new PropertiesLexer(CharStreams.fromString(prop... |
src/Recursion-without-rec.agda | nad/chi | 2 | 10087 | <filename>src/Recursion-without-rec.agda
------------------------------------------------------------------------
-- The rec construction can be encoded using λ-terms
------------------------------------------------------------------------
module Recursion-without-rec where
open import Equality.Propositional.Cubical
... |
oeis/147/A147965.asm | neoneye/loda-programs | 11 | 27524 | <gh_stars>10-100
; A147965: a(n) = n + 1 - A001223(n) = n - A046933(n). In words, a(n) is the difference between n+1 and the n-th gap between primes.
; 1,1,2,1,4,3,6,5,4,9,6,9,12,11,10,11,16,13,16,19,16,19,18,17,22,25,24,27,26,17,28,27,32,25,34,31,32,35,34,35,40,33,42,41,44,35,36,45,48,47,46,51,44,49,50,51,56,53,56,59
... |
Interprete/ANTLR/ChemsLexer.g4 | bram814/-OLC2-P1_201800937 | 0 | 2130 | lexer grammar ChemsLexer;
// Tokens
/* RESERVADAS */
R_PRINT: 'print!';
R_PRINTLN: 'println!';
P_NUMBER: 'number';
R_AS_DOUBLE: 'as f64';
R_AS_INTEGER: 'as i64';
R_LET: 'let';
R_MUT: 'mut';
R_IF: 'if';
R_ELSE: 'else';
R_MATCH: 'match';
R_WHILE: ... |
alloy4fun_models/trashltl/models/0/Z8wyAzBirEoChfRtu.als | Kaixi26/org.alloytools.alloy | 0 | 1202 | open main
pred idZ8wyAzBirEoChfRtu_prop1 {
no Trash
}
pred __repair { idZ8wyAzBirEoChfRtu_prop1 }
check __repair { idZ8wyAzBirEoChfRtu_prop1 <=> prop1o } |
oeis/057/A057092.asm | neoneye/loda-programs | 11 | 102652 | ; A057092: Scaled Chebyshev U-polynomials evaluated at i*3/2. Generalized Fibonacci sequence.
; Submitted by <NAME>
; 1,9,90,891,8829,87480,866781,8588349,85096170,843160671,8354311569,82777250160,820184055561,8126651751489,80521522263450,797833566134451,7905195795581109,78327264255440040,776092140459190341,76897746424... |
unittests/32Bit_ASM/X87/D9_EE.asm | cobalt2727/FEX | 628 | 164390 | %ifdef CONFIG
{
"RegData": {
"MM7": ["0", "0"]
},
"Mode": "32BIT"
}
%endif
fldz
hlt
|
Working Disassembly/Levels/ICZ/Misc Object Data/Map - Miniboss.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 5 | 166036 | <reponame>TeamASM-Blur/Sonic-3-Blue-Balls-Edition<gh_stars>1-10
Map_363344: dc.w Frame_363362-Map_363344
dc.w Frame_36337C-Map_363344
dc.w Frame_363384-Map_363344
dc.w Frame_36338C-Map_363344
dc.w Frame_36339A-Map_363344
dc.w Frame_3633A8-Map_363344
dc.w Frame_3633B0-Map_363344
dc.w Frame_3633B8-Map_36334... |
ejercicios1/factorial.adb | iyan22/AprendeAda | 0 | 2930 | <reponame>iyan22/AprendeAda<gh_stars>0
with ada.text_io, ada.integer_text_io;
use ada.text_io, ada.integer_text_io;
function factorial (n1: in Integer) return Integer is
resultado : Integer := 1;
n1c := Integer;
begin
n1c := n1;
if n1c > 0 then
loop exit when n1c = 0;
resultado:=resultado*n1c;
n1c :=... |
programs/oeis/178/A178248.asm | neoneye/loda | 22 | 243509 | <reponame>neoneye/loda
; A178248: a(n) = 12^n + 1.
; 2,13,145,1729,20737,248833,2985985,35831809,429981697,5159780353,61917364225,743008370689,8916100448257,106993205379073,1283918464548865,15407021574586369,184884258895036417,2218611106740436993,26623333280885243905,319479999370622926849,3833759992447475122177,4600511... |
commands/media/apple-music/apple-music-next.applescript | kastnerorz/script-commands | 1 | 3746 | <filename>commands/media/apple-music/apple-music-next.applescript
#!/usr/bin/osascript
# @raycast.schemaVersion 1
# @raycast.title Next
# @raycast.mode silent
# @raycast.author <NAME>
# @raycast.authorURL https://github.com/crstauf
# @raycast.description Next track in Music
# @raycast.packageName Music
# @raycast.icon... |
programs/oeis/074/A074609.asm | neoneye/loda | 22 | 90918 | ; A074609: a(n) = 3^n + 8^n.
; 2,11,73,539,4177,33011,262873,2099339,16783777,134237411,1073800873,8590111739,68720008177,549757408211,4398051294073,35184386437739,281475019757377,2251799942825411,18014398896902473,144115189238117339
mov $1,8
pow $1,$0
mov $2,3
pow $2,$0
add $1,$2
mov $0,$1
|
tpantlr2-code/code/reference/Nested.g4 | cgonul/antlr-poc | 25 | 6302 | <filename>tpantlr2-code/code/reference/Nested.g4<gh_stars>10-100
grammar Nested;
import G1, G2;
s : X ;
|
oeis/157/A157803.asm | neoneye/loda-programs | 11 | 1079 | ; A157803: 8984250*n - 8464830.
; 519420,9503670,18487920,27472170,36456420,45440670,54424920,63409170,72393420,81377670,90361920,99346170,108330420,117314670,126298920,135283170,144267420,153251670,162235920,171220170,180204420,189188670,198172920,207157170,216141420,225125670,234109920,243094170,252078420,261062670,2... |
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_6480_1585.asm | ljhsiun2/medusa | 9 | 15517 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x3b2c, %rax
nop
nop
nop
nop
nop
and $52214, %rbx
vmovups (%rax), %ymm7
vextracti128 $1, %ymm7, %xmm7
vpextrq $0, %xmm7, %rsi
nop
nop
nop
nop
dec %rbx
lea addresses_D_... |
examples/signals/signal_example.adb | glencornell/ada-object-framework | 0 | 3019 | with Aof.Core.Root_Objects;
with Aof.Core.Generic_Signals;
with Aof.Core.Signals;
with Slots;
-- In this example, we will create two signals, one with no arguments
-- and another with one argument. We use the "Connect" method to
-- connect a slot (A.K.A. callback) to a signal. We then invoke the
-- signal's "Emi... |
solutions/43 - Multiplication Table/size-10_speed-48.asm | michaelgundlach/7billionhumans | 45 | 179475 | -- 7 Billion Humans (2087) --
-- 43: Multiplication Table --
-- Author: landfillbaby
-- Size: 10
-- Speed: 48
a:
step n
if c != nothing or
s == nothing:
jump a
endif
mem1 = nearest datacube
b:
mem2 = calc mem2 + mem1
step s
pickup c
write mem2
drop
jump b |
examples/simple_example.adb | jhumphry/aLua | 0 | 28077 | -- Simple_Example
-- A simple example of using the Ada 2012 interface to Lua
-- Copyright (c) 2015, <NAME> - see LICENSE for terms
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Long_Float_Text_IO; use Ada.Long_Float_Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
with Lua; use Lua;
with Lua.Util; use Lua.U... |
oeis/168/A168623.asm | neoneye/loda-programs | 11 | 86780 | <reponame>neoneye/loda-programs
; A168623: Table T(n,k) read by rows: Coefficients [x^k] of the polynomial 9*(x+1)^n -8*(x^n+1); T(0,0)=1.
; Submitted by <NAME>(s1.)
; 1,1,1,1,18,1,1,27,27,1,1,36,54,36,1,1,45,90,90,45,1,1,54,135,180,135,54,1,1,63,189,315,315,189,63,1,1,72,252,504,630,504,252,72,1,1,81,324,756,1134,1134... |
oeis/158/A158667.asm | neoneye/loda-programs | 11 | 93110 | <gh_stars>10-100
; A158667: 841*n^2 - 29.
; 812,3335,7540,13427,20996,30247,41180,53795,68092,84071,101732,121075,142100,164807,189196,215267,243020,272455,303572,336371,370852,407015,444860,484387,525596,568487,613060,659315,707252,756871,808172,861155,915820,972167,1030196,1089907,1151300,1214375,1279132,1345571,1413... |
data/pokemon/base_stats/weezing.asm | opiter09/ASM-Machina | 1 | 12230 | db DEX_WEEZING ; pokedex id
db 65, 90, 120, 60, 85
; hp atk def spd spc
db POISON, POISON ; type
db 60 ; catch rate
db 173 ; base exp
INCBIN "gfx/pokemon/front/weezing.pic", 0, 1 ; sprite dimensions
dw WeezingPicFront, WeezingPicBack
db TACKLE, SMOG, POISON_GAS, NO_MOVE ; level 1 learnset
db GRO... |
libsrc/_DEVELOPMENT/adt/wa_priority_queue/c/sccz80/wa_priority_queue_top.asm | meesokim/z88dk | 0 | 169387 |
; void *wa_priority_queue_top(wa_priority_queue_t *q)
SECTION code_adt_wa_priority_queue
PUBLIC wa_priority_queue_top
wa_priority_queue_top:
INCLUDE "adt/wa_priority_queue/z80/asm_wa_priority_queue_top.asm"
|
source/asis/spec/system-address_to_access_conversions.ads | faelys/gela-asis | 4 | 910 | ------------------------------------------------------------------------------
-- A d a r u n - t i m e s p e c i f i c a t i o n --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org --
-- ... |
src/coreclr/vm/arm/thunktemplates.asm | berkansasmaz/runtime | 8 | 19086 | ; Licensed to the .NET Foundation under one or more agreements.
; The .NET Foundation licenses this file to you under the MIT license.
#include "ksarm.h"
#include "asmconstants.h"
#include "asmmacros.h"
TEXTAREA
ALIGN 4
#define DATA_SLOT(stub, field) stub##Code + PAGE_SIZE + stub##Data__##field
LE... |
ada-blinky-full/src/morse.adb | hfegran/efx32_ada_examples | 0 | 29975 | <reponame>hfegran/efx32_ada_examples
package body Morse is
Dot_Duration : constant Time_Span := Milliseconds(100);
Dash_Duration : constant Time_Span := Milliseconds(200);
procedure Blink_Morse(LED: Led_No; Led_Color : Color; Duration : Time_Span) is
Timeout : Time := Clock;
begin
Led_Set(... |
Task/Walk-a-directory-Non-recursively/AppleScript/walk-a-directory-non-recursively-3.applescript | LaudateCorpus1/RosettaCodeData | 1 | 3670 | tell application "Finder" to return name of every item in (path to documents folder from user domain) whose name does not contain "about" and name ends with "pdf"
--> RETURNS: {"Test.pdf"}
|
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-aomoar.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 4955 | <filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-aomoar.adb
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
Library/Kernel/IM/imPen.asm | steakknife/pcgeos | 504 | 242066 | <reponame>steakknife/pcgeos
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: Config
MODULE:
FILE: imPen.asm
AUTHOR: <NAME>, Nov 15, 1991
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
... |
extern/game_support/stm32f4/src/stm32f4.ads | AdaCore/training_material | 15 | 19329 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Hardware Abstraction Layer for STM32 Targets --
-- ... |
Experiment/Outrageous/#02.agda | rei1024/agda-misc | 3 | 13852 | {-# OPTIONS --without-K --safe #-}
-- https://personal.cis.strath.ac.uk/conor.mcbride/pub/DepRep/DepRep.pdf
module Experiment.Outrageous.#02 where
data Zero : Set where
magic : Zero → (X : Set) → X
magic ()
record 𝟏 : Set where
constructor void
data 𝟐 : Set where
tt : 𝟐
ff : 𝟐
If : 𝟐 → Set → Set → Set
If ... |
kill.asm | sparsh99/xv6 | 0 | 88450 | <filename>kill.asm
_kill: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char **argv)
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ec... |
alloy4fun_models/trashltl/models/17/ouGMhazjAtaXbmEXi.als | Kaixi26/org.alloytools.alloy | 0 | 3895 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idouGMhazjAtaXbmEXi_prop18 {
all p: Protected | p in Protected until p in Trash
}
pred __repair { idouGMhazjAtaXbmEXi_prop18 }
check __repair { idouGMhazjAtaXbmEXi_prop18 <=> prop18o } |
programs/oeis/154/A154990.asm | karttu/loda | 0 | 167312 | <reponame>karttu/loda<gh_stars>0
; A154990: Triangle read by rows. Main diagonal is positive. The rest of the terms are negative.
; 1,-1,1,-1,-1,1,-1,-1,-1,1,-1,-1,-1,-1,1,-1,-1,-1,-1,-1,1,-1,-1,-1,-1,-1,-1,1,-1,-1,-1,-1,-1,-1,-1,1,-1,-1,-1,-1,-1,-1,-1,-1,1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1,-... |
racket/src/worksp/libffi/win32.asm | lkh01/racket | 4 | 81962 | <gh_stars>1-10
#ifdef _WIN64
# include "../../foreign/libffi/src/x86/win64.S"
#else
# include "../../foreign/libffi/src/x86/win32.S"
#endif
|
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0x48_notsx.log_21829_1642.asm | ljhsiun2/medusa | 9 | 176102 | .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_normal_ht+0x5cb3, %rbx
dec %rdx
mov $0x6162636465666768, %rsi
movq %rsi, %xmm2
and $0xffffffffffffffc0, %rbx
vmovntdq %ymm2, (%rbx)
nop
nop
sub %rbp, %rbp
lea addresses_D_ht+0x13865... |
source/slim-messages-strm.ads | reznikmm/slimp | 0 | 6682 | <reponame>reznikmm/slimp<gh_stars>0
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with GNAT.Sockets;
with League.Strings;
with League.String_Vectors;
package Slim.Messages.strm is
type Strm_Me... |
programs/oeis/085/A085003.asm | karttu/loda | 0 | 162395 | <reponame>karttu/loda<gh_stars>0
; A085003: Partial sums of A085002.
; 1,2,2,2,2,3,4,4,4,4,5,6,7,7,7,8,9,10,10,10,11,12,13,13,13,13,14,15,15,15,15,16,17,18,18,18,19,20,21,21,21,22,23,24,24,24,24,25,26,26,26,26,27,28,28,28,28,29,30,31,31,31,32,33,34,34,34,34,35,36,36,36,36,37,38,38,38,38,39,40,41,41,41,42,43,44,44,44,44... |
libsrc/spectrum/if1/if1_from_mdv.asm | grancier/z180 | 0 | 160054 | <filename>libsrc/spectrum/if1/if1_from_mdv.asm
;
; ZX IF1 & Microdrive functions
;
; int i1_from_mdv()
;
; returns TRUE if the current program
; has been loaded from the microdrive
;
; $Id: if1_from_mdv.asm,v 1.4 2017/01/03 01:40:06 aralbrec Exp $
;
SECTION code_clib
PUBLIC if1_from_mdv
PUBLIC _if1_from_mdv
... |
tests/devices/incbin80k/incbin80k.asm | cizo2000/sjasmplus | 220 | 169209 | <reponame>cizo2000/sjasmplus
DEVICE ZXSPECTRUMNEXT : SLOT 7 : LABELSLIST "incbin80k.lbl"
; incbin80k.bin is from offset 2 letters 'a' to 't' with linux newlines (byte 10)
; for each letter, there's 80 of them + newline, repeated 51 times
; such one letter block = 51*81 = 4131 bytes (just over 4ki), ther... |
vendor/stdlib/src/Category/Monad/Identity.agda | isabella232/Lemmachine | 56 | 12769 | <reponame>isabella232/Lemmachine
------------------------------------------------------------------------
-- The identity monad
------------------------------------------------------------------------
module Category.Monad.Identity where
open import Category.Monad
Identity : Set → Set
Identity A = A
IdentityMonad :... |
misc/sum.asm | a1393323447/x86-Assambely | 3 | 21836 | <reponame>a1393323447/x86-Assambely<gh_stars>1-10
; loop指令: 使用 cx 设置循环次数, 会自动将 cx 减一
; 标号:
; (循环体)...
; loop 标号
; 设定循环次数
mov cx, 100
; 初始化 ax
mov ax, 0x0000
; 循环
sum:
add ax, cx
loop sum
jmp $
times 510-($-$$) db 0
db 0x55, 0xaa |
test/epic/tests/Coind.agda | larrytheliquid/agda | 0 | 9001 | <filename>test/epic/tests/Coind.agda
{-# OPTIONS --universe-polymorphism #-}
module tests.Coind where
open import Prelude.IO
open import Prelude.Level
open import Prelude.Nat
open import Prelude.Unit
infix 1000 ♯_
postulate
∞ : ∀ {a} (A : Set a) → Set a
♯_ : ∀ {a} {A : Set a} → A → ∞ A
♭ : ∀ {a} {A : Set a} ... |
src/kernel/arch/aarch32/asm/utils.asm | aryanmaurya1/ArvernOS | 77 | 240451 | <gh_stars>10-100
.global get_el
get_el:
mrs r1, cpsr
and r0, r1, #0x1f
bx lr
|
test/json.applescript | leonzalion/parse-applescript | 0 | 2202 | -- https://github.com/KAYLukas/applescript-json/blob/master/json.applescript
on decodeWithDicts(value)
set value to replaceString(value, "\\", "\\\\")
set s to "import json, sys, codecs" & return
set s to s & "sys.stdin = codecs.getreader('utf8')(sys.stdin)" & return
set s to s & "def toAppleScript(pythonValue):" ... |
examples/src/rrclient.adb | sonneveld/adazmq | 0 | 23094 | <gh_stars>0
-- Hello World client
-- Connects REQ socket to tcp://localhost:5559
-- Sends "Hello" to server, expects "World" back
with Ada.Command_Line;
with Ada.Text_IO;
with GNAT.Formatted_String;
with Ada.Calendar;
with ZMQ;
procedure RRClient is
use type Ada.Calendar.Time;
use type GNAT.Formatted_Strin... |
Categories/Morphism/Indexed.agda | copumpkin/categories | 98 | 935 | {-# OPTIONS --universe-polymorphism #-}
open import Categories.Category
open import Categories.Support.Equivalence
module Categories.Morphism.Indexed {o ℓ e c q} (C : Category o ℓ e) (B : Setoid c q) where
open import Level using (_⊔_)
open import Data.Product as P using (_,_; _×_)
open import Function as F using () ... |
oeis/268/A268458.asm | neoneye/loda-programs | 11 | 85047 | <filename>oeis/268/A268458.asm
; A268458: Number of length-4 0..n arrays with no adjacent pair x,x+1 followed at any distance by x+1,x.
; 11,67,229,581,1231,2311,3977,6409,9811,14411,20461,28237,38039,50191,65041,82961,104347,129619,159221,193621,233311,278807,330649,389401,455651,530011,613117,705629,808231,921631,104... |
tests/tinsboot-0001.asm | mras0/sasm | 26 | 3354 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; INSBOOT.COM - Command line utility to install ;;
;; a bootloader from a raw binary. ;;
;; ;;
;; Copyright 2019 <NAME> ;;
;; See LICENSE.md for details ;;
;;;;;;;;;;;;;... |
Transynther/x86/_processed/NC/_zr_/i7-8650U_0xd2_notsx.log_170_458.asm | ljhsiun2/medusa | 9 | 90500 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r15
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x16d12, %rsi
lea addresses_normal_ht+0x6f6e, %rdi
nop
nop
nop
dec %r13
mov $9, %rcx
rep movsb
nop
nop
add %rcx, %rcx
lea addresses_WC_ht+0x12c06, %r10
nop
nop
nop
cmp $57564, ... |
audio/music/halloffame.asm | adhi-thirumala/EvoYellow | 16 | 5041 | Music_HallOfFame_Ch1::
tempo 112
volume 7, 7
duty 3
vibrato 12, 2, 2
toggleperfectpitch
notetype 12, 11, 3
rest 16
rest 16
rest 16
rest 12
octave 3
D_ 1
E_ 1
F_ 1
F# 1
Music_HallOfFame_branch_7fbc5::
notetype 12, 8, 0
octave 4
C_ 16
E_ 16
F# 16
notetype 12, 6, 0
F_ 16
loopchannel 3, Music_HallOf... |
oeis/260/A260415.asm | neoneye/loda-programs | 11 | 101184 | <gh_stars>10-100
; A260415: Expansion of f(x, x^2) * f(x^4, x^8) in powers of x where f(,) is Ramanujan's general theta function.
; Submitted by <NAME>
; 1,1,1,0,1,2,1,1,1,2,1,1,1,1,0,2,1,0,0,1,2,1,2,1,0,1,2,1,1,1,3,0,1,1,1,3,0,0,0,1,2,0,1,2,1,0,1,0,2,1,2,1,0,1,1,3,0,1,0,1,3,2,1,2,0,2,0,1,1,0,2,1,1,0,2,1,0,2,1,1,0,1,1,... |
antlr/antlr_study/Expr.g4 | LightSun/tool_plugin_study | 0 | 4855 | <reponame>LightSun/tool_plugin_study
grammar Expr;
//语句
stat: expr
|NEWLINE
;
//表达式
/**
语法规定第一个字母小写
词法规定第一个字母大写
*/
expr : multExpr (('+'|'-') multExpr)*
;
multExpr : atom (('*'|'/') atom)*
;
atom: '(' expr ')'
| INT
| ID
;
//token定义
/**
ID表示变量
INT表示常量
换行符 NEWLINE 和空格 WS
*/
ID : ... |
Cubical/HITs/Ints/IsoInt/Base.agda | dan-iel-lee/cubical | 0 | 967 | {-
The naive, but incorrect, way to define the integers as a HIT.
This file mainly contains a proof that IsoInt ≢ Int, and ends with a
demonstration of how the same proof strategy fails for BiInvInt.
-}
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.HITs.Ints.IsoInt.Base where
open import Cubica... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.