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/asm/fatal_error.asm | krzem5/Assembly-64bit_OS_Kernel | 4 | 169021 | <reponame>krzem5/Assembly-64bit_OS_Kernel
bits 64
global asm_halt_cpu
asm_halt_cpu:
cli
._asm_l:
hlt
jmp ._asm_l
|
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1854.asm | ljhsiun2/medusa | 9 | 14411 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r13
push %r8
push %rbp
push %rbx
push %rcx
push %rdi
// Load
lea addresses_normal+0x8a1c, %rcx
nop
nop
add %r10, %r10
movups (%rcx), %xmm7
vpextrq $1, %xmm7, %rbp
nop
and $346, %r10
// ... |
Transynther/x86/_processed/NONE/_zr_xt_/i7-7700_9_0x48.log_21829_912.asm | ljhsiun2/medusa | 9 | 90115 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xeec5, %rsi
lea addresses_A_ht+0x11145, %rdi
nop
nop
cmp %r8, %r8
mov $9, %rcx
rep movsb
nop
nop
nop
dec %r10
lea addresses_UC_ht+0x1eda9, %rbx
nop
nop... |
programs/oeis/145/A145577.asm | neoneye/loda | 22 | 19054 | <filename>programs/oeis/145/A145577.asm
; A145577: A045944 mod 9. Period 9: repeat 0,5,7,6,2,4,3,8,1.
; 0,5,7,6,2,4,3,8,1,0,5,7,6,2,4,3,8,1,0,5,7,6,2,4,3,8,1,0,5,7,6,2,4,3,8,1
mul $0,3
add $0,2
bin $0,4
mod $0,9
|
multiworldplayernames.asm | KScl/z3rasm | 0 | 24497 | <reponame>KScl/z3rasm
table textmaps/hud_font.map
;org $32DFD0 ; PC 0x195FD0 -- 28 bytes
HUD_ReceivedFrom:
dw "RECEIVED FROM "
;org $32DFEC ; PC 0x195FEC -- 16 bytes
HUD_SentTo:
dw "SENT TO "
;org $32DFFC ; PC 0x195FFC
;--------------------------------------------------------------------------------
; Player names (... |
oeis/245/A245415.asm | neoneye/loda-programs | 11 | 98462 | ; A245415: Number of nonnegative integers with property that their base 5/2 expansion (see A024632) has n digits.
; Submitted by <NAME>
; 5,10,25,60,150,375,940,2350,5875,14685,36715,91785,229465,573660,1434150,3585375,8963440,22408600,56021500,140053750,350134375,875335935,2188339840,5470849600,13677124000,34192810000... |
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/pragmas.adb | ouankou/rose | 488 | 21194 | --Just testing all the procedure pragmas I could think of.
Procedure Pragmas is
pragma List(Off);
pragma Optimize(Off);
Procedure TryInline is
Foo : Integer := 0;
begin
null;
end;
pragma Inline(TryInline);
begin
null;
end;
|
programs/oeis/102/A102560.asm | karttu/loda | 1 | 169538 | ; A102560: Expansion of (1-x^3)/(1-x^4).
; 1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1
mod $0,4
mov $2,$0
gcd $0,2
sub... |
oeis/346/A346184.asm | neoneye/loda-programs | 11 | 244197 | ; A346184: a(n) = Sum_{k=0..n} binomial(n,k) * binomial(k^2, n).
; Submitted by <NAME>
; 1,1,6,96,2330,76230,3132192,154830704,8942749020,590880389676,43950871549640,3634094909879808,330648849617038680,32827596801363717080,3531510395923598074560,409199784951469138012800,50807611780916913209679632,6729703201077108496483... |
src/GroupoidStructure.agda | vituscze/HoTT-lectures | 0 | 2214 | {-# OPTIONS --without-K #-}
module GroupoidStructure {a} {A : Set a} where
open import PathOperations
open import Types
p·p⁻¹ : {a b : A} (p : a ≡ b) → p · p ⁻¹ ≡ refl
p·p⁻¹ = J (λ _ _ p → p · p ⁻¹ ≡ refl) (λ _ → refl) _ _
p⁻¹·p : {a b : A} (p : a ≡ b) → p ⁻¹ · p ≡ refl
p⁻¹·p = J (λ _ _ p → p ⁻¹ · p ≡ refl) (λ _ → r... |
asm/Z80/aplib_z80.asm | Dwedit/apultra | 40 | 174786 | <reponame>Dwedit/apultra
;Z80 Version by <NAME>
;Call depack.
;hl = source
;de = dest
ap_bits: .db 0
ap_byte: .db 0
lwm: .db 0
r0: .dw 0
ap_getbit:
push bc
ld bc,(ap_bits)
rrc c
jr nc,ap_getbit_continue
ld b,(hl)
inc hl
ap_getbit_continue:
ld a,c
and b
ld (ap_bits),bc
pop bc
ret
ap_getbitbc: ;doub... |
asm/hello/hello.asm | 0ttr/chaos | 0 | 176978 | global _start
section .text
_start:
mov rax, 1 ; system call for write
mov rdi, 1 ; set file descriptor to stdout
mov rsi, str ; pass address of str to output
mov rdx, len ; size of str
syscall ; invoke syscall
mov rax, 60 ; system call for exit
xor rdi, rdi ; set exit code to 0
syscall ; invoke sys... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c7/c74306a.ada | best08618/asylo | 7 | 22832 | -- C74306A.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 contained herein.
-- Unlimit... |
Ada/inc/Problem_45.ads | Tim-Tom/project-euler | 0 | 9291 | <reponame>Tim-Tom/project-euler
package Problem_45 is
procedure Solve;
end Problem_45;
|
dependencies/agar/ada-core/agar-core-dso.adb | amvb/GUCEF | 5 | 20059 | <filename>dependencies/agar/ada-core/agar-core-dso.adb
with Ada.Unchecked_Conversion;
with C_String;
with Interfaces.C;
with System;
package body Agar.Core.DSO is
package C renames Interfaces.C;
use type C.int;
function Load
(Name : in String;
Path : in String) return DSO_Access_t
is
Ch_Name : a... |
diody.asm | pbanaszkiewicz/excercises_ASM_8051 | 1 | 26022 | .area MAIN(ABS)
.org 0x00
LJMP START;
.org 0x30
START:
MOV P1, #0b00010001;
END:
LJMP END;
|
programs/oeis/010/A010989.asm | neoneye/loda | 22 | 172429 | <reponame>neoneye/loda<filename>programs/oeis/010/A010989.asm
; A010989: Binomial coefficient C(n,36).
; 1,37,703,9139,91390,749398,5245786,32224114,177232627,886163135,4076350421,17417133617,69668534468,262596783764,937845656300,3188675231420,10363194502115,32308782859535,96926348578605,280576272201225,785613562163430... |
source/slim-menu_models.adb | reznikmm/slimp | 0 | 28121 | <gh_stars>0
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
package body Slim.Menu_Models is
-----------
-- Child --
-----------
function Child
(Self : Menu_Model'Class;
Path... |
Cats/Category/Constructions/Exponential.agda | alessio-b-zak/cats | 0 | 171 | <reponame>alessio-b-zak/cats<filename>Cats/Category/Constructions/Exponential.agda
module Cats.Category.Constructions.Exponential where
open import Level
open import Cats.Category.Base
open import Cats.Category.Constructions.Product as Product using
(HasBinaryProducts)
open import Cats.Util.Conv
import Cats.Catego... |
newitems/jump/main.asm | fcard/z3randomizer | 0 | 174013 | <reponame>fcard/z3randomizer
incsrc ./buttons.asm
incsrc ./checkpress.asm
incsrc ./execute.asm
incsrc ./height.asm
incsrc ./hole.asm
incsrc ./items.asm
incsrc ./ledge.asm
incsrc ./shadow.asm
incsrc ./soldier.asm
incsrc ./stairs.asm
incsrc ./sword.asm
incsrc ./warp.asm
incsrc ./watergrass.asm
; Called in height.asm
Upd... |
test/5_five.asm | kojad666/Vulcan | 102 | 170219 | # Observacoes...
# O resultado vai ser salvo no registrador x7
# Se x7 = 1, jogador 1 venceu
# Se x7 = 2, jogador 2 venceu
# Se x7 = 3, os jogadores 1 e 2 empataram
# primeiro passo: Salvar as frases dos 2 jogadores na memoria.
# Jogador 1 -> Frase vai ser salva partindo do endereco 0
# Jogador 2 -> Frase vai ser s... |
day23/app/hello2.asm | ghosind/HariboteOS | 11 | 160078 | <reponame>ghosind/HariboteOS<filename>day23/app/hello2.asm<gh_stars>10-100
[BITS 32]
MOV EDX, 2
MOV EBX, msg
INT 0x40
MOV EDX, 4
INT 0x40
msg:
DB "hello", 0
|
baseConverter.asm | luanorlandi/Assembly-MIPS-ICMC | 0 | 97688 | <reponame>luanorlandi/Assembly-MIPS-ICMC<filename>baseConverter.asm
# Trabalho de Organizacao de computadores
#
# <NAME> 8531532
# <NAME> 8532252
.data
#strings para auxliar o usuario
stringNumberBaseInput: .asciiz "\nDigite a base de entrada do numero: "
stringNumberInput: .asciiz "\nDigite o numero: "
s... |
src/Categories/Functor/Slice.agda | MirceaS/agda-categories | 0 | 9176 | <filename>src/Categories/Functor/Slice.agda
{-# OPTIONS --without-K --safe #-}
open import Categories.Category
module Categories.Functor.Slice {o ℓ e} (C : Category o ℓ e) where
open import Data.Product using (_,_)
open import Categories.Adjoint
open import Categories.Category.CartesianClosed
open import Categories... |
3-mid/opengl/source/lean/model/opengl-model-text.ads | charlie5/lace-alire | 1 | 26067 | <reponame>charlie5/lace-alire
with
openGL.Font;
package openGL.Model.text
--
-- Provides an abstract model for rendering text.
--
is
type Item is abstract new Model.item with private;
type View is access all Item'Class;
procedure Text_is (Self : in out Item; Now : in String) is abstract;
funct... |
src/main/antlr4/org/knard/swingConsole/SyntaxParser.g4 | knard/SwingConsole | 0 | 7087 | grammar SyntaxParser;
QUOTES: '"';
OR: '|';
OPENING_PARENTHESIS: '(';
CLOSING_PARENTHESIS: ')';
ID : [a-zA-Z] [a-zA-Z0-9]*;
WS: [ \n\t\r]+ -> skip;
syntax : expression EOF;
expression : or_expression | element ;
or_expression : OPENING_PARENTHESIS followed_expression ( OR followed_expression )+ CLOSIN... |
assignment_3/question_3.asm | neerajp99/cs_103_cos_ashoka_university | 0 | 16473 | .data
n1: .asciiz "Enter the Nth natural number: "
naivef: .asciiz "Naive: "
interestingf: .asciiz "Interesting: "
error: .asciiz "Input is erroneous"
nextLine: .asciiz "\n"
.text
.globl main
main:
li $v0, 4
la $a0, n1
syscall
li $v0, 5
syscall
move $t0, $v0
slti $s1, $t0, 0
beq $s1,0, R
li ... |
core/words/expandmacro.asm | paulscottrobson/nextForth | 2 | 18320 | <reponame>paulscottrobson/nextForth
;
; Word: [expand.macro]
; Dictionary: ( - )
; Date: 1st February 2018
; Macro: No
; Notes:
;
__ExpandMacro:
jr __ExpandMacro |
programs/oeis/007/A007660.asm | neoneye/loda | 22 | 4512 | <reponame>neoneye/loda
; A007660: a(n) = a(n-1)*a(n-2) + 1 with a(0) = a(1) = 0.
; 0,0,1,1,2,3,7,22,155,3411,528706,1803416167,953476947989903,1719515742866809222961802
sub $0,1
lpb $0
sub $0,1
add $2,5
div $2,2
mov $3,$1
mov $1,$2
mul $2,$3
lpe
div $1,2
mov $0,$1
|
SCS3211/Excercises/ex01.asm | UdeshUK/UCSC-CS | 6 | 99602 | .data
.text
li $t0,4
li $t1,2
mult $t0,$t1
mflo $t2
addi $t3,$t2,5 |
base/crts/crtw32/misc/i386/exsup2.asm | npocmaka/Windows-Server-2003 | 17 | 5734 | <filename>base/crts/crtw32/misc/i386/exsup2.asm
;***
;exsup2.asm
;
; Copyright (c) 1994-2001, Microsoft Corporation. All rights reserved.
;
;Purpose:
; Exception handling for i386. This is just the C8.0 version of
; the language-specific exception handler. The C9.0 version is
; found in exsup3.asm, and the ro... |
src/intel/tools/tests/gen9/bfe.asm | SoftReaper/Mesa-Renoir-deb | 0 | 20632 | <gh_stars>0
bfe(8) g96<1>UD g89<4,4,1>UD g30<4,4,1>UD g91<4,4,1>UD { align16 1Q };
bfe(16) g13<1>UD g44<4,4,1>UD g115<4,4,1>UD g126<4,4,1>UD { align16 1H };
bfe(8) g18<1>D g17<4,4,1>D g16<4,4,1>D g49<4,4,1>D { align16 1Q };
bfe(16) g13<1>D ... |
archive/agda-1/IsPropositionalFormula.agda | m0davis/oscar | 0 | 15627 |
module IsPropositionalFormula where
open import OscarPrelude
open import Formula
open import Term
open import PredicateName
open import HasNeitherNor
data IsPropositionalFormula : Formula → Set
where
atomic : (𝑃 : PredicateName) → (τs : Terms) → IsPropositionalFormula $ 𝑃[ 𝑃 ♭ τs ]
logical : {φ₁ : Formula} ... |
test/Succeed/Issue3211.agda | phadej/agda | 0 | 9948 | -- 2018-09-05, reported by <NAME>
-- The new type-directed rewriting was using the wrong type for
-- constructors of parametrized datatypes.
{-# OPTIONS --rewriting #-}
module _ where
module _ (Form : Set) where
open import Agda.Builtin.Equality
{-# BUILTIN REWRITE _≡_ #-}
data Cxt : Set where
_∙_ : (Γ :... |
kernel/subprojects/multiboot_loader/source/multiboot.asm | thomtl/Sigma | 46 | 28309 | <reponame>thomtl/Sigma<gh_stars>10-100
MULTIBOOT2_HEADER_MAGIC equ 0xE85250D6
MULTIBOOT2_ARCHITECTURE_i386 equ 0
section .loader_header
align 4
global multiboot_header
multiboot_header:
dd MULTIBOOT2_HEADER_MAGIC ; MAGIC
dd MULTIBOOT2_ARCHITECTURE_i386 ; ARCHITECTURE
dd (multiboot_header_end - multiboot_he... |
test/Succeed/Issue3335.agda | phadej/agda | 0 | 11753 | <reponame>phadej/agda
{-# OPTIONS --rewriting #-}
open import Agda.Builtin.Equality
{-# BUILTIN REWRITE _≡_ #-}
record Box (P : Set) : Set where
constructor box
field
unbox : P
open Box public
postulate
A : Set
a : A
f : Box A → A
f= : f (box a) ≡ a
{-# REWRITE f= #-}
[a] : Box A
unbox [a] = a
-- W... |
P5/P5_TestCode/P5_L1_testcase1/P5_L1_testcase1/mips1.asm | alxzzhou/BUAA_CO_2020 | 1 | 92125 | nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
... |
ada/src/afrl/cmasi/afrl-cmasi-entityconfiguration.adb | joffreyhuguet/LmcpGen | 0 | 28060 | <filename>ada/src/afrl/cmasi/afrl-cmasi-entityconfiguration.adb
package body afrl.cmasi.entityConfiguration is
function getFullLmcpTypeName (this : EntityConfiguration) return String is ("afrl.cmasi.entityConfiguration.EntityConfiguration");
function getLmcpTypeName (this : EntityConfiguration) return String is... |
programs/oeis/059/A059100.asm | karttu/loda | 1 | 94042 | <gh_stars>1-10
; A059100: a(n) = n^2 + 2.
; 2,3,6,11,18,27,38,51,66,83,102,123,146,171,198,227,258,291,326,363,402,443,486,531,578,627,678,731,786,843,902,963,1026,1091,1158,1227,1298,1371,1446,1523,1602,1683,1766,1851,1938,2027,2118,2211,2306,2403,2502,2603,2706,2811,2918,3027,3138,3251,3366,3483,3602,3723,3846,3971,4... |
src/natools-s_expressions-encodings.adb | faelys/natools | 0 | 27184 | <filename>src/natools-s_expressions-encodings.adb<gh_stars>0
------------------------------------------------------------------------------
-- Copyright (c) 2013, <NAME> --
-- --
-- Permission to use, copy, m... |
src/plugin_canberra.adb | onox/weechat-canberra | 1 | 23007 | -- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2020 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 at
--
-- http://www.apache.org/licenses/LICENSE-2.0
-... |
libsrc/_DEVELOPMENT/adt/bv_stack/c/sdcc_iy/bv_stack_reserve.asm | jpoikela/z88dk | 640 | 102596 | <reponame>jpoikela/z88dk
; int bv_stack_reserve(bv_stack_t *s, size_t n)
SECTION code_clib
SECTION code_adt_bv_stack
PUBLIC _bv_stack_reserve
EXTERN _b_vector_reserve
defc _bv_stack_reserve = _b_vector_reserve
|
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_917.asm | ljhsiun2/medusa | 9 | 241181 | <filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_917.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x801a, %rsi
lea addresses_WT_ht+0x251a, %rdi
nop
nop
sub %r8, %r8
mov $59,... |
src/dnscatcher/config/dnscatcher-config.adb | DNSCatcher/DNSCatcher | 4 | 4204 | -- 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, ... |
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0xca.log_21829_558.asm | ljhsiun2/medusa | 9 | 177166 | <filename>Transynther/x86/_processed/NC/_zr_/i7-7700_9_0xca.log_21829_558.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1ce75, %r12
nop
nop
nop
nop
cmp $13564, %rdi
mov $0x6162636465666768, %rsi
movq %rsi, (%r12)
no... |
Cubical/Data/Strict2Group/Explicit.agda | Schippmunk/cubical | 0 | 16370 | {-# OPTIONS --cubical --safe #-}
module Cubical.Data.Strict2Group.Explicit where
|
src/Dodo/Nullary/Disjoint.agda | sourcedennis/agda-dodo | 0 | 17392 | {-# OPTIONS --without-K --safe #-}
module Dodo.Nullary.Disjoint where
-- Stdlib imports
open import Level using (Level)
open import Data.Product using (_×_)
open import Relation.Nullary using (¬_)
-- # Definitions
Disjoint : ∀ {a b : Level} (A : Set a) (B : Set b) → Set _
Disjoint A B = ¬ (A × B)
|
a/assembler_fasm_dos.asm | ozcanyarimdunya/FuckYouGithub | 0 | 4330 | <reponame>ozcanyarimdunya/FuckYouGithub
format MZ
entry .code: start
segment .code
start:
mov ax, .data ; put data segment into ax
mov ds, ax ; there, I setup the DS for you
mov dx, msg ; now I give you the offset in DX. DS:DX now completed.
mov ah, 9h
int 21h
mov ah, 4ch
int 21h
segment .data
msg db 'F... |
chap18/ex25/fma_only_tpt.asm | JamesType/optimization-manual | 374 | 5706 | <reponame>JamesType/optimization-manual
;
; Copyright (C) 2021 by Intel Corporation
;
; Permission to use, copy, modify, and/or distribute this software for any
; purpose with or without fee is hereby granted.
;
; THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
; REGARD TO THIS SOFTWARE IN... |
Globular-TT/Eqdec-syntax.agda | thibautbenjamin/catt-formalization | 0 | 13914 | <gh_stars>0
{-# OPTIONS --rewriting --without-K #-}
open import Agda.Primitive
open import Prelude
import GSeTT.Typed-Syntax
import Globular-TT.Syntax
{- Type theory for globular sets -}
module Globular-TT.Eqdec-syntax {l}
(index : Set l) (eqdec-index : eqdec index) where
open import Globular-TT.Syntax index
... |
ls.asm | mignipunn/xv6 | 2 | 168645 |
_ls: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
close(fd);
}
int
main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a: 55 push %eb... |
agda-stdlib-0.9/src/Foreign/Haskell.agda | qwe2/try-agda | 1 | 7657 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Type(s) used (only) when calling out to Haskell via the FFI
------------------------------------------------------------------------
module Foreign.Haskell where
-- A unit type.
data Unit : Set where
unit : ... |
src/main/antlr4/org/entityc/compiler/transform/template/TemplateLexer.g4 | entityc/entity-compiler | 1 | 3986 | /*
* Copyright (c) 2019-2022 The EntityC Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.md file in the project root.
*/
lexer grammar TemplateLexer;
COMMENT : '$[*' .*? '*]' '\n'? ;
BlockTagStart
: ( '$['
) -> pushMode(IN_BLOC... |
07/asm/SimpleAdd.asm | Bozar/Nand2Tetris | 3 | 178385 | <filename>07/asm/SimpleAdd.asm
@256
D=A
@SP
M=D
@7
D=A
@SP
A=M
M=D
@SP
M=M+1
@8
D=A
@SP
A=M
M=D
@SP
M=M+1
@SP
M=M-1
@SP
A=M
D=M
@SP
M=M-1
@SP
A=M
D=D+M
@SP
A=M
M=D
@SP
M=M+1
(END_LOOP)
@END_LOOP
0;JMP |
programs/oeis/276/A276916.asm | karttu/loda | 1 | 172428 | ; A276916: Subsequence of centered square numbers obtained by adding four triangles from A276914 and a central element, a(n) = 4*A276914(n) + 1.
; 1,5,41,61,145,181,313,365,545,613,841,925,1201,1301,1625,1741,2113,2245,2665,2813,3281,3445,3961,4141,4705,4901,5513,5725,6385,6613,7321,7565,8321,8581,9385,9661,10513,10805... |
hammerspoon/mount.applescript | marcusvb/dotfiles | 4 | 2327 | <reponame>marcusvb/dotfiles
tell application "Finder"
try
mount volume "smb://freenas/fileshare"
mount volume "smb://freenas/media"
end try
end tell
|
src/static/antlr4/grammars/LexicalGrammar.g4 | jlenoble/ecmascript-parser | 0 | 3045 | /* Source: ECMAScript® 2018 Language Specification - Annex A-1 */
// A.1 Lexical Grammar
grammar LexicalGrammar;
import
Template,
RegularExpressionLiteral,
Punctuator,
ReservedWord,
StringLiteralA1,
UnicodeEscapeSequence,
NumericLiteralA1,
IdentifierName,
CommentA1,
WhiteSpace,
LineTerminator;
/... |
1581/64tass/dskint.asm | silverdr/assembly | 23 | 89874 | pezro ldx #0 ; err #1 for zero page
.byte skip2 ; skip next two bytes
perr ldx temp ; get error #
txs ; use stack as storage reg.
pe20 tsx ; restore error #
pe30 lda #pwr_led+act_led
ora pa
sta pa ; turn on led
tya... |
data/mapHeaders/viridianpokecenter.asm | adhi-thirumala/EvoYellow | 16 | 164517 | <filename>data/mapHeaders/viridianpokecenter.asm<gh_stars>10-100
ViridianPokecenter_h:
db POKECENTER ; tileset
db VIRIDIAN_POKECENTER_HEIGHT, VIRIDIAN_POKECENTER_WIDTH ; dimensions (y, x)
dw ViridianPokecenterBlocks, ViridianPokecenterTextPointers, ViridianPokeCenterScript ; blocks, texts, scripts
db $00 ; connecti... |
programs/oeis/312/A312484.asm | neoneye/loda | 22 | 167615 | ; A312484: Coordination sequence Gal.5.81.5 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; 1,4,8,14,18,22,26,32,36,40,44,48,54,58,62,66,72,76,80,84,88,94,98,102,106,112,116,120,124,128,134,138,142,146,152,156,160,164,168,174,178,182... |
Src/Ant8/Tests/aa8/basic/e_byte_6.asm | geoffthorpe/ant-architecture | 0 | 80025 | <reponame>geoffthorpe/ant-architecture
# $Id: e_byte_6.asm,v 1.1 2001/03/14 04:02:10 ellard Exp $
#@ tests for invalid constant (undefined label).
_data_:
.byte $_foo_
|
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/NES_Ver2/us_asm/zel_ram1.asm | prismotizm/gigaleak | 0 | 241553 | Name: zel_ram1.asm
Type: file
Size: 65587
Last-Modified: '2016-05-13T04:27:09Z'
SHA-1: 346460F5965BA8BB8772BB181DDC8850CF7DB60A
Description: null
|
test/Succeed/Issue2650.agda | asr/eagda | 1 | 2222 | <filename>test/Succeed/Issue2650.agda
{-# OPTIONS --cubical #-}
module _ where
module _ where
import Agda.Primitive
open import Agda.Primitive.Cubical public
postulate
Path' : ∀ {ℓ} {A : Set ℓ} → A → A → Set ℓ
PathP : ∀ {ℓ} (A : I → Set ℓ) → A i0 → A i1 → Set ℓ
{-# BUILTIN PATH Path... |
research/deficon/def_drawer-icon_36_336.asm | nicodex/HelloAmi | 16 | 3567 | ; vasmm68k_mot[_<HOST>] -Fbin -o icon_36_336/def_drawer.info def_drawer-icon_36_336.asm
;
; Default "ENV:def_drawer.info" data included in "icon 36.336 (8.6.90)".
;
include deficon.inc
ifne DEFICON_MEM
align 1
endif
defIconDrawer:
dc.w $E310 ; do_Magic = WB_DISKMAGIC
dc.w $0001 ... |
src/boot.asm | anders-14/osdev | 0 | 173206 | <filename>src/boot.asm
org 0x7C00
bits 16
jmp start
%include "./include/read_disk.asm"
start:
; Setup memory to load kernel into
mov bx, 0x100
mov es, bx
mov bx, 0x00
mov dh, 0x01 ; number of sectors to read
call read_disk
jmp 0x0100:0x0000 ;... |
libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sccz80/round_fastcall.asm | Frodevan/z88dk | 640 | 166160 |
SECTION code_fp_math32
PUBLIC round_fastcall
EXTERN _m32_roundf
defc round_fastcall = _m32_roundf
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _round_fastcall
defc _round_fastcall = _m32_roundf
ENDIF
|
legend-engine-language-pure-dsl-generation/src/main/antlr4/org/finos/legend/engine/language/pure/grammar/from/antlr4/GenerationSpecificationLexerGrammar.g4 | dave-wathen/legend-engine | 32 | 6466 | <filename>legend-engine-language-pure-dsl-generation/src/main/antlr4/org/finos/legend/engine/language/pure/grammar/from/antlr4/GenerationSpecificationLexerGrammar.g4<gh_stars>10-100
lexer grammar GenerationSpecificationLexerGrammar;
import CoreLexerGrammar;
// -------------------------------------- KEYWORD ---------... |
Chapter_4/Program 4.2/x86:64/Program_4.2_MASM.asm | chen150182055/Assembly | 272 | 103876 | <reponame>chen150182055/Assembly<filename>Chapter_4/Program 4.2/x86:64/Program_4.2_MASM.asm
; Program 4.2
; Multiplication and Division - MASM (64-bit)
; Copyright (c) 2019 <NAME>
extrn ExitProcess : proc
.data
mval DWORD 664751
dval DWORD 8
.code
_main PROC
; MUL 1-op
mov eax, mval
mov ebx, 8
mul ebx
; IMUL 1-op
... |
notes/FOT/FOTC/Program/Mirror/Induction/InductionPrinciples.agda | asr/fotc | 11 | 11796 | <gh_stars>10-100
------------------------------------------------------------------------------
-- Induction principles for Tree and Forest
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --... |
intro.ads | Spohn/LegendOfZelba | 2 | 30255 | with ada.text_io;
use ada.text_io;
package intro is
-------------------------------
-- Name: <NAME>
-- <NAME>
-- Game Intro Package Specification
-------------------------------
--read in and display title page
procedure title_page(file:in file_type);
end intro;
|
oeis/190/A190957.asm | neoneye/loda-programs | 11 | 163115 | ; A190957: a(n) = 10*a(n-1) + 8*a(n-2), with a(0)=0, a(1)=1.
; Submitted by <NAME>(s4)
; 0,1,10,108,1160,12464,133920,1438912,15460480,166116096,1784844800,19177376768,206052526080,2213944274944,23787862958080,255590183780352,2746204741468160,29506768884924416,317037326780989440,3406427418889289728,36600572803140812800... |
orka_simd/src/x86/generic/orka-simd-sse2-integers-logical.adb | onox/orka | 52 | 9045 | <reponame>onox/orka
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2021 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 at
--
-- http://www.apache.org/li... |
programs/oeis/146/A146994.asm | karttu/loda | 0 | 1275 | <reponame>karttu/loda
; A146994: a(n) = (n+1)^2/4 + (floor((n+5)/6) - 1/4) * ((n+1) mod 2).
; 1,3,4,7,9,13,16,22,25,32,36,44,49,59,64,75,81,93,100,114,121,136,144,160,169,187,196,215,225,245,256,278,289,312,324,348,361,387,400,427,441,469,484,514,529,560,576,608,625,659,676,711,729,765,784,822,841,880,900,940,961,1003,... |
src/res/visual/sprites/sprite_table.asm | Xeyler/gb-hello-world | 0 | 177657 | SECTION "sprite table", ROMX
sprite_table:
.main_sprite:
INCBIN "res/visual/sprites/brigham.bin"
.end:
|
source/nodes/program-nodes-formal_package_associations.ads | optikos/oasis | 0 | 561 | -- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Elements.Expressions;
with Program.Lexical_Elements;
with Program.Elements.Formal_Package_Associations;
with Program.Element_Visitors;
pa... |
decreasoner.macosx/software/relsat-dist/gmp-3.1/mpn/alpha/ev5/lshift.asm | problem-frames/openpf | 1 | 92020 | dnl Alpha EV5 __gmpn_lshift -- Shift a number left.
dnl Copyright (C) 1994, 1995, 2000 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU Lesser General Public License as pub... |
programs/oeis/183/A183573.asm | neoneye/loda | 22 | 167072 | ; A183573: a(n) = n + floor(sqrt(2n+1)).
; 2,4,5,7,8,9,10,12,13,14,15,17,18,19,20,21,22,24,25,26,27,28,29,31,32,33,34,35,36,37,38,40,41,42,43,44,45,46,47,49,50,51,52,53,54,55,56,57,58,60,61,62,63,64,65,66,67,68,69,71,72,73,74,75,76,77,78,79,80,81,82,84,85,86,87,88,89,90,91,92,93,94,95,97,98,99,100,101,102,103,104,105,1... |
oeis/334/A334202.asm | neoneye/loda-programs | 11 | 243169 | <reponame>neoneye/loda-programs
; A334202: a(n) = A064097(n) - A323077(n).
; Submitted by <NAME>(w2)
; 0,1,2,1,3,2,4,1,2,3,5,2,5,4,3,1,5,2,6,3,4,5,7,2,3,5,2,4,7,3,7,1,5,5,4,2,7,6,5,3,7,4,8,5,3,7,9,2,4,3,5,5,8,2,5,4,6,7,9,3,8,7,4,1,5,5,9,5,7,4,9,2,8,7,3,6,5,5,9,3,2,7,9,4,5,8,7,5,9,3,5,7,7,9,6,2,8,4,5,3
seq $0,6530 ; Gp... |
programs/oeis/160/A160928.asm | neoneye/loda | 22 | 336 | <gh_stars>10-100
; A160928: a(n) = n - reversal(n-1)
; 1,1,1,1,1,1,1,1,1,1,10,1,-8,-17,-26,-35,-44,-53,-62,-71,19,10,1,-8,-17,-26,-35,-44,-53,-62,28,19,10,1,-8,-17,-26,-35,-44,-53,37,28,19,10,1,-8,-17,-26,-35,-44,46,37,28,19,10,1,-8,-17,-26,-35,55,46,37,28,19,10,1,-8
lpb $0
mov $2,$0
div $0,10
mod $2,10
mov $3... |
ass3Tests.asm | chendoy/xv6-paging | 0 | 246795 | <reponame>chendoy/xv6-paging
_ass3Tests: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
}
int
main(void)
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a: 55 p... |
wsaSock.asm | thisforeda/chat-server-assembly-Win-ASM | 0 | 16940 |
;-----------------------------------------------------------
;==========聊天服务器程序 by YiDa.Z====================
;build with windows socket 2
;注意:本程序只能处理最多50个客户端连接
;1:服务器响应的基本描述:
; 客户端连接到服务器后,服务器会发生一条0302 CONNECTED消息给客户端
; 如果客户端recv到这条消息,代表服务器已收到并接受了连接请求
; 服务器支持用户昵称
; 如果客户端发送消息... |
source/web/tools/a2js/webapi/webgl/webapi-webgl-rendering_contexts.ads | svn2github/matreshka | 0 | 29260 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
test/Fail/Issue2170-unify-subtyping.agda | shlevy/agda | 1 | 17512 | {-# OPTIONS --show-irrelevant --subtyping #-}
module Issue2170-unify-subtyping where
data _≡_ {A : Set} (x : A) : A → Set where
refl : x ≡ x
record Squash (A : Set) : Set where
constructor squash
field .unsquash : A
open Squash
record UnSquash (A : Set) (s : A → Squash A) : Set where
constructor inverse
f... |
programs/oeis/033/A033582.asm | karttu/loda | 1 | 87844 | ; A033582: a(n) = 7*n^2.
; 0,7,28,63,112,175,252,343,448,567,700,847,1008,1183,1372,1575,1792,2023,2268,2527,2800,3087,3388,3703,4032,4375,4732,5103,5488,5887,6300,6727,7168,7623,8092,8575,9072,9583,10108,10647,11200,11767,12348,12943,13552,14175
mov $1,$0
pow $1,2
mul $1,7
|
pwnlib/shellcraft/templates/thumb/linux/vhangup.asm | zaratec/pwntools | 5 | 21365 | <filename>pwnlib/shellcraft/templates/thumb/linux/vhangup.asm
<%
from pwnlib.shellcraft.thumb.linux import syscall
%>
<%page args=""/>
<%docstring>
Invokes the syscall vhangup. See 'man 2 vhangup' for more information.
Arguments:
</%docstring>
${syscall('SYS_vhangup')}
|
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sccz80/pow.asm | jpoikela/z88dk | 640 | 8609 | <gh_stars>100-1000
SECTION code_clib
SECTION code_fp_math48
PUBLIC pow
EXTERN cm48_sccz80_pow
defc pow = cm48_sccz80_pow
|
trunk/win/lib/openssl-1.0.1e/tmp32/sha256-586.asm | chundonglinlin/srs.win | 9 | 13045 | TITLE sha512-586.asm
IF @Version LT 800
ECHO MASM version 8.00 or later is strongly recommended.
ENDIF
.486
.MODEL FLAT
OPTION DOTNAME
IF @Version LT 800
.text$ SEGMENT PAGE 'CODE'
ELSE
.text$ SEGMENT ALIGN(64) 'CODE'
ENDIF
ALIGN 16
_sha256_block_data_order PROC PUBLIC
$L_sha256_block_data_order_begin::
... |
4-high/gel/source/world/gel-world-server.adb | charlie5/lace-alire | 1 | 4975 | <filename>4-high/gel/source/world/gel-world-server.adb<gh_stars>1-10
with
gel.Events,
physics.Forge,
openGL.Renderer.lean,
lace.Event.utility,
ada.Text_IO,
ada.unchecked_Deallocation;
package body gel.World.server
is
use gel.Sprite,
linear_Algebra_3D,
lace.Event.utilit... |
cmd/adddrv/_msgret.asm | minblock/msdos | 0 | 10581 | page 60,132 ;AN000;
name _msgret ;AN000;
title C to Message Retriever ;AN000;
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1991
; * All Rights Reserved.
; */
;-------------------------------------------------... |
Bank_I/6_sqrt.asm | ndf-zz/fv1testing | 0 | 1629 | ; FV-1 Testing
;
; Program: Square root
;
; Determine special case sqrt(x) using log:
;
; log(sqrt(x)) = 0.5 * log(x)
;
; Note: Since log performs abs(x), the negative signal is
; incorrect.
;
; POT0: Offset
; POT1: Level
;
; Prepare LFOs
skp RUN,main
wlds SIN0,100,32767
main: rdax POT0,-1.0 ; load pot0 inver... |
source/oasis/program-library_unit_declarations.ads | optikos/oasis | 0 | 898 | -- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Compilation_Unit_Vectors;
with Program.Compilation_Units;
with Program.Library_Items;
with Program.Library_Unit_Bodies;
package Program.L... |
archive/agda-1/Unify-monolithic.agda | m0davis/oscar | 0 | 15791 | {- https://lists.chalmers.se/pipermail/agda/2013/006033.html http://code.haskell.org/~Saizan/unification/ 18-Nov-2013 <NAME> -}
module Unify-monolithic where
-- some equivalences needed to adapt Tactic.Nat to the standard library
module EquivalenceOf≤ where
open import Agda.Builtin.Equality
open import Agda.Builti... |
components/server/src/main/antlr4/com/hotels/styx/server/routing/Condition.g4 | OwenLindsell/styx | 239 | 1894 | <reponame>OwenLindsell/styx
grammar Condition;
expression:
NOT expression # NotExpression
| expression AND expression # AndExpression
| expression OR expression # OrExpression
| '(' expression ')' # SubExpression
| stringComparison # StringCompareEx... |
attic/asis/adam-assist.adb | charlie5/aIDE | 3 | 19793 | <filename>attic/asis/adam-assist.adb
with
-- AdaM.Assist.Query.find_All.Driver,
-- AdaM.Assist.Query.find_All.Metrics,
AdaM.Assist.Query.find_Entities.Driver,
AdaM.Assist.Query.find_Entities.Metrics,
Ada.Strings.unbounded,
Ada.Strings.fixed;
package body AdaM.Assist
is
-- functi... |
FormalAnalyzer/models/apps/EnhancedAutoLockDoor.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 2695 | module app_EnhancedAutoLockDoor
open IoTBottomUp as base
open cap_runIn
open cap_now
open cap_lock
open cap_contactSensor
one sig app_EnhancedAutoLockDoor extends IoTApp {
lock1 : one cap_lock,
contact : one cap_contactSensor,
state : one cap_state,
} {
rules = r
////capabilities = lock1 + contac... |
Win32/Win32.Cocaine/Win32.Cocaine.asm | fengjixuchui/Family | 3 | 87077 | ;Wm/W32.Cocaine - 22231 bytes
;(c) Vecna 1999
;
;This virus infect PE and DOC files.
;
;Study the code and the AVPVE description for others features.
;
;Small corrections in AVPVE text are between []'s
;
;
;
;AVPVE Description:
;
; Cocaine
;
; -------------------------------------------------------------... |
snapgear_linux/lib/libgmp/mpn/powerpc32/submul_1.asm | impedimentToProgress/UCI-BlueChip | 0 | 99662 | <filename>snapgear_linux/lib/libgmp/mpn/powerpc32/submul_1.asm
# PowerPC-32 mpn_submul_1 -- Multiply a limb vector with a limb and subtract
# the result from a second limb vector.
# Copyright (C) 1995, 1997, 1998, 2000 Free Software Foundation, Inc.
# This file is part of the GNU MP Library.
# The GNU MP Library is ... |
MdePkg/Library/BaseLib/Ia32/ReadTr.nasm | nicklela/edk2 | 3,861 | 88351 | ;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
; Module Name:
;
; ReadTr.Asm
;
; Abstract:
;
; AsmReadTr function
;
; Notes:
;
;-----------------------... |
oeis/342/A342371.asm | neoneye/loda-programs | 11 | 163642 | <filename>oeis/342/A342371.asm
; A342371: Partial sums of A051697.
; Submitted by <NAME>
; 2,4,6,9,12,17,22,29,36,43,54,65,76,89,102,115,132,149,166,185,204,223,246,269,292,315,338,367,396,425,454,485,516,547,578,615,652,689,726,763,804,845,886,929,972,1015,1062,1109,1156,1203,1250,1303,1356,1409
mov $1,$0
mov $3,$0
l... |
Engine/T2/T2Tester.asm | wide-dot/thomson-to8-game-engine | 11 | 82017 | opt c,ct
********************************************************************************
* T2Loader (TO8 Thomson) - <NAME> 2021
* ------------------------------------------------------------------------------
* Changement disquettes SDDRIVE : <NAME>
* Lib. MEGAROM T.2 : Prehisto
*
* premiere version tres ru... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.