text stringlengths 1 1.05M |
|---|
// projects/08/ProgramFlow/BasicLoop/BasicLoop.vm
@0
D=A
@SP
A=M
M=D
@SP
AM=M+1
@0
D=A
@LCL
AD=D+M
@R13
M=D
@SP
AM=M-1
D=M
@R13
A=M
M=D
(LOOP_START)
@0
D=A
@ARG
AD=D+M
D=M
@SP
A=M
M=D
@SP
AM=M+1
@0
D=A
@LCL
AD=D+M
D=M
@SP
A=M
M=D
@SP
AM=M+1
@SP
AM=M-1
D=M
@SP
AM=M-1
M=D+M
@SP
AM=M+1
@0
D=A
@LCL
AD=D+M
@R13
M=D
@SP
AM=M... |
; A013728: a(n) = 23^(2*n + 1).
; 23,12167,6436343,3404825447,1801152661463,952809757913927,504036361936467383,266635235464391245607,141050039560662968926103,74615470927590710561908487,39471584120695485887249589623,20880467999847912034355032910567,11045767571919545466173812409689943,584321104554543955160594676472597984... |
// Copyright (c) by respective owners including Yahoo!, Microsoft, and
// individual contributors. All rights reserved. Released under a BSD (revised)
// license as described in the file LICENSE.
#include <cfloat>
#include <cmath>
#include <cstdio>
#include <sstream>
#include <vector>
#include <unordered_map>
#include ... |
;
; savexmm.asm
;
; Copyright (c) Microsoft Corporation. Licensed under the MIT license.
;
; Routines for saving and restoring XMM registers.
;
TITLE savexmm.asm
.686
.xmm
_TEXT SEGMENT PARA PUBLIC USE32 'CODE'
ASSUME CS:_TEXT, DS:FLAT, SS:FLAT
PUBLIC ... |
;; $Header:
;;
;; IDT/IRQ Channeler/Helper
;; By EKS - Dave Poirier
;; Distributed under the BSD License
;;
;; known limitations:
;;-------------------
;; - Maximum of 255 clients per IRQ channel
;; - GDT descriptor created are always with privilege level 0
;; - Doesn't remove a client from an IRQ channel due to an inc... |
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2020 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#incl... |
// Copyright 2016 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/builtins/builtins-utils-gen.h"
#include "src/builtins/builtins.h"
#include "src/code-stub-assembler.h"
#include "src/ic/handler-compiler.h... |
/******************************************************************************
* Copyright (c) Intel Corporation - All rights reserved. *
* This file is part of the LIBXSMM library. *
* *
... |
/*
* test_IF.cpp
*
* Created on: 2019-3-30
* Author: fasiondog
*/
#include "doctest/doctest.h"
#include <fstream>
#include <hikyuu/StockManager.h>
#include <hikyuu/indicator/crt/KDATA.h>
#include <hikyuu/indicator/crt/CVAL.h>
using namespace hku;
/**
* @defgroup test_indicator_IF test_indicator_IF
* @in... |
org 100h
L1: MOV AL, 0FH
MOV BH, AL
MOV CL, 08H
MOV DL, 00H
MOV BL, 02H
LOOP: MOV AL, DL
MUL BL
MOV DL, AL
RCR BH, 01H
JC CR
DEC CL
JNZ LOOP
JMP L2
CR: INC DL
DEC CL
JNZ LOOP
L2: CMP BH, DL
JZ PALINDROME
NOTPALINDROME: MOV AH, ... |
; A308709: Start with 3, divide by 3, multiply by 2, multiply by 3, multiply by 2, repeat.
; Submitted by Simon Strandgaard
; 3,1,2,6,12,4,8,24,48,16,32,96,192,64,128,384,768,256,512,1536,3072,1024,2048,6144,12288,4096,8192,24576,49152,16384,32768,98304,196608,65536,131072,393216,786432,262144,524288,1572864,3145728,10... |
.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_D_ht+0x86a7, %r12
sub $38574, %r14
movups (%r12), %xmm2
vpextrq $0, %xmm2, %rax
add %rcx, %rcx
lea addresses_normal_ht+0x9278, %rsi
lea addresses_D_ht+0xfda7, %rdi
nop
nop
nop
nop
a... |
// =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2019 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... |
_rm: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
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 ... |
; -*- fundamental -*- (asm-mode sucks)
; ****************************************************************************
;
; isolinux.asm
;
; A program to boot Linux kernels off a CD-ROM using the El Torito
; boot standard in "no emulation" mode, making the entire filesystem
; available. It is based on the SYSLINUX b... |
extern m7_ippsTDESEncryptCTR:function
extern n8_ippsTDESEncryptCTR:function
extern y8_ippsTDESEncryptCTR:function
extern e9_ippsTDESEncryptCTR:function
extern l9_ippsTDESEncryptCTR:function
extern n0_ippsTDESEncryptCTR:function
extern k0_ippsTDESEncryptCTR:function
extern ippcpJumpIndexForMergedLibs
extern ippcpSafeIni... |
// RUN: %clang_analyze_cc1 -std=c++11 -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config c++-inlining=destructors -analyzer-config c++-container-inlining=false -verify %s
// RUN: %clang_analyze_cc1 -std=c++11 -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config c++-inlining=des... |
#pragma once
#include <string>
namespace cmn { class cmdLine; }
namespace shlink {
class iSymbolIndex;
class layout;
class layoutProgress;
class iTarget {
public:
virtual ~iTarget() {}
virtual void readArguments(cmn::cmdLine& cl) = 0;
virtual iSymbolIndex *createIndex() = 0;
virtual void seedRequirement... |
; A007911: a(n) = (n-1)!! - (n-2)!!.
; Submitted by Jon Maiga
; 1,1,5,7,33,57,279,561,2895,6555,35685,89055,509985,1381905,8294895,24137505,151335135,468934515,3061162125,10033419375,68000295825,234484536825,1645756410375,5943863027025,43105900812975,162446292283275,1214871076343925,4761954230608575,36659590336994625,1... |
; A123138: The n-th digit of a(n-1) gives the position of digit n in a(n), a(1)=263514.
; 263514,513642,263514,513642,263514,513642,263514,513642,263514,513642,263514,513642,263514,513642,263514,513642,263514,513642,263514,513642,263514,513642,263514,513642,263514,513642,263514,513642,263514,513642
mod $0,2
mul $0,250... |
/*****************************************************************************************************************
* ReelRobotix Inc. - Software License Agreement Copyright (c) 2018
* Authors: Pablo Inigo Blasco, Brett Aldrich
*
********************************************************************************... |
;;
;; Copyright (c) 2020-2021, Intel Corporation
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions are met:
;;
;; * Redistributions of source code must retain the above copyright notice,
;; this list of conditions and... |
Name: Object.asm
Type: file
Size: 14117
Last-Modified: '1992-02-13T07:47:46Z'
SHA-1: 85CAD05A22F32966ECA32A5DF7EA231B28899B56
Description: null
|
; A093112: a(n) = (2^n-1)^2 - 2.
; -1,7,47,223,959,3967,16127,65023,261119,1046527,4190207,16769023,67092479,268402687,1073676287,4294836223,17179607039,68718952447,274876858367,1099509530623,4398042316799,17592177655807,70368727400447,281474943156223,1125899839733759,4503599493152767,18014398241046527,7205759350105702... |
;------------------------------------------------------------------------------ ;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distribution.... |
// Copyright (c) 2014 The Bitcoin Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "crypto/rfc6979_hmac_sha256.h"
#include "crypto/ripemd160.h"
#include "crypto/sha1.h"
#include "crypto/sha256.h"
#inc... |
bits 32
global start
extern exit , printf
import exit msvcrt.dll
import printf msvcrt.dll
extern maxim
segment data use32 class=data
s dd 1234A678h , 12345678h , 1AC3B47Dh , 0FEDC9876h
len equ ($-s)/4
d times len db -1
mesaj_afisare db "Suma octetil... |
TITLE sha512-586.asm
IF @Version LT 800
ECHO MASM version 8.00 or later is strongly recommended.
ENDIF
.686
.XMM
IF @Version LT 800
XMMWORD STRUCT 16
DQ 2 dup (?)
XMMWORD ENDS
ENDIF
.MODEL FLAT
OPTION DOTNAME
IF @Version LT 800
.text$ SEGMENT PAGE 'CODE'
ELSE
.text$ SEGMENT ALIGN(64) 'CODE'
ENDIF
;EXTERN _OPENSSL_ia32... |
; void __CALLEE__ *im2_CreateGenericISRLight_callee(uchar numhooks, void *addr)
; 10.2005 aralbrec
PUBLIC im2_CreateGenericISRLight_callee
PUBLIC ASMDISP_IM2_CREATEGENERICISRLIGHT_CALLEE
EXTERN IM2CreateCommon
.im2_CreateGenericISRLight_callee
pop hl
pop de
pop bc
push hl
ld a,c
.asmentry
; enter: ... |
; CALLER linkage for function pointers
PUBLIC fgetpos
EXTERN fgetpos_callee
EXTERN ASMDISP_FGETPOS_CALLEE
.fgetpos
pop de
pop hl
pop ix
push hl
push hl
push de
jp fgetpos_callee + ASMDISP_FGETPOS_CALLEE
|
; size_t w_vector_append_n(b_vector_t *v, size_t n, void *item)
SECTION code_clib
SECTION code_adt_w_vector
PUBLIC w_vector_append_n
EXTERN asm_w_vector_append_n
w_vector_append_n:
pop af
pop bc
pop de
pop hl
push hl
push de
push bc
push af
jp asm_w_vector_append_n
; SDCC bridg... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
; Module Name:
;
; RdRand.nasm
;
; Abstract:
;
; Generates random number through CPU RdRand instructi... |
BDP_OUT_BUFSIZE equ $30 ; Address of data size in buffer
BDP_OUT_BUFFER equ $32 ; Address of sub buffer
BDP_OUT_MAXSIZE equ $2E ; Max number of bytes in buffer
BDP_NEUTRALDATA set (CTH|CTL|CUP|CDOWN|CLEFT|CRIGHT)
BDP_NEUTRALCTRL set (CTHINT|CTR)
BDP_SENDDATA set (CTH|CTL|CTR|CUP|CD... |
; A256716: a(n) = n*(n+1)*(22*n-19)/6.
; 0,1,25,94,230,455,791,1260,1884,2685,3685,4906,6370,8099,10115,12440,15096,18105,21489,25270,29470,34111,39215,44804,50900,57525,64701,72450,80794,89755,99355,109616,120560,132209,144585,157710,171606,186295,201799,218140,235340,253421,272405,292314,313170,334995,357811,381640,4... |
; A103750: Expansion of (1+2*x^3)/(1-x+x^3-2*x^4).
; Submitted by Christian Krause
; 1,1,1,2,3,4,4,5,7,11,14,17,20,28,39,53,65,82,107,148,196,253,319,419,558,745,964,1244,1615,2141,2825,3698,4787,6244,8196,10805,14135,18427,24014,31489,41332,54172,70711,92357,120849,158482,207547,271412,354628,464045
lpb $0
sub $0,1... |
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved.
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
Unless required by applicable law or a... |
INCLUDE "config_private.inc"
SECTION code_clib
SECTION code_stdlib
PUBLIC __strtoul__
EXTERN l_valid_base, l_eat_ws, l_eat_sign, l_eat_digits, error_lzc
EXTERN l_neg_dehl, l_char2num, l_mulu_40_32x8, l_eat_base_prefix
__strtoul__:
; strtol, strtoul helper
;
; enter : bc = base
; de = char **en... |
%macro onKey 2
cmp al, %1
jne %%notPressed
call %2
%%notPressed:
%endmacro
keyboardHandler:
startInterrupt
in al, 60h ; Read keyboard state
onKey 0x1F, speedUp ; Speed up the main timer when S is pressed
finishInterrupt
|
; A242851: 64*n^6 - 80*n^4 + 24*n^2 - 1.
; -1,7,2911,40391,242047,950599,2883167,7338631,16451071,33489287,63202399,112211527,189447551,306634951,478821727,724955399,1068505087,1538129671,2168392031,3000519367,4083209599,5473483847,7237584991,9451922311,12204062207,15593764999,19734067807,24752413511,30791825791,380121... |
//==================================================================================================
/**
Copyright 2017 NumScale SAS
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
**/
//====================================... |
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r9
push %rax
push %rbp
push %rbx
push %rdx
lea addresses_WT_ht+0x102c3, %rdx
nop
add $22165, %r14
mov (%rdx), %ax
nop
nop
nop
nop
nop
add $30042, %rbp
lea addresses_UC_ht+0x13c95, %rax
nop
nop
nop
nop
nop
and %r9, %r9
movups (%rax), %xmm5
vpextrq $0, %xmm5, %... |
;=============================================================================+
; MD5.asm - by Greg Hoyer 7-20-2003 | |
;-----------------------------------------------+ |
; ... |
copyright zengfr site:http://github.com/zengfr/romhack
01689E move.b D0, ($1,A6)
0168A2 move.b D0, ($2,A6)
copyright zengfr site:http://github.com/zengfr/romhack
|
db DEX_DUGTRIO ; pokedex id
db 35, 80, 50, 120, 70
; hp atk def spd spc
db GROUND, GROUND ; type
db 50 ; catch rate
db 153 ; base exp
INCBIN "gfx/pokemon/front/dugtrio.pic", 0, 1 ; sprite dimensions
dw DugtrioPicFront, DugtrioPicBack
db SCRATCH, GROWL, DIG, NO_MOVE ; level 1 learnset
db GROWTH_M... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
%>
<%docstring>cacheflush(addr, nbytes, cache) -> str
Invokes the syscall cacheflush.
See 'man 2 cacheflush' for more information.
Arguments:
addr(char*): addr
nbytes(int): nbytes
cache(int): cache
Returns:
int
<... |
; A051958: a(n) = 2 a(n-1) + 24 a(n-2), a(0)=0, a(1)=1.
; 0,1,2,28,104,880,4256,29632,161408,1033984,5941760,36699136,216000512,1312780288,7809572864,47125872640,281681494016,1694383931392,10149123719168,60963461791744,365505892843520,2194134868688896
mov $20,$0
mov $22,$0
lpb $22,1
clr $0,20
mov $0,$20
sub $22,... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %rdi
push %rdx
lea addresses_D_ht+0x1cba8, %r11
xor $38179, %rdx
mov (%r11), %rdi
nop
nop
dec %r12
pop %rdx
pop %rdi
pop %r12
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r14
push %r9
push %rax
push %rbp
push %rdx
push %rsi
... |
//=================================================================================================
/*!
// \file src/mathtest/dmatsmatmult/U3x3bUCb.cpp
// \brief Source file for the U3x3bUCb dense matrix/sparse matrix multiplication math test
//
// Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved
//
// ... |
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... |
#include "EventAggregator4BDDTest.h"
using namespace bdd;
// On demand singleton function
#define SINGLETON_FUNC_BODY(T)\
static T s_Singleton;\
return s_Singleton;
TSetupEvent& EventAggregator4BDDTest::SetupEvent()
{
SINGLETON_FUNC_BODY(TSetupEvent);
}
TTearDownEvent& EventAggregator4BDDTest::TearDownEvent()
{... |
; signed int __fs2sint_callee(float f)
SECTION code_fp_math48
PUBLIC cm48_sdcciyp_ds2sint_callee
EXTERN cm48_sdcciyp_dcallee1, am48_dfix16
cm48_sdcciyp_ds2sint_callee:
; double to signed int
;
; enter : stack = sdcc_float x, ret
;
; exit : hl = (int)(x)
;
; uses : af, bc, de, hl, bc', de', ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r15
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x3a9, %rsi
lea addresses_normal_ht+0x111e9, %rdi
nop
nop
nop
sub $43839, %r14
mov $34, %rcx
rep movsb
nop
add %r15, %r15
lea addresses_normal_ht+0x64ed, %r10
nop
nop
and ... |
; A184387: a(n) = sum of numbers from 1 to sigma(n), where sigma(n) = A000203(n).
; 1,6,10,28,21,78,36,120,91,171,78,406,105,300,300,496,171,780,210,903,528,666,300,1830,496,903,820,1596,465,2628,528,2016,1176,1485,1176,4186,741,1830,1596,4095,903,4656,990,3570,3081,2628,1176,7750,1653,4371,2628,4851,1485,7260,2628,726... |
; A130481: a(n) = Sum_{k=0..n} (k mod 3) (i.e., partial sums of A010872).
; 0,1,3,3,4,6,6,7,9,9,10,12,12,13,15,15,16,18,18,19,21,21,22,24,24,25,27,27,28,30,30,31,33,33,34,36,36,37,39,39,40,42,42,43,45,45,46,48,48,49,51,51,52,54,54,55,57,57,58,60,60,61,63,63,64,66,66,67,69,69,70,72,72,73,75,75,76,78,78,79,81,81,82,84,84... |
*= $0801
.byte $4c,$16,$08,$00,$97,$32
.byte $2c,$30,$3a,$9e,$32,$30
.byte $37,$30,$00,$00,$00,$a9
.byte $01,$85,$02
jsr print
.byte 13
.text "(up)cmpix"
.byte 0
lda #%00011011
sta db
lda #%11000110
s... |
; A214733: a(n) = -a(n-1) - 3*a(n-2) with n>1, a(0)=0, a(1)=1.
; Submitted by Jamie Morken(s2)
; 0,1,-1,-2,5,1,-16,13,35,-74,-31,253,-160,-599,1079,718,-3955,1801,10064,-15467,-14725,61126,-16951,-166427,217280,282001,-933841,87838,2713685,-2977199,-5163856,14095453,1396115,-43682474,39494129,91553293,-210035680,-64624... |
* Spreadsheet 24/02-92
* - window item redraw
section prog
include win1_keys_wman
include win1_keys_wstatus
include win1_keys_wwork
include win1_keys_qdos_pt
include win1_keys_qdos_io
include win1_mac_oli
include win1_spread_keys
xdef rdw_cchg ; redraw one gird cell cell
... |
.MODEL SMALL
.STACK 100H
.DATA
INPUT_MSG DB 0ah,0dh,'Enter a hex number: $'
OUTPUT_MSG DB 0AH,0DH,'Hex number is: $'
BIT_MSG DB 0AH,0DH,'Number of 1 bits : $'
COUNT DW 30h
.CODE
MAIN PROC
;making the DS to point to data segment
MOV AX,@DATA
MOV DS,AX
CALL INPUT
CALL OUTPUT
CA... |
/*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... |
; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
; GlobalMemoryStatusEx Example - Author: William F Cravener 01 . 17 . 09
; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.486 ; create 32 bit code
.model flat,stdcall ; 32 bit memo... |
; A023022: Number of partitions of n into two relatively prime parts. After initial term, this is the "half-totient" function phi(n)/2 (A000010(n)/2).
; 1,1,1,2,1,3,2,3,2,5,2,6,3,4,4,8,3,9,4,6,5,11,4,10,6,9,6,14,4,15,8,10,8,12,6,18,9,12,8,20,6,21,10,12,11,23,8,21,10,16,12,26,9,20,12,18,14,29,8,30,15,18,16,24,10,33,16,2... |
; A159850: Numerator of Hermite(n, 17/22).
; Submitted by Christian Krause
; 1,17,47,-7429,-160415,4464217,269993839,-1892147821,-489536076223,-4658915114335,987008017069999,28053710866880683,-2150502256703365727,-118026514721378720791,4759029349325350323695,480777330814562061542723,-9102061914203466628786559,-20163048... |
;================================================================================
; New Item Handlers
;--------------------------------------------------------------------------------
; REMEMBER TO UPDATE THE TABLES IN UTILITIES.ASM!
;--------------------------------------------------------------------------------
; #$... |
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Tencent is pleased to support the open source community by making behaviac available.
//
// Copyright (C) 2015-2017 THL A29 Limited, a Tencent company. All rights reserved.
//
// Licensed under the BSD 3... |
; A026571: a(n)=T(n,n-2), T given by A026568. Also a(n) = number of integer strings s(0),...,s(n) counted by T, such that s(n)=2.
; Submitted by Jon Maiga
; 1,2,7,16,44,106,273,672,1696,4214,10573,26392,66151,165578,415277,1041480,2615004,6568450,16512355,41531360,104526093,263206638,663143211,1671581968,4215574482,106... |
;--------------------------------------------------------------
; ZX81 HRG library for the Memotech expansion
; by Stefano Bodrato, Feb. 2010
;--------------------------------------------------------------
;
; $Id: mt_pixladdr.asm,v 1.3 2015/01/19 01:32:52 pauloscustodio Exp $
;
PUBLIC pixeladdress
;;XREF base_grap... |
;*****************************************************************************
;* checkasm-a.asm: assembly check tool
;*****************************************************************************
;* Copyright (C) 2008-2012 x264 project
;*
;* Authors: Loren Merritt <lorenm@u.washington.edu>
;* Henrik Gramner <... |
.text
.align 2
.thumb
.thumb_func
.global newmovesetstyle
main:
mov r1, r9
lsl r1, r1, #0x2
ldr r0, table
add r0, r0, r1
ldr r0, [r0, #0x0]
ldr r6, there
add r6, #0x6
ldrb r7, [r6, #0x0]
loop: lsl r1, r7, #0x1
add r1, r1, r7
add r3, r0, r1
ldrb r1, [r3, #0x2]
mov r4, r10
cmp r4, r1
beq learn
cmp r1, #0xF... |
<%
from pwnlib.shellcraft.i386.linux import syscall
%>
<%page args="buf, size"/>
<%docstring>
Invokes the syscall getcwd. See 'man 2 getcwd' for more information.
Arguments:
buf(char): buf
size(size_t): size
</%docstring>
${syscall('SYS_getcwd', buf, size)}
|
; A020792: Decimal expansion of 1/sqrt(35).
; Submitted by Jamie Morken(s4)
; 1,6,9,0,3,0,8,5,0,9,4,5,7,0,3,3,1,5,5,0,1,9,2,3,6,6,5,4,7,3,1,8,9,0,5,8,5,2,6,1,5,7,1,7,8,0,2,2,6,9,5,4,3,7,7,9,6,5,6,3,4,1,9,1,1,8,3,6,6,3,5,5,9,7,4,4,4,7,2,2,9,6,2,1,8,7,8,6,4,3,6,3,3,8,0,3,1,1,9,3
mov $1,1
mov $2,1
mov $3,$0
add $3,5
mov ... |
; A069127: Centered 14-gonal numbers.
; 1,15,43,85,141,211,295,393,505,631,771,925,1093,1275,1471,1681,1905,2143,2395,2661,2941,3235,3543,3865,4201,4551,4915,5293,5685,6091,6511,6945,7393,7855,8331,8821,9325,9843,10375,10921,11481,12055,12643,13245,13861,14491,15135,15793,16465,17151,17851,18565,19293,20035,20791,21561... |
#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/select.h>
#include <endian.h>
#include <poll.h>
#include <sys/epoll.h>
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <iostream>
#i... |
/*
* SPDX-License-Identifier: Apache-2.0
*/
//===--------------- LRN.cpp - Shape Inference for LRN Op -----------------===//
//
// This file implements shape inference for the ONNX LRN Operator.
//
//===----------------------------------------------------------------------===//
#include "src/Dialect/ONNX/ShapeInfer... |
;; Licensed to the .NET Foundation under one or more agreements.
;; The .NET Foundation licenses this file to you under the MIT license.
;; -----------------------------------------------------------------------------------------------------------
;; #include "asmmacros.inc"
;; ----------------------------------------... |
; ************************************************************************************************
; ************************************************************************************************
;
; Name: convert.asm
; Purpose: Convert to/from float and int
; Created: 22nd February 2021
; Author: Paul Robson (... |
//===-- asmstmt.cpp -------------------------------------------------------===//
//
// LDC – the LLVM D compiler
//
// This file originates from work by David Friedman for GDC released under
// the GPL 2 and Artistic licenses. See the LICENSE file for details.
//
//===---------------------------... |
;=============================================================================|
; _______ _________ _______ _______ |
; ( ____ \\__ __/|\ /|( ____ \( ____ ) |
; | ( \/ ) ( | ) ( || ( \/| ( )| |
... |
/* Copyright 2021 Neil Zaim
*
* This file is part of WarpX.
*
* License: BSD-3-Clause-LBNL
*/
#include "ParticleCreationFunc.H"
#include "BinaryCollisionUtils.H"
#include "Particles/MultiParticleContainer.H"
#include <AMReX_GpuContainers.H>
#include <AMReX_ParmParse.H>
#include <AMReX_Vector.H>
#include <strin... |
; A198848: 11*6^n-1.
; 10,65,395,2375,14255,85535,513215,3079295,18475775,110854655,665127935,3990767615,23944605695,143667634175,862005805055,5172034830335,31032208982015,186193253892095,1117159523352575,6702957140115455,40217742840692735,241306457044156415,1447838742264938495,8687032453589630975,52122194721537785855,... |
; A066438: a(n) = 7^n mod n.
; 0,1,1,1,2,1,0,1,1,9,7,1,7,7,13,1,7,1,7,1,7,5,7,1,7,23,1,21,7,19,7,1,13,15,28,1,7,11,31,1,7,7,7,25,37,3,7,1,0,49,37,9,7,1,43,49,1,49,7,1,7,49,28,1,37,37,7,21,67,49,7,1,7,49,43,45,28,25,7,1,1,49,7,49,62,49,82,9,7,19,84,9,64,49,68,1,7,49,19,1
add $0,1
mov $1,1
mov $2,$0
lpb $0
sub $0,1
... |
; Used in wram.asm
flag_array: MACRO
ds ((\1) + 7) / 8
ENDM
box_struct: MACRO
\1Species:: db
\1Item:: db
\1Moves:: ds NUM_MOVES
\1ID:: dw
\1Exp:: ds 3
\1StatExp::
\1HPExp:: dw
\1AtkExp:: dw
\1DefExp:: dw
\1SpdExp:: dw
\1SpcExp:: ... |
; A034188: Number of binary codes of length 3 with n words.
; 1,1,3,3,6,3,3,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
add $0,1
lpb $0
add $2,$0
sub $0,1
trn $0,1
trn $2,... |
; 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\compress.c
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
PUBLIC _compress@16
PUBLIC _compress2@20
P... |
; A311385: Coordination sequence Gal.6.221.1 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.
; Submitted by Jon Maiga
; 1,4,8,12,16,22,28,34,38,42,46,50,54,58,62,66,72,78,84,88,92,96,100,104,108,112,116,122,128,134,138,142,146,150,154,... |
title "Trap Processing"
;++
;
; Copyright (c) Microsoft Corporation. All rights reserved.
;
; You may only use this code if you agree to the terms of the Windows Research Kernel Source Code License agreement (see License.txt).
; If you do not agree to the terms, do not use the code.
;
;
; Module Name:
... |
; ----------------------------------------------------------------
; Z88DK INTERFACE LIBRARY FOR THE BIFROST* ENGINE - RELEASE 1.2/L
;
; See "bifrost_l.h" for further details
; ----------------------------------------------------------------
SECTION code_clib
SECTION code_bifrost_l
PUBLIC asm_BIFROSTL_getAnimGroup
a... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>msync(addr, length, flags) -> str
Invokes the syscall msync.
See 'man 2 msync' for more information.
Arguments:
addr(void*): addr
len(size_t): len
flags(int): flags
Returns:
int
</%docst... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r13
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x1935d, %r11
nop
nop
nop
dec %r9
mov $0x6162636465666768, %r13
movq %r13, %xmm1
movups %xmm1, (%r11)
nop
inc %r12
lea addresses_D_ht+0x1c87d, %rsi
lea addresses_D_ht+0x6ced, %r... |
extern m7_ippsSM3Pack:function
extern n8_ippsSM3Pack:function
extern y8_ippsSM3Pack:function
extern e9_ippsSM3Pack:function
extern l9_ippsSM3Pack:function
extern n0_ippsSM3Pack:function
extern k0_ippsSM3Pack:function
extern ippcpJumpIndexForMergedLibs
extern ippcpSafeInit:function
segment .data
align 8
dq .Lin_ippsS... |
;
; Copyright (c) 2010 The WebM project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All contributing proje... |
bits 64
section .text
add [rax], al
|
db 0 ; species ID placeholder
db 70, 75, 60, 105, 100, 60
; hp atk def spd sat sdf
db ELECTRIC, ELECTRIC ; type
db 45 ; catch rate
db 166 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 20 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/mane... |
;
; Copyright (c) 2016, Alliance for Open Media. All rights reserved
;
; This source code is subject to the terms of the BSD 2 Clause License and
; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
; was not distributed with this source code in the LICENSE file, you can
; obtain it at ww... |
;
; Amstrad CPC library
; (CALLER linkage for function pointers)
;
; creates a copy of a string in CPC format
;
; char __LIB__ *cpc_rsx_strcpy(char *dst, char *src);
;
; $Id: cpc_rsx_strcpy.asm,v 1.1 2008/05/26 06:38:08 stefano Exp $
;
XLIB cpc_rsx_strcpy
LIB cpc_rs... |
// Copyright (c) 2017-2019 Hartmut Kaiser
// Copyright (c) 2018 Shahrzad Shirzad
// Copyright (c) 2018 Tianyi Zhang
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#if !defined(PHYLANX_PRIMITIVES_COMPARISON... |
#include <WiFi.h>
#include "network.hpp"
#include "pins.hpp"
#include "html.hpp"
void Network::setup(const Measurements* measurements) {
_measurements = measurements;
WiFi.disconnect();
WiFi.mode(WIFI_OFF);
WiFi.persistent(false);
setupWebserver();
pinMode(pins::Button1, INPUT);
const auto button1 = ... |
#include "extensions/filters/http/gfunction/gfunction_filter.h"
#include <algorithm>
#include <list>
#include <string>
#include <vector>
#include "envoy/http/header_map.h"
#include "common/buffer/buffer_impl.h"
#include "common/common/empty_string.h"
#include "common/common/hex.h"
#include "common/common/utility.h"
... |
object_const_def ; object_event constants
const ROUTE32_FISHER1
const ROUTE32_FISHER2
const ROUTE32_FISHER3
const ROUTE32_YOUNGSTER1
const ROUTE32_YOUNGSTER2
const ROUTE32_YOUNGSTER3
const ROUTE32_LASS1
const ROUTE32_COOLTRAINER_M
const ROUTE32_YOUNGSTER4
const ROUTE32_FISHER4
const ROUTE32_POKE_BALL1
cons... |
; SMS Priviledge Violation Recovery for 68020/68030/68040 1992 Tony Tebby
section base
xdef sms_privv
include 'dev8_smsq_smsq_base_keys'
;+++
; Priviledge violation recovery
; This assumes that there are two long words below the exception frame.
; These will usually be a return address (jsr sms_privv) and... |
///////////////////////////////////////////////////////////////////////////////
// BSD 3-Clause License
//
// Copyright (C) 2018-2020, LAAS-CNRS, The University of Edinburgh
// Copyright note valid unless otherwise stated in individual files.
// All rights reserved.
/////////////////////////////////////////////////////... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.