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 |
|---|---|---|---|---|
lab4/max/maxfunc.asm | samdsk/lab_arch2 | 0 | 328 | #function calcola max tra due numeri
# int max(a,b)
# if a<b return b
# else return a
.text
.globl max
max:
#input $a0 <- a, $a1 <- b, output $v0 <- max value
#prologo
addi $sp $sp -8
sw $s0 4($sp)
sw $s1 0($sp)
#corpo
move $s0 $a0
move $s1 $a1
#if a<b $v0 <- b
slt $t0 $s0 $s1
beqz $t0 a_Max_b #a>b
... |
libsrc/graphics/px8/draw.asm | Toysoft/z88dk | 8 | 98513 | <gh_stars>1-10
;
; Z88 Graphics Functions - Small C+ stubs
;
; Written around the Interlogic Standard Library
;
; PX8 variant by <NAME>
;
;
; $Id: draw.asm - Stefano, 2017 $
;
SECTION code_clib
PUBLIC draw
PUBLIC _draw
PUBLIC do_draw
PUBLIC draw_mode
EXTE... |
libsrc/math/genmath/addhalf.asm | andydansby/z88dk-mk2 | 1 | 2250 | <reponame>andydansby/z88dk-mk2
; Small C+ Math Library
; General "fudging routine"
XLIB addhalf
LIB hladd
.addhalf
ld hl,half
jp hladd
.HALF DEFB 0,0,0,0,0,$80 ;0.5
|
oeis/025/A025981.asm | neoneye/loda-programs | 11 | 95759 | <reponame>neoneye/loda-programs<filename>oeis/025/A025981.asm
; A025981: Expansion of 1/((1-2x)(1-4x)(1-9x)(1-11x)).
; Submitted by <NAME>
; 1,26,449,6526,86565,1087242,13183033,156056342,1816137389,20873693698,237678368577,2687080081998,30211476701173,338208740115194,3773239145742281,41982119790892294,4660917289792291... |
Applications/Safari/front window/properties.applescript | looking-for-a-job/applescript-examples | 1 | 1023 | <reponame>looking-for-a-job/applescript-examples
#!/usr/bin/osascript
tell application "Safari"
tell front window to properties
end tell
|
demo/imago/src/imago-il.ads | 98devin/ada-wfc | 9 | 13208 | ------------------------------------------------------------------------------
-- EMAIL: <<EMAIL>> --
-- License: ISC --
-- --
-- ... |
tests/covered/Nat.agda | andrejtokarcik/agda-semantics | 3 | 10074 | <reponame>andrejtokarcik/agda-semantics
module Nat where
data Nat : Set where
zero : Nat
suc : Nat -> Nat
one : Nat
one = suc zero
|
source/machine-apple-darwin/s-stomap.ads | ytomino/drake | 33 | 7547 | pragma License (Unrestricted);
-- runtime unit specialized for Darwin
package System.Storage_Map is
pragma Preelaborate;
function Load_Address return Address;
pragma Inline (Load_Address);
Growing_Down_Is_Preferred : constant Boolean := False;
end System.Storage_Map;
|
oeis/303/A303817.asm | neoneye/loda-programs | 11 | 16622 | ; A303817: Decimal expansion of 360/17.
; Submitted by <NAME>
; 2,1,1,7,6,4,7,0,5,8,8,2,3,5,2,9,4,1,1,7,6,4,7,0,5,8,8,2,3,5,2,9,4,1,1,7,6,4,7,0,5,8,8,2,3,5,2,9,4,1,1,7,6,4,7,0,5,8,8,2,3,5,2,9,4,1,1,7,6,4,7,0,5,8,8,2,3,5,2,9,4,1,1,7,6,4,7,0,5,8,8,2,3,5,2,9,4,1,1,7
mov $1,1
mov $2,1
mov $3,$0
mul $3,5
lpb $3
cmp $1,21... |
Temperature Conversion/TemperatureConverter.applescript | rogues-gallery/applescript | 360 | 719 | --- Convert temperatures between Celsius, Fahrenheit, and Kelvin
set whichconv to choose from list {"Celsius to Fahrenheit", "Celsius to Kelvin", "Fahrenheit to Celsius", "Fahrenheit to Kelvin", "Kelvin to Celsius", "Kelvin to Fahrenheit"} with title "Convert Temperature"
set whichconv to whichconv as text
if whichco... |
test/Succeed/InfixRecordFields.agda | shlevy/agda | 1,989 | 17199 | <reponame>shlevy/agda
-- You can have infix declarations in records.
module InfixRecordFields where
data Nat : Set where
zero : Nat
suc : Nat -> Nat
infixl 50 _+_
_+_ : Nat -> Nat -> Nat
zero + m = m
suc n + m = suc (n + m)
data _==_ {A : Set}(x : A) : A -> Set where
refl : x == x
one = suc zero
two = suc... |
src/main.agda | xoltar/cedille | 0 | 12887 | <filename>src/main.agda
module main where
open import lib
import string-format
-- for parser for Cedille
open import cedille-types
-- for parser for options files
import options-types
import cedille-options
-- for parser for Cedille comments & whitespace
import cws-types
open import constants
open import general-u... |
src/boot/boot_sect.asm | hculpan/hoss | 0 | 99944 | <filename>src/boot/boot_sect.asm
[org 0x7c00]
KERNEL_OFFSET equ 0x1000
[bits 16]
jmp boot_start
BOOT_DRIVE db 0
boot_start:
mov [BOOT_DRIVE], dl
mov bp, 0x9000
mov sp, bp
call do_e820
mov bx, MSG_REAL_MODE
call print_string_16
call load_kernel
call switch_to_pm
jmp... |
tests/miaf/invalid-no-meta.asm | y-guyon/ComplianceWarden | 3 | 16518 | <reponame>y-guyon/ComplianceWarden
%define BE(a) ( ((((a)>>24)&0xFF) << 0) + ((((a)>>16)&0xFF) << 8) + ((((a)>>8)&0xFF) << 16) + ((((a)>>0)&0xFF) << 24) )
ftyp_start:
dd BE(ftyp_end - ftyp_start)
db "ftyp"
db "isom"
dd BE(0x00)
db "mif1", "miaf"
ftyp_end:
; vim: syntax=nasm
|
src/grammar/Statements.g4 | craterdog-bali/js-bali-document-framework | 1 | 5030 | <gh_stars>1-10
grammar Statements;
import Expressions;
statement: comment | mainClause handleClause?;
comment: NOTE | COMMENT;
mainClause:
evaluateClause |
saveClause |
discardClause |
notarizeClause |
checkoutClause |
publishClause |
postClause |
retrieveClause |
acceptClause |
... |
src/Control/Category.agda | andreasabel/cubical | 0 | 15954 | <filename>src/Control/Category.agda
{-# OPTIONS --without-K #-}
module Control.Category where
open import Level using (suc; _⊔_)
open import Relation.Binary hiding (_⇒_)
open import Relation.Binary.PropositionalEquality
-- Module HomSet provides notation A ⇒ B for the Set of morphisms
-- from between objects A and B... |
lab7/stack/push.asm | samdsk/lab_arch2 | 0 | 84162 | .data
.text
.globl push
# push -> inserisce un elemento in cima alla pila
#input: a0 x, a1 y, a2 a
#output: void
push:
move $t0 $a0
move $t1 $a1
move $t2 $a2
#allochiamo una area di memoria per il nuovo elemento
li $v0 9 #segment break sbrk
li $a0 16 #4 parole
syscall
#adesso abbiamo indirizzo base del... |
ada/01_Saying_Hello/saying_hello.adb | lucifer1004/EFP | 1 | 4712 | with Ada.Text_IO; use Ada.Text_IO;
procedure Saying_Hello is
begin
Put ("What is your name? ");
declare
Name : String := Get_Line;
begin
Put ("Hello, ");
Put (Name);
Put (", nice to meet you!");
end;
end Saying_Hello; |
external/source/shellcode/windows/stager_reverse_tcp.asm | OsmanDere/metasploit-framework | 26,932 | 25615 | ;
; Metasploit Framework
; http://www.metasploit.com
;
; Source for reverse_tcp (stager)
;
; Authors: hdm <<EMAIL>>, vlad902 <<EMAIL>>
; Size : 263
;
cld
push byte -0x15
inc edi
call 0x2
pusha
xor ebx,ebx
mov edi,[ebp+0x3c]
mov edi,[ebp+edi+0x78]
add edi,ebp
mov edx,[edi+0x20]
add edx,ebp
mov esi,[edx+ebx*4]
add esi... |
oeis/170/A170750.asm | neoneye/loda-programs | 11 | 176149 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A170750: Expansion of g.f.: (1+x)/(1-30*x).
; 1,31,930,27900,837000,25110000,753300000,22599000000,677970000000,20339100000000,610173000000000,18305190000000000,549155700000000000,16474671000000000000,494240130000000000000,14827203900000000000000,44481611700000000000000... |
src/destroytrigger_crash.asm | mvdhout1992/ts-patches | 33 | 81354 | ; "Destroy Trigger" Map Action Bugfix
; This fixes a crash that happens because of a bug in the code for map action 12
; (Destroy Trigger). It manifests itself in an Internal Error whenever the last
; trigger stored in the game's internal lists is destroyed using this map
; action. If you look at an except.txt and the... |
oeis/020/A020770.asm | neoneye/loda-programs | 11 | 17989 | <reponame>neoneye/loda-programs<filename>oeis/020/A020770.asm<gh_stars>10-100
; A020770: Decimal expansion of 1/sqrt(13).
; Submitted by <NAME>(s1)
; 2,7,7,3,5,0,0,9,8,1,1,2,6,1,4,5,6,1,0,0,9,1,7,0,8,6,6,7,2,8,4,9,9,6,8,8,1,7,3,1,7,6,6,5,9,5,2,6,5,5,7,4,0,0,9,7,7,7,2,7,1,5,8,1,7,1,3,2,0,5,3,4,4,8,4,0,7,7,7,2,6,5,5,4,2,... |
Cubical/Homotopy/EilenbergSteenrod.agda | dan-iel-lee/cubical | 0 | 6586 | <reponame>dan-iel-lee/cubical<gh_stars>0
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Homotopy.EilenbergSteenrod where
{-
This module contains the Eilenberg-Steenrod axioms for ordinary
reduced cohomology theories with binary additivity.
The axioms are based on the ones given in Cavallo's MSc the... |
programs/oeis/070/A070848.asm | neoneye/loda | 22 | 163572 | <filename>programs/oeis/070/A070848.asm
; A070848: Smallest prime == 1 mod (4n).
; 5,17,13,17,41,73,29,97,37,41,89,97,53,113,61,193,137,73,229,241,337,89,277,97,101,313,109,113,233,241,373,257,397,137,281,433,149,457,157,641,821,337,173,353,181,1289,941,193,197,401,409,1249,1061,433,661,449,229,233,709,241,733,1489,757... |
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_3634_1050.asm | ljhsiun2/medusa | 9 | 163632 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r15
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0xca89, %r15
nop
nop
nop
nop
inc %rbx
movl $0x61626364, (%r15)
nop
nop
and %r15, %r15
lea addresses_WT_ht+0x1a049, %rsi
lea addresses_WC_ht+0x1e589, %rdi
nop
nop
nop
nop
cmp %... |
c-vs-asm/build/02-const.asm | willbr/gameboy-tests | 0 | 7029 | ;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 4.0.0 #11528 (MINGW64)
;--------------------------------------------------------
; MODULE 02_const
.optsdcc -mgbz80
; Generated using the rgbds tokens.
; We have to define these here as sdcc... |
src/platform.ads | ohenley/covidsim | 6 | 18135 | package platform is
function get_ui_specification_filepath return string;
function get_covid_raw_data_filepath return string;
end;
|
src/commonAntlrTest/antlr/IndentBasedParser.g4 | piacenti/dsl-maker | 0 | 3594 | <filename>src/commonAntlrTest/antlr/IndentBasedParser.g4<gh_stars>0
parser grammar IndentBasedParser;
options { tokenVocab=IndentBasedLexer; }
@parser::header{
import piacenti.dslmaker.dsl.DataType
}
main locals[dataType:DataType=DataType.UNKNOWN]: NEW_LINE? block EOF ;
blocks: block+;
block: dataPath alias? NEW_LINE ... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c35703a.ada | best08618/asylo | 7 | 9579 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c35703a.ada
-- C35703A.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
-- unlimi... |
3-mid/impact/source/2d/orbs/collision/impact-d2-orbs-dynamic_tree.adb | charlie5/lace | 20 | 7735 | <filename>3-mid/impact/source/2d/orbs/collision/impact-d2-orbs-dynamic_tree.adb
with ada.Unchecked_Deallocation,
interfaces.c.Pointers;
-- for debug
package body impact.d2.orbs.dynamic_Tree
is
use type int32;
procedure free is new ada.Unchecked_Deallocation (b2DynamicTreeNodes, b2DynamicTreeNodes_view)... |
oeis/178/A178736.asm | neoneye/loda-programs | 11 | 162874 | ; A178736: a(n) = n XOR 10n, where XOR is bitwise XOR.
; Submitted by <NAME>
; 0,11,22,29,44,55,58,65,88,83,110,101,116,143,130,153,176,187,166,173,220,199,202,241,232,227,286,277,260,319,306,297,352,363,374,381,332,343,346,417,440,435,398,389,404,495,482,505,464,475,454,461,572,551
mov $5,$0
mul $5,10
mov $2,$5
mov $... |
programs/oeis/047/A047442.asm | jmorken/loda | 1 | 3217 | <reponame>jmorken/loda
; A047442: Numbers that are congruent to {0, 1, 2, 5, 6} mod 8.
; 0,1,2,5,6,8,9,10,13,14,16,17,18,21,22,24,25,26,29,30,32,33,34,37,38,40,41,42,45,46,48,49,50,53,54,56,57,58,61,62,64,65,66,69,70,72,73,74,77,78,80,81,82,85,86,88,89,90,93,94,96,97,98,101,102,104
mov $2,$0
trn $0,2
mov $1,$2
lpb $0
... |
src/window/WindowCreate.asm | jhm-ciberman/calculator-asm | 2 | 167091 | <filename>src/window/WindowCreate.asm
;;;
; Creates the main window.
;
; params:
; width - The initial width of the window
; height - The initial height of the window
; title - A pointer to a null terminated string with the title of the window
;
; returns: (QWORD) The window handle or 0 if fails
;;;
p... |
reverse_engineering/grammars/CqlParser.g4 | BearDimonR/ScyllaDB | 0 | 142 | <filename>reverse_engineering/grammars/CqlParser.g4
/*
* The MIT License (MIT)
*
* Copyright (c) 2014 by <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,
* i... |
Lista2/Lista2/Parte2/Programa10.asm | GustavoLR548/ACII-GLR | 1 | 14825 | <reponame>GustavoLR548/ACII-GLR
.data
x: .word 5 # Declarando "X"
z: .word 7 # Declarando "Z"
y: .word 0 # Declarando "Y" ,o valor devera ser sobrescrito apos a execucao do programa.
.text
# Armazendo os valores do ".data" em variáveis temporárias
lw $t0, x # t0/temp0 = x = 5
lw $t1, z # t1/temp1 = x = ... |
programs/oeis/112/A112033.asm | karttu/loda | 0 | 101116 | <gh_stars>0
; A112033: a(n) = 3 * 2^(floor(n/2) + 1 + (-1)^n).
; 12,3,24,6,48,12,96,24,192,48,384,96,768,192,1536,384,3072,768,6144,1536,12288,3072,24576,6144,49152,12288,98304,24576,196608,49152,393216,98304,786432,196608,1572864,393216,3145728,786432,6291456,1572864,12582912,3145728,25165824,6291456,50331648,12582912... |
asm80386/sum.asm | tao-j/hw | 0 | 100101 | .386
.model flat, stdcall
option casemap :none
include include\windows.inc
include include\kernel32.inc
include include\user32.inc
includelib lib\kernel32.lib
includelib lib\user32.lib
.data
result db 100 dup(0)
format db "%d",0
prompt db "The result",0
.code
main:
mov eax, 0
mov ebx,... |
base/mvdm/wow16/user/winmisc2.asm | npocmaka/Windows-Server-2003 | 17 | 244201 | ;++
;
; WOW v1.0
;
; Copyright (c) 1991, Microsoft Corporation
;
; WINMISC2.ASM
; Win16 misc. user services
;
; History:
;
; Created 28-May-1991 by <NAME> (jeffpar)
; Copied from WIN31 and edited (as little as possible) for WOW16
;--
;*******************************************************... |
noshim.asm | imneme/spectrum-minilib | 1 | 17565 | INCLUDE "romdefs.inc"
SECTION code_clib
GLOBAL _zx_rom_cls
GLOBAL _zx_rom_cls_lower
GLOBAL _zx_rom_set_min
defc _zx_rom_cls = ROM3_CLS
defc _zx_rom_cls_lower = ROM3_CLS_LOWER
defc _zx_rom_set_min = ROM3_SET_MIN
|
oeis/045/A045894.asm | neoneye/loda-programs | 11 | 81529 | ; A045894: 4-fold convolution of A001700(n), n >= 0.
; Submitted by <NAME>
; 1,12,94,608,3525,19044,97954,486000,2345930,11081880,51447036,235454848,1064832173,4767347796,21160397050,93223960784,408037319262,1775744775592,7688699122724,33140226601920,142262721338146,608461929994472,2593774036652244,11023444873575648,46... |
src/main/antlr/Math.g4 | FauxKiwi/Calculator | 1 | 1367 | grammar Math;
//
// Parser
//
program
: statements? EOF
;
calculation
: expression EOF
;
// Statements
statements
: (statement SEMI+)+
;
statement
: defStatement
| functionDeclaration
| printStatement
;
defStatement
: IDENTIFIER DEF expression
;
printStatement
... |
Resources/Alloy.als | Prosdino95/SOFTWARE-ENGINEERING-2 | 0 | 2692 | open util/integer
open util/boolean
//Signatures
sig User{
events: set Event,
email:one String,
prohibitedVehicles:set Vehicle
}
sig Vehicle{}
sig Event{
initialTime:one Date,
finalTime:one Date,
position:one Position,
warning:one Bool,
paths:set Path
}
sig Date{
time:one Int
}
sig Position{
latitude:... |
chapter5/detect-memory/loader.asm | liulinboyi/os | 6 | 84050 | %include "boot.inc"
section loader vstart=LOADER_BASE_ADDR
;LOADER_BASE_ADDR = 0x900
;此处虚拟头结点是0x900
LOADER_STACK_TOP equ LOADER_BASE_ADDR
; 这里其实就是GDT的起始地址,第一个描述符为空
GDT_BASE: dd 0x00000000
dd 0x00000000
; 代码段描述符,一个dd为4字节,段描述符为8字节,上面为低4字节
CODE_DESC: dd 0x0000FFFF
dd DESC_CODE_HIGH4
; 栈段描述符,和数据段共用... |
cohesion/david_jaz_261/LogicalTopology.agda | glangmead/formalization | 6 | 8291 | <filename>cohesion/david_jaz_261/LogicalTopology.agda
{-# OPTIONS --without-K --rewriting #-}
module LogicalTopology where
open import Basics
open import lib.types.Truncation
-- For convenience, we define the "power type" ℘ A
℘ : {i : ULevel} (j : ULevel) (A : Type i) → Type _
℘ j A = A → Prop j
_∩_ : {... |
specs/ada/server/tkmrpc-contexts-dh.ads | DrenfongWong/tkm-rpc | 0 | 5473 | <gh_stars>0
with Tkmrpc.Types;
package Tkmrpc.Contexts.dh
is
type dh_State_Type is
(clean,
-- Initial clean state.
invalid,
-- Error state.
stale,
-- DH context is stale.
created,
-- Waiting for remote pubvalue.
generated
-- Diffie-Hellman s... |
hasor-dataql/dataql-runtime/src/main/antlr4/net/hasor/dataql/compiler/parser/DataQLLexer.g4 | typetree/hasor | 1 | 1408 | // Define a grammar called Hello
lexer grammar DataQLLexer;
/* skip spaces */
WS : [ \t\n\r\f]+ -> skip ; // skip spaces, (空格\水平制表符\换行\回车\换页)
COMMENT1: '//' (~[\n\r])* EOL? -> skip ;
COMMENT2: '/*' .*? '*/';
EOL : [\n\r\f];
//
AT : '@@';
OPEN_TAG: '<%' -> pushMode(EXT_INSTR);
/* key words */
... |
Transynther/x86/_processed/NC/_zr_/i3-7100_9_0xca_notsx.log_21829_1319.asm | ljhsiun2/medusa | 9 | 12963 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r8
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x13a3e, %r13
nop
cmp %rbp, %rbp
mov $0x6162636465666768, %r8
movq %r8, %xmm3
and $0xffffffffffffffc0, %r13
vmovaps %ymm3, (%r13)
nop
nop
cmp ... |
arch/ARM/Nordic/svd/nrf52/nrf_svd-comp.ads | rocher/Ada_Drivers_Library | 192 | 13429 | -- Copyright (c) 2010 - 2018, Nordic Semiconductor ASA
--
-- 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 must retain the above copyright notice, t... |
alloy4fun_models/trainstlt/models/4/gYqpadfYdrfsWM2FG.als | Kaixi26/org.alloytools.alloy | 0 | 1651 | <gh_stars>0
open main
pred idgYqpadfYdrfsWM2FG_prop5 {
always (all t:Train|(one t.pos:> Exit => no t.pos'))
always (all t:Train| (one t.pos and some t.pos.prox => t.pos' in t.pos.prox ) )
always (all t:Train| no t.pos.prox => (no t.pos' or t.pos'=t.pos) )
}
pred __repair { idgYqpadfYdrfsWM2FG_prop5 }... |
test/Fail/Issue2788b.agda | caryoscelus/agda | 0 | 10158 | <filename>test/Fail/Issue2788b.agda
module _ where
open import Agda.Builtin.Cubical.Glue hiding (primGlue)
primitive
primGlue : _
|
SQLiteParser/SQLiteParserSimple.g4 | ericschultz/SQLiteParser | 4 | 2306 | <gh_stars>1-10
grammar SQLiteParserSimple;
options {
language=CSharp3;
TokenLabelType=CommonToken;
// output=AST;
// ASTLabelType=CommonTree;
}
@lexer::members{
public const int EOF = Eof;
}
@parser::members{
public const int EOF = Eof;
}
/*
* Parser Rules
*/
/*sql_stmt_list: ((sql_stmt (sql_stmt S... |
libsrc/_DEVELOPMENT/stdio/z80/asm_asprintf.asm | meesokim/z88dk | 0 | 16258 |
; ===============================================================
; Jan 2014
; ===============================================================
;
; int asprintf (char **ptr, const char *format, ...)
;
; Similar to snprintf but attempts to dynamically allocate
; a buffer using malloc to store the output string.
;
; ===... |
oeis/127/A127896.asm | neoneye/loda-programs | 11 | 8929 | <gh_stars>10-100
; A127896: Expansion of 1/(1 + 2*x + 3*x^2 + x^3).
; Submitted by <NAME>(s1)
; 1,-2,1,3,-7,4,10,-25,16,33,-89,63,108,-316,245,350,-1119,943,1121,-3952,3598,3539,-13920,13625,10971,-48897,51256,33208,-171287,191694,97265,-598325,713161,271388,-2083934,2640543,699328,-7236351,9734175,1541375,-25048924,35... |
programs/oeis/017/A017173.asm | karttu/loda | 1 | 81187 | ; A017173: a(n) = 9*n + 1.
; 1,10,19,28,37,46,55,64,73,82,91,100,109,118,127,136,145,154,163,172,181,190,199,208,217,226,235,244,253,262,271,280,289,298,307,316,325,334,343,352,361,370,379,388,397,406,415,424,433,442,451,460,469,478
mov $1,$0
mul $1,9
add $1,1
|
FormalAnalyzer/models/meta/cap_ovenMode.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 778 |
// filename: cap_ovenMode.als
module cap_ovenMode
open IoTBottomUp
one sig cap_ovenMode extends Capability {}
{
attributes = cap_ovenMode_attr
}
abstract sig cap_ovenMode_attr extends Attribute {}
one sig cap_ovenMode_attr_ovenMode extends cap_ovenMode_attr {}
{
values = cap_ovenMode_attr_ovenMode_val
}
abstr... |
src/main/fragment/mos6502-common/vbuaa=vbuaa_plus_pbuc1_derefidx_vbuxx.asm | jbrandwood/kickc | 2 | 104566 | <filename>src/main/fragment/mos6502-common/vbuaa=vbuaa_plus_pbuc1_derefidx_vbuxx.asm
clc
adc {c1},x
|
oeis/089/A089074.asm | neoneye/loda-programs | 11 | 85042 | <filename>oeis/089/A089074.asm
; A089074: Expansion of x*(1 + x + x^2)/(1 - 2*x + x^5).
; Submitted by <NAME>(s3)
; 0,1,3,7,14,28,55,107,207,400,772,1489,2871,5535,10670,20568,39647,76423,147311,283952,547336,1055025,2033627,3919943,7555934,14564532,28074039,54114451,104308959,201061984,387559436,747044833,1439975215,2... |
net.asm | cthulhuology/firth | 12 | 174975 | <gh_stars>10-100
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; net.asm
;;
;; © 2013 <NAME> <<EMAIL>>
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; tcp selects a SOCK_STREAM
%macro tcp 0
literal 1
arg2
%endmacro
;;;;;;;;;;;;;;;;;;;;;;;;... |
284x-101.asm | karcherm/scsi_edd | 0 | 18630 | ResetLocalStateOfs = 0C80h
SetTargetOfs = 0CB4h
ExecuteCommandOfs = 0E6Bh
SetDataAddressOfs = 0F29h
Int13_DispatchOfs = 12B0h
I13_DispatcherOfs = 1453h
Func_UnsupportedOfs = 1483h
Func09_AlwaysOKOfs = 1792h
MyInt15Ofs = 18E8h
MyInt15InstallOfs = 2BB0h ; Not really. This function is missing,... |
RefactorAgdaEngine/AgdaHelperFunctions.agda | omega12345/RefactorAgda | 5 | 5700 | <gh_stars>1-10
-- stuff I did not find in the standard library, but which
-- I might just not have noticed.
module AgdaHelperFunctions where
open import Data.String
open import Data.Sum
open import Category.Monad
infixr 0 _$_
_$_ : {A B : Set} -> (A -> B) -> A -> B
x $ y = x y
bind : {error x y : Set} -> error ⊎ x ... |
macro.asm | lichobaron/MIPSMARS | 0 | 104630 | <reponame>lichobaron/MIPSMARS
.include "mips2.asm"
.data
num: .word 34
.eqv FIN_PROGRAMA 10
.eqv NUM_UNO 5
.text
la $s0, num #direccion
lw $s1, 0($s0) #Dato--> s1= 34
SumaInmediata ($t2,$s1,NUM_UNO) #t2=s1+5
#fin del programa
Fin
|
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_21630_623.asm | ljhsiun2/medusa | 9 | 105070 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x3e01, %rsi
lea addresses_normal_ht+0xe661, %rdi
nop
nop
nop
xor $3215, %r14
mov $96, %rcx
rep movsq
and %r12, %r12
lea addresses_UC_ht+0xaa01, %rbp
nop
nop
nop
cmp %r9, %r9
m... |
agda-stdlib/src/Function/Construct/Identity.agda | DreamLinuxer/popl21-artifact | 5 | 13574 | <gh_stars>1-10
------------------------------------------------------------------------
-- The Agda standard library
--
-- The identity function
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Function.Construct.Identity where
open import Data.Produc... |
tests/lsc_internal_test_shadow.adb | Componolit/libsparkcrypto | 30 | 12497 | -------------------------------------------------------------------------------
-- This file is part of libsparkcrypto.
--
-- Copyright (C) 2010, <NAME>
-- Copyright (C) 2010, secunet Security Networks AG
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- ... |
2011400_NguyenTuanKiet_Lab4/bt2.asm | alumica/KTMT | 0 | 163707 | <gh_stars>0
.model small
.stack 100h
.data
tbNhap db 13, 10, 'Nhap mot ky tu (hoac ESC): $'
tbChu db 13, 10, 'Ky tu da nhap la chu$'
tbSo db 13, 10, 'Ky tu da nhap la so$'
tbKhac db 13, 10, 'Ky tu da nhap khac chu/so$'
.code
mov ax, @data
mov ds, ax
Nhap:
mov ah, 9
... |
y2s2/csa/practicals/revision/ex-5.asm | ouldevloper/university | 8 | 15790 | <gh_stars>1-10
; ex-5.asm (loop, array, jump)
; find largest value from list
; prompt for 5 digits
; accept 5 digits (assume will only enter 5 digits)
; find largest value
; display largest value on screen
.MODEL SMALL
.STACK 100
.DATA
STR LABEL BYTE
maxn DB 6
actn DB ?
actstr DB 6 dup('$')
... |
programs/oeis/228/A228367.asm | jmorken/loda | 1 | 163252 | <reponame>jmorken/loda<gh_stars>1-10
; A228367: n-th element of the ruler function plus the highest power of 2 dividing n.
; 2,4,2,7,2,4,2,12,2,4,2,7,2,4,2,21,2,4,2,7,2,4,2,12,2,4,2,7,2,4,2,38,2,4,2,7,2,4,2,12,2,4,2,7,2,4,2,21,2,4,2,7,2,4,2,12,2,4,2,7,2,4,2,71,2,4,2,7,2,4,2,12,2,4,2,7,2,4,2,21,2,4,2,7,2,4,2,12,2,4,2,7,... |
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_gstplugin_h.ads | persan/A-gst | 1 | 26362 | pragma Ada_2005;
pragma Style_Checks (Off);
pragma Warnings (Off);
with Interfaces.C; use Interfaces.C;
with glib;
with glib.Values;
with System;
-- with GStreamer.GST_Low_Level.glib_2_0_glib_gquark_h;
with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstobject_h;
with System;
-- with GStreamer.GST_Low_Level.sys_types... |
data/pikachu_pic_objects.asm | adhi-thirumala/EvoYellow | 16 | 166798 | PikaPicAnimBGFramesPointers:
pikaanim_def: macro
\1_id: dw \1
endm
pikaanim_def PikaPicAnimBGFrames_0 ; 00
pikaanim_def PikaPicAnimBGFrames_1 ; 01
pikaanim_def PikaPicAnimBGFrames_2 ; 02
pikaanim_def PikaPicAnimBGFrames_3 ; 03
pikaanim_def PikaPicAnimBGFrames_4 ; 04
pikaanim_def PikaPicAnimBGFrames_5 ; 05
pika... |
source/web/spikedog/aws/matreshka-servlet_aws_responses.ads | svn2github/matreshka | 0 | 10711 | <reponame>svn2github/matreshka<gh_stars>0
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
os/simple_asm.asm | ThunderingWest4/os-tutorial | 0 | 23745 | ; Inf loop
loop:
jmp loop
times 510-($-$$) db 0
dw 0xaa55 |
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xca_notsx.log_21829_89.asm | ljhsiun2/medusa | 9 | 161847 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1109, %rdi
nop
nop
add %r11, %r11
mov (%rdi), %r13
nop
inc %rdi
lea addresses_WC_ht+0xeb4f, %r13
nop
nop
nop
cmp %rax, %rax
mov $0x6162636465666768... |
antlr/BooleanExpr.g4 | Xingkai98/BinaryDecisionDiagramVisualizer | 0 | 5821 | grammar BooleanExpr;
compileUnit
: expr EOF
;
expr
: '(' expr ')' # parensExpr
| '¬' child=expr # negationExpr
| left=expr '∧' right=expr # conjunctionExpr
| left=expr '∨' right=expr # disjunctionExpr
| left=expr '<... |
+extras/external_libs/zlib/src/zlib-1.2.11/contrib/vstudio/vc14/x86/TestZlibDebug/Tmp/inflate.asm | dkovari/ExtrasToolbox | 0 | 95107 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.14.26428.1
TITLE C:\Users\dkovari\Documents\GitHub\ExtrasToolbox\+extras\external_libs\zlib\src\zlib-1.2.11\inflate.c
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
CONST SEGMENT
?lenfix@?1??fixedtables@@9@9 ... |
memsim-master/src/memory-transform-shift.ads | strenkml/EE368 | 0 | 26467 |
package Memory.Transform.Shift is
type Shift_Type is new Transform_Type with private;
type Shift_Pointer is access all Shift_Type'Class;
function Create_Shift return Shift_Pointer;
function Random_Shift(next : access Memory_Type'Class;
generator : Distribution_Type;
... |
third_party/antlr_grammars_v4/smiles/smiles.g4 | mikhan808/rsyntaxtextarea-antlr4-extension | 2 | 1748 | /*
BSD License
Copyright (c) 2017, <NAME>
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 must retain the above copyright
notice, this list of conditions and the follo... |
gcc-gcc-7_3_0-release/gcc/ada/ttypes.ads | best08618/asylo | 7 | 14077 | <reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/ada/ttypes.ads<gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS ... |
programs/oeis/129/A129803.asm | neoneye/loda | 22 | 5401 | <reponame>neoneye/loda
; A129803: Triangular numbers that are the sum of three consecutive triangular numbers.
; 10,136,1891,26335,366796,5108806,71156485,991081981,13803991246,192264795460,2677903145191,37298379237211,519499406175760,7235693307223426,100780206894952201,1403687203222107385,19550840638214551186,27230808... |
oeis/115/A115754.asm | neoneye/loda-programs | 11 | 99364 | ; A115754: Decimal expansion of sqrt(3/2).
; Submitted by <NAME>
; 1,2,2,4,7,4,4,8,7,1,3,9,1,5,8,9,0,4,9,0,9,8,6,4,2,0,3,7,3,5,2,9,4,5,6,9,5,9,8,2,9,7,3,7,4,0,3,2,8,3,3,5,0,6,4,2,1,6,3,4,6,2,8,3,6,2,5,4,8,0,1,8,8,7,2,8,6,5,7,5,1,3,2,6,9,9,2,9,7,1,6,5,5,2,3,2,0,1,1,7
mov $3,$0
mul $3,3
lpb $3
sub $2,2
add $6,$2
a... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2.log_21829_1311.asm | ljhsiun2/medusa | 9 | 173437 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r13
push %r15
push %rax
push %rdi
lea addresses_D_ht+0x1ee6d, %r13
clflush (%r13)
nop
xor %r12, %r12
mov $0x6162636465666768, %r11
movq %r11, %xmm3
vmovups %ymm3, (%r13)
nop
nop
xor $5483, %rdi
lea a... |
libsrc/games/gal/joystick.asm | jpoikela/z88dk | 640 | 241605 | <reponame>jpoikela/z88dk<gh_stars>100-1000
;
; Generic game device library - Galaksija port
; <NAME> - 2017
;
; $Id: joystick.asm $
;
SECTION code_clib
PUBLIC joystick
PUBLIC _joystick
EXTERN getk
.joystick
._joystick
;__FASTALL__ : joystick no. in HL
ld a,l
dec a
jp z,arrows
ld e,0
ld hl,$... |
oeis/255/A255223.asm | neoneye/loda-programs | 11 | 88079 | <reponame>neoneye/loda-programs
; A255223: Number of (n+2)X(3+2) 0..1 arrays with no 3x3 subblock diagonal sum 0 and no antidiagonal sum 0 and no row sum 2 and no column sum 2
; Submitted by <NAME>(w2)
; 31,37,46,58,76,103,142,199,283,406,586,850,1237,1804,2635,3853,5638,8254,12088,17707,25942,38011,55699,81622,119614,... |
src/server/angelscript/angelscript/source/as_callfunc_arm64_msvc.asm | Oasis256/NymphCast | 2,226 | 103082 | ;
; AngelCode Scripting Library
; Copyright (c) 2020-2020 <NAME>
;
; This software is provided 'as-is', without any express or implied
; warranty. In no event will the authors be held liable for any
; damages arising from the use of this software.
;
; Permission is granted to anyone to use this software f... |
programs/oeis/319/A319998.asm | neoneye/loda | 22 | 27076 | <filename>programs/oeis/319/A319998.asm
; A319998: a(n) = Sum_{d|n, d is even} mu(n/d)*d, where mu(n) is Moebius function A008683.
; 0,2,0,2,0,4,0,4,0,8,0,4,0,12,0,8,0,12,0,8,0,20,0,8,0,24,0,12,0,16,0,16,0,32,0,12,0,36,0,16,0,24,0,20,0,44,0,16,0,40,0,24,0,36,0,24,0,56,0,16,0,60,0,32,0,40,0,32,0,48,0,24,0,72,0,36,0,48,0... |
3-mid/opengl/source/lean/renderer/opengl-renderer-lean-forge.adb | charlie5/lace | 20 | 11886 | <reponame>charlie5/lace
package body openGL.Renderer.lean.forge
is
function to_Renderer return Renderer.lean.item
is
begin
return the_Renderer : Renderer.lean.item
do
the_Renderer.define;
end return;
end to_Renderer;
function new_Renderer return Renderer.lean.view
is
... |
main.applescript | Cottin/auto-economacs | 1 | 3244 | <reponame>Cottin/auto-economacs<filename>main.applescript
-- #########################################################
-- Konteringsmallar för iOrdning/Economacs
-- #########################################################
-- #########################################################
-- #################################... |
src/nso-helpers.adb | SSOCsoft/Log_Reporter | 0 | 3036 | <filename>src/nso-helpers.adb
With
INI.Section_to_Map,
Ada.Containers,
Ada.Text_IO,
Ada.Characters.Conversions,
Ada.Characters.Latin_1,
Ada.Strings.Fixed,
Ada.Strings.Unbounded,
Gnoga.Gui.Element.Form.Fieldset;
Package Body NSO.Helpers is
Use NSO.Types;
Procedure Add_Discrete(
Form : in out Gnoga.Gu... |
Lab2/test(1)/test2c.asm | siwasilp/Micro | 0 | 10671 | ORG 0000H
Start: MOV DPTR,#0E060H
MOV A,#39H ; show C
MOVX @DPTR,A
CALL Delay
MOV A,#71H ; show P
MOVX @DPTR,A
CALL Delay
MOV A,#79H ; show E
MOVX @DPTR,A
CALL Delay
MOV A,#40H ; show -
MOVX @DPTR,A
CALL Delay
MOV A,#6DH ; show S
MOVX @DPTR,A
CALL Delay
MOV A,#3EH ;... |
oeis/262/A262674.asm | neoneye/loda-programs | 11 | 12944 | <filename>oeis/262/A262674.asm<gh_stars>10-100
; A262674: Decimal expansion of the real root of x^3 - 6x^2 + 4x - 2.
; Submitted by <NAME>
; 5,3,1,8,6,2,8,2,1,7,7,5,0,1,8,5,6,5,9,1,0,9,6,8,0,1,5,3,3,1,8,0,2,2,4,6,7,7,2,1,9,1,9,8,0,8,8,3,6,9,0,0,2,6,0,2,2,8,0,9,1,9,9,5,8,4,0,1,9,5,8,9,7,4,5,7,3,2,1,8,7,4,3,6,6,5,3,4,5,9... |
Transynther/x86/_processed/NONE/_un_xt_sm_/i7-8650U_0xd2.log_7439_1064.asm | ljhsiun2/medusa | 9 | 94819 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_un_xt_sm_/i7-8650U_0xd2.log_7439_1064.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x3ac7, %rsi
lea addresses_D_ht+0x5cb9, %rdi
clflush (%rsi)
nop
inc %r11
mov... |
src/to-string-tests.agda | xoltar/cedille | 0 | 3442 | module to-string-tests where
open import lib
open import cedille-types
open import syntax-util
open import to-string
t = mapp (mapp (mvar "plus") (mvar "Z")) (mvar "Z")
s = term-to-string t
|
src/language/Language.g4 | lrlucena/receitas | 1 | 2889 | grammar Language;
program: expression EOF;
expression: INT # int
| expression '+' expression # sum
;
INT: ('0'..'9')+;
Space: [ \t\n\r] -> skip;
//Comment: '#' .*? '\n' -> skip; |
Task/Levenshtein-distance/AppleScript/levenshtein-distance-2.applescript | LaudateCorpus1/RosettaCodeData | 1 | 597 | <reponame>LaudateCorpus1/RosettaCodeData
-- levenshtein :: String -> String -> Int
on levenshtein(sa, sb)
set {s1, s2} to {characters of sa, characters of sb}
script
on |λ|(ns, c)
script minPath
on |λ|(z, c1xy)
set {c1, x, y} to c1xy
m... |
src/fot/Agsy/DistributiveLaws/TaskB.agda | asr/fotc | 11 | 3825 | ------------------------------------------------------------------------------
-- Example using distributive laws on a binary operation via Agsy
------------------------------------------------------------------------------
{-# OPTIONS --allow-unsolved-metas #-}
{-# OPTIONS --exact-split #-}
{-# OPTIO... |
projects/batfish/src/batfish/grammar/flatjuniper/FlatJuniper_mpls.g4 | luispedrosa/batfish | 0 | 1953 | parser grammar FlatJuniper_mpls;
import FlatJuniper_common;
options {
tokenVocab = FlatJuniperLexer;
}
s_protocols_mpls
:
MPLS s_null_filler
;
|
Working Disassembly/sonic3k.macros.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 0 | 81953 | ; simplifying macros and functions
; nameless temporary symbols should NOT be used inside macros because they can interfere with the surrounding code
; normal labels should be used instead (which automatically become local to the macro)
; makes a VDP command
vdpComm function addr,type,rwd,(((type&rwd)&3)<<30)|((addr&$... |
plfa/src/Naturals.agda | xiongxin/playground | 0 | 2367 | <reponame>xiongxin/playground<filename>plfa/src/Naturals.agda
module Naturals where
data ℕ : Set where
zero : ℕ
suc : ℕ → ℕ
-- suc (suc (suc (suc (suc (suc (suc zero))))))
{-# BUILTIN NATURAL ℕ #-}
import Relation.Binary.PropositionalEquality as Eq
open Eq using (_≡_; refl)
open Eq.≡-Reasoning using (begin_; _... |
tests/labels/steps_labels.asm | UPB-FILS-ALF/devoir-1-tests | 0 | 90567 | push 1
stack
jump 11
step2: push 3
stack
push 5
add
sub
print
jump 14
step1: push 2
stack
jump 4
step3: print
|
Groups/Homomorphisms/Examples.agda | Smaug123/agdaproofs | 4 | 10106 | <reponame>Smaug123/agdaproofs
{-# OPTIONS --safe --warning=error --without-K #-}
open import Setoids.Setoids
open import Functions.Definition
open import Groups.Definition
open import Sets.EquivalenceRelations
open import Groups.Homomorphisms.Definition
module Groups.Homomorphisms.Examples where
identityHom : {a b :... |
kernel/userspace.asm | Moldytzu/operatingsystem | 0 | 241569 | <reponame>Moldytzu/operatingsystem<filename>kernel/userspace.asm
bits 64
global sysretInit, userspaceJump
extern SyscallHandlerEntry
; initialize the sysret/syscall functionality
sysretInit:
mov rax, SyscallHandlerEntry ; syscall handler entry
mov rdx, rax
shr rdx, 0x20
mov rcx, 0xC0000082 ; LSTAR
wrmsr
mov rcx... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.