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 |
|---|---|---|---|---|
alloy4fun_models/trashltl/models/16/eEBMRPZZA3LskGFXg.als | Kaixi26/org.alloytools.alloy | 0 | 1884 | open main
pred ideEBMRPZZA3LskGFXg_prop17 {
always File' = File - File & Trash
}
pred __repair { ideEBMRPZZA3LskGFXg_prop17 }
check __repair { ideEBMRPZZA3LskGFXg_prop17 <=> prop17o } |
LICENSE.agda | boystrange/FairSubtypingAgda | 4 | 6285 | <filename>LICENSE.agda
-- MIT License
-- Copyright (c) 2021 <NAME> and <NAME>
-- Permission is hereby granted, free of charge, to any person
-- obtaining a copy of this software and associated documentation
-- files (the "Software"), to deal in the Software without
-- restriction, including without limitation the rig... |
src/main/antlr/KismetLexer.g4 | astralarya/kismet-antlr | 0 | 6824 | // Kismet Grammar
lexer grammar KismetLexer;
// Lexer
LBRACE : '{' ;
RBRACE : '}' ;
LBRACKET : '[' ;
RBRACKET : ']' ;
LPAREN : '(' ;
RPAREN : ')' ;
SEMICOLON : ';' ;
COMMA : ',' ;
ASSIGN : '=' ;
ELLIPSIS : '...' ;
DOT : '.' ;
NOT : '!' ;
PLUS : '+' ;
MINUS : '-' ;
TIMES : '*' ;
DIV : '/' ;
IDIV : '//' ;
MOD : '%' ;
... |
oeis/098/A098695.asm | neoneye/loda-programs | 11 | 86068 | ; A098695: a(n) = 2^(n(n-1)/2) * Product_{k=1..n} k!.
; Submitted by <NAME>
; 1,1,4,96,18432,35389440,815372697600,263006617337856000,1357366631815981301760000,126095668058466123464363212800000,234278891648287676839670388023623680000000
mov $1,1
mov $2,2
mov $4,23
lpb $0
mov $3,$2
add $2,1
mul $4,$1
lpb $3
... |
source/RASCAL-WimpTask.adb | bracke/Meaning | 0 | 29792 | --------------------------------------------------------------------------------
-- --
-- Copyright (C) 2004, RISC OS Ada Library (RASCAL) developers. --
-- ... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1633.asm | ljhsiun2/medusa | 9 | 172139 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r8
push %r9
push %rsi
lea addresses_A_ht+0x18f59, %r8
nop
nop
nop
nop
sub %r9, %r9
movb $0x61, (%r8)
nop
nop
nop
cmp %rsi, %rsi
pop %rsi
pop %r9
pop %r8
pop %r15
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r15
push ... |
theorems/homotopy/EilenbergMacLaneFunctor.agda | AntoineAllioux/HoTT-Agda | 294 | 15611 | {-# OPTIONS --without-K --rewriting #-}
open import HoTT
open import homotopy.EM1HSpace
open import homotopy.EilenbergMacLane
open import homotopy.EilenbergMacLane1
open import homotopy.EM1HSpace
open import homotopy.EM1HSpaceAssoc
module homotopy.EilenbergMacLaneFunctor where
open EMExplicit
module _ {i j} {G : Gr... |
firmware/data.asm | ddomurad/avrVideoCard | 0 | 169496 | <gh_stars>0
.include "./glyphs/glyphs1.asm"
; .include "./glyphs/der_rouge.asm"
; .include "./glyphs/glyphs2.asm"
; .include "./glyphs/glyphs3.asm"
; .include "./glyphs/glyphs4.asm"
; .include "./glyphs/glyphs5.asm"
; .include "./glyphs/glyphs6.asm"
; .include "./glyphs/glyphs7a.asm"
; .include "./glyphs/glyphs7b.asm"
... |
programs/oeis/053/A053735.asm | karttu/loda | 0 | 82735 | <reponame>karttu/loda<filename>programs/oeis/053/A053735.asm
; A053735: Sum of digits of (n written in base 3).
; 0,1,2,1,2,3,2,3,4,1,2,3,2,3,4,3,4,5,2,3,4,3,4,5,4,5,6,1,2,3,2,3,4,3,4,5,2,3,4,3,4,5,4,5,6,3,4,5,4,5,6,5,6,7,2,3,4,3,4,5,4,5,6,3,4,5,4,5,6,5,6,7,4,5,6,5,6,7,6,7,8,1,2,3,2,3,4,3,4,5,2,3,4,3,4,5,4,5,6,3,4,5,4,... |
code/selection_sort.asm | Masrt200/asm-disasm | 0 | 169931 | ; Selection sort in Assembly
; <NAME>
; 25-05-21
; OP program success
SECTION .data
SYS_EXIT equ 60
EXIT_SUCCESS equ 0
;list1 dw 55,11,20,36,84,7,40
;len1 dw 7
list2 dw 26, 23, 50, 85, 45, 90, 65, 18, 87, 92, 34, 97, 65, 91, 33,2
len2 dw 16
avg dw 0
min dw 0
max dw 0
med dw 0
sum dw 0
;list3 dw 15, 80, 72, 52, 49, 1... |
initcode.asm | dylsugar/cs461_hw6 | 0 | 8892 |
initcode.o: file format elf64-x86-64
Disassembly of section .text:
0000000000000000 <start>:
#include "traps.h"
# exec(init, argv)
.global start
start:
mov $init, %rdi
0: 48 c7 c7 00 00 00 00 mov $0x0,%rdi
mov $argv, %rsi
7: 48 c7 c6 00 00 00 00 mov $0x0,%rsi
mov $SYS_exec, %rax
e: 48 c7... |
colombian_direction_grammar.g4 | jeanpah/colombian_address_autocomplete | 0 | 2137 | <filename>colombian_direction_grammar.g4
grammar colombian_direction_grammar;
addess : STARTS S2 CONST BIS? S2 NUMBERSYMBOL S2 CONST BIS? S2 DASHSYMBOL S2 CONST (S2 extra)?;
extra:
ENDERS |
ENDERS S2 complement (S2 complement)* |
complement (S2 complement)*;
complement : UNITY S2 WORD;
CONST:[0-9]+[a-z]?... |
examples/ada/successeur/launch.adb | rewriting/tom | 36 | 17828 | with Ada.Text_IO; use Ada.Text_IO;
with Successeur; use Successeur;
procedure launch is
begin
Put_Line ("2+3 =" & Integer'Image(plus(2, 3)));
end Launch;
|
src/unison/test/problematic/Mips/speed/gcc.insn-output.output_51.asm | Patstrom/disUnison | 88 | 17272 | <reponame>Patstrom/disUnison
.text
.abicalls
.section .mdebug.abi32,"",@progbits
.nan legacy
.file "gcc.insn-output.output_51.ll"
.text
.hidden output_51
.globl output_51
.align 2
.type output_51,@function
.set nomicromips
.set nomips16
.ent output_51
output_51: # @output_51
.... |
src/test/ref/examples/c64/multiplexer/simple-multiplexer.asm | jbrandwood/kickc | 2 | 13802 | <filename>src/test/ref/examples/c64/multiplexer/simple-multiplexer.asm
// A simple usage of the flexible sprite multiplexer routine
/// @file
/// Commodore 64 Registers and Constants
/// @file
/// The MOS 6526 Complex Interface Adapter (CIA)
///
/// http://archive.6502.org/datasheets/mos_6526_cia_recreated.pdf
// Com... |
programs/oeis/315/A315034.asm | karttu/loda | 0 | 87028 | <gh_stars>0
; A315034: Coordination sequence Gal.6.323.2 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; 1,5,9,15,19,25,29,35,39,45,49,54,59,63,69,73,79,83,89,93,99,103,108,113,117,123,127,133,137,143,147,153,157,162,167,171,177,181,... |
lib/scripts/check_state.itunes.applescript | swdotcom/music | 11 | 4369 | if application "iTunes" is running then
return true
else
return false
end if |
initramfs/src/init/main.asm | lodvaer/YHBT | 2 | 172161 | ;; /sbin/init
SYS_WRITE = 1
stdout = 1
use64
org 2000000h
start:
xchg bx, bx
mov rdi, stdout
mov rsi, txt
mov rdx, txt.length
mov rax, SYS_WRITE
syscall
.loop:
rep nop
jmp .loop
txt: db '"Hello, world!" from luserspace!', 10
txt.length = $ - txt
; vim: ts=8 sw=8 syn=fasm
|
oeis/214/A214283.asm | neoneye/loda-programs | 11 | 17906 | ; A214283: Smallest Euler characteristic of a downset on an n-dimensional cube.
; 0,-1,-2,-3,-4,-10,-20,-35,-56,-126,-252,-462,-792,-1716,-3432,-6435,-11440,-24310,-48620,-92378,-167960,-352716,-705432,-1352078,-2496144,-5200300,-10400600,-20058300,-37442160,-77558760,-155117520,-300540195,-565722720,-1166803110,-23336... |
oeis/142/A142180.asm | neoneye/loda-programs | 11 | 167159 | ; A142180: Primes congruent to 35 mod 39.
; Submitted by <NAME>
; 113,191,269,347,503,659,971,1049,1283,1361,1439,1907,2063,2141,2297,2531,2609,2687,2843,2999,3389,3467,3623,3701,3779,4013,4091,4481,4637,4793,4871,5261,5417,5573,5651,5807,6197,6353,6899,6977,7211,7523,7757,8069,8147,8537,8693,8849,9161,9239,9473,9551,9... |
Scripts Pack Source Items/Scripts Pack/Finder/Show POSIX Path.applescript | Phorofor/ScriptsPack.macOS | 1 | 1612 | <gh_stars>1-10
# Scripts Pack - Tweak various preference variables in macOS
# <Phorofor, https://github.com/Phorofor/>
-- Will show path of folder on the title bar instead the name of the folder (POISX Path)
-- Show POSIX Path for Finder
-- Versions compatible: --
-- Preference Identifier: com.apple.finder
-- Prefer... |
src/EqBool.agda | mckeankylej/agda-ring-solver | 36 | 14372 | {-# OPTIONS --without-K --safe #-}
module EqBool where
open import Data.Bool
record HasEqBool {a} (A : Set a) : Set a where
field _==_ : A → A → Bool
open HasEqBool ⦃ ... ⦄ public
open import Data.List as List using (List; _∷_; [])
==[] : ∀ {a} {A : Set a} → ⦃ _ : HasEqBool A ⦄ → List A → List A → Bool
==[] [] ... |
test/Succeed/Issue2558.agda | shlevy/agda | 2 | 12830 | -- Andreas, 2017-04-28, issue #2558 reported by <NAME>
-- Size solver assumed invariants that do not hold.
open import Common.Size
data Con (i : Size) : Set where
c : {j : Size< i} → Con i -- needed
postulate
Tms : {i j : Size} → Con i → Con j → Set
Ty : (i : Size) {j : Size< i} → Con j → Set
sub : ∀{i}{j... |
programs/oeis/173/A173044.asm | neoneye/loda | 22 | 94838 | <filename>programs/oeis/173/A173044.asm<gh_stars>10-100
; A173044: Product plus sum of five consecutive nonnegative numbers.
; 10,135,740,2545,6750,15155,30280,55485,95090,154495,240300,360425,524230,742635,1028240,1395445,1860570,2441975,3160180,4037985,5100590,6375715,7893720,9687725,11793730,14250735,17100860,203894... |
PIC/parity_checker.asm | StxGuy/EmbeddedSystems | 0 | 10245 | ;-----------------------------;
; PARITY CHECKER FOR PIC ;
; ;
; Por: Prof. <NAME> ;
; 26/Ago/2020 ;
;-----------------------------;
list p = 16f877a ; Specify processor
include <p16f877a.inc> ; Include mapping
mem equ 0x20 ; byte to be tested
counter equ 0x21 ;... |
projects/04/mult/mult.asm | zoenolan/NAND2Tetris | 0 | 80674 | <gh_stars>0
// This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by <NAME>, MIT Press.
// File name: projects/04/Mult.asm
// Multiplies R0 and R1 and stores the result in R2.
// (R0, R1, R2 refer to RAM[0], RAM[1], and RAM[2], respectively.)
// Zero the sum
@R2
M=0
// Se... |
oeis/281/A281166.asm | neoneye/loda-programs | 11 | 175158 | <gh_stars>10-100
; A281166: a(n) = 3*a(n-1) - 3*a(n-2) + 2*a(n-3) for n>2, a(0)=a(1)=1, a(2)=3.
; Submitted by <NAME>(s1.)
; 1,1,3,8,17,33,64,127,255,512,1025,2049,4096,8191,16383,32768,65537,131073,262144,524287,1048575,2097152,4194305,8388609,16777216,33554431,67108863,134217728,268435457,536870913,1073741824,2147483... |
src/gui.input.keyboard_scan.asm | defame-demogroup/c64_plasmatoy2 | 0 | 165051 | <filename>src/gui.input.keyboard_scan.asm
#importonce
/******************************************************************
ZERO PAGE
******************************************************************/
.const ScanResult = $50 // 8 bytes
.const BufferNew = $58 // 3 bytes
.const KeyQuantity = $5b ... |
test/Fail/Issue1137.agda | shlevy/agda | 3 | 13843 | <filename>test/Fail/Issue1137.agda
-- We ban termination pragmas inside `where` clauses.
module Issue1137 where
postulate
A : Set
a : A
foo : A
foo = bar
where
{-# TERMINATING #-}
bar : A
bar = bar
|
slae64/module1/part22/main.asm | Bigsby/slae | 0 | 163162 | <filename>slae64/module1/part22/main.asm<gh_stars>0
global _start
section .text
_start:
; Memory to memory
cld ; clear direction flag
lea rsi, [message]
lea rdi, [copy]
movsq
cld
lea rsi, [message]
; Clear destination
xor rax, rax
mov qword [copy], rax
lea rd... |
programs/oeis/186/A186539.asm | karttu/loda | 0 | 162 | ; A186539: Adjusted joint rank sequence of (f(i)) and (g(j)) with f(i) before g(j) when f(i)=g(j), where f(i)=i^2 and g(j)=-2+3j^2. Complement of A186540.
; 1,3,4,6,7,9,11,12,14,15,17,18,20,22,23,25,26,28,29,31,33,34,36,37,39,41,42,44,45,47,48,50,52,53,55,56,58,59,61,63,64,66,67,69,70,72,74,75,77,78,80,82,83,85,86,88,... |
libsrc/stdio/ansi/ts2068/f_ansi_dline.asm | meesokim/z88dk | 0 | 82095 | ;
; Spectrum C Library
;
; ANSI Video handling for ZX Spectrum
;
; Clean a text line
;
; <NAME> - Apr. 2000
;
; in: A = text row number
;
;
; $Id: f_ansi_dline.asm,v 1.2 2015/01/19 01:33:19 pauloscustodio Exp $
;
PUBLIC ansi_del_line
.ansi_del_line
; push af
and 24
ld d,a
pop af
push af
and 7
... |
Borland/CBuilder5/Source/RTL/source/cstrings/qstrcat.asm | TrevorDArcyEvans/DivingMagpieSoftware | 1 | 173461 | <reponame>TrevorDArcyEvans/DivingMagpieSoftware
;[]-----------------------------------------------------------------[]
;| QSTRCAT.ASM -- appends one string to another (quick version) |
;[]-----------------------------------------------------------------[]
DWALIGN equ 1 ; set to 1 to enable dword... |
Cubical/Homotopy/Group/LES.agda | thomas-lamiaux/cubical | 1 | 15764 | <reponame>thomas-lamiaux/cubical<filename>Cubical/Homotopy/Group/LES.agda
{-# OPTIONS --safe --experimental-lossy-unification #-}
{-
This file contains:
1. The long exact sequence of loop spaces Ωⁿ (fib f) → Ωⁿ A → Ωⁿ B
2. The long exact sequence of homotopy groups πₙ(fib f) → πₙ A → πₙ B
3. Some lemmas relating the ma... |
oeis/044/A044748.asm | neoneye/loda-programs | 11 | 3405 | <reponame>neoneye/loda-programs
; A044748: Numbers n such that string 3,5 occurs in the base 10 representation of n but not of n+1.
; Submitted by <NAME>
; 35,135,235,335,359,435,535,635,735,835,935,1035,1135,1235,1335,1359,1435,1535,1635,1735,1835,1935,2035,2135,2235,2335,2359,2435,2535,2635,2735,2835,2935,3035,3135,3... |
programs/oeis/317/A317255.asm | neoneye/loda | 22 | 88379 | ; A317255: a(n) = 149836681069944461 + (n-1)*1723457117682300.
; 149836681069944461,151560138187626761,153283595305309061,155007052422991361,156730509540673661,158453966658355961,160177423776038261,161900880893720561,163624338011402861,165347795129085161,167071252246767461,168794709364449761,170518166482132061
mul $0,... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_1620.asm | ljhsiun2/medusa | 9 | 81896 | <filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_1620.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r13
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0xb648, %rbx
nop
nop
nop
nop
sub $45508, %r11
mov (%rbx), %r9w
nop
an... |
gcc-gcc-7_3_0-release/gcc/ada/s-veboop.ads | best08618/asylo | 7 | 28349 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
oeis/338/A338720.asm | neoneye/loda-programs | 11 | 247612 | <filename>oeis/338/A338720.asm
; A338720: Define b(1)=1 and for n>1, b(n)=n/b(n-1); then a(n) = nearest integer to b(n).
; Submitted by <NAME>
; 1,2,2,3,2,3,2,4,2,4,3,4,3,5,3,5,3,5,4,6,4,6,4,6,4,6,4,7,4,7,4,7,5,7,5,8,5,8,5,8,5,8,5,8,5,9,5,9,6,9,6,9,6,9,6,9,6,10,6,10,6,10,6,10,6,10,7,10,7,11,7,11,7,11,7,11,7,11,7,11,7,1... |
Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xa0.log_21829_1286.asm | ljhsiun2/medusa | 9 | 13670 | <filename>Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xa0.log_21829_1286.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x19799, %rsi
lea addresses_normal_ht+0x10119, %rdi
nop
sub $23623, %r12
mov $59, %rcx
rep movs... |
P2/matrix.asm | alxzzhou/BUAA_CO_2020 | 1 | 167744 | .data
matrix1: .space 256
matrix2: .space 256
sp: .asciiz " "
enter: .asciiz "\n"
.macro index(%dest,%n,%row,%col) #index start from 0
#multu %row,%n
#mflo %dest
sll %dest,%row,3
add %dest,%dest,%col
sll %dest,%dest,2
.end_macro
.macro getdata(%t)
li $v0,5
syscall
move %t,$v0
.end_macro
.macro free(%s)
li ... |
libsrc/_DEVELOPMENT/adt/p_list/z80/asm_p_list_push_back.asm | meesokim/z88dk | 0 | 240564 | <gh_stars>0
; ===============================================================
; Jan 2014
; ===============================================================
;
; void *p_list_push_back(p_list_t *list, void *item)
;
; Add item to the back of the list.
;
; ===============================================================
S... |
Scripts Pack Source Items/Scripts Pack/Dock/List View Like Grid View.applescript | Phorofor/ScriptsPack.macOS | 1 | 507 | <gh_stars>1-10
# Scripts Pack - Tweak various preference variables in macOS
# <Phorofor, https://github.com/Phorofor/>
-- Changes the list view style in the stacks to grid view like style when opened from a stack.
-- List View Like Grid View for the Dock
-- Versions compatible:
-- Preference Identifier: com.apple.d... |
libsrc/gfx/common/pen_up.asm | ahjelm/z88dk | 640 | 166527 | ;
; Turtle graphics library
; Stefano - 11/2017
;
; $Id: pen_up.asm $
;
SECTION code_graphics
PUBLIC pen_up
PUBLIC _pen_up
EXTERN __pen
.pen_up
._pen_up
ld hl,__pen
ld a,127
and (hl)
ld (hl),a
ret
|
data/pokemon/base_stats/gligar.asm | Dev727/ancientplatinum | 2 | 161096 | db 0 ; species ID placeholder
db 65, 75, 105, 85, 35, 65
; hp atk def spd sat sdf
db GROUND, FLYING ; type
db 60 ; catch rate
db 108 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 20 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/gligar/f... |
programs/oeis/187/A187329.asm | neoneye/loda | 22 | 10068 | <reponame>neoneye/loda
; A187329: Floor((3-sqrt(5))n).
; 0,0,1,2,3,3,4,5,6,6,7,8,9,9,10,11,12,12,13,14,15,16,16,17,18,19,19,20,21,22,22,23,24,25,25,26,27,28,29,29,30,31,32,32,33,34,35,35,36,37,38,38,39,40,41,42,42,43,44,45,45,46,47,48,48,49,50,51,51,52,53,54,55,55,56,57,58,58,59,60,61,61,62,63,64,64,65,66,67,67,68,69,7... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_848.asm | ljhsiun2/medusa | 9 | 22972 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x7b56, %r9
nop
nop
inc %rsi
vmovups (%r9), %ymm7
vextracti128 $1, %ymm7, %xmm7
vpextrq $1, %xmm7, %rbx
nop
nop
nop
sub %rcx, %rcx
lea addresses_WT_ht+... |
src/kernel.asm | jwse2/MijnOS | 0 | 99682 | [BITS 16]
; [ORG SEG_KERNEL]
jmp near kernel
%include "src/const.inc"
msg_success db "Kernel has been loaded...", 0Dh, 0Ah, 0
cmd_bin db 'CMD BIN', 0
cmd_error db 'Could not load CMD.bin', 0Dh, 0Ah, 0
kernel_var dw 512
test_err db 'Test failed', 0Dh, 0Ah, 0
test_var times 32 db 0
test_name db 'A... |
src/arch/socs/stm32f429/Ada/soc-syscfg.ads | wookey-project/ewok-legacy | 0 | 16074 | --
-- Copyright 2018 The wookey project team <<EMAIL>>
-- - <NAME>
-- - <NAME>
-- - <NAME>
-- - <NAME>
-- - <NAME>
--
-- 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... |
src/drivers/sercom_u2201/sam-sercom-usart.adb | Fabien-Chouteau/samd51-hal | 1 | 16109 | <gh_stars>1-10
pragma Ada_2012;
package body SAM.SERCOM.USART is
---------------
-- Configure --
---------------
procedure Configure (This : in out USART_Device;
Baud : UInt16;
MSB_First : Boolean;
TX_Fall_... |
oeis/216/A216985.asm | neoneye/loda-programs | 11 | 16484 | ; A216985: Number of city-block distance 1, pressure limit 2 movements in an n X 2 array with each element moving exactly one horizontally or vertically, no element acquiring more than two neighbors, and without 2-loops.
; Submitted by <NAME>
; 0,2,14,80,436,2346,12578,67368,360720,1931306,10340030,55359176,296385268,1... |
lib/types/Pointed.agda | danbornside/HoTT-Agda | 0 | 6495 | {-# OPTIONS --without-K #-}
open import lib.Basics
open import lib.types.Paths
open import lib.types.Pi
open import lib.types.Sigma
module lib.types.Pointed where
Ptd : ∀ i → Type (lsucc i)
Ptd i = Σ (Type i) (λ A → A)
Ptd₀ = Ptd lzero
⊙[_,_] : ∀ {i} (A : Type i) (a : A) → Ptd i
⊙[_,_] = _,_
_⊙→_ : ∀ {i j} → Ptd ... |
Transynther/x86/_processed/AVXALIGN/_ht_zr_un_/i7-7700_9_0x48.log_21829_2372.asm | ljhsiun2/medusa | 9 | 101896 | <filename>Transynther/x86/_processed/AVXALIGN/_ht_zr_un_/i7-7700_9_0x48.log_21829_2372.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r14
push %r15
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1b068, %r10
nop
nop
nop
nop
nop
add $82, %r13
mov (%r10), %rbp
... |
core/HoTT.agda | timjb/HoTT-Agda | 0 | 17035 | <gh_stars>0
{-# OPTIONS --without-K --rewriting #-}
module HoTT where
open import lib.Basics public
open import lib.Equivalence2 public
open import lib.NConnected public
open import lib.NType2 public
open import lib.Relation2 public
open import lib.Function2 public
open import lib.cubical.Cubical public
open import... |
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0_notsx.log_21829_867.asm | ljhsiun2/medusa | 9 | 104580 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1ba58, %rbp
and %r13, %r13
mov $0x6162636465666768, %rcx
movq %rcx, %xmm2
movups %xmm2, (%rbp)
nop
cmp $2597, %r11
lea addresses_WT_ht+0x1de58, %rdx... |
data/pokemon/base_stats/tauros.asm | Karkino/KarkCrystal16 | 0 | 18595 | db 0 ; species ID placeholder
db 75, 100, 95, 110, 40, 70
; hp atk def spd sat sdf
db NORMAL, NORMAL ; type
db 45 ; catch rate
db 211 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F0 ; gender ratio
db 100 ; unknown 1
db 20 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/tauros/fr... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_399.asm | ljhsiun2/medusa | 9 | 90733 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r15
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xe2a2, %r10
nop
nop
nop
nop
sub %r12, %r12
vmovups (%r10), %ymm0
vextracti128 $0, %ymm0, %xmm0
vpextrq $1, %xmm0, %rbp
nop
nop
cmp %rsi, %rsi
lea addresses_UC_ht+0xd092, %rsi
lea addre... |
spec/linux_spi_spidev_h.ads | 0xA1/pi-spi | 0 | 18088 | pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with asm_generic_int_ll64_h;
package linux_spi_spidev_h is
-- unsupported macro: SPI_CPHA 0x01
-- unsupported macro: SPI_CPOL 0x02
-- unsupported macro: SPI_MODE_0 (0|0)
-- unsupported macro: SPI_MODE_1 (0|SPI_CPHA)
-... |
alloy4fun_models/trashltl/models/5/2tbqDXXw4PoEpSSMo.als | Kaixi26/org.alloytools.alloy | 0 | 2237 | <filename>alloy4fun_models/trashltl/models/5/2tbqDXXw4PoEpSSMo.als
open main
pred id2tbqDXXw4PoEpSSMo_prop6 {
always File in Trash
}
pred __repair { id2tbqDXXw4PoEpSSMo_prop6 }
check __repair { id2tbqDXXw4PoEpSSMo_prop6 <=> prop6o } |
tests/avr_sources/test.asm | DannyHavenith/avrgo | 1 | 169142 | LDD r0, Y+1
LDD r1, Y+2
|
rtcClock2.asm | electrickery/RTC-MPF-I | 0 | 15299 | ; RTC & CTC demo program for MicroProfessor MPF-I(B)
; Based on Zilog Z80 Family Data Book, January 1989, p 366
; by fjkraan@electrickery 2022-01-28
; z80asm version (https://github.com/udo-munk/z80pack/tree/master/z80asm)
; This program assumes a CTC at port 40h and the standard MPF-I(B) hex
; display.
; M... |
code/decoder.asm | corollari/BaaCL | 1 | 96010 |
;ax=byte counter
;bx=tree pointer
;cx=text pointer
;dl=byte holder
;dh=shift counter
%define len 290 ; <-- REWORK (check if it works and change const dinamically)
%define text $512
mov ax, encoded ; encoded tag should be in output/encoded.asm
mv cx, text
mv dh, $7
mov bh, 0x7C
; while(ax<len(encoded)):
startloop... |
Models/Car System module/CarSystem003/CarSystem003HighBeam.asm | fmselab/ABZ2020CaseStudyInAsmeta | 0 | 24449 | <reponame>fmselab/ABZ2020CaseStudyInAsmeta
//Third refinement of Adaptive Exterior Light and Speed Control System
//Hight Beam
//from ELS-30 to ELS-38
module CarSystem003HighBeam
import ../../StandardLibrary
import CarSystem003Domains
import ../CarSystem002/CarSystem002Functions
export *
signature:
enum domain Cam... |
libsrc/graphics/drawbox.asm | grancier/z180 | 0 | 18790 | <filename>libsrc/graphics/drawbox.asm
SECTION code_clib
PUBLIC drawbox
EXTERN plotpixel
;
; $Id: drawbox.asm,v 1.6 2016/04/13 21:09:09 dom Exp $
;
; ***********************************************************************
;
; Clear specified graphics area in map.
; Generic version
;
; <NAME... |
smallbinaries/Dockerfile.nasm | ldemailly/experimental | 0 | 96388 | <reponame>ldemailly/experimental
FROM alpine:3.6
RUN apk update && apk add nasm gcc musl-dev make
# RUN apk add libc-dev
WORKDIR /exp
COPY . .
|
Appl/GeoCalc/Document/documentChart.asm | steakknife/pcgeos | 504 | 4173 | <reponame>steakknife/pcgeos
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: documentChart.asm
AUTHOR: <NAME>
METHODS:
Name Description
---- -----------
FUNCTIONS:
Scope Name Descri... |
source/oasis/program-elements-object_declarations.ads | reznikmm/gela | 0 | 4624 | -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Elements.Declarations;
with Program.Elements.Defining_Identifiers;
with Program.Lexical_Elements;
with Program.Elements.Definitions;
with Program.Elements.Exp... |
oeis/076/A076339.asm | neoneye/loda-programs | 11 | 173556 | <gh_stars>10-100
; A076339: Primes of the form 512*k+1.
; Submitted by <NAME>
; 7681,10753,11777,12289,13313,15361,17921,18433,19457,23041,25601,26113,32257,36353,37889,39937,40961,45569,50177,51713,58369,59393,61441,64513,65537,67073,70657,76289,76801,79873,80897,81409,83969,84481,86017,87041,87553,95233,96769,101377,... |
src/agda/FRP/JS/DOM.agda | agda/agda-frp-js | 63 | 14373 | open import FRP.JS.Bool using ( Bool )
open import FRP.JS.RSet using ( RSet ; ⟦_⟧ ; ⟨_⟩ ; _⇒_ )
open import FRP.JS.Behaviour using ( Beh ; map2 )
open import FRP.JS.Event using ( Evt ; ∅ ; _∪_ ; map )
open import FRP.JS.Product using ( _∧_ ; _,_ )
open import FRP.JS.String using ( String )
module FRP.JS.DOM where
inf... |
src/examples/Rejuvenation_Workshop/src/count_subprogram.ads | selroc/Renaissance-Ada | 1 | 10125 | package Count_Subprogram is
procedure P2A (x, y : Integer);
procedure P2B (x : Integer; y : Integer);
procedure P4A (k, l, m, n : Integer);
procedure P4B (k : Integer; l : Integer; m : Integer; n : Integer);
procedure P3A (x, y, z : Integer);
procedure P3B (x, y : Integer; z : Integer);
procedur... |
src/geste-physics.ads | Fabien-Chouteau/GESTE | 13 | 742 | ------------------------------------------------------------------------------
-- --
-- GESTE --
-- --
-- ... |
src/core/obs/t01.asm | Hiroshi123/bin_tools | 0 | 166546 | <filename>src/core/obs/t01.asm
global __get_ntdll_handle_64
global __get_ntdll_handle_64_end
global __enumerate_import_table_2
global __enumerate_import_table_2_end
global __enumerate_export_table_2
global __enumerate_export_table_2_end
section .text
;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
__get_n... |
4-high/gel/source/joint/gel-hinge_joint.adb | charlie5/lace | 20 | 10810 | <reponame>charlie5/lace
with
physics.Object,
ada.unchecked_Deallocation;
package body gel.hinge_Joint
is
use gel.Joint;
procedure define (Self : access Item; in_Space : in std_physics.Space.view;
Sprite_A, Sprite_B : access gel.Sprite.item'Clas... |
src/transistor_acsweep_3.als | hemmerling/spice-schaltungssimulation | 0 | 1229 | <filename>src/transistor_acsweep_3.als
* Schematics Aliases *
.ALIASES
R_RC RC(1=$N_0002 2=$N_0001 )
Q_T1 T1(c=$N_0002 b=$N_0003 e=$N_0004 )
R_R2 R2(1=0 2=$N_0003 )
V_VB VB(+=$N_0001 -=0 )
R_R1 R1(1=$N_0003 2=$N_0001 )
R_RE RE(1=0 2=$N_0004 )
V_Vin ... |
src/main/antlr4/org/gu/dcore/antlr4/QUERY.g4 | sharpen70/Drewer | 0 | 1546 | <reponame>sharpen70/Drewer<gh_stars>0
grammar QUERY;
/*
* Parser Rules
*/
query : ansVar ':-' atomset '.' EOF ;
ansVar : '?' '(' terms ')' | '?()';
atomset : atom | atom ',' atomset ;
atom : predicate | predicate '(' terms ')' ;
terms : term | term ',' terms ;
term : BRACKETED... |
oeis/083/A083550.asm | neoneye/loda-programs | 11 | 101041 | <reponame>neoneye/loda-programs
; A083550: Product of 2 consecutive prime differences of two successive terms of A001223.
; Submitted by <NAME>
; 2,4,8,8,8,8,8,24,12,12,24,8,8,24,36,12,12,24,8,12,24,24,48,32,8,8,8,8,56,56,24,12,20,20,12,36,24,24,36,12,20,20,8,8,24,144,48,8,8,24,12,20,60,36,36,12,12,24,8,20,140,56,8,8,5... |
src/STLC/Syntax.agda | mietek/coquand-kovacs | 0 | 6334 | <reponame>mietek/coquand-kovacs
module STLC.Syntax where
open import Prelude public
--------------------------------------------------------------------------------
-- Types
infixr 7 _⇒_
data 𝒯 : Set
where
⎵ : 𝒯
_⇒_ : (A B : 𝒯) → 𝒯
---------------------------------------------------------------... |
alloy4fun_models/trashltl/models/7/zDd7TBYXzxmvZZhkK.als | Kaixi26/org.alloytools.alloy | 0 | 1001 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idzDd7TBYXzxmvZZhkK_prop8 {
always (all f,f2:File | f->f2 in link implies eventually ( f in Trash and f2 in Trash))
}
pred __repair { idzDd7TBYXzxmvZZhkK_prop8 }
check __repair { idzDd7TBYXzxmvZZhkK_prop8 <=> prop8o } |
test/Fail/ModuleDefinedInOtherFile.agda | shlevy/agda | 1,989 | 16825 | <reponame>shlevy/agda<gh_stars>1000+
module ModuleDefinedInOtherFile where
import Imports.B
|
Hardware/keyboard.asm | ped7g/EliteNext | 0 | 92709 | <reponame>ped7g/EliteNext
;
; $FEFE;65278 V, C, X, Z, Caps Shifts 4 3 2 1 0
; $FDFE;65022 G, F, D, S, A 9 8 7 6 5
; $FBFE;64510 T, R, E, W, Q 14 13 12 11 10
; $F7FE;63486 5, 4, 3, 2, 1 19 18 17 16 15
; $EFFE;61438 6, 7, 8, 9, 0 24 23 22 2... |
v2.0/source/msdos/dosseg.asm | neozeed/MS-DOS | 7 | 6104 | ;
; segment ordering for MSDOS
;
CONSTANTS SEGMENT BYTE PUBLIC 'CONST'
CONSTANTS ENDS
DATA SEGMENT BYTE PUBLIC 'DATA'
DATA ENDS
CODE SEGMENT BYTE PUBLIC 'CODE'
CODE ENDS
LAST SEGMENT BYTE PUBLIC 'LAST'
LAST ENDS
DOSGROUP GROUP CODE,... |
programs/oeis/010/A010735.asm | neoneye/loda | 22 | 27457 | ; A010735: Period 2: repeat (9,10).
; 9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10
mod $0,2
add $0,9
|
agda-stdlib/src/Data/String/Properties.agda | DreamLinuxer/popl21-artifact | 5 | 15035 | <gh_stars>1-10
------------------------------------------------------------------------
-- The Agda standard library
--
-- Properties of operations on strings
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.String.Properties where
open import Da... |
kCoproc.asm | satadriver/LiunuxOS_t | 0 | 167454 | .386p
Kernel Segment public para use32
assume cs:Kernel
__kCoProcessorProc proc
pushad
push ds
push es
mov ax,rwData32Seg
mov ds,ax
mov es,ax
mov ebx,KernelData
shl ebx,4
cmp dword ptr ds:[ebx + offset _kCoprocessor],0
jz __kCoProcessorProcEnd
call dword ptr ds:[ebx + offset _kCoprocessor]
jmp __kCoProcessorProc... |
src/lib/rng.asm | NEPETAISCUTE/simon-gameboy | 1 | 19320 | <gh_stars>1-10
;
; Pseudorandom number generator
;
; Copyright 2018, 2020 <NAME>
;
; This software is provided 'as-is', without any express or implied
; warranty. In no event will the authors be held liable for any damages
; arising from the use of this software.
;
; Permission is granted to anyone to use this softwar... |
tools/yasm/tests/nasm/sizes2.asm | fasttr-org/ftr | 0 | 92458 | aaa
aad 500
aad 10
aad 0xFF
aad 0
here:
idiv al
idiv ax
idiv eax
idiv byte [0]
idiv dword [eax]
|
main.asm | lanquemar/C64_Demo | 1 | 169494 | <gh_stars>1-10
*=$1000
;
; CONSTANTS
;
SCREEN_BORDER_COLOR = $D020
CONTROL_REGISTER_1 = $D011
CONTROL_REGISTER_2 = $D016
MEMORY_SETUP_REGISTER = $D018
SCREEN_COLOR_MEMORY_BEGIN = $08
SCREEN_COLOR_MEMORY_END = $0C
SCREEN_PIXELS_MEMORY_BEGIN = $20
SC... |
libsrc/_DEVELOPMENT/threads/mutex/z80/asm_spinlock_release.asm | meesokim/z88dk | 0 | 170139 |
SECTION code_threads_mutex
PUBLIC asm_spinlock_release
asm_spinlock_release:
; enter : hl = & spinlock
;
; exit : hl = & spinlock
;
; uses : none
ld (hl),$fe ; atomic operation
ret
|
Task/Permutations/AppleScript/permutations-2.applescript | LaudateCorpus1/RosettaCodeData | 1 | 4218 | <reponame>LaudateCorpus1/RosettaCodeData
to DoPermutations(aList, n)
--> Heaps's algorithm (Permutation by interchanging pairs)
if n = 1 then
tell (a reference to PermList) to copy aList to its end
-- or: copy aList as text (for concatenated results)
else
repeat with i from 1 to n
... |
archs/exec_ppc.als | graymalkin/memalloy | 0 | 4345 | <reponame>graymalkin/memalloy
module exec_ppc[E]
open exec_H[E]
sig Exec_PPC extends Exec_H {
SYNC, LWSYNC, EIEIO, ISYNC : set E
}{
SYNC + LWSYNC + EIEIO + ISYNC in F
disj [ISYNC, LWSYNC + EIEIO]
SYNC = LWSYNC & EIEIO
}
one sig rm_ISYNC extends PTag {}
one sig rm_SYNC extends PTag {}
one sig rm_LWSYNC ... |
open_mail.scpt | cmccomb/outlook-applescript | 1 | 4608 | tell application "Microsoft Outlook"
activate
set mail_open to false
repeat with this_window in main windows
if view of this_window is mail view then
set mail_open to true
end if
end repeat
if mail_open is false then
make new main window
set view of the first main window to mail view
e... |
test/Fail/Issue5029.agda | cruhland/agda | 1,989 | 2886 | {-# OPTIONS --safe -W noTerminationIssue #-}
data ⊥ : Set where
bad : ⊥
bad = bad
|
programs/oeis/218/A218723.asm | neoneye/loda | 22 | 17576 | ; A218723: a(n) = (256^n-1)/255.
; 0,1,257,65793,16843009,4311810305,1103823438081,282578800148737,72340172838076673,18519084246547628289,4740885567116192841985,1213666705181745367548161,310698676526526814092329217,79538861190790864407636279553,20361948464842461288354887565569,5212658806999670089818851216785665
mov $1... |
data/blocks-def.asm | GSoftwareDevelopment/Mole | 2 | 103097 | ; block definitions
; #0
; width & height
.by 02 03
; data
.by 02 00 ; X.
.by 05 04 ; XX
.by 05 00 ; X.
; #1
.by 03 02
.by 02 04 04 ; XXX
.by 00 05 00 ; .X.
; #2
.by 03 02
.by 00 02 00 ; .X.
.by 02 03 04 ; XXX
; #3
.by 02 03
.by 00 02 ; .X
.by 02 03 ; XX
.by 00 05 ; .X
; #4
.by 03 02
.b... |
src/apsepp-abstract_test_suite.ads | thierr26/ada-apsepp | 0 | 4440 | <filename>src/apsepp-abstract_test_suite.ads
-- Copyright (C) 2019 <NAME> <<EMAIL>>
-- MIT license. Please refer to the LICENSE file.
with Apsepp.Test_Node_Class.Suite_Stub; use Apsepp.Test_Node_Class.Suite_Stub;
use Apsepp.Test_Node_Class;
package Apsepp.Abstract_Test_Suite is
subtype Test_Node_Array is Apsepp... |
lib/target/msx/classic/msx_crt0.asm | ahjelm/z88dk | 640 | 93221 |
MODULE msx_crt0
defc crt0 = 1
INCLUDE "zcc_opt.def"
EXTERN _main
PUBLIC cleanup
PUBLIC l_dcal
PUBLIC msxbios
defc CONSOLE_COLUMNS = 32
defc CONSOLE_ROWS = 24
defc __CPU_CLOCK = 3580000
IF (!DEFINED_startup || (startup=1))
INCLUDE "target/msx/classic/ra... |
Borland/CBuilder5/Source/RTL/source/math/div.asm | TrevorDArcyEvans/DivingMagpieSoftware | 1 | 167697 | ;[]-----------------------------------------------------------------[]
;| DIV.ASM -- integer division |
;[]-----------------------------------------------------------------[]
;
; C/C++ Run Time Library - Version 10.0
;
; Copyright (c) 1991, 2000 by Inprise Corporation... |
text/TextModifier.applescript | GitSyncApp/applescripts | 6 | 4114 | <reponame>GitSyncApp/applescripts
(*
* Example : StringModifier's replaceText("Let it be known that [company] is responsible for any damage" & " any employee causes during [company]'s activity while in the conference.", "[company]", "Disny inc") -- this will then replace all instances of [company] with Disny inc
* To... |
C/LoDosLib/critsect.asm | p-k-p/SysToolsLib | 232 | 8309 | page ,132
;*****************************************************************************;
; ;
; FILE NAME: critsect.asm ;
; ;
; DESCRIPTION: Critical section management routines under Windows VMM ;
; ;
; NOTES: ;
; ;
; HI... |
memsim-master/src/distribution.adb | strenkml/EE368 | 0 | 29539 | <filename>memsim-master/src/distribution.adb<gh_stars>0
with Ada.Text_IO; use Ada.Text_IO;
package body Distribution is
min_size : constant Address_Type := 4096;
procedure Set_Seed(dist : in out Distribution_Type;
seed : in Integer) is
begin
RNG.Reset(dist.generator, seed);
e... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.