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 |
|---|---|---|---|---|
src/sm/map_icons.asm | rclickenbrock/alttp_sm_combo_randomizer_rom | 0 | 103076 | <reponame>rclickenbrock/alttp_sm_combo_randomizer_rom
org $C2BB30 ; Start of elevator label drawing routine
base $82BB30
JMP Map_Labels_Hijack
Return_From_Hijack:
org $C2FB80 ; Beginning of a large block of free space
base $82FB80
Map_Labels_Hijack:
LDA config_keysanity ; check to see if this is keysanity
BEQ After_Do... |
programs/oeis/103/A103435.asm | jmorken/loda | 1 | 17667 | <reponame>jmorken/loda
; A103435: a(n) = 2^n * Fibonacci(n).
; 0,2,4,16,48,160,512,1664,5376,17408,56320,182272,589824,1908736,6176768,19988480,64684032,209321984,677380096,2192048128,7093616640,22955425792,74285318144,240392339456,777925951488,2517421260800
mov $3,1
lpb $0
sub $0,1
add $2,$3
add $1,$2
mov $3,... |
examples/SPARK2005/peak/src/peak.adb | michalkonecny/polypaver | 1 | 9033 | <filename>examples/SPARK2005/peak/src/peak.adb
package body Peak is
function Max (X,Y : Float) return Float is
R : Float;
begin
if X >= Y then
R := X;
else
R := Y;
end if;
return R;
end Max;
procedure Coeffs (Y1,Y2,Y3 : in Float; A,B,C : out Float) is
begin
A := -- 0.5*(Y1-2*Y2+Y3)
PolyP... |
boot/x86_64/stage1.asm | garyGLgan/g8os | 1 | 93270 | <reponame>garyGLgan/g8os<filename>boot/x86_64/stage1.asm
%include "boot/x86_64/constants.asm"
[BITS 32]
[ORG 0x7e00]
stage1:
; load all the other segments than cs (it's already set by jumping) with 32 bit data segments
mov eax, 0x10
mov ds, eax
mov es, eax
mov fs, eax
mov gs, eax
mov ss, e... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1362.asm | ljhsiun2/medusa | 9 | 85168 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r14
push %r15
push %rbx
push %rcx
// Faulty Load
lea addresses_normal+0x1e0cc, %rbx
nop
sub $29363, %r15
mov (%rbx), %r14d
lea oracles, %rbx
and $0xff, %r14
shlq $12, %r14
mov (%rbx,%r14... |
examples/examplesPaperJFP/loadAllOOAgdaPart1.agda | agda/ooAgda | 23 | 16512 | module examplesPaperJFP.loadAllOOAgdaPart1 where
-- This file loads the files containing the code examples in the ooAgda paper
-- ordered by sections
-- The code is divided into files
-- loadAllOOAgdaPart1.agda and loadAllOOAgdaPart2.agda
-- loadAllOOAgdaPart1.agda loads code from Sect. 1 - 7
-- loadAllOOAgdaPart2... |
src/platform/aarch64_vm/start_aarch64.asm | libreliu/IncludeOS | 1 | 165340 | <reponame>libreliu/IncludeOS
.extern __boot_magic
.text
.align 8
.globl _start
_start:
// in case someone one day provides us with a cookie
ldr x8 , =__boot_magic
str x0, [x8]
b reset
.align 8
_MULTIBOOT_START_:
// Multiboot header
// Must be aligned, or we'll have a hard time finding the header
.word 0... |
oeis/167/A167318.asm | neoneye/loda-programs | 11 | 20990 | ; A167318: Totally multiplicative sequence with a(p) = 8*(p-3) for prime p.
; Submitted by <NAME>
; 1,-8,0,64,16,0,32,-512,0,-128,64,0,80,-256,0,4096,112,0,128,1024,0,-512,160,0,256,-640,0,2048,208,0,224,-32768,0,-896,512,0,272,-1024,0,-8192,304,0,320,4096,0,-1280,352,0,1024,-2048,0,5120,400,0,1024,-16384,0,-1664,448,0... |
source/numerics/a-ngcoty.ads | ytomino/drake | 33 | 9335 | <reponame>ytomino/drake<gh_stars>10-100
pragma License (Unrestricted);
generic
type Real is digits <>;
package Ada.Numerics.Generic_Complex_Types is
pragma Pure;
type Complex is record
Re, Im : Real'Base;
end record;
pragma Complex_Representation (Complex);
type Imaginary is private;
pragma... |
oeis/045/A045351.asm | neoneye/loda-programs | 11 | 6270 | ; A045351: Primes congruent to {0, 2, 4, 5} mod 7.
; Submitted by <NAME>
; 2,5,7,11,19,23,37,47,53,61,67,79,89,103,107,109,131,137,149,151,163,173,179,191,193,229,233,257,263,271,277,313,317,331,347,359,373,383,389,397,401,431,439,443,457,467,487,499,509,523,541,557,569,571,593,599,607,613,641,653,677,683,691,709,719,7... |
programs/oeis/010/A010956.asm | jmorken/loda | 1 | 24889 | <reponame>jmorken/loda
; A010956: Binomial coefficient C(40,n).
; 1,40,780,9880,91390,658008,3838380,18643560,76904685,273438880,847660528,2311801440,5586853480,12033222880,23206929840,40225345056,62852101650,88732378800,113380261800,131282408400,137846528820,131282408400,113380261800
mov $1,40
bin $1,$0
|
Source/DX8/circle.asm | betajaen/dx8 | 9 | 177448 | ; FRAMES 1
; SIZE 8x8
; PAL F04
;00000000
;00000000
;00000111
;00001100
;00001000
;00001000
;00001000
;00001000
db $00, $00
db $00, $00
db $00, $00
db $00, $00
db $00, $00
db $54, $05
db $01, $01
db $01, $01
|
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/unchecked_convert9.ads | best08618/asylo | 7 | 8886 | with System;
with Ada.Unchecked_Conversion;
with Interfaces; use Interfaces;
package Unchecked_Convert9 is
type R is record
H : Unsigned_16;
L : Unsigned_16;
end record;
Var : R;
pragma Volatile (Var);
function Conv is new
Ada.Unchecked_Conversion (Source => Unsigned_32, Target => R);
... |
oeis/028/A028053.asm | neoneye/loda-programs | 11 | 92695 | ; A028053: Expansion of 1/((1-3x)(1-5x)(1-6x)(1-7x)).
; Submitted by <NAME>
; 1,21,280,3030,29071,258111,2172430,17592960,138433141,1065579801,8062670980,60182175690,444345657211,3251891531091,23627323915930,170652039023220,1226510307989281,8779155519807981,62625124983987280,445449774932327550,3160830238141717351
mov ... |
linux64/lesson34.asm | mashingan/notes-asmtutor | 1 | 23838 | format ELF64 executable 3
entry start
include 'procs.inc'
segment readable writable
response db 'HTTP/1.1 200 OK', 0Dh, 0Ah, 'Content-Type: text/html'
db 0Dh, 0Ah, 'Content-Length: 14'
rept 2 {
db 0Dh, 0Ah
}
db 'Hello world!', 0Dh, 0Ah, 0h
response.length = $ - response
buffer rb 255
segment ... |
oeis/075/A075911.asm | neoneye/loda-programs | 11 | 101680 | ; A075911: Third column of triangle A075500.
; Submitted by <NAME>
; 1,30,625,11250,188125,3018750,47265625,728906250,11133203125,168996093750,2554931640625,38523925781250,579858642578125,8717878417968750,130968170166015625,1966522521972656250,29517837677001953125,442967564392089843750,6646513462066650390625,9971770191... |
Appl/EduApps/Fontmgck/ASMTOOLS/asmtoolsManager.asm | steakknife/pcgeos | 504 | 12391 | <filename>Appl/EduApps/Fontmgck/ASMTOOLS/asmtoolsManager.asm
include geos.def ; standard macros
include resource.def ; idata/udata, ProcCallFixedOrMovable etc.
include gstring.def
; public routines defined in this module
global MY_GRMAPCOLORINDEX:far
SetGeosConvention ; set calling co... |
src/Relation.agda | nad/up-to | 0 | 7722 | <filename>src/Relation.agda
------------------------------------------------------------------------
-- Unary and binary relations
------------------------------------------------------------------------
{-# OPTIONS --safe #-}
module Relation where
open import Equality.Propositional
open import Prelude
open import ... |
oeis/096/A096174.asm | neoneye/loda-programs | 11 | 246505 | <reponame>neoneye/loda-programs
; A096174: Even numbers n such that (n^3+1)/(n+1) is prime.
; Submitted by <NAME>
; 2,4,6,16,18,22,28,34,42,58,60,70,72,76,78,90,100,102,106,112,118,120,132,142,144,148,154,156,162,168,174,190,204,210,216,232,246,280,288,294,310,330,352,358,370,382,384,396,406,436,448,454,456,490,496,526... |
sqlc/src/main/antlr4/de/loteslab/mmm/lang/MacroLexer.g4 | Lotes/mysql-meta-modeling | 0 | 4854 | <reponame>Lotes/mysql-meta-modeling
lexer grammar MacroLexer;
HASH: '#';
QUESTION: '?';
COLON: ':';
LOR: '||';
LAND: '&&';
OR: '|';
AND: '&';
XOR: '^';
EQ: '==' | '!=';
CMP: '>=' |'<' |'>' |'<=';
SHIFT_LEFT: '<<';
SHIFT: SHIFT_LEFT | '>>';
ADD: '+' | '-';
MUL: '*' | '/' | '%';
UNARY: '+' | '-' | '~' | '!';
LBRACKET: ... |
programs/oeis/051/A051064.asm | karttu/loda | 0 | 19777 | ; A051064: 3^a(n) exactly divides 3n. Or, 3-adic valuation of 3n.
; 1,1,2,1,1,2,1,1,3,1,1,2,1,1,2,1,1,3,1,1,2,1,1,2,1,1,4,1,1,2,1,1,2,1,1,3,1,1,2,1,1,2,1,1,3,1,1,2,1,1,2,1,1,4,1,1,2,1,1,2,1,1,3,1,1,2,1,1,2,1,1,3,1,1,2,1,1,2,1,1,5,1,1,2,1,1,2,1,1,3,1,1,2,1,1,2,1,1,3,1,1,2,1,1,2,1,1,4,1,1,2,1,1,2,1,1,3,1,1,2,1,1,2,1,1,3,... |
bdshemu_test/basic/test_64_basic02.asm | andreaswimmer/bddisasm | 1 | 178359 |
bits 64
_xxx:
lea rbp, [rel _xxx]
mov eax, dword [rbp]
; This must fail with SHEMU_ABORT_GLA_OUTSIDE
mov eax, dword [rbp - 3]
retn |
programs/oeis/133/A133873.asm | neoneye/loda | 22 | 105332 | <filename>programs/oeis/133/A133873.asm
; A133873: n modulo 3 repeated 3 times.
; 1,1,1,2,2,2,0,0,0,1,1,1,2,2,2,0,0,0,1,1,1,2,2,2,0,0,0,1,1,1,2,2,2,0,0,0,1,1,1,2,2,2,0,0,0,1,1,1,2,2,2,0,0,0,1,1,1,2,2,2,0,0,0,1,1,1,2,2,2,0,0,0,1,1,1,2,2,2,0,0,0,1,1,1,2,2,2,0,0,0,1,1,1,2,2,2,0,0,0,1
add $0,3
div $0,3
mod $0,3
|
EserciziMips/4.2-Sommatoria.asm | AntoAndGar/MIPS | 0 | 241221 | <gh_stars>0
# Effettuare la sommatoria di numeri reali poistivi immessi da input. La sommatoria è calcolata quando il valore immesso dall'utente è nullo o negativo.
# INPUT
# 3.5;7.23;5.6;9.17;-1
# OUTPUT
# 25.5
.text
.globl main
main:
#l.d $f4, uno
l.d $f10, zero
loop:
li $v0, 7
syscall
c.lt.d $f10, $f0
bc1f s... |
programs/oeis/079/A079863.asm | karttu/loda | 0 | 85104 | <gh_stars>0
; A079863: a(n) is the number of occurrences of 11s in the palindromic compositions of m=2*n-1 = the number of occurrences of 12s in the palindromic compositions of m=2*n.
; 34,70,144,296,608,1248,2560,5248,10752,22016,45056,92160,188416,385024,786432,1605632,3276800,6684672,13631488,27787264,56623104,11534... |
agda-stdlib/src/Data/Product/Nary/NonDependent.agda | DreamLinuxer/popl21-artifact | 5 | 9701 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Nondependent heterogeneous N-ary products
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Product.Nary.NonDependent where
---------------... |
test/Succeed/Issue1109.agda | shlevy/agda | 1,989 | 1414 | <filename>test/Succeed/Issue1109.agda
-- Andreas, 2014-05-02 Negative fixities allow now.
module _ where
infix -1 _+_
infix 0 _*_
postulate
_+_ : Set1 → Set2 → Set1
_*_ : Set2 → Set2 → Set2
test = Set + Set1 * Set1
|
Relation/Binary.agda | oisdk/agda-playground | 6 | 4000 | {-# OPTIONS --safe --cubical --postfix-projections #-}
module Relation.Binary where
open import Level
open import Function using (_∘_; flip; id)
open import Inspect using (inspect;〖_〗)
open import HLevels using (isSet)
open import Path as ≡ hiding (sym; refl)
open import Data.Bool using (Bool; true; ... |
handlebars/src/main/antlr4/com/github/jknack/handlebars/internal/HbsParser.g4 | mcdan/handlebars.java | 0 | 2600 | <reponame>mcdan/handlebars.java
parser grammar HbsParser;
options {
tokenVocab=HbsLexer;
}
@members {
public String[] tokenNames() {
String[] tokenNames = new String[_SYMBOLIC_NAMES.length];
for (int i = 0; i < tokenNames.length; i++) {
tokenNames[i] = VOCABULARY.getLiteralName(i);
if (tokenN... |
Diana.Frontend.Generated/DianaScript.g4 | thautwarm/DianaScript-JIT | 19 | 3463 | grammar DianaScript;
options { language = CSharp; }
pipe returns [ImmediateAST result] :
gen__line_wrap__L124_L62 local__2_pipe_case0=or_expr {
ImmediateAST tmp__1 ;
tmp__1 = ( ImmediateAST ) _localctx.local__2_pipe_case0.result ;
$result = tmp__1;
}
;
gen__line_wrap__L124_L62 ... |
lab5/assemblies/except_prot.asm | AriaPahlavan/CompArch | 0 | 503 | .ORIG x1600
TRAP x25
.END |
Groups/FreeGroup/Parity.agda | Smaug123/agdaproofs | 4 | 16545 | {-# OPTIONS --safe --warning=error #-}
open import Sets.EquivalenceRelations
open import Setoids.Setoids
open import Groups.FreeGroup.Definition
open import Groups.Homomorphisms.Definition
open import Groups.Definition
open import Decidable.Sets
open import Numbers.Naturals.Order
open import LogicalFormulae
open impor... |
archive/vtl-2/source/left_specials/goto.asm | paulscottrobson/retrochallenge-jan-2016 | 0 | 89729 | ; ****************************************************************************************************************
; ****************************************************************************************************************
;
; # : Goto line number, optional return.
;
; ***********************************... |
test/Succeed/Issue4314.agda | shlevy/agda | 1,989 | 12444 | {-# OPTIONS --allow-unsolved-metas #-}
postulate
A : Set
R : A → Set
M : (a : A) (s t : R a) → Set
variable
a : A
s : R a
t : _
postulate
m : M _ s t
t = _
|
asm/jo_f_status.asm | JozanLeClerc/lowbat-bsd | 1 | 16705 | <reponame>JozanLeClerc/lowbat-bsd
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ;;
;; File : jo_f_status.asm /_________/ ;;
;; Author ... |
pwn/pwn8/src2/wetware_hardened.asm | ufsit/SwampCTF-2019-Challenges | 8 | 22857 | BITS 64
GLOBAL _start
_start:
;stack frame
push rbp
mov rbp, rsp
sub rsp, 0x200
;lets print message: rdi and rdx already set!
print:
mov rdi, 1
mov rsi, msg1
mov rdx, 0x27
mov rax, 1
syscall
;now read input 1 byte at a time:
mov rsi, rsp
read:
mov rax, 0
mov r10, rsp
add r10, 0x200
mov rdi, 0
mov rdx, 1
syscall
;co... |
Transynther/x86/_processed/US/_st_zr_4k_/i7-8650U_0xd2.log_2374_1093.asm | ljhsiun2/medusa | 9 | 165863 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x70ea, %rsi
nop
nop
sub %rdi, %rdi
mov $0x6162636465666768, %r9
movq %r9, (%rsi)
nop
nop
nop
xor $35952, %r12
lea addresses_A_ht+0x41ea, %rdx
cmp %r10... |
EndC.g4 | ENDERZOMBI102/endc-lang | 0 | 2020 | grammar EndC;
/** The start rule must be whatever you would normally use, such as script
* or compilationUnit, etc...
*/
script
: import_statement* ( vardef | function | statement | template )+ EOF
;
// IMPORT
import_statement
: OWN importables FROM IDENTIFIER '/'
;
importables : importable ( '.' importable )... |
agent/compiler.asm | jephthai/EvilVM | 141 | 4653 | <filename>agent/compiler.asm
;;; ------------------------------------------------------------------------
;;; Mark words immediate, inline, etc
;;; ------------------------------------------------------------------------
start_def ASM, imm, "immediate"
mov rax, G_THIS
mov BYTE [rax + 8], IMM
end_def imm
start_def ... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca_notsx.log_21829_535.asm | ljhsiun2/medusa | 9 | 81273 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r8
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0xefbf, %r11
dec %rdx
movw $0x6162, (%r11)
nop
nop
nop
nop
nop
inc %rsi
lea addresses_UC_ht+0x13e5f, %rsi
lea addresses_UC_ht+0x14b5f, %rdi
and %r8, %r8
mov $118, %rcx
rep m... |
programs/oeis/076/A076312.asm | neoneye/loda | 22 | 98744 | <reponame>neoneye/loda
; A076312: a(n) = floor(n/10) + 2*(n mod 10).
; 0,2,4,6,8,10,12,14,16,18,1,3,5,7,9,11,13,15,17,19,2,4,6,8,10,12,14,16,18,20,3,5,7,9,11,13,15,17,19,21,4,6,8,10,12,14,16,18,20,22,5,7,9,11,13,15,17,19,21,23,6,8,10,12,14,16,18,20,22,24,7,9,11,13,15,17,19,21,23,25,8,10,12,14,16,18,20,22,24,26,9,11,13,... |
agda/ExtInterface/Data/Product.agda | RPI-WCL/safety-envelopes-sentinels | 0 | 13995 | module ExtInterface.Data.Product where
-- TODO: Write to Agda team about the lack of compilability of Sigma.
-- I assumed that the builtin flag would allow to compile Σ into (,)
-- but it doesn't. That's why this microfile exists
infixr 4 ⟨_,_⟩
infixr 2 _×_
data _×_ (A B : Set) : Set where
⟨_,_⟩ : A → B → A × B
{... |
microbit_v20/light_sensor/src/light_sensor.ads | KLOC-Karsten/ada_projects | 0 | 18183 | <filename>microbit_v20/light_sensor/src/light_sensor.ads
-- Copyright (c) 2021, <NAME> (<EMAIL>)
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are met:
--
-- 1. Redistributions of source code mu... |
oeis/268/A268173.asm | neoneye/loda-programs | 11 | 172817 | ; A268173: a(n) = Sum_{k=0..n} (-1)^k*floor(sqrt(k)).
; Submitted by <NAME>
; 0,-1,0,-1,1,-1,1,-1,1,-2,1,-2,1,-2,1,-2,2,-2,2,-2,2,-2,2,-2,2,-3,2,-3,2,-3,2,-3,2,-3,2,-3,3,-3,3,-3,3,-3,3,-3,3,-3,3,-3,3,-4,3,-4,3,-4,3,-4,3,-4,3,-4,3,-4,3,-4,4,-4,4,-4,4,-4,4,-4,4,-4,4,-4,4,-4,4,-4,4,-5,4,-5,4,-5,4,-5,4,-5,4,-5,4,-5,4,-5,4,... |
Spin/Parser/Spin.g4 | redxdev/Thread | 4 | 4294 | grammar Spin;
@lexer::header
{
#pragma warning disable 3021
}
@parser::header
{
#pragma warning disable 3021
using System.Text;
using System.Linq;
}
@parser::members
{
public static int IGNORED_CHANNEL = 1;
// This is not ideal, but in certain situations we actually do want to be able to
// parse through wh... |
legend-pure-m2-dsl-mapping/src/main/antlr4/org/finos/legend/pure/m2/dsl/mapping/serialization/grammar/EnumerationMappingLexer.g4 | hausea/legend-pure | 37 | 1461 | <reponame>hausea/legend-pure
lexer grammar EnumerationMappingLexer;
import M4Fragment;
COLON: ':';
PATH_SEPARATOR: '::';
BRACKET_OPEN: '[';
BRACKET_CLOSE: ']';
GROUP_OPEN: '(';
GROUP_CLOSE: ')';
EQUAL: '=';
DOT: '.';
QUOTE: '\'';
COMMA: ',';
INTEGER: ('+' | '-')? (Digit)+;
VALID_STRING: ValidString;
STRING: String;
... |
LibraBFT/Concrete/Obligations.agda | haroldcarr/bft-consensus-agda | 0 | 9528 | <reponame>haroldcarr/bft-consensus-agda<gh_stars>0
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2020, 2021, Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
open import LibraBFT.... |
agda/Nat1.agda | piyush-kurur/sample-code | 2 | 14769 | <filename>agda/Nat1.agda<gh_stars>1-10
module Nat1 where
data ℕ : Set where
zero : ℕ
succ : ℕ → ℕ
_+_ : ℕ → ℕ → ℕ
zero + b = b
succ a + b = succ (a + b)
open import Equality
one = succ zero
two = succ one
three = succ two
0-is-id : ∀ (n : ℕ) → (n + zero) ≡ n
0-is-id zero =
begin
(zero + zero) ≈ ... |
oeis/307/A307124.asm | neoneye/loda-programs | 11 | 82463 | <reponame>neoneye/loda-programs
; A307124: a(n) is twice the square of the product of the first n primes each decreased by one.
; Submitted by <NAME>
; 2,8,128,4608,460800,66355200,16986931200,5503765708800,2663822603059200,2088436920798412800,1879593228718571520000,2435952824419268689920000,389752451907082990387200000... |
resources/patches/customgfx.asm | Yoshimaster96/Superstar-Editor-YI | 2 | 171464 | ;Load in extra assets
;TODO
org $11FD87
PreLoad:
;TODO
PostLoad:
;TODO
;Allow custom Map16 graphics and "act-as" to be loaded
lda.b ExMAP16
;TODO
lda.w #$8000
sta.b SRAMCopyDstLo
lda.w #$0071
sta.b SRAMCopyDstHi
lda.w #$5800
sta.b SRAMCopySize
jsl.l CopyDataToSRAM
;TODO
;TODO
;Custom objects to facilitate v... |
coverage/IN_CTS/0448-COVERAGE-nir-instr-set-520/work/variant/1_spirv_asm/shader.frag.asm | asuonpaa/ShaderTests | 0 | 91920 | ; SPIR-V
; Version: 1.0
; Generator: Khronos Glslang Reference Front End; 10
; Bound: 48
; Schema: 0
OpCapability Shader
%1 = OpExtInstImport "GLSL.std.450"
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %4 "main" %28
OpExecutionMode %4 OriginUp... |
programs/oeis/027/A027025.asm | neoneye/loda | 22 | 1143 | ; A027025: a(n) = T(n,n+3), T given by A027023.
; 1,11,33,77,161,319,613,1157,2161,4011,7417,13685,25217,46431,85453,157229,289249,532075,978705,1800189,3311137,6090207,11201717,20603253,37895377,69700555,128199401,235795557,433695745,797690943,1467182493,2698569437,4963443137,9129195339,16791208193,30883846957,5680425... |
programs/oeis/047/A047209.asm | karttu/loda | 1 | 245091 | <gh_stars>1-10
; A047209: Numbers that are congruent to {1, 4} mod 5.
; 1,4,6,9,11,14,16,19,21,24,26,29,31,34,36,39,41,44,46,49,51,54,56,59,61,64,66,69,71,74,76,79,81,84,86,89,91,94,96,99,101,104,106,109,111,114,116,119,121,124,126,129,131,134,136,139,141,144,146,149,151,154,156,159,161,164,166,169,171,174,176,179,181,... |
src/kernel/arch/i386/memory/I386PagingAsm.asm | jameskingstonclarke/arctic | 1 | 91178 | section .text
[bits 32]
global enable_paging
enable_paging:
; assume we have been passed the page directory
; move the page directory into cr3
push ebp
mov ebp, esp
mov eax, [esp+8]
mov cr3, eax
mov esp, ebp
pop ebp
; set paging and protection bits in cr0
... |
src/kernel/drivers/soc/usart_int.asm | rostislav-nikitin/socOS | 1 | 169369 | .cseg
.org 0x0b
rjmp usart_rxc_handler ; USART RX Complete Handler
rjmp usart_udre_handler ; UDR Empty Handler
rjmp usart_txc_handler ; USART TX Complete Handler |
lab6/FpuFLtoA.asm | ALEGATOR1209/SystemProgramming | 7 | 82338 | <gh_stars>1-10
; #########################################################################
;
; FpuFLtoA
;
;##########################################################################
; -----------------------------------------------------------------------
; This procedure was wri... |
fox32rom/cursor.asm | ry755/fox32 | 6 | 28921 | ; mouse cursor routines
enable_cursor:
push r0
push r1
push r31
; write the cursor bitmap to the overlay framebuffer
mov r0, CURSOR_FRAMEBUFFER_PTR
mov r1, mouse_cursor
mov r31, 96 ; 8x12
enable_cursor_loop:
mov [r0], [r1]
add r0, 4
add r1, 4
loop enable_cursor_loop
; ... |
libsrc/sprites/software/sp1/spectrum/sprites/sp1_MoveSprAbs_callee.asm | jpoikela/z88dk | 38 | 20459 | ; void __CALLEE__ sp1_MoveSprAbs_callee(struct sp1_ss *s, struct sp1_Rect *clip, uchar *frame, uchar row, uchar col, uchar vrot, uchar hrot)
; 04.2006 aralbrec, Sprite Pack v3.0
; sinclair spectrum version
; *** PLEASE HELP ME I'VE BEEN MADE UGLY BY BUGFIXES
PUBLIC sp1_MoveSprAbs_callee
PUBLIC ASMDISP_SP1_MOVESPRABS_... |
lotterytest.asm | Gunahuachen1995/XV6_lottery_scheduler | 0 | 245965 |
_lotterytest: file format elf32-i386
Disassembly of section .text:
00000000 <spin>:
#include "types.h"
#include "user.h"
#include "date.h"
// Do some useless computations
void spin(int tix) {
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 ec 28 sub ... |
dino/lcs/enemy/BA.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 178810 | <filename>dino/lcs/enemy/BA.asm
copyright zengfr site:http://github.com/zengfr/romhack
00042A move.l D1, (A0)+
00042C dbra D0, $42a
004D3C move.l D0, (A4)+
004D3E move.l D0, (A4)+
033966 move.b D0, ($ba,A6) [enemy+AC]
03396A move.b D0, ($bb,A6)
033C5A move.b #$14, ($ba,A6) [enemy+18]
033C60 bsr ... |
onnxruntime/core/mlas/lib/amd64/SgemmKernelFma3.asm | dennyac/onnxruntime | 6,036 | 84673 | ;++
;
; Copyright (c) Microsoft Corporation. All rights reserved.
;
; Licensed under the MIT License.
;
; Module Name:
;
; SgemmKernelFma3.asm
;
; Abstract:
;
; This module implements the kernels for the single precision matrix/matrix
; multiply operation (SGEMM).
;
; This implementation uses AVX fused multiply... |
source/asis/xasis/xasis-static-discrete.adb | faelys/gela-asis | 4 | 16273 | <gh_stars>1-10
------------------------------------------------------------------------------
-- G E L A X A S I S --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org ... |
Task/Levenshtein-distance/AppleScript/levenshtein-distance-1.applescript | LaudateCorpus1/RosettaCodeData | 1 | 3195 | <reponame>LaudateCorpus1/RosettaCodeData<filename>Task/Levenshtein-distance/AppleScript/levenshtein-distance-1.applescript
set dist to findLevenshteinDistance for "sunday" against "saturday"
to findLevenshteinDistance for s1 against s2
script o
property l : s1
property m : s2
end script
if s... |
libsrc/_DEVELOPMENT/compress/zx1/c/sdcc/dzx1_standard_back.asm | ahjelm/z88dk | 640 | 21976 |
; void dzx1_standard_back(void *src, void *dst)
SECTION code_clib
SECTION code_compress_zx1
PUBLIC _dzx1_standard_back
EXTERN asm_dzx1_standard_back
_dzx1_standard_back:
pop af
pop hl
pop de
push de
push hl
push af
jp asm_dzx1_standard_back
|
libsrc/target/sms/wait_vblank_noint.asm | dikdom/z88dk | 1 | 7255 | SECTION code_clib
PUBLIC wait_vblank_noint
PUBLIC _wait_vblank_noint
EXTERN get_vcount
;==============================================================
; void wait_vblank_noint()
;==============================================================
; Waits for VBlank, without interrupts
;=... |
programs/oeis/168/A168428.asm | karttu/loda | 0 | 163852 | ; A168428: a(n) = 4^n mod 10.
; 1,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4
mov $2,$0
mul $0,4
mov $1,-1
pow $1,$2
lpb $0,1
mov $0,1
add $1,5
lpe
|
Definition/Conversion/Stability.agda | CoqHott/logrel-mltt | 2 | 4968 | <gh_stars>1-10
{-# OPTIONS --safe #-}
module Definition.Conversion.Stability where
open import Definition.Untyped
open import Definition.Untyped.Properties
open import Definition.Typed
open import Definition.Typed.Weakening
open import Definition.Conversion
open import Definition.Typed.Consequences.Syntactic
open imp... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_791.asm | ljhsiun2/medusa | 9 | 104841 | <filename>Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_791.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x1b1c3, %rsi
add $12610, %r13
movb $0x61, (%rsi)
nop
nop
nop
nop
sub %rdx, %rdx
le... |
Irvine/Examples/ch09/32 bit/StringDemo.asm | alieonsido/ASM_TESTING | 0 | 21074 | <reponame>alieonsido/ASM_TESTING
; String Library Demo (StringDemo.asm)
; This program demonstrates the string-handling procedures in
; the book's link library.
INCLUDE Irvine32.inc
.data
string_1 BYTE "abcde////",0
string_2 BYTE "ABCDE",0
msg0 BYTE "string_1 in upper case: ",0
msg1 BYTE "string1 and string... |
skolloble-grammar/grammar/src/main/antlr/Skolloble.g4 | muqhc/skolloble | 0 | 4813 | grammar Skolloble ;
file
: element
;
element
: name attribution? block
| STRING
;
attribution
: INTOATTR attribute+
;
block
: INTOBLOCK element* GoOutBLOCK
| WholeWrap element+
| SingleBlock element
| NoBlock
;
attribute
: name STRING?
;
na... |
TVSW/Model Verification/Esercitazioni/TicTacToe.asm | samuelexferri/unibg-workspace | 0 | 178300 | asm TicTacToe
import ../STDL/StandardLibrary
import ../STDL/CTLlibrary
signature:
domain Coord subsetof Integer
enum domain Sign = {CROSS | NOUGHT}
enum domain Status = {TURN_USER | TURN_PC}
controlled board: Prod(Coord, Coord) -> Sign
controlled status: Status
monitored userChoiceR: Coord //scelta coordinata ... |
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xca_notsx.log_21829_1648.asm | ljhsiun2/medusa | 9 | 3653 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r14
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x711b, %r10
nop
nop
nop
nop
nop
xor %rdi, %rdi
movb (%r10), %r11b
nop
nop
nop
nop
and $22236, %r13
lea addresses_normal_ht+0x17159, %rbx
no... |
oeis/213/A213506.asm | neoneye/loda-programs | 11 | 84466 | <reponame>neoneye/loda-programs
; A213506: Number of nonisomorphic 2-generator p-groups of class at most 2 and order p^n.
; Submitted by <NAME>(s4)
; 1,1,2,4,6,8,13,17,23,31,40,50,65,79,97,119,143,169,203,237,277,323,373,427,492,558,633,717,807,903,1014,1128,1254,1392,1539,1695,1870,2050,2246,2458,2682,2918,3178,3446,3... |
2IMA/SystemesConcurrents/tp6/lr-simu.adb | LagOussama/enseeiht | 1 | 22575 | -- Time-stamp: <23 oct 2012 10:40 <EMAIL>>
with LR.Tasks; use LR.Tasks;
package body LR.Simu is
Is_Running : Boolean := True;
Nb_Procs : Positive;
Timespeed : Positive := 1; -- in 1..100
Basefreq : constant Positive := 100; -- sleep unit : 1/Basefreq
type Proc_Sleep_Record is
record
... |
core/lib/types/Nat.agda | timjb/HoTT-Agda | 0 | 3530 | {-# OPTIONS --without-K --rewriting #-}
open import lib.Base
open import lib.Function
open import lib.NType
open import lib.PathGroupoid
open import lib.Relation
open import lib.types.Coproduct
open import lib.types.Empty
module lib.types.Nat where
infixl 80 _+_
_+_ : ℕ → ℕ → ℕ
0 + n = n
(S m) + n = S (m + n)
{-# B... |
engine/events/init_events.asm | Ebernacher90/pokecrystal-allworld | 0 | 166787 | InitializeEvents:
; initialize events
ld hl, InitialEvents
.events_loop
ld a, [hli]
ld e, a
ld a, [hli]
ld d, a
and e
cp -1
jr z, .events_done
ld b, SET_FLAG
push hl
call EventFlagAction
pop hl
jr .events_loop
.events_done
; initialize engine flags
ld hl, Initial... |
agda-stdlib/src/Algebra/Consequences/Base.agda | DreamLinuxer/popl21-artifact | 5 | 14692 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Lemmas relating algebraic definitions (such as associativity and
-- commutativity) that don't the equality relation to be a setoid.
------------------------------------------------------------------------
{-# OP... |
print-3/code/decbdefs.asm | varmfskii/coco | 0 | 96729 | ifndef DECBDEFS
DECBDEFS: equ $ff
DEVCFW: equ $006a ; tab zone field width
DEVLCF: equ $006b ; last tab position
DEVPOS: equ $006c ; print position (column)
DEVWID: equ $006d ; print width
PRTDEV: equ $006e ; print device (-1 cassette/0 not cassette)
DEVNUM: equ $006f ; device number
CURPOS: equ $0088 ; current... |
sql_analyze/grammars/ClickHouse/ClickHouseLexer.g4 | vingkan/sql_tools | 1 | 6797 | //
// Original: ClickHouse: Copyright 2016-2021 Yandex LLC
//
// Changes: nuna_sql_tools: Copyright 2022 Nuna Inc
//
// 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://www.apa... |
install/dos2/getinfo.asm | minblock/msdos | 0 | 6093 | <reponame>minblock/msdos
;============================================================================
title GETINFO
;============================================================================
;
; (C) Copyright MICROSOFT Corp. 1991-1992
;
; Title: DOS2.EXE - GUI Portion of DOS Install
;
; Module: GETINFO ... |
savefile/maps/2F38_EasternEncampment.asm | stranck/fools2018-1 | 35 | 160171 | SECTION "Map_2F38", ROM0[$B800]
Map_2F38_Header:
hdr_tileset 0
hdr_dimensions 10, 8
hdr_pointers_a Map_2F38_Blocks, Map_2F38_TextPointers
hdr_pointers_b Map_2F38_Script, Map_2F38_Objects
hdr_pointers_c Map_2F38_InitScript, Map_2F38_RAMScript
hdr_palette $01
... |
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0_notsx.log_21829_277.asm | ljhsiun2/medusa | 9 | 17921 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r15
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x3f8d, %rsi
lea addresses_normal_ht+0x12519, %rdi
nop
nop
nop
and $17601, %r10
mov $70, %rcx
rep movsl
nop
nop
add $15957, %rbp
lea addresses_normal_h... |
experiments/test-suite/mutation-based/10/4/dll.als | kaiyuanw/AlloyFLCore | 1 | 589 | pred test44 {
some disj DLL0: DLL {some disj Node0, Node1, Node2: Node {
DLL = DLL0
header = DLL0->Node2
Node = Node0 + Node1 + Node2
pre = Node0->Node1 + Node1->Node2
nxt = Node1->Node0 + Node2->Node1
elem = Node0->-7 + Node1->-8 + Node2->0
RepOk[]
}}
}
run test44 for 3 expect 0
pred test13 {
some disj DLL0: DLL {some... |
stdlib-exts/Class/Monad/Writer.agda | WhatisRT/meta-cedille | 35 | 13396 | <gh_stars>10-100
module Class.Monad.Writer where
open import Class.Monad
open import Data.Product
open import Data.Unit.Polymorphic
open import Level
open import Function
private
variable
a : Level
A : Set a
record MonadWriter (M : Set a → Set a) {{_ : Monad M}} (W : Set a) : Set (suc a) where
field
... |
cards/bn5/ItemCards/136-E007 Millions' Pocket Money.asm | RockmanEXEZone/MMBN-Mod-Card-Kit | 10 | 167343 | .include "defaults_item.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 0
card_id equ 7
card_no equ "007"
card_sub equ "Item Card 007"
card_sub_x... |
programs/oeis/140/A140341.asm | jmorken/loda | 1 | 193 | ; A140341: The number of bits needed to write the universal code for an Elias delta coding, the simplest asymptotically optimal code.
; 1,4,4,5,5,5,5,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11... |
src/Memory/GDT/GDT.asm | Kaj9296/Electric_OS | 7 | 97833 | [bits 64]
GLOBAL LoadGDT
section .text
LoadGDT:
LGDT [rdi]
MOV ax, 0x10
MOV ds, ax
MOV es, ax
MOV fs, ax
MOV gs, ax
MOV ss, ax
POP rdi
MOV rax, 0x08
PUSH rax
PUSH rdi
RETFQ
|
loader_v1/hldr32/hldr32.asm | clayne/pe_to_shellcode | 0 | 29323 | <reponame>clayne/pe_to_shellcode
bits 32
%include "hldr32.inc"
;-----------------------------------------------------------------------------
;recover kernel32 image base
;-----------------------------------------------------------------------------
hldr_begin:
pushad ;must save ebx/... |
oeis/067/A067411.asm | neoneye/loda-programs | 11 | 241960 | ; A067411: Third column of triangle A067410 and second column of A067417.
; 1,4,24,144,864,5184,31104,186624,1119744,6718464,40310784,241864704,1451188224,8707129344,52242776064,313456656384,1880739938304,11284439629824,67706637778944,406239826673664,2437438960041984,14624633760251904,87747802561511424,5264868153690685... |
alloy4fun_models/trashltl/models/11/ZtxuD4Fgc37GsJDpG.als | Kaixi26/org.alloytools.alloy | 0 | 3568 | open main
pred idZtxuD4Fgc37GsJDpG_prop12 {
eventually (all f : File | f in Trash)
}
pred __repair { idZtxuD4Fgc37GsJDpG_prop12 }
check __repair { idZtxuD4Fgc37GsJDpG_prop12 <=> prop12o } |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/osint.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 11721 | <reponame>djamal2727/Main-Bearing-Analytical-Model
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
memsim-master/src/parser-parse_stats.adb | strenkml/EE368 | 0 | 17730 |
with Memory.Stats;
separate (Parser)
procedure Parse_Stats(parser : in out Parser_Type;
result : out Memory_Pointer) is
mem : Memory_Pointer := null;
begin
if Get_Type(parser) = Open then
Parse_Memory(parser, mem);
end if;
result := Memory_Pointer(Stats.Create_Stats(mem));
... |
AssemblyLearning/sse.asm | lxw0902/CppLearning | 0 | 165472 | <gh_stars>0
.model flat,c
extern NUM_PIXELS_MAX:dword
; Image threshold data structure (see SsePackedIntegerThreshold.h)
ITD struct
PbSrc dword ?
PbMask dword ?
NumPixels dword ?
Threshold byte ?
Pad byte 3 dup(?)
... |
oeis/342/A342436.asm | neoneye/loda-programs | 11 | 102288 | <reponame>neoneye/loda-programs
; A342436: a(n) = Sum_{k=1..n} gcd(k,n)^(gcd(k,n) - 1).
; Submitted by <NAME>(s4)
; 1,3,11,68,629,7791,117655,2097224,43046745,1000000637,25937424611,743008378618,23298085122493,793714773371811,29192926025391919,1152921504608944272,48661191875666868497,2185911559738739594277,104127350297... |
agent/crypto/spritz.asm | jephthai/EvilVM | 141 | 28463 | <reponame>jephthai/EvilVM<filename>agent/crypto/spritz.asm
;;;
;;; Implement the SPRITZ-C algorithm. Rivest published the original SPRITZ,
;;; but <NAME> and <NAME> published a paper in IEICE, June
;;; 2017 describing a distinguishing attack and weak state issues in the
;;; full SPRITZ. They then added a countermeas... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1543.asm | ljhsiun2/medusa | 9 | 88584 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r15
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x19cc3, %r10
cmp %r15, %r15
mov $0x6162636465666768, %rbp
movq %rbp, %xmm0
movups %xmm0, (%r10)
nop
nop
nop
nop
nop
sub $6420, %r10
lea addresses_D_ht+0x11243, %rdi
... |
clients/ada/src/client/-clients.ads | theunifai/unifai-sdk | 1 | 26375 | -- FastAPI
-- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
--
-- The version of the OpenAPI document: 0.1.0
--
--
-- NOTE: This package is auto generated by OpenAPI-Generator 4.0.0.
-- https://openapi-generator.tech
-- Do not edit the class manually.... |
programs/oeis/044/A044702.asm | karttu/loda | 1 | 83001 | <reponame>karttu/loda<filename>programs/oeis/044/A044702.asm
; A044702: Numbers n such that string 7,7 occurs in the base 9 representation of n but not of n+1.
; 70,151,232,313,394,475,556,638,718,799,880,961,1042,1123,1204,1285,1367,1447,1528,1609,1690,1771,1852,1933,2014,2096,2176,2257,2338,2419,2500,2581,2662,2743,2... |
RefactorAgdaEngine/Test/Tests/input/Test.agda | omega12345/RefactorAgda | 5 | 5529 | -- a few random examples
module Test where
import Agda.Builtin.Bool
data Nat : Set where zero : Nat -- Comment which gets eaten
suc : Nat -> Nat --Comment which is preserved
plus {- preserved comment {- which may be nested -} -} :
{- comment after Colon, also preserved-}
{-comments are essentia... |
Source/Levels/L1112.asm | AbePralle/FGB | 0 | 102246 | <reponame>AbePralle/FGB
; L1112.asm duke's disco
; Generated 04.10.2001 by mlevel
; Modified 04.10.2001 by <NAME>
INCLUDE "Source/Defs.inc"
INCLUDE "Source/Levels.inc"
DISCOBALL_INDEX EQU 29
REDDANCER_INDEX EQU 45
BLUEDANCER_INDEX EQU 47
REDDANCER_2X1_INDEX EQU 49
BLUEDANCER_2X1_INDEX EQU 53
REDDANCER... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.