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/9/qdt9m7a49jDm9LjKd.als | Kaixi26/org.alloytools.alloy | 0 | 479 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idqdt9m7a49jDm9LjKd_prop10 {
all f : (File & Protected) | always (f in Protected)
}
pred __repair { idqdt9m7a49jDm9LjKd_prop10 }
check __repair { idqdt9m7a49jDm9LjKd_prop10 <=> prop10o } |
libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sccz80/extended_sna_load.asm | Toysoft/z88dk | 0 | 11173 | <reponame>Toysoft/z88dk
; unsigned char extended_sna_load(unsigned char handle)
SECTION code_esxdos
PUBLIC extended_sna_load
EXTERN asm_extended_sna_load
defc extended_sna_load = asm_extended_sna_load
|
Source/L8WAIT.asm | walmartlabs/zFAM | 21 | 3522 | <reponame>walmartlabs/zFAM<filename>Source/L8WAIT.asm
*
* PROGRAM: L8WAIT
* AUTHOR: <NAME>.
* COMMENTS: zFAM - z/OS File Access Manager.
*
* Issue z/OS STIMERM macro.
* This program must be defined as Threadsafe (Required),
* OpenAPI and CICSKey to execeute on a... |
assembler/tests/t_kcpsm3/t_kcpsm3.asm | paulscottrobson/RCA-Cosmac-VIP-III | 1 | 80356 | <filename>assembler/tests/t_kcpsm3/t_kcpsm3.asm
cpu kcpsm3
CONSTANT const1, 02
NAMEREG s8, treg
load treg, const1
nop
load s0, 1
jump test1
jump Z, test1
jump NZ, test1
jump C, test1
jump NC, test1
test1:
call test2
call Z, test2
call NZ, test2
call C, test2
call NC, test2
test2:
return
retur... |
programs/oeis/092/A092434.asm | neoneye/loda | 22 | 96191 | ; A092434: Number of words X=x(1)x(2)x(3)...x(n) of length n in three digits {0,1,2} that are invariant under the mapping X -> Y, where y(i)=((AD)^(i-1))x(1) and where (AD) denotes the absolute difference (AD)x(i)=abs(x(i+1)-x(i)) (in other words, y(i) is the i-th element in the diagonal of leading entries in the table... |
oeis/178/A178936.asm | neoneye/loda-programs | 11 | 240655 | <reponame>neoneye/loda-programs
; A178936: Floor((2*3^n+3*2^n)/5).
; Submitted by <NAME>
; 1,2,6,15,42,116,330,951,2778,8180,24234,72087,215034,642644,1923018,5759223,17258010,51734708,155125482,465219159,1395342906,4185399572,12554940426,37662304695,112981880922,338935576436,1016786596650,3050319524631,9150878043258,2... |
src/NTypes/Negation.agda | vituscze/HoTT-lectures | 0 | 16861 | <filename>src/NTypes/Negation.agda
{-# OPTIONS --without-K #-}
module NTypes.Negation where
open import FunExt
open import NTypes
open import Types
¬-isProp : ∀ {a} {A : Set a} → isProp (¬ A)
¬-isProp ¬a _ = funext λ a → 0-elim (¬a a)
|
libsrc/msx/msx_text.asm | dex4er/deb-z88dk | 1 | 9120 | ;
; MSX specific routines
; by <NAME>, 30/11/2007
;
; int msx_text();
;
; Switch to text mode
;
; $Id: msx_text.asm,v 1.2 2007/12/07 11:28:59 stefano Exp $
;
XLIB msx_text
LIB msxbios
INCLUDE "#msxbios.def"
msx_text:
ld ix,TOTEXT
jp msxbios
|
libsrc/graphics/drawto.asm | grancier/z180 | 0 | 82180 | <filename>libsrc/graphics/drawto.asm
;
; Z88 Graphics Functions - Small C+ stubs
;
; Written around the Interlogic Standard Library
;
; Stubs Written by <NAME> - 30/9/98
;
;
; $Id: drawto.asm,v 1.8 2016/07/02 09:01:35 dom Exp $
;
;Usage: drawto(struct *pixels)
SECTION code_... |
sfx_engine/SFXs-Mod-LFD_NLM.asm | GSoftwareDevelopment/sfx-tracker | 9 | 20455 | ;
; Low Frequency Divider Modulator/Note Value Modulator
LFD_NLM_mode
lda (dataPtr),y ; get modulate value
sta chnModVal ; store in loop register
bne decode_LFD_NLM ; check modulation value
jmp modMode_notDefined ; if =0, means no modulation
decode_LFD_NLM
... |
Task/Create-a-file/AppleScript/create-a-file-4.applescript | LaudateCorpus1/RosettaCodeData | 1 | 261 | tell application "Finder" to make new folder at window 1 with properties {name:"docs"}
|
oeis/111/A111108.asm | neoneye/loda-programs | 11 | 163569 | ; A111108: a(n) = A001333(n) - (-2)^(n-1), n > 0.
; Submitted by <NAME>
; 0,5,3,25,25,131,175,705,1137,3875,7095,21649,43225,122435,259423,698625,1541985,4011971,9107175,23143825,53559817,133933475,314086735,776787009,1838300625,4512108515,10745077143,26237143825,62749602745,152675873411,366222301375,888878572545,21364... |
src/main/antlr4/io/github/ssoloff/polyhedra/Expression.g4 | ssoloff/polyhedra-jvm | 0 | 913 | /*
* Copyright (c) 2015 <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 rights
* to use, copy, modify, merge, publish, dis... |
programs/oeis/005/A005359.asm | karttu/loda | 0 | 15615 | ; A005359: a(n) = n! if n is even, otherwise 0 (from Taylor series for cos x).
; 1,0,2,0,24,0,720,0,40320,0,3628800,0,479001600,0,87178291200,0,20922789888000,0,6402373705728000,0
sub $1,$0
fac $1
trn $1,0
|
iod/history/cnam.asm | olifink/smsqe | 0 | 170316 | ; Setup name of HISTORY Channel V2.00 1996 <NAME>
section history
xdef history_cnam
xref history_name
include 'dev8_keys_err'
include 'dev8_iod_history_data'
;+++
; Set up history channel name in (a1)
;---
history_cnam
move.w d2,d4
subq.w #8,d4 ; space for name
ble.s hcn_ipar ; none
clr.w (a... |
programs/oeis/129/A129889.asm | neoneye/loda | 22 | 28020 | ; A129889: Write down n, then n*(n+1).
; 0,0,1,2,2,6,3,12,4,20,5,30,6,42,7,56,8,72,9,90,10,110,11,132,12,156,13,182,14,210,15,240,16,272,17,306,18,342,19,380,20,420,21,462,22,506,23,552,24,600,25,650,26,702,27,756,28,812,29,870,30,930,31,992,32,1056,33,1122,34,1190,35,1260,36,1332,37,1406,38,1482,39,1560,40,1640,41,172... |
Categories/Coend.agda | copumpkin/categories | 98 | 12239 | module Categories.Coend where
|
programs/oeis/163/A163833.asm | neoneye/loda | 22 | 171864 | ; A163833: a(n) = n*(6*n^2 + 15*n + 5)/2.
; 0,13,59,156,322,575,933,1414,2036,2817,3775,4928,6294,7891,9737,11850,14248,16949,19971,23332,27050,31143,35629,40526,45852,51625,57863,64584,71806,79547,87825,96658,106064,116061,126667,137900,149778,162319,175541,189462,204100,219473,235599,252496,270182,288675,307993,32815... |
SOAS/Metatheory/Traversal.agda | k4rtik/agda-soas | 0 | 9329 | <reponame>k4rtik/agda-soas
open import SOAS.Common
open import SOAS.Families.Core
open import Categories.Object.Initial
open import SOAS.Coalgebraic.Strength
import SOAS.Metatheory.MetaAlgebra
-- Traversals parametrised by a pointed coalgebra
module SOAS.Metatheory.Traversal {T : Set}
(⅀F : Functor 𝔽amiliesₛ 𝔽ami... |
Transynther/x86/_processed/NC/_zr_/i7-8650U_0xd2.log_21829_1449.asm | ljhsiun2/medusa | 9 | 13558 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x7217, %rcx
nop
nop
nop
nop
add $41967, %r12
movups (%rcx), %xmm3
vpextrq $0, %xmm3, %r11
dec %rdi
lea addresses_WC_ht+0xd3af, %rsi
lea addresses_normal_ht+0x1936f, %rdi
clflus... |
src/legacy/loadpe.asm | amindlost/wdosx | 7 | 8683 | <reponame>amindlost/wdosx
; ############################################################################
; ## WDOSX DOS Extender Copyright (c) 1996, 1999, <NAME> ##
; ## ##
; ## Released under the terms of the WDOSX license agreement. ... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1241.asm | ljhsiun2/medusa | 9 | 97558 | <filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1241.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r15
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x13c82, %rbx
sub %r13, %r13
mov $0x6162636465666768, %rdx
movq %rdx, (%rb... |
programs/oeis/133/A133647.asm | jmorken/loda | 1 | 95527 | ; A133647: A133566 * A000244.
; 1,3,12,27,108,243,972,2187,8748,19683,78732,177147,708588,1594323,6377292,14348907,57395628,129140163,516560652,1162261467,4649045868,10460353203,41841412812,94143178827,376572715308,847288609443,3389154437772,7625597484987,30502389939948,68630377364883,274521509459532,617673396283947,24... |
Miscaner.g4 | kevin12cama/compiladores-e-interpretes-P1 | 1 | 7100 | lexer grammar Miscaner;
// palabras reservadas
IF : ('if'|'IF'|'If')Alin;
Then:('Then'|'then'|'THEN')Alin;
Else:('Else'|'else'|'ELSE')Alin;
While:('While'|'while'|'WHILE')Alin;
Do:('Do'|'do'|'DO')Alin;
Let:('Ler'|'let'|'LET')Alin;
In:('IN'|'in'|'In')Alin;
End:('End'|'END'|'end')Alin;
Const:('Const'|'CONST'|'const')Alin... |
src/keystore-io-headers.ads | thierr26/ada-keystore | 25 | 12833 | <reponame>thierr26/ada-keystore
-----------------------------------------------------------------------
-- keystore-io-headers -- Keystore file header operations
-- Copyright (C) 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this... |
programs/oeis/239/A239745.asm | neoneye/loda | 22 | 14938 | ; A239745: a(n) = (3*2^(n+2) + n*(n+5))/2 - 6.
; 0,9,25,54,108,211,411,804,1582,3129,6213,12370,24672,49263,98431,196752,393378,786613,1573065,3145950,6291700,12583179,25166115,50331964,100663638,201326961,402653581,805306794,1610613192,3221225959,6442451463,12884902440,25769804362,51539608173,103079215761,206158430902... |
deps/openssl/asm_obsolete/x86-win32-masm/aes/aesni-x86.asm | nodejs/node.js-convergence | 144 | 24827 | <filename>deps/openssl/asm_obsolete/x86-win32-masm/aes/aesni-x86.asm
TITLE ../openssl/crypto/aes/asm/aesni-x86.asm
IF @Version LT 800
ECHO MASM version 8.00 or later is strongly recommended.
ENDIF
.686
.XMM
IF @Version LT 800
XMMWORD STRUCT 16
DQ 2 dup (?)
XMMWORD ENDS
ENDIF
.MODEL FLAT
OPTION DOTNAME
IF @Version LT 8... |
programs/oeis/037/A037620.asm | karttu/loda | 1 | 163420 | ; A037620: Base 6 digits are, in order, the first n terms of the periodic sequence with initial period 2,0,3.
; 2,12,75,452,2712,16275,97652,585912,3515475,21092852,126557112,759342675,4556056052,27336336312,164018017875,984108107252,5904648643512,35427891861075,212567351166452,1275404106998712,7652424641992275
cal $0... |
norm.asm | zevladnit/normalize-vector | 0 | 85891 | <filename>norm.asm
#{
~label 'X' 0x0
~label 'Y' 0x1
~label 'Z' 0x2
~label 'length' 0x6
~label 'norm' 0x7
~label 'one' 0xA
~label 'three' 0xB
}
;power on
.warm
;float mode on
.ldx &(0x18) <| $(0x1)
;next 5 value in stack
.orb &(0x5)
;X
.val @float_t("5.0")
;Y
.val @fl... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_6496_394.asm | ljhsiun2/medusa | 9 | 29076 | <filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_6496_394.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x1adbb, %rbx
nop
nop
nop
sub $43111, %r13
movl $0x61626364, (%rbx)
nop
nop
... |
3-mid/impact/source/3d/collision/narrowphase/impact-d3-collision-convex_penetration_depth_solver-minkowski.adb | charlie5/lace | 20 | 10592 | <reponame>charlie5/lace
with impact.d3.collision.Detector.discrete;
with impact.d3.Transform;
with impact.d3.Vector;
with impact.d3.collision.Detector.discrete.gjk_pair;
-- #include "impact.d3.collision.convex_penetration_depth_Solver.minkowski.h"
-- #include "BulletCollision/NarrowPhaseCollision/btSubSimplexConvex... |
Assembly/CH07N05/CH07N05.asm | IceNerd/hogwarts | 0 | 18836 | <filename>Assembly/CH07N05/CH07N05.asm
TITLE Fast Multiply (CH07N05.asm)
;Program Description: This program will multiply two integers
; using shifts and adds only.
;
;Author: <NAME>
;Date Created: 10.26.03
;Last Modification Date: 10.26.03
INCLUDE Irvine32.inc
.data
StartMSG BYTE "This program w... |
unittests/ASM/Primary/Primary_D7.asm | cobalt2727/FEX | 628 | 162573 | <reponame>cobalt2727/FEX<gh_stars>100-1000
%ifdef CONFIG
{
"RegData": {
"R15": "0xFFFFFFFFFFFFFF47",
"R14": "0xFFFFFFFFFFFFFF57",
"R13": "0xFFFFFFFFFFFFFF67"
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
mov rbx, 0xe0000000
lea r9, [rbx + 8 * 1]
wrfsbase r9
lea r9, [rbx + 8 * 2]
wrgsba... |
src/Generic/Lib/Equality/Congn.agda | turion/Generic | 30 | 13037 | <filename>src/Generic/Lib/Equality/Congn.agda
module Generic.Lib.Equality.Congn where
open import Generic.Lib.Intro
open import Generic.Lib.Equality.Propositional
open import Generic.Lib.Data.Product
open import Generic.Lib.Data.Nat
open import Generic.Lib.Data.Pow
open import Generic.Lib.Data.Sets
zip≡ : ∀ {n αs} {A... |
cards/bn5/ModCards/136-A038 FlameMan.asm | RockmanEXEZone/MMBN-Mod-Card-Kit | 10 | 22869 | .include "defaults_mod.asm"
table_file_jp equ "exe5-utf8.tbl"
table_file_en equ "bn5-utf8.tbl"
game_code_len equ 3
game_code equ 0x4252424A // BRBJ
game_code_2 equ 0x42524245 // BRBE
game_code_3 equ 0x42524250 // BRBP
card_type equ 1
card_id equ 38
card_no equ "038"
card_sub equ "Mod Card 038"
card_sub_x ... |
crypto/bn/asm/x86w32.asm | rstokes149/RedLobster | 0 | 169610 | ; Static Name Aliases
;
TITLE bn_mulw.c
.386
F_TEXT SEGMENT WORD USE16 PUBLIC 'CODE'
F_TEXT ENDS
_DATA SEGMENT WORD USE16 PUBLIC 'DATA'
_DATA ENDS
_CONST SEGMENT WORD USE16 PUBLIC 'CONST'
_CONST ENDS
_BSS SEGMENT WORD USE16 PUBLIC 'BSS'
_BSS ENDS
DGROUP GROUP _CONST, _BSS, _DATA
ASSUME DS: DGROUP, SS: DGROUP
F... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-8650U_0xd2.log_33_815.asm | ljhsiun2/medusa | 9 | 2238 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r13
push %r14
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x43c4, %rbx
nop
nop
nop
nop
nop
and %r10, %r10
mov $0x6162636465666768, %r14
movq %r14, (%rbx)
nop
nop
nop
nop
cmp %r11, %r11
lea addresses_UC_ht+0x1e4c0, %rsi
sub %... |
applet/aide/source/palettes/attic/aide-palette-of_types_package.ads | charlie5/aIDE | 3 | 3827 | with
aIDE.Palette.of_types,
gtk.Widget;
private
with
gtk.Frame,
gtk.Scrolled_Window;
with Gtk.Box;
with Gtk.Button;
with Gtk.Notebook;
package aIDE.Palette.of_types_package
is
type Item is new Palette.item with private;
type View is access all Item'Class;
function to_types_Palette_p... |
legend-engine-language-pure-grammar/src/main/antlr4/org/finos/legend/engine/language/pure/grammar/from/antlr4/connection/modelConnection/ModelConnectionParserGrammar.g4 | markseavers/legend-engine | 0 | 2691 | <reponame>markseavers/legend-engine<filename>legend-engine-language-pure-grammar/src/main/antlr4/org/finos/legend/engine/language/pure/grammar/from/antlr4/connection/modelConnection/ModelConnectionParserGrammar.g4
parser grammar ModelConnectionParserGrammar;
import CoreParserGrammar;
options
{
tokenVocab = ModelC... |
bounce.adb | MatrixMike/AdaDemo1 | 1 | 30078 | <filename>bounce.adb
with Display; use Display;
with Display.Basic; use Display.Basic;
procedure bounce is
Ball : Shape_Id := new_Circle
(X => 0.0,
Y => 0.0,
Radius => 10.0,
Color => Blue);
begin
loop
if Get_X (ball) > 100.0 then
Step := -0.05;
elsif Get_X (ball) < -1... |
programs/oeis/024/A024147.asm | neoneye/loda | 22 | 241725 | ; A024147: a(n) = 12^n - n^7.
; 1,11,16,-459,4352,170707,2706048,35008265,427884544,5154997383,61907364224,742988883517,8916064616448,106993142630555,1283918359135360,15407021403726993,184884258626600960,2218611106330098319,26623333280273023872,319479999369729055109,3833759992446195122176,46005119909367900377571,552061... |
programs/oeis/001/A001303.asm | neoneye/loda | 22 | 246872 | <gh_stars>10-100
; A001303: Stirling numbers of first kind, s(n+3, n), negated.
; 6,50,225,735,1960,4536,9450,18150,32670,55770,91091,143325,218400,323680,468180,662796,920550,1256850,1689765,2240315,2932776,3795000,4858750,6160050,7739550,9642906,11921175,14631225,17836160,21605760,26016936,31154200,37110150,43985970,... |
tools/xml2ayacc/xml_io/xml_io-base_readers_streams.ads | faelys/gela-asis | 4 | 9958 | ------------------------------------------------------------------------------
-- <NAME> A S I S --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org --
-- ... |
oeis/154/A154152.asm | neoneye/loda-programs | 11 | 104106 | <gh_stars>10-100
; A154152: Indices k such that 26 plus the k-th triangular number is a perfect square.
; Submitted by <NAME>(s1)
; 4,10,37,67,220,394,1285,2299,7492,13402,43669,78115,254524,455290,1483477,2653627,8646340,15466474,50394565,90145219,293721052,525404842,1711931749,3062283835,9977869444,17848298170,581552... |
problems/ModusPonens/Verifier.agda | danr/agder | 1 | 1009 | module Verifier where
open import ModusPonens using (modusPonens)
check : ∀ {P Q : Set} → (P → Q) → P → Q
check = modusPonens
|
libsrc/zx81/tape/tape_load_block.asm | andydansby/z88dk-mk2 | 1 | 88294 | <reponame>andydansby/z88dk-mk2
; int tape_load_block(void *addr, size_t len, unsigned char type)
; CALLER linkage for function pointers
XLIB tape_load_block
LIB tape_load_block_callee
XREF ASMDISP_TAPE_LOAD_BLOCK_CALLEE
.tape_load_block
pop de
pop bc
ld a,c
pop bc
pop hl
push hl
push bc
push bc ; altered !
... |
progs/chap04p09-realadd.asm | HKhademian/AssemblyDandamudi | 1 | 82900 | <gh_stars>1-10
%include "lib.asm"
extern ExitProcess ; windows syscall to exit
section .text
MSG_INP_SEG db "Please Enter segment Address: ", 0
MSG_INP_OFF db "Please Enter offset Address: ", 0
MSG_REAL db "Real Address is: ", 0
section .data
section .bss
buffer resb 25
section .code
global _start
_start:
... |
programs/oeis/081/A081421.asm | neoneye/loda | 22 | 97633 | <filename>programs/oeis/081/A081421.asm
; A081421: Quotient after one division by 2 of numbers of the form 3^(2n) + 5^(2n).
; 1,17,353,8177,198593,4912337,122336033,3054149297,76315468673,1907542343057,47685459212513,1192108586037617,29802463602463553,745059330625296977,18626462930705797793,465661390253305305137
mul $... |
object-handle.ads | jrcarter/Ada_GUI | 19 | 23363 | -- --
-- package Object.Handle Copyright (c) <NAME> --
-- Interface Luebeck --
-- Winter, 2002 --
-- ... |
oeis/062/A062112.asm | neoneye/loda-programs | 11 | 18964 | <gh_stars>10-100
; A062112: a(0)=0; a(1)=1; a(n) = a(n-1) + (3 + (-1)^n)*a(n-2)/2.
; Submitted by <NAME>(s2)
; 0,1,1,2,4,6,14,20,48,68,164,232,560,792,1912,2704,6528,9232,22288,31520,76096,107616,259808,367424,887040,1254464,3028544,4283008,10340096,14623104,35303296,49926400,120532992,170459392,411525376,581984768,140... |
registrar-executive-unit_entry-execute-parse_pack.adb | annexi-strayline/AURA | 13 | 13028 | ------------------------------------------------------------------------------
-- --
-- Ada User Repository Annex (AURA) --
-- ANNEXI-STRAYLINE Reference Implementation --
-- ... |
programs/oeis/194/A194826.asm | karttu/loda | 0 | 83855 | ; A194826: Units' digits of the nonzero 9-gonal (nonagonal) numbers.
; 1,9,4,6,5,1,4,4,1,5,6,4,9,1,0,6,9,9,6,0,1,9,4,6,5,1,4,4,1,5,6,4,9,1,0,6,9,9,6,0,1,9,4,6,5,1,4,4,1,5,6,4,9,1,0,6,9,9,6,0,1,9,4,6,5,1,4,4,1,5,6,4,9,1,0,6,9,9,6,0,1,9,4,6,5,1,4,4,1,5,6,4,9,1,0,6,9,9,6,0,1,9,4,6,5,1,4,4,1,5,6,4,9,1,0,6,9,9,6,0,1,9,4,6,5... |
src/asm/defs.asm | GeekJoystick/mmagedit | 9 | 90050 | <reponame>GeekJoystick/mmagedit<filename>src/asm/defs.asm
; ------------------------------------------------------------------------------
; memory address values
ENUM $0
BASE $BC
current_level:
BASE $BD
current_world:
BASE $72
current_lives:
BASE $71
game_state: ; 01 -> normal, 05 -> star-spin flying?
BASE $6F
ga... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_377_1210.asm | ljhsiun2/medusa | 9 | 179913 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %r8
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x4d35, %rsi
lea addresses_WC_ht+0x4d55, %rdi
nop
nop
sub $48143, %rbp
mov $7, %rcx
rep movsq
dec %rbx
lea addresses_A_ht+0x10985, %r12
nop
nop
nop
nop
nop
and $2749, %r8
movl ... |
choices/minlist-is-correct.agda | mihanus/curry-agda | 0 | 12280 | <reponame>mihanus/curry-agda
-- Proof: if we non-deterministically select an element
-- which is less-than-or-equal than all other elements,
-- such a result is the minimum of the list.
-- This holds for any non-deterministically selected element.
-- Basically, this is the translation of the Curry rule:
--
-- min-nd... |
Task/Queue-Definition/Ada/queue-definition-8.ada | LaudateCorpus1/RosettaCodeData | 1 | 25636 | <reponame>LaudateCorpus1/RosettaCodeData
package body Synchronous_Fifo is
----------
-- Fifo --
----------
protected body Fifo is
---------
-- Push --
---------
entry Push (Item : Element_Type) when not Is_New is
begin
Value := Item;
Is_New := True;
... |
programs/oeis/078/A078582.asm | karttu/loda | 0 | 684 | ; A078582: Duplicate of A051336.
; 1,3,7,13,22,33,48,65,86,110,138,168,204,242,284,330,381,434,493,554
mov $1,1
mov $2,$0
lpb $2,1
add $3,1
mov $4,$2
lpb $4,1
add $1,$4
trn $4,$3
lpe
add $1,1
sub $2,1
lpe
|
Engine Hacks/Strmag/Strmag/Str Mag Split/Autolevelling and Saves/Class Mag Autolevel.asm | sme23/Christmas2 | 3 | 163372 | .thumb
.org 0x0
push {r14}
ldrb r1,[r4,#0x17]
add r1,r1,r0
strb r1,[r4,#0x17]
ldr r0,GetGrowthChance
mov r14,r0
ldr r0,[r4,#0x4]
ldrb r0,[r0,#0x4] @class number
lsl r0,#0x2
ldr r1,MagClassGrowth
add r0,r1
ldrb r0,[r0,#0x1]
mov r1,r5
.short 0xF800
mov r1,r4
add r1,#0x3A
ldrb r2,[r1]
add r2,r0,r2
strb r2,[r1... |
regression/symtab2gb/multiple_symtabs/library.ads | tobireinhard/cbmc | 412 | 7027 | <filename>regression/symtab2gb/multiple_symtabs/library.ads<gh_stars>100-1000
procedure Library (X : Integer);
|
oeis/108/A108673.asm | neoneye/loda-programs | 11 | 175331 | ; A108673: a(n) = (n+1)(n+2)(n+3)(2n+3)(10n^2 + 27n + 20)/360.
; Submitted by <NAME>
; 1,19,133,573,1848,4914,11382,23766,45771,82621,141427,231595,365274,557844,828444,1200540,1702533,2368407,3238417,4359817,5787628,7585446,9826290,12593490,15981615,20097441,25060959,31006423,38083438,46458088
add $0,1
mov $2,$0
lpb ... |
libsrc/_DEVELOPMENT/alloc/malloc/c/sdcc_ix/heap_info_unlocked.asm | meesokim/z88dk | 0 | 12752 |
; void heap_info_unlocked(void *heap, void *callback)
SECTION code_alloc_malloc
PUBLIC heap_info_unlocked
EXTERN l0_heap_info_unlocked_callee
heap_info_unlocked:
pop af
pop de
pop bc
push bc
push de
push af
jp l0_heap_info_unlocked_callee
|
shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-sqlserver/src/main/antlr4/imports/sqlserver/DCLStatement.g4 | clbigdata/shardingsphere | 0 | 1994 | <reponame>clbigdata/shardingsphere<gh_stars>0
/*
* 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 Lic... |
src/strchr.asm | areltfc/ASM-MiniLibC | 0 | 1805 | ; ASM MiniLibC
; strchr
; <EMAIL>
%ifndef __MINILIBC_STRCHR__
%define __MINILIBC_STRCHR__ __MINILIBC_STRCHR__
[BITS 64]
SECTION .text
global strchr:function
;; char *strchr(const char *s, int c);
strchr:
push r11
mov rax, rdi ; Move s into RAX so that we don't have to later
xor r11, r11
.check_char:
cmp byte ... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c43204f.ada | best08618/asylo | 7 | 27338 | <reponame>best08618/asylo
-- C43204F.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 contai... |
src/str/set.asm | beckadamtheinventor/BOSos | 1 | 104388 | ;@DOES set the bytes of null-terminated string
;@INPUT HL pointer to string
;@INPUT C value to set bytes to
;@OUTPUT HL HL+strlen(HL)
;@DESTROYS AF
strset:
xor a,a
.loop:
cp a,(hl)
ret z
ld (hl),c
inc hl
jr .loop
|
linear_algebra/givens_qr_tst_1.adb | jscparker/math_packages | 30 | 26137 | <filename>linear_algebra/givens_qr_tst_1.adb
-- Test QR decomposition real valued square matrices.
with Ada.Numerics.Generic_elementary_functions;
with Givens_QR;
with Test_Matrices;
With Text_IO; use Text_IO;
procedure givens_qr_tst_1 is
type Real is digits 15;
subtype Index is Integer range 1..137;
-- ... |
attract.asm | mssarts128/tetris.c64 | 1 | 95706 | <gh_stars>1-10
// attrack mode steps
.const STEP_TITLE = 0
.const STEP_CREDITS = 1
.const STEP_CONTROLS = 2
.const ATTRACT_DELAY = 50 * 5
attractStep:
.byte 0
attractDelay:
.byte 0
// -----------------------------------------
StartAttractMode:
lda #ATTRACT_DELAY
sta attractDelay
lda #STEP_TITLE
... |
llvm-gcc-4.2-2.9/gcc/ada/s-osinte-hpux-dce.adb | vidkidz/crossbridge | 1 | 27378 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
oeis/276/A276123.asm | neoneye/loda-programs | 11 | 104882 | <gh_stars>10-100
; A276123: a(0) = a(1) = a(2) = 1; for n > 2, a(n) = (a(n-1) + 1)*(a(n-2) + 1) / a(n-3).
; Submitted by <NAME>
; 1,1,1,4,10,55,154,868,2449,13825,39025,220324,621946,3511351,9912106,55961284,157971745,891869185,2517635809,14213945668,40124201194,226531261495,639469583290,3610286238244,10191389131441,57... |
src/protinit.asm | DosWorld/zrdx | 12 | 20671 | ; This file is part of the ZRDX 0.50 project
; (C) 1998, <NAME>
;protected init code
Segm Text
;assume cs:dgroup, ds:dgroup, es:nothing, ss:dgroup
assume cs:Text, ds:nothing, es:nothing, ss:nothing
LLabel PMInit
push Data0Selector
pop eax
mov ss, eax
... |
ProcessProgress.agda | danelahman/aeff-agda | 4 | 10523 | <reponame>danelahman/aeff-agda
open import Data.Empty
open import Data.List renaming (_∷_ to _∷ₗ_ ; [_] to [_]ₗ)
open import Data.Maybe
open import Data.Product
open import Data.Sum
open import Data.Unit
open import AEff
open import AwaitingComputations
open import EffectAnnotations
open import Preservation
open impor... |
Library/Trans/Graphics/Vector/EPS/Export/exportFontMap.asm | steakknife/pcgeos | 504 | 99286 |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: PostScript Translation Library
FILE: Export/exportFontMap.asm
AUTHOR: <NAME>, 15 April 1991
ROUTINES:
Name Description
---- ---... |
oeis/093/A093645.asm | neoneye/loda-programs | 11 | 84216 | <gh_stars>10-100
; A093645: (10,1) Pascal triangle.
; Submitted by <NAME>
; 1,10,1,10,11,1,10,21,12,1,10,31,33,13,1,10,41,64,46,14,1,10,51,105,110,60,15,1,10,61,156,215,170,75,16,1,10,71,217,371,385,245,91,17,1,10,81,288,588,756,630,336,108,18,1,10,91,369,876,1344,1386,966,444,126,19,1,10,101,460,1245,2220,2730,2352,14... |
include/bits_types_struct_file_h.ads | docandrew/troodon | 5 | 19632 | pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with System;
with Interfaces.C.Strings;
with bits_types_h;
with stddef_h;
package bits_types_struct_FILE_h is
-- Copyright (C) 1991-2021 Free Software Foundation, Inc.
-- This file is part of the GNU C Library.
-- The GNU C Li... |
PipeLine-CPU/msub_for_wjj.asm | MyLife97/MipsPipelineCPU | 0 | 1582 | init:
addu $27,$0,$0
addu $28,$0,$0
addu $29,$0,$0
addu $30,$0,$0
addu $31,$0,$0
ori $28,$28,4
nop
nop
nop
block_0:
lui $31,0xdd7f
ori $31,$31,0x94ee
lui $12,0x0480
ori $12,$12,0x16da
jal jump_block_0
nop
jump_back_0:
sw $31,0($29)
addu $29,$2... |
oeis/127/A127337.asm | neoneye/loda-programs | 11 | 720 | ; A127337: Numbers that are the sum of 10 consecutive primes.
; Submitted by <NAME>(s1)
; 129,158,192,228,264,300,340,382,424,468,510,552,594,636,682,732,780,824,870,912,954,1008,1060,1114,1164,1216,1266,1320,1376,1434,1494,1546,1596,1650,1704,1752,1800,1854,1914,1974,2030,2084,2142,2192,2250,2310,2374,2432,2480,2530,2... |
source/calendar/machine-apple-darwin/s-nareti.adb | ytomino/drake | 33 | 27105 | <filename>source/calendar/machine-apple-darwin/s-nareti.adb
with System.Native_Time;
package body System.Native_Real_Time is
-- implementation
function To_Native_Time (T : Duration) return Native_Time is
begin
return C.stdint.uint64_t'Integer_Value (T);
end To_Native_Time;
function To_Duration ... |
macros_5/macros.asm | NrdyBhu1/learning-assembly-lang | 1 | 175642 | segment .text
global _start
%macro exit 1
mov rax, 60
mov rdi, %1
syscall
%endmacro
_start:
exit 0
ret
|
programs/oeis/024/A024195.asm | neoneye/loda | 22 | 166812 | ; A024195: Integer part of (4th elementary symmetric function of S(n))/(3rd elementary symmetric of S(n)), where S(n) = {3,4, ..., n+5}.
; 1,2,3,5,7,9,12,15,18,21,25,28,32,37,41,46,51,56,62,67,73,80,86,93,100,107,115,122,130,139,147,156,165,174,184,193,203,214,224,235,246,257,269,280,292,305,317,330,343,356,370,383,397... |
Task/File-input-output/Ada/file-input-output-2.ada | LaudateCorpus1/RosettaCodeData | 1 | 22719 | with Ada.Command_Line, Ada.Text_IO; use Ada.Command_Line, Ada.Text_IO;
procedure Read_And_Write_File_Line_By_Line is
Read_From : constant String := "input.txt";
Write_To : constant String := "output.txt";
Input, Output : File_Type;
begin
begin
Open (File => Input,
Mode => In_File,
... |
test/interaction/Issue2728.agda | cruhland/agda | 1,989 | 6203 | <reponame>cruhland/agda
record R : Set where
infix 0 _+_
|
programs/oeis/003/A003057.asm | jmorken/loda | 1 | 90712 | <gh_stars>1-10
; A003057: n appears n - 1 times.
; 2,3,3,4,4,4,5,5,5,5,6,6,6,6,6,7,7,7,7,7,7,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,13,13,13,13,13,14,14,14,14,14,14,14,14,14,14,14,14,14,15,15,15,15,15,15,15,15,15,15,15... |
src/dnscatcher/dnscatcher-datasets.ads | DNSCatcher/DNSCatcher | 4 | 19636 | -- Copyright 2019 <NAME> <<EMAIL>>
--
-- 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
-- rights to use, copy, modify, merge, publish, ... |
programs/oeis/158/A158396.asm | neoneye/loda | 22 | 100531 | <reponame>neoneye/loda<filename>programs/oeis/158/A158396.asm
; A158396: 729n^2 + 2n.
; 731,2920,6567,11672,18235,26256,35735,46672,59067,72920,88231,105000,123227,142912,164055,186656,210715,236232,263207,291640,321531,352880,385687,419952,455675,492856,531495,571592,613147,656160,700631,746560,793947,842792,893095,94... |
src/kernel/kernel.asm | asmCcoder/dzOS | 1 | 175231 | ;******************************************************************************
; kernel.asm
;
; Kernel
; for dastaZ80's dzOS
; by <NAME> (Jan 2018)
;
; Version 1.0.0
; Created on 03 Jan 2018
; Last Modification 03 Jan 2018
;******************************************************************************
; CHANGELOG
; -... |
programs/oeis/104/A104765.asm | neoneye/loda | 22 | 244782 | ; A104765: Triangle T(n,k) read by rows: row n contains the first n Lucas numbers A000204.
; 1,1,3,1,3,4,1,3,4,7,1,3,4,7,11,1,3,4,7,11,18,1,3,4,7,11,18,29,1,3,4,7,11,18,29,47,1,3,4,7,11,18,29,47,76,1,3,4,7,11,18,29,47,76,123,1,3,4,7,11,18,29,47,76,123,199,1,3,4,7,11,18,29,47,76,123,199,322,1,3,4,7,11,18,29,47,76,123,19... |
alloy4fun_models/trashltl/models/15/FPXLXyapPzPAKbBnM.als | Kaixi26/org.alloytools.alloy | 0 | 3783 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idFPXLXyapPzPAKbBnM_prop16 {
always all f:File | f in Protected
}
pred __repair { idFPXLXyapPzPAKbBnM_prop16 }
check __repair { idFPXLXyapPzPAKbBnM_prop16 <=> prop16o } |
programs/oeis/217/A217571.asm | karttu/loda | 1 | 16935 | ; A217571: a(n) = (2*n*(n+5) + (2*n+1)*(-1)^n - 1)/8.
; 1,4,5,10,11,18,19,28,29,40,41,54,55,70,71,88,89,108,109,130,131,154,155,180,181,208,209,238,239,270,271,304,305,340,341,378,379,418,419,460,461,504,505,550,551,598,599,648,649,700,701,754,755,810,811,868,869,928,929,990,991,1054,1055,1120,1121,1188,1189,1258,1259,... |
Cubical/Categories/Constructions/Quotient.agda | barrettj12/cubical | 0 | 7022 | -- Quotient category
{-# OPTIONS --safe #-}
module Cubical.Categories.Constructions.Quotient where
open import Cubical.Categories.Category.Base
open import Cubical.Categories.Functor.Base
open import Cubical.Categories.Limits.Terminal
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Prelude
ope... |
examples/Introduction/Universes.agda | shlevy/agda | 1,989 | 15503 | <filename>examples/Introduction/Universes.agda
module Introduction.Universes where
data Nat : Set where
zero : Nat
suc : Nat -> Nat
postulate IsEven : Nat -> Prop
data Even : Set where
even : (n : Nat) -> IsEven n -> Even
|
Data/MonoidalHeap/Monad.agda | oisdk/agda-playground | 6 | 4070 | <filename>Data/MonoidalHeap/Monad.agda
{-# OPTIONS --cubical --safe #-}
open import Algebra
open import Relation.Binary
open import Algebra.Monus
module Data.MonoidalHeap.Monad {s} (monus : TMAPOM s) where
open TMAPOM monus
open import Prelude
open import Data.List using (List; _∷_; []; foldr; _++_)
import Data.Nat... |
oeis/091/A091527.asm | neoneye/loda-programs | 11 | 19917 | ; A091527: a(n) = ((3*n)!/n!^2)*(Gamma(1+n/2)/Gamma(1+3n/2)).
; Submitted by <NAME>
; 1,4,30,256,2310,21504,204204,1966080,19122246,187432960,1848483780,18320719872,182327718300,1820797698048,18236779032600,183120225632256,1842826521244230,18581317012684800,187679234340049620,1898554215471513600,19232182592635611060,19... |
codec/encoder/core/asm/mb_copy.asm | TechSmith/openh264 | 1 | 173774 | ;*!
;* \copy
;* Copyright (c) 2009-2013, Cisco Systems
;* All rights reserved.
;*
;* Redistribution and use in source and binary forms, with or without
;* modification, are permitted provided that the following conditions
;* are met:
;*
;* * Redistributions of source code must retain the abo... |
bootloader/boot1.asm | rares985/wood-os | 2 | 169566 | <filename>bootloader/boot1.asm
KERNEL_OFFSET equ 0xF000
[bits 16]
boot1:
pusha
mov bp, 0x7000 ; 1. Set up the stack pointer.
mov sp, bp
; Broken, for now.
mov bx, 0
mov es, bx
mov di, 0x5000
call do_e820 ; 2. Query BIOS for available memo... |
definitions/algos.yaml.adb | DragonDriver/ann-benchmarks | 0 | 8634 | float:
euclidean:
adb-async:
docker-tag: ann-benchmarks-adb-async
module: ann_benchmarks.algorithms.adb
constructor: AnalyticDBAsync
base-args: ["@dataset"]
run-groups:
base:
args: [["gp-bp19e1yl22d85gqgxo-master.gpdbmaster.rds.aliyuncs.com"], [1, 2, 3]]
q... |
src/test/kc/complex/new_30_years_low_resolution/mcbitmap.asm | jbrandwood/kickc | 2 | 175227 | <reponame>jbrandwood/kickc
// KickAssembler functions for converting a Picture to a multi-color bitmap
// Based on Code by Cruzer/CML, April 2011 (https://codebase64.org/doku.php?id=base:double_screen_horizontal_scroller&s[]=koala)
// Based on a routine from Codebase64 by <NAME>
//-------------------------------------... |
src/main/antlr4/imports/Words.g4 | Yucukof/edu-antlr4-toy-parser-to-nbc | 0 | 1119 | lexer grammar Words;
import Actions
, Directions
, Items
, KeyWords
, Variables
;
|
src/dds-request_reply-requester2.adb | alexcamposruiz/dds-requestreply | 0 | 20496 | package body DDS.Request_Reply.requester is
-- DDS_ReturnCode_t RTI_Connext_Requester_delete(RTI_Connext_Requester * self)
-- {
-- DDS_ReturnCode_t retCode = DDS_RETCODE_OK;
--
-- if(self == NULL) {
-- DDSLog_exception(&DDS_LOG_BAD_PARAMETER_s,
-- ... |
iod/con2/ptr/sadd.asm | olifink/smsqe | 0 | 17513 | <filename>iod/con2/ptr/sadd.asm
; Set up pointer area addresses V2.04 1991 <NAME>
; 2005 <NAME>
;
; 2003-02-24 2.01 Now also returns sprite width in MSW of d5 (MK)
; 2003-04-30 2.02 Returns -1 in MSW of d5 instead of width if no alpha channel
; 2005-01-25 2.03 Changes for mouse pointer clipping (MK)... |
2017/day02_x86/part2.nasm | nikklassen/advent-of-code | 3 | 245151 | <reponame>nikklassen/advent-of-code<filename>2017/day02_x86/part2.nasm
global _start, buffer, buffer_len
extern parse_int, print_char, print_int, print_str, read
%define nums_len 16
section .data
checksum_msg db 'Checksum: ', 0
buffer times 4000 db 0
buffer_len equ $ - buffer
nums times 16 dd 0
sect... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.