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 |
|---|---|---|---|---|
const.asm | yignoth/x16-pminer | 2 | 97466 | L0_MAP_WIDTH = 32
L0_MAP_HEIGHT = 32
L1_MAP_WIDTH = 64
L1_MAP_HEIGHT = 32
VIEWPORT_WIDTH = 28
VIEWPORT_HEIGHT = 28
TERRAIN_MAP_WIDTH = 1024 ; code in s_lander require this be multiple of 256
TERRAIN_HEIGHT_ADDR = $A000
TERRAIN_CHAR_ADDR = (TERRAIN_HEIGHT_ADDR + TERRAIN_MAP_WIDTH)
TERRAIN_ORE_ADDR = (TERRAIN_CHAR_AD... |
MSDOS/Virus.MSDOS.Unknown.ply_3768.asm | fengjixuchui/Family | 3 | 246694 | <gh_stars>1-10
comment *
Ply.3768
Disassembly by
Darkman/VLAD
Ply.3768 is a 3768 bytes parasitic direct action EXE virus. Infects every
file in current directory, when executed, by appending the virus to the
infected file. Ply.3768 has an error handler, anti-heuristic techniques and
is pol... |
header/000/NROM-368.asm | freem/nes_corelib | 16 | 14672 | ; NROM-368: 46KB PRG-ROM + 8KB CHR-ROM
; http://wiki.nesdev.com/w/index.php/NROM-368
; An unofficial configuration that allows up to 46KB of ROM instead of 32.
; Important Note!
; "The PRG ROM is 47104 bytes in size. Due to constraints of the iNES format,
; it is padded at the beginning with 2048 bytes of ignored data... |
maistra/vendor/proxy_wasm_cpp_host__psm__0_1_12/src/arch/aarch64_armasm.asm | knm3000/proxy | 122 | 24752 | <reponame>knm3000/proxy
AREA |.text|, CODE, READONLY
GLOBAL |rust_psm_stack_direction|
ALIGN 4
|rust_psm_stack_direction| PROC
orr w0, wzr, #2
ret
ENDP
GLOBAL |rust_psm_stack_pointer|
ALIGN 4
|rust_psm_stack_pointer| PROC
mov x0, sp
ret
ENDP
GLOBAL |rust_psm_replace_... |
Transynther/x86/_processed/AVXALIGN/_st_sm_/i7-8650U_0xd2_notsx.log_420_673.asm | ljhsiun2/medusa | 9 | 99973 | <filename>Transynther/x86/_processed/AVXALIGN/_st_sm_/i7-8650U_0xd2_notsx.log_420_673.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r8
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x15f15, %r12
add $30813, %rdx
movw $0x6162, (%r12)
nop
nop
nop
nop
inc %r8
l... |
alloy4fun_models/trashltl/models/5/6EF32pdtZuY6wmHF4.als | Kaixi26/org.alloytools.alloy | 0 | 1525 | <gh_stars>0
open main
pred id6EF32pdtZuY6wmHF4_prop6 {
all p : File | p in Trash since p in Trash
}
pred __repair { id6EF32pdtZuY6wmHF4_prop6 }
check __repair { id6EF32pdtZuY6wmHF4_prop6 <=> prop6o } |
programs/oeis/210/A210448.asm | jmorken/loda | 1 | 5205 | ; A210448: Total number of different letters summed over all ternary words of length n.
; 0,3,15,57,195,633,1995,6177,18915,57513,174075,525297,1582035,4758393,14299755,42948417,128943555,387027273,1161475035,3485211537,10457207475,31374768153,94130595915,282404370657,847238277795,2541765165033,7625396158395,2287638980... |
programs/oeis/125/A125836.asm | karttu/loda | 1 | 28666 | ; A125836: Numbers whose base 8 or octal representation is 555555555......5.
; 0,5,45,365,2925,23405,187245,1497965,11983725,95869805,766958445,6135667565,49085340525,392682724205,3141461793645,25131694349165,201053554793325,1608428438346605,12867427506772845
lpb $0,1
add $4,$2
mov $3,$0
add $1,1
sub $2,$4
a... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/constant2.adb | best08618/asylo | 7 | 4340 | <gh_stars>1-10
-- { dg-do run }
-- { dg-options "-gnatVa" }
with Constant2_Pkg1; use Constant2_Pkg1;
procedure Constant2 is
begin
if Val then
raise Program_Error;
end if;
end;
|
source/zcx/s-unwsea.ads | ytomino/drake | 33 | 17353 | <filename>source/zcx/s-unwsea.ads
pragma License (Unrestricted);
-- runtime unit for ZCX
with C.unwind;
package System.Unwind.Searching is
pragma Preelaborate;
function Unwind_RaiseException (
exc : access C.unwind.struct_Unwind_Exception)
return C.unwind.Unwind_Reason_Code
renames C.unwind.Un... |
rts/gcc-9/adainclude/a-except.ads | letsbyteit/build-avr-ada-toolchain | 7 | 20933 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_1609.asm | ljhsiun2/medusa | 9 | 92654 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x7eae, %rdi
nop
nop
nop
nop
cmp %rcx, %rcx
mov (%rdi), %si
xor %rbp, %rbp
lea addresses_WC_ht+0x1e8d4, %r8
nop
dec %r15
movb (%r8), %r11b
nop
nop
and %r11, %r11
lea addresses_normal... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1964.asm | ljhsiun2/medusa | 9 | 9409 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r15
push %rax
push %rbx
push %rcx
push %rsi
// Faulty Load
lea addresses_WC+0xebe1, %rbx
nop
nop
nop
nop
xor $39072, %r12
mov (%rbx), %rsi
lea oracles, %rbx
and $0xff, %rsi
shlq $12, %rsi
mov (%rbx,%rsi,1), %rsi
... |
oeis/236/A236627.asm | neoneye/loda-programs | 11 | 103748 | ; A236627: Number of positive integers <= sqrt(n) not dividing n.
; Submitted by <NAME>(w4)
; 0,0,0,0,1,0,1,0,1,1,2,0,2,1,1,1,3,1,3,1,2,2,3,0,3,3,3,2,4,1,4,2,3,3,3,1,5,4,4,2,5,2,5,3,3,4,5,1,5,4,5,4,6,3,5,3,5,5,6,1,6,5,4,4,6,4,7,5,6,4,7,2,7,6,5,5,6,4,7,3,6,7,8,3,7,7,7,5,8,3,7,6,7,7,7,3,8,6,6,5
sub $0,1
mov $2,$0
mov $4... |
RK Stuff/m16r86.asm | voidRk86/TCHV-CP-M | 3 | 16836 | <reponame>voidRk86/TCHV-CP-M<gh_stars>1-10
;----------------------------------------------------------------------------
; Монитор компьютера Радио-86РК
; Исходник взят:
; http://code.google.com/p/radio86/wiki/MonitorDisassembled
; Предназначен для трансляции ассемблером:
; 2500 A.D. 8085 Macro Assembler - Version 4.... |
Task/Reverse-words-in-a-string/Ada/reverse-words-in-a-string-1.ada | LaudateCorpus1/RosettaCodeData | 1 | 3265 | <filename>Task/Reverse-words-in-a-string/Ada/reverse-words-in-a-string-1.ada
package Simple_Parse is
-- a very simplistic parser, useful to split a string into words
function Next_Word(S: String; Point: in out Positive)
return String;
-- a "word" is a sequence of non-space characters
-- if S(Point .... |
source/numerics/a-nscoty.ads | ytomino/drake | 33 | 447 | <gh_stars>10-100
pragma License (Unrestricted);
with Ada.Numerics.Generic_Complex_Types;
package Ada.Numerics.Short_Complex_Types is
new Generic_Complex_Types (Short_Float);
pragma Pure (Ada.Numerics.Short_Complex_Types);
|
programs/oeis/151/A151842.asm | karttu/loda | 0 | 100597 | ; A151842: a(3n)=n, a(3n+1)=2n+1, a(3n+2)=n+1.
; 0,1,1,1,3,2,2,5,3,3,7,4,4,9,5,5,11,6,6,13,7,7,15,8,8,17,9,9,19,10,10,21,11,11,23,12,12,25,13,13,27,14,14,29,15,15,31,16,16,33,17,17,35,18,18,37,19,19,39,20,20,41,21,21,43,22,22,45,23,23,47
lpb $0,1
add $1,1
trn $$2,3
add $1,$$0
lpe
|
Levels/AIZ/Misc Object Data/Map - Ride Vine S3.asm | NatsumiFox/AMPS-Sonic-3-Knuckles | 5 | 243299 | dc.w word_209FE-Map_AIZRideVine
dc.w word_20A06-Map_AIZRideVine
dc.w word_20A0E-Map_AIZRideVine
dc.w word_20A16-Map_AIZRideVine
dc.w word_20A1E-Map_AIZRideVine
dc.w word_20A26-Map_AIZRideVine
dc.w word_20A2E-Map_AIZRideVine
dc.w word_20A36-Map_AIZRideVine
dc.w word_20A3E-Map_AIZRideVine
dc.w word_20... |
source/asis/asis-gela-overloads-walk.adb | faelys/gela-asis | 4 | 9384 | <filename>source/asis/asis-gela-overloads-walk.adb
------------------------------------------------------------------------------
-- G E L A A S I S --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http... |
Library/Pref/configui/configuiProgList.asm | NCommander/pcgeos | 0 | 240567 | <filename>Library/Pref/configui/configuiProgList.asm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Designs in Light 2002 -- All Rights Reserved
FILE: configuiProgList.asm
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
ProgListC... |
src/hestia-time.adb | stcarrez/hestia | 2 | 8645 | <filename>src/hestia-time.adb
-----------------------------------------------------------------------
-- hestia-time -- Date and time information
-- Copyright (C) 2017, 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file exce... |
programs/oeis/092/A092185.asm | karttu/loda | 1 | 96179 | ; A092185: a(n) = (5/6)*n^3+(5/2)*n^2+(8/3)*n.
; 0,6,22,53,104,180,286,427,608,834,1110,1441,1832,2288,2814,3415,4096,4862,5718,6669,7720,8876,10142,11523,13024,14650,16406,18297,20328,22504,24830,27311,29952,32758,35734,38885,42216,45732,49438,53339,57440,61746,66262,70993,75944,81120,86526,92167,98048,104174,110550,1... |
test/Succeed/Issue3211a.agda | shlevy/agda | 1,989 | 11824 | <reponame>shlevy/agda
-- Andreas, 2018-09-08, issue #3211
--
-- Bug with parametrized module and constructor rewriting.
{-# OPTIONS --rewriting #-}
-- {-# OPTIONS -v rewriting.match:90 -v rewriting:90 #-}
-- {-# OPTIONS -v tc.getConType:50 #-}
module _ (Base : Set) where
open import Agda.Builtin.Equality
{-# BUILTIN... |
programs/oeis/293/A293410.asm | jmorken/loda | 1 | 88961 | ; A293410: Least integer k such that k/n^2 > sqrt(3).
; 0,2,7,16,28,44,63,85,111,141,174,210,250,293,340,390,444,501,562,626,693,764,839,917,998,1083,1171,1263,1358,1457,1559,1665,1774,1887,2003,2122,2245,2372,2502,2635,2772,2912,3056,3203,3354,3508,3666,3827,3991,4159,4331,4506,4684,4866,5051,5240,5432,5628,5827,6030,... |
saida_hex_teste02.asm | pedroeml/montagem-desmontagem | 0 | 5414 | <reponame>pedroeml/montagem-desmontagem
.text
.global main
main:
sll , ,
j 0, $, 100
j 00, $, 001011
j 1001, , 001001
j 0, $,
|
programs/templates/call.asm | neoneye/loda | 22 | 19503 | cal $0,-1
|
functionsMaybe.asm | TashinAhmed/ASSEMBLY-LANGUAGE | 0 | 163021 | <reponame>TashinAhmed/ASSEMBLY-LANGUAGE<filename>functionsMaybe.asm
.MODEL SMALL
.STACK 100H
.DATA
NEWLINE DB 0AH,0DH,'$'
.CODE
XOR_ PROC
PUSH AX
PUSH BX
ADD AL,BL
MOV CL,AL
POP BX
POP AX
RET
SUM ENDP
MA... |
src/aco-nodes-locals.ads | jonashaggstrom/ada-canopen | 6 | 24428 | <gh_stars>1-10
private with ACO.Protocols.Network_Management.Slaves;
private with ACO.Protocols.Error_Control.Masters;
private with ACO.Protocols.Synchronization;
private with ACO.Protocols.Service_Data.Servers;
private with ACO.SDO_Sessions;
package ACO.Nodes.Locals is
type Local
(Id : ACO.Messages.Nod... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/weak1.ads | best08618/asylo | 7 | 7134 | package Weak1 is
Myconst : constant Integer := 1234;
pragma Export (C, Myconst, "myconst");
pragma Weak_External (Myconst);
end Weak1;
|
data/pokemon/dex_entries/caterpie.asm | AtmaBuster/pokeplat-gen2 | 6 | 95856 | db "WORM@" ; species name
db "It crawls into"
next "foliage where it"
next "camouflages itself"
page "among leaves that"
next "are the same color"
next "as its body.@"
|
agda-stdlib/src/Axiom/UniquenessOfIdentityProofs/WithK.agda | DreamLinuxer/popl21-artifact | 5 | 7503 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Results concerning uniqueness of identity proofs, with axiom K
------------------------------------------------------------------------
{-# OPTIONS --with-K --safe #-}
module Axiom.UniquenessOfIdentityProofs.Wi... |
mc1/helloworld.asm | mnemocron/FHNW | 1 | 163245 | <reponame>mnemocron/FHNW
.include "m2560def.inc"
start:
ldi r16, 0x80
out DDRB, r16
toggleLed:
in r17, PORTB
eor r17, r16
out PORTB, r17
rjmp toggleLed
|
Definition/LogicalRelation/Substitution/Introductions/IdUPiPi.agda | CoqHott/logrel-mltt | 2 | 4267 | {-# OPTIONS --safe #-}
open import Definition.Typed.EqualityRelation
module Definition.LogicalRelation.Substitution.Introductions.IdUPiPi {{eqrel : EqRelSet}} where
open EqRelSet {{...}}
open import Definition.Untyped as U hiding (wk)
open import Definition.Untyped.Properties
open import Definition.Typed
open import... |
Setoids/Intersection/Definition.agda | Smaug123/agdaproofs | 4 | 16909 | {-# OPTIONS --safe --warning=error --without-K #-}
open import Agda.Primitive using (Level; lzero; lsuc; _⊔_)
open import LogicalFormulae
open import Sets.EquivalenceRelations
open import Setoids.Setoids
module Setoids.Intersection.Definition {a b : _} {A : Set a} (S : Setoid {a} {b} A) where
open Setoid S
open Equi... |
Test/Exec/Sqrt.asm | CharlesCarley/ToyVM | 1 | 81325 | ; -------------------------------------------
.text
; -------------------------------------------
abs:
cmp x9, x8
bge absge
sub x9, x8, x9
ret
absge:
sub x9, x9, x8
ret
; -------------------------------------------
isqrt: ; X = x0 ... |
Transynther/x86/_processed/NC/_ht_/i7-7700_9_0xca.log_21829_541.asm | ljhsiun2/medusa | 9 | 174269 | <filename>Transynther/x86/_processed/NC/_ht_/i7-7700_9_0xca.log_21829_541.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xa068, %rsi
lea addresses_UC_ht+0xc168, %rdi
nop
nop
nop
nop
cmp $40567, %rbp
mov $107, %rcx
r... |
kProfiler2/prfamd64msc.asm | OS2World/DEV-UTIL-kstuff | 0 | 7667 | ; $Id$;
;; @file
; kProfiler Mark 2 - Microsoft C/C++ Compiler Interaction, AMD64.
;
;
; Copyright (c) 2006-2007 <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
; ... |
x86/SelfElevate/self_elevate.asm | EgeBalci/SelfDefense | 20 | 9987 | [BITS 32]
cld ; Clear direction flags
call start ; Get the address of api block to stack
%include "../block_api.asm"; https://github.com/rapid7/metasploit-framework/blob/master/external/source/shellcode/windows/x86/src/block/block_api.asm
start:
pop ebp ... |
oeis/028/A028039.asm | neoneye/loda-programs | 11 | 22763 | ; A028039: Expansion of 1/((1-3x)(1-4x)(1-7x)(1-9x)).
; Submitted by <NAME>
; 1,23,342,4198,46403,481341,4792264,46410716,440901285,4131534979,38331795866,353038275954,3233774790247,29499248911337,268261230188748,2433731253526312,22039259605258889,199303153044040815
mov $1,1
mov $2,$0
mov $3,$0
lpb $2
mov $0,$3
su... |
lib/types/LoopSpace.agda | danbornside/HoTT-Agda | 0 | 7643 | {-# OPTIONS --without-K #-}
open import lib.Basics
open import lib.NConnected
open import lib.types.Nat
open import lib.types.TLevel
open import lib.types.Empty
open import lib.types.Group
open import lib.types.Pi
open import lib.types.Pointed
open import lib.types.Paths
open import lib.types.Sigma
open import lib.typ... |
tests/src/test.adb | onox/progress_indicators | 3 | 14131 | <gh_stars>1-10
with Ada.Text_IO;
with Progress_Indicators.Bars;
with Progress_Indicators.Spinners;
procedure Test is
use Progress_Indicators.Spinners;
use Progress_Indicators.Bars;
S : Spinner := Make;
Bar_Widths : constant array (Natural range <>) of Natural := (100, 50, 10, 5, 0);
begin
for Wi... |
data/trainers/attributes.asm | AtmaBuster/pokeplat-gen2 | 6 | 15038 | TrainerClassAttributes:
; entries correspond to trainer classes (see constants/trainer_constants.asm)
; Falkner
db NO_ITEM, NO_ITEM ; items
db 25 ; base reward
dw AI_BASIC | AI_SETUP | AI_SMART | AI_AGGRESSIVE | AI_CAUTIOUS | AI_STATUS | AI_RISKY
dw CONTEXT_USE | SWITCH_SOMETIMES
; Whitney
db NO_ITEM, NO_ITEM ; ... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1571.asm | ljhsiun2/medusa | 9 | 163064 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
lea addresses_A_ht+0x1c312, %r13
nop
and $54389, %rdx
vmovups (%r13), %ymm4
vextracti128 $0, %ymm4, %xmm4
vpextrq $0, %xmm4, %rbp
nop
nop
nop
cmp $29060, %rcx
lea addresses_WT_ht+0xd1b2, %r15
nop
nop
nop
n... |
kernel/amd64/sys/gdt.asm | ndmrr/fnix | 2 | 1396 |
global gdtFlush
gdtFlush:
lgdt[rdi]
mov ax, 0x10
mov es, ax
mov ss, ax
mov ds, ax
mov fs, ax
mov gs, ax
push 0x08
lea rax, [rel .reload_cs]
push rax
retfq
.reload_cs:
ret |
oeis/079/A079497.asm | neoneye/loda-programs | 11 | 92710 | ; A079497: a(1)=1; for n > 2, a(n) is the smallest integer > a(n-1) such that frac(sqrt(5)*a(n)) < frac(sqrt(5)*a(n-1)).
; Submitted by <NAME>
; 1,5,9,13,17,89,161,233,305,1597,2889,4181,5473,28657,51841,75025,98209,514229,930249,1346269,1762289,9227465,16692641,24157817,31622993,165580141,299537289,433494437,567451585... |
tests/src/Safe_Alloc/safe_alloc_suite.adb | mhatzl/spark_unbound | 8 | 16828 | with AUnit.Test_Caller;
with SA_Arrays_Tests;
with SA_Definite_Tests;
package body Safe_Alloc_Suite is
package SA_Arrays_Test_Caller is new AUnit.Test_Caller(SA_Arrays_Tests.Test_Fixture);
package SA_Definite_Test_Caller is new AUnit.Test_Caller(SA_Definite_Tests.Test_Fixture);
function Suite return Acc... |
java/src/main/antlr4/wtp/rangesParser/Ranges.g4 | andreaswitsch/cnlcsplib | 0 | 5698 | <filename>java/src/main/antlr4/wtp/rangesParser/Ranges.g4
grammar Ranges;
prog: (range)* ;
range: VARSY ':' '[' (DOUBLE|INT) ',' (DOUBLE|INT) ']';
NEWLINE : [\r\n]+ -> skip;
INT : [0-9]+ ;
DOUBLE : [0-9]+'.'[0-9]* ;
VARSY : [a-zA-Z]+[1-9]* ;
//WS : [ \n\t\r];
WS : [ \t\r\n]+ -> skip ;
|
Laboratorios/lab1_5.asm | LSantos06/MIPS2 | 0 | 29097 | .data
v1: .word 1 2 3 4
v2: .word 4 3 2 1
tam: .word 4
msg: .asciiz "\nFIM"
.text
# Declaracao de variaveis
la $t0, v1 # Carregando o endereco do primeiro elemento do v1
la $t1, v2 # Carregando o endereco do primeiro elemento do v2
la $t2, tam # Carregando o endereco do tamanho de v1
lw $s0, 0($t0) # $s... |
proofs/AKS/Rational/Base.agda | mckeankylej/thesis | 1 | 9994 | <reponame>mckeankylej/thesis
open import Function.Equivalence as FE using ()
open import Relation.Nullary using (yes; no)
open import Relation.Nullary.Negation using (contradiction)
open import Relation.Nullary.Product using (_×-dec_)
open import Relation.Nullary.Decidable using (False; map)
open import Relation.Binary... |
SOURCE/base/Kernel/Native/ix86/_llrem.asm | pmache/singularityrdk | 3 | 81771 | ;*******************************************************************************
;llrem.asm - signed long remainder routine
;
; Copyright (c) Microsoft Corporation. All rights reserved.
;
;Purpose:
; defines the signed long remainder routine
; __allrem
;
;******************************************... |
Cubical/Algebra/Polynomials/Multivariate/EquivCarac/A[X]X-A.agda | thomas-lamiaux/cubical | 0 | 16688 | <filename>Cubical/Algebra/Polynomials/Multivariate/EquivCarac/A[X]X-A.agda
{-# OPTIONS --safe --experimental-lossy-unification #-}
module Cubical.Algebra.Polynomials.Multivariate.EquivCarac.A[X]X-A where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Function
open import Cubical.Foundations.Eq... |
oeis/162/A162395.asm | neoneye/loda-programs | 11 | 172326 | <reponame>neoneye/loda-programs<filename>oeis/162/A162395.asm
; A162395: a(n) = -(-1)^n * n^2.
; 1,-4,9,-16,25,-36,49,-64,81,-100,121,-144,169,-196,225,-256,289,-324,361,-400,441,-484,529,-576,625,-676,729,-784,841,-900,961,-1024,1089,-1156,1225,-1296,1369,-1444,1521,-1600,1681,-1764,1849,-1936,2025,-2116,2209,-2304,24... |
Xholon/src/org/public/lib/antlr4g/RoomKSW01.g4 | kenwebb/Xholon | 1 | 17 | /*
* This ANTLR4 grammar was manually created by <NAME> from Room.xtext
* August 1, 2017
* parser rules start with a lowercase letter
* lexer rules start with a capital letter
* TODO FQN and ID rules are ambiguous; how do I deal with this ?
*/
grammar RoomKSW01;
roomModel
: 'RoomModel' ID (Documentation)? '{'... |
basic_types_ranges.adb | hsgrewal/learning-ada | 0 | 16299 | <reponame>hsgrewal/learning-ada
-- basic_types_ranges.adb
with Ada.Text_IO; use Ada.Text_IO;
procedure basic_types_ranges is
begin
Put_Line("The min range of an integer [" & Integer'Image(Integer'First) & "] and the max range of an integer [" & Integer'Image(Integer'Last) & "].");
Put_Line("The min range of a pos... |
test/Succeed/InjectiveTypeConstructors.agda | alhassy/agda | 3 | 9977 | {-# OPTIONS --injective-type-constructors #-}
module InjectiveTypeConstructors where
data D (A : Set) : Set where
data _==_ (A : Set) : Set → Set where
refl : A == A
injD : ∀ {A B} → D A == D B → A == B
injD refl = refl
|
csaw-2014/exploit/400-1/shellcode.asm | anarcheuz/CTF | 2 | 160228 | ;greenhornd shellcode to parse PEB
BITS 32
[SECTION .text]
_start:
push ebp
mov ebp, esp
sub esp, 10h
;save ptr to shellcode in eax
mov dword [ebp-4], eax
mov ebx, [fs:30h] ; TEB:30h -> PEB
mov ebx, [ebx+0ch] ; _PEB_LDR_DATA
mov ebx, [ebx+14h] ; InMemoryOrderModuleList (FLINK, BLINK)
mov ... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1911.asm | ljhsiun2/medusa | 9 | 173250 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r13
push %r8
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0xc462, %r8
nop
nop
nop
xor $45354, %rdx
mov (%r8), %r12
and $14257, %rbp
lea addresses_UC_ht+0x6882, %r11
xor %r10,... |
programs/oeis/017/A017251.asm | neoneye/loda | 22 | 95047 | ; A017251: a(n) = (9*n+7)^7.
; 823543,268435456,6103515625,52523350144,271818611107,1028071702528,3142742836021,8235430000000,19203908986159,40867559636992,80798284478113,150363025899136,266001988046875,450766669594624,736141813551277,1164175380274048,1789940649848551,2684354560000000,3937376385699289,5661610866627712,... |
orka/src/gl/interface/gl-viewports.ads | onox/orka | 52 | 2089 | <gh_stars>10-100
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2013 <NAME> <<EMAIL>>
-- Copyright (c) 2017 onox <<EMAIL>>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License a... |
ADL/drivers/stm32f334/stm32-opamp.ads | JCGobbi/Nucleo-STM32F334R8 | 0 | 3387 | private with STM32_SVD.SYSCFG;
package STM32.OPAMP is
type Operational_Amplifier is limited private;
procedure Enable (This : in out Operational_Amplifier)
with Post => Enabled (This);
procedure Disable (This : in out Operational_Amplifier)
with Post => not Enabled (This);
function Enabled (T... |
misc/RecursiveDescent/Hybrid/PBM.agda | yurrriq/parser-combinators | 7 | 16407 | ------------------------------------------------------------------------
-- A parser for PBM images; illustrates essential use of bind
------------------------------------------------------------------------
-- Note that I am using the simple "Plain PBM" format, and I try to
-- adhere to the following statement from t... |
cmd/graphics/grparms.asm | minblock/msdos | 0 | 176371 | ;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1988 - 1991
; * All Rights Reserved.
; */
PAGE ,132 ;AN000;
TITLE DOS - GRAPHICS Command - Command line parsing module ;AN000;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ... |
oeis/132/A132687.asm | neoneye/loda-programs | 11 | 28917 | <reponame>neoneye/loda-programs
; A132687: a(n) = binomial(2^n + 3*n - 1, n).
; 1,4,36,560,17550,1370754,324540216,267212177232,822871715492970,9728874233306696390,442491588454024774291770,76919746769405407508866898400,50743487119356450255156023756871000,126415236283916101313125990884354223189400,1186479248550609439690... |
ga_ref_impl/src/multivector_type_base.adb | rogermc2/GA_Ada | 3 | 22306 |
package body Multivector_Type_Base is
-- ----------------------------------------------------------------------------
-- procedure Set_Grade_Usage (Base : in out Type_Base; GU : GA_Maths.Grade_Usage) is
-- theBase : Type_Base;
-- begin
-- theBase.M_GU := GU;
-- end Set... |
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/g-shsh64.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 20836 | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- ... |
asm-step-by-step/src/vid.asm | jsanders/work-throughs | 5 | 10360 | <reponame>jsanders/work-throughs<filename>asm-step-by-step/src/vid.asm
; Simple text-based video using a buffer and `write` syscall
SECTION .data
EOL equ 0x0a
SPACE equ 0x20
HBAR equ 0xc4 ; Replacement for unprintable characters
Reset db 27,"[2J",27,"[01;01H" ; Escape sequence for clearing screen
ResetLen eq... |
programs/oeis/047/A047531.asm | neoneye/loda | 22 | 1526 | ; A047531: Numbers that are congruent to {2, 3, 7} mod 8.
; 2,3,7,10,11,15,18,19,23,26,27,31,34,35,39,42,43,47,50,51,55,58,59,63,66,67,71,74,75,79,82,83,87,90,91,95,98,99,103,106,107,111,114,115,119,122,123,127,130,131,135,138,139,143,146,147,151,154,155,159,162,163,167,170,171,175,178,179,183,186,187,191,194,195,199,2... |
data/jpred4/jp_batch_1613899824__PwSkIMV/jp_batch_1613899824__PwSkIMV.als | jonriege/predict-protein-structure | 0 | 418 | SILENT_MODE
BLOCK_FILE jp_batch_1613899824__PwSkIMV.concise.blc
MAX_NSEQ 876
MAX_INPUT_LEN 878
OUTPUT_FILE jp_batch_1613899824__PwSkIMV.concise.ps
PORTRAIT
POINTSIZE 8
IDENT_WIDTH 12
X_OFFSET 2
Y_OFFSET 2
DEFINE_FONT 0 Helvetica DEFAULT
DEFINE_FONT 1 Helvetica REL 0.75
DEFINE_FONT 7 Helvetica REL 0.6
DEFINE_FO... |
oeis/340/A340806.asm | neoneye/loda-programs | 11 | 14179 | ; A340806: a(n) = Sum_{k=1..n-1} (k^n mod n).
; Submitted by <NAME>(s3)
; 0,1,3,2,10,13,21,4,27,45,55,38,78,77,105,8,136,93,171,146,210,209,253,172,250,325,243,294,406,365,465,16,528,561,595,402,666,665,741,372,820,673,903,726,945,897,1081,536,1029,1125,1275,1170,1378,765,1485,924,1596,1653,1711,1078,1830,1705,1890,32,... |
core/lib/types/Paths.agda | timjb/HoTT-Agda | 0 | 7108 | {-# OPTIONS --without-K --rewriting #-}
open import lib.Basics
module lib.types.Paths where
{- ! is an equivalence and works on ≠ -}
module _ {i} {A : Type i} {x y : A} where
!-equiv : (x == y) ≃ (y == x)
!-equiv = equiv ! ! !-! !-!
≠-inv : (x ≠ y) → (y ≠ x)
≠-inv x≠y y=x = x≠y (! y=x)
{- Pre- and post- c... |
libsrc/adt/linkedlist/adt_ListPrepend.asm | andydansby/z88dk-mk2 | 1 | 168240 | <reponame>andydansby/z88dk-mk2
; int adt_ListPrepend(struct adt_List *list, void *item)
; CALLER linkage for function pointers
XLIB adt_ListPrepend
LIB adt_ListPrepend_callee
XREF ASMDISP_ADT_LISTPREPEND_CALLEE
.adt_ListPrepend
pop hl
pop bc
pop de
push de
push bc
push hl
jp adt_ListPrepend... |
8088/cga/calibrate/test_pattern/test.asm | reenigne/reenigne | 92 | 176326 | <reponame>reenigne/reenigne
org 0x100
mov ax,2
int 0x10
mov dx,0x3d8
mov al,0x08
out dx,al
mov ax,0xb800
mov es,ax
mov ax,0x00b0
xor di,di
mov cx,16
loopY:
push cx
mov cx,16
loopX:
stosw
inc ah
loop loopX
add di,160-32
pop cx
loop loopY
end:
jmp end
|
oeis/124/A124644.asm | neoneye/loda-programs | 11 | 6436 | <filename>oeis/124/A124644.asm<gh_stars>10-100
; A124644: Mirror image of A098474 formatted as a triangular array.
; Submitted by <NAME>
; 1,1,1,2,2,1,5,6,3,1,14,20,12,4,1,42,70,50,20,5,1,132,252,210,100,30,6,1,429,924,882,490,175,42,7,1,1430,3432,3696,2352,980,280,56,8,1,4862,12870,15444,11088,5292,1764,420,72,9,1,167... |
libsrc/_DEVELOPMENT/adt/p_list/c/sccz80/p_list_empty.asm | jpoikela/z88dk | 640 | 101172 |
; int p_list_empty(p_list_t *list)
SECTION code_clib
SECTION code_adt_p_list
PUBLIC p_list_empty
EXTERN asm_p_list_empty
defc p_list_empty = asm_p_list_empty
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _p_list_empty
defc _p_list_empty = p_list_empty
ENDIF
|
bin/.osa/run_finder.scpt | gwurr3/.cfg | 1 | 3574 | tell application "Finder"
make New Finder Window
activate
end tell
|
oeis/036/A036263.asm | neoneye/loda-programs | 11 | 90684 | ; A036263: Second differences of primes.
; Submitted by <NAME>
; 1,0,2,-2,2,-2,2,2,-4,4,-2,-2,2,2,0,-4,4,-2,-2,4,-2,2,2,-4,-2,2,-2,2,10,-10,2,-4,8,-8,4,0,-2,2,0,-4,8,-8,2,-2,10,0,-8,-2,2,2,-4,8,-4,0,0,-4,4,-2,-2,8,4,-10,-2,2,10,-8,4,-8,2,2,2,-2,0,-2,2,2,-4,4,2,-8,8,-8,4,-2,2,2,-4,-2,2,8,-4,-4,4,-4,2,6,-10,16,-12,4
mov... |
programs/oeis/101/A101384.asm | karttu/loda | 1 | 85749 | ; A101384: a(n) = n*(n-1)^3*(n^2-n-1)/2.
; 0,0,1,60,594,3040,10875,30996,75460,163584,324405,599500,1046166,1740960,2783599,4301220,6453000,9435136,13486185,18892764,25995610,35196000,46962531,61838260,80448204,103507200,131828125,166330476,208049310,258144544,317910615,388786500,472366096,570408960,684851409,817817980... |
oeis/135/A135273.asm | neoneye/loda-programs | 11 | 10751 | <reponame>neoneye/loda-programs
; A135273: Row 9 of A038207.
; Submitted by <NAME>
; 512,2304,4608,5376,4032,2016,672,144,18,1
mov $2,9
sub $2,$0
add $0,$2
bin $0,$2
mov $1,2
pow $1,$2
mul $0,$1
|
src/parse-tree.agda | xoltar/cedille | 0 | 11665 | <filename>src/parse-tree.agda
module parse-tree where
open import lib
record ParseTreeRec : Set lone where
field
ParseTreeT : Set
isParseTree : ParseTreeT → 𝕃 char → string → Set
ParseTreeToString : ParseTreeT → string
|
test/Compiler/simple/UHC-FFI.agda | agda/agda-uhc | 4 | 9192 | <gh_stars>1-10
-- Checks that UHC FFI calls using non-magic datatypes work
module UHC-FFI where
data Nat : Set where
Zero : Nat
Suc : Nat -> Nat
{-# COMPILE UHC Nat = data UHC.Agda.Builtins.Nat (Zero | Suc) #-}
{-# FOREIGN UHC __IMPORT__ Data.Char #-}
open import Common.IO
open import Common.Unit
open import Com... |
src/main/antlr/Level.g4 | qwewqa/trebla | 5 | 5996 | grammar Level;
import UnicodeClasses;
@header {
package xyz.qwewqa.trebla.grammar.generated;
}
LineComment
: '//' ~[\u000A\u000D]*
-> channel(HIDDEN)
;
WS
: ([\u0020\u0009\u000C] | NL)
-> skip
;
NL: '\u000A' | '\u000D' '\u000A' ;
Identifier
: (Letter | '_') (Letter | '_' | DecD... |
maps/AzaleaGym.asm | Dev727/ancientplatinum | 28 | 8938 | object_const_def ; object_event constants
const AZALEAGYM_BUGSY
const AZALEAGYM_BUG_CATCHER1
const AZALEAGYM_BUG_CATCHER2
const AZALEAGYM_BUG_CATCHER3
const AZALEAGYM_TWIN1
const AZALEAGYM_TWIN2
const AZALEAGYM_GYM_GUY
AzaleaGym_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
AzaleaGymBugsyScript:
facep... |
programs/oeis/324/A324161.asm | karttu/loda | 0 | 17987 | ; A324161: Number of zerofree nonnegative integers <= n.
; 0,1,2,3,4,5,6,7,8,9,9,10,11,12,13,14,15,16,17,18,18,19,20,21,22,23,24,25,26,27,27,28,29,30,31,32,33,34,35,36,36,37,38,39,40,41,42,43,44,45,45,46,47,48,49,50,51,52,53,54,54,55,56,57,58,59,60,61,62,63,63,64,65,66,67,68,69,70,71,72,72,73,74,75,76,77,78,79,80,81,81... |
llvm-gcc-4.2-2.9/gcc/ada/g-excact.adb | vidkidz/crossbridge | 1 | 16655 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
oeis/105/A105851.asm | neoneye/loda-programs | 11 | 3587 | ; A105851: Binomial transform triangle, read by rows.
; Submitted by <NAME>
; 1,2,1,4,3,1,8,8,4,1,16,20,12,5,1,32,48,32,16,6,1,64,112,80,44,20,7,1,128,256,192,112,56,24,8,1,256,576,448,272,144,68,28,9,1,512,1280,1024,640,352,176,80,32,10,1,1024,2816,2304,1472,832,432,208,92,36,11,1
lpb $0
add $1,1
sub $0,$1
lpe
su... |
programs/oeis/138/A138416.asm | jmorken/loda | 1 | 16827 | <reponame>jmorken/loda<filename>programs/oeis/138/A138416.asm
; A138416: a(n) = (p^3 - p^2)/2, where p = prime(n).
; 2,9,50,147,605,1014,2312,3249,5819,11774,14415,24642,33620,38829,50807,73034,100949,111630,148137,176435,191844,243399,282449,348524,451632,510050,541059,606797,641574,715064,1016127,1115465,1276292,1333... |
Transynther/x86/_processed/NONE/_st_/i7-8650U_0xd2.log_6158_1497.asm | ljhsiun2/medusa | 9 | 95341 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %r15
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xfd1f, %rbx
dec %r10
movb $0x61, (%rbx)
nop
nop
nop
nop
dec %rsi
lea addresses_D_ht+0xdd1f, %r13
nop
dec %r14
mov (%r13), %ebx
nop
and $40185, %rbx
lea addresses_WT_ht+0x10a4d... |
Go To Folder.scpt | sschwartzman/go-to-folder-macos-finder-button | 0 | 1455 | <filename>Go To Folder.scpt
#@osa-lang:AppleScript
try
tell application "Finder"
activate
tell application "System Events" to keystroke "g" using {shift down, command down}
end tell
end try |
src/transitions/dr16.asm | BlockoS/up-news | 2 | 89565 | <reponame>BlockoS/up-news<gh_stars>1-10
DR16_VDC_DISPLAY_FLAG = VDC_CR_RW_INC_1 | VDC_CR_BG_ENABLE | VDC_CR_VBLANK_ENABLE
DR16_VRAM_ADDR = $2000
; [todo] main fx routine : init + dr16
; [todo] if it takes too much cpu time, use a 64x32 BAT, draw the complete
; [todo] sequence to the 1st 32x32 and scroll back horizon... |
src/fot/FOTC/Data/Bool.agda | asr/fotc | 11 | 4347 | ------------------------------------------------------------------------------
-- The Booleans
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-}
{-# OPTIONS --wi... |
Library/Trans/Graphics/Vector/EPS/Export/exportHeader.asm | steakknife/pcgeos | 504 | 172578 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1989 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: PostScript Translation Library
FILE: exportHeader.asm
AUTHOR: <NAME>, 5 March 1991
ROUTINES:
Name Description
---- -----------
... |
_build/dispatcher/jmp_ippsGFpECSetPointHash_8fdec9fa.asm | zyktrcn/ippcp | 1 | 97496 | extern m7_ippsGFpECSetPointHash:function
extern n8_ippsGFpECSetPointHash:function
extern y8_ippsGFpECSetPointHash:function
extern e9_ippsGFpECSetPointHash:function
extern l9_ippsGFpECSetPointHash:function
extern n0_ippsGFpECSetPointHash:function
extern k0_ippsGFpECSetPointHash:function
extern ippcpJumpIndexForMergedLib... |
src/Categories/Category/Monoidal/Interchange/Braided.agda | Trebor-Huang/agda-categories | 279 | 16099 | {-# OPTIONS --without-K --safe #-}
open import Categories.Category using (Category; module Commutation)
open import Categories.Category.Monoidal.Core using (Monoidal)
open import Categories.Category.Monoidal.Braided using (Braided)
-- Braided monoidal categories satisfy the "four middle interchange"
module Categorie... |
oeis/187/A187915.asm | neoneye/loda-programs | 11 | 176473 | ; A187915: a(n) = (1/2)*((n+2)*P(n-1)+(5*n+1)*P(n)) where P() = A000129 are the Pell numbers.
; Submitted by <NAME>
; 3,13,45,141,419,1201,3357,9209,24899,66549,176205,462917,1208163,3135449,8097597,20823921,53350531,136228445,346819437,880594813,2230476067,5637208449,14218682973,35797815913,89974587843,225790779205,56... |
base/runtime/lcmp.asm | zbyti/Mad-Pascal | 7 | 26903 | <filename>base/runtime/lcmp.asm<gh_stars>1-10
; long unsigned compare
.proc cmpEAX_ECX
lda :STACKORIGIN-1+STACKWIDTH*3,x
cmp :STACKORIGIN+STACKWIDTH*3,x
bne _done
lda :STACKORIGIN-1+STACKWIDTH*2,x
cmp :STACKORIGIN+STACKWIDTH*2,x
bne _done
AX_CX
lda :STACKORIGIN-1+STACKWIDTH,x
cmp :STACKORIGIN+STAC... |
src/aco-utils-ds-generic_queue.ads | jonashaggstrom/ada-canopen | 6 | 15696 | generic
type Item_Type is private;
package ACO.Utils.DS.Generic_Queue is
pragma Preelaborate;
type Queue
(Max_Nof_Items : Positive)
is tagged limited private;
type Item_Array is array (Natural range <>) of Item_Type;
function Is_Full (This : Queue) return Boolean
with Inline;
func... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_64_800.asm | ljhsiun2/medusa | 9 | 6527 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r8
push %rbp
push %rbx
push %rcx
push %rsi
lea addresses_WC_ht+0x6ef6, %r8
nop
nop
nop
nop
nop
and %rbx, %rbx
mov $0x6162636465666768, %rsi
movq %rsi, (%r8)
nop
nop
inc %r8
lea addresses_normal_ht+0x864d, %rbp
nop
nop
nop
nop
cmp $40333, %r14
vmovup... |
src/game_level/particle_effects_manager.asm | TypeDefinition/NautiBuoy | 2 | 80308 | <reponame>TypeDefinition/NautiBuoy
INCLUDE "./src/include/entities.inc"
INCLUDE "./src/definitions/definitions.inc"
DEF PARTICLE_EFFECT_NO EQU 6
SECTION "Particle Effect Data", WRAM0
wParticleEffectsData::
dstruct ParticleEffect, wParticleEffect0
dstruct ParticleEffect, wParticleEffect1
dstruct ParticleEf... |
Library/Styles/Manip/manipModify.asm | steakknife/pcgeos | 504 | 247699 | COMMENT @----------------------------------------------------------------------
Copyright (c) Berkeley Softworks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Library/Styles
FILE: Manip/manipModify.asm
REVISION HISTORY:
Name Date Description
---- ---- -----------
Tony 12/91 Initial version... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.