text stringlengths 1 1.05M |
|---|
_ln: 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 ... |
; A008616: Expansion of 1/((1-x^2)(1-x^5)).
; 1,0,1,0,1,1,1,1,1,1,2,1,2,1,2,2,2,2,2,2,3,2,3,2,3,3,3,3,3,3,4,3,4,3,4,4,4,4,4,4,5,4,5,4,5,5,5,5,5,5,6,5,6,5,6,6,6,6,6,6,7,6,7,6,7,7,7,7,7,7,8,7,8,7,8,8,8,8,8,8,9,8,9,8,9,9,9,9,9,9,10,9,10,9,10,10,10,10,10,10
add $0,2
mov $1,$0
mul $0,2
div $0,5
div $1,2
sub $1,$0
mov $0,$1... |
SECTION code_clib
SECTION code_fp_math48
PUBLIC am48_dmulpow10
EXTERN mm48_tenf
; multiply AC' by a power of ten
; AC' *= 10^(A)
;
; enter : AC'= double x
; A = signed char
;
; exit : success
;
; AC'= x * 10^(A)
; carry reset
;
; fail if ov... |
default rel
%define XMMWORD
%define YMMWORD
%define ZMMWORD
section .text code align=64
EXTERN OPENSSL_ia32cap_P
global sha1_multi_block
ALIGN 32
sha1_multi_block:
mov QWORD[8+rsp],rdi ;WIN64 prologue
mov QWORD[16+rsp],rsi
mov rax,rsp
$L$SEH_begin_sha1_multi_block:
mov rdi,rcx
mov rsi,rdx
mov rdx,r8
mov rc... |
; A064757: a(n) = n*11^n - 1.
; 10,241,3992,58563,805254,10629365,136410196,1714871047,21221529218,259374246009,3138428376720,37661140520651,448795257871102,5316497670165373,62658722541234764,735195677817154575,8592599484487994106,100078511642860166657,1162022718519876379528,13454999898651200184019,15540524882942136212... |
#include "stdafx.h"
#include "game_cl_single.h"
#include "UIGameSP.h"
#include "actor.h"
#include "clsid_game.h"
using namespace luabind;
ESingleGameDifficulty g_SingleGameDifficulty = egdStalker;
xr_token difficulty_type_token [ ]={
{ "gd_novice", egdNovice },
{ "gd_stalker", egdStalker ... |
/*
* Copyright 2006 The Android Open Source Project
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkAvoidXfermode.h"
#include "SkColorPriv.h"
#include "SkReadBuffer.h"
#include "SkWriteBuffer.h"
#include "SkString.h"
SkAvoidXfermode::SkAvoidX... |
; A028077: Expansion of 1/((1-3x)(1-6x)(1-7x)(1-11x)).
; Submitted by Jon Maiga
; 1,27,472,6822,88963,1091349,12886714,148484664,1683799645,18895210191,210582084076,2336271745626,25842423980647,285296827032153,3145632963614158,34654478019199308,381572508324065569
mov $1,1
mov $2,$0
mov $3,$0
lpb $2
mov $0,$3
mul $... |
_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 ... |
clc
adc ({z1}),y |
;
; Intrinsic sccz80 routine to multiply by a power of 2
;
;
SECTION code_fp_math32
PUBLIC l_f32_ldexp
; Entry: a = adjustment for exponent
; Stack: float, ret
; Exit: dehl = adjusted float
l_f32_ldexp:
add d
ld d,a
ret
|
// Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
#include "extern/beatsaber-hook/shared/utils/byref.hpp"
// Including type: UnityEngine.Mo... |
;
; ZX Spectrum OPUS DISCOVERY specific routines
;
; Stefano Bodrato - Jun. 2006
;
; This routine get the kempston joystick emulation status.
;
; $Id: get_kempston.asm,v 1.1 2007/10/04 12:18:55 stefano Exp $
;
XLIB get_kempston
get_kempston:
call $1708 ; page_in
ld a,($3000)
and 128
ld hl,0
... |
; ------------------------------------------------
; Play MP3 files.
;
; ------------------------------------------------
Begin:
; ----... |
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %r8
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x1a2f8, %rcx
mfence
vmovups (%rcx), %ymm1
vextracti128 $1, %ymm1, %xmm1
vpextrq $0, %xmm1, %r8
nop
nop
nop
sub $63247, %rdx
lea addresses_D_ht+0x18958, %rsi
lea addresses_... |
; A159857: Numerator of Hermite(n, 21/22).
; Submitted by Christian Krause
; 1,21,199,-5985,-270159,120141,329415351,6743277639,-416420774175,-21799821766779,449168189050791,62188100645671791,110264394305901969,-178278691994606939715,-4090744316373113328489,518102577833892931856151,25729556002946152951394241,-146577250... |
; A195021: a(n) = n*(14*n - 11).
; 0,3,34,93,180,295,438,609,808,1035,1290,1573,1884,2223,2590,2985,3408,3859,4338,4845,5380,5943,6534,7153,7800,8475,9178,9909,10668,11455,12270,13113,13984,14883,15810,16765,17748,18759,19798,20865,21960,23083,24234,25413,26620,27855,29118,30409,31728,33075,34450,35853,37284,38743,4023... |
;Array reverser
;Author: Frederico Moeller
;Created: 25.02.2021 (in x86 Assembly Programming Language From Ground Up course, Udemy)
.386
.model flat,c
.code
Reverser PROC
push ebp
mov ebp,esp
push esi
push edi
xor eax,eax
mov edi,[ebp+8]
mov esi,[ebp+12]
mov ecx,[ebp+16]
test ecx,ecx
... |
; A227316: a(n) = n(n+1) if n == 0 or 1 (mod 4), otherwise a(n) = n(n+1)/2.
; 0,2,3,6,20,30,21,28,72,90,55,66,156,182,105,120,272,306,171,190,420,462,253,276,600,650,351,378,812,870,465,496,1056,1122,595,630,1332,1406,741,780,1640,1722,903,946,1980,2070,1081,1128,2352,2450,1275,1326,2756,2862,1485,1540,3192,3306,1711,1... |
/*
Copyright (c) 2005-2016 Intel Corporation
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 la... |
UnknownDungeon3Object:
db $7d ; border block
db $1 ; warps
db $6, $3, $8, UNKNOWN_DUNGEON_1
db $0 ; signs
db $5 ; objects
object SPRITE_SLOWBRO, $1b, $d, STAY, DOWN, $1, MEWTWO, 70
object SPRITE_BALL, $1a, $1, STAY, NONE, $2, ULTRA_BALL
object SPRITE_BALL, $2, $d, STAY, NONE, $3, ULTRA_BALL
object SPRITE_BA... |
; A015217: Sum of Gaussian binomial coefficients for q=24.
; Submitted by Christian Krause
; 1,2,27,1204,375629,400208358,2991792531583,76486991418728216,13721923923633091909041,8419357054564884621321079882,36250698926534384563556930107015907,533815775315492783921121148190498865117564,5516200605083646784712005467514345... |
; A054521: Triangle read by rows: T(n,k) = 1 if gcd(n, k) = 1, T(n,k) = 0 otherwise (n >= 1, 1 <= k <= n).
; 1,1,0,1,1,0,1,0,1,0,1,1,1,1,0,1,0,0,0,1,0,1,1,1,1,1,1,0,1,0,1,0,1,0,1,0,1,1,0,1,1,0,1,1,0,1,0,1,0,0,0,1,0,1,0,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,1,0,1,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,1,0,0,0,1
seq $0,508... |
; A158743: a(n) = 1369*n^2 - 37.
; 1332,5439,12284,21867,34188,49247,67044,87579,110852,136863,165612,197099,231324,268287,307988,350427,395604,443519,494172,547563,603692,662559,724164,788507,855588,925407,997964,1073259,1151292,1232063,1315572,1401819,1490804,1582527,1676988,1774187,1874124,1976799,2082212,2190363,23... |
@@@@@@@@@@@@@@ Expander Disk test
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@ Load address: 0x4B72
0x0000 (0x000000) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0001 (0x000002) 0x2918- f:00024 d: 280 | OR[280] = A
0x0002 (0x000004) 0x1000- f:00010 d: 0 | A = 0 (0x0000) ... |
; 0xfAc26c4278b21353A4c245a177a62F1D47F78fBc
;extcodecopy(0x027F633732930a97FEF86051db2b5790d63373F6, 0, 1, 20)
mstore(0, 0x600d600c600039600d6000f36342434546600052601f6000f300000000000000)
create(0, 0, 25)
mstore(0, 0)
staticcall(gas, dup5(), 0, 0, 0, 32)
log1(0, 32, $$)
return(0, 32)
|
TITLE bf-686.asm
IF @Version LT 800
ECHO MASM version 8.00 or later is strongly recommended.
ENDIF
.686
.MODEL FLAT
OPTION DOTNAME
IF @Version LT 800
.text$ SEGMENT PAGE 'CODE'
ELSE
.text$ SEGMENT ALIGN(64) 'CODE'
ENDIF
ALIGN 16
_BF_encrypt PROC PUBLIC
$L_BF_encrypt_begin::
push ebp
push ebx
push esi
push edi
;
... |
.set vpm_setup(num, stride, dma) (num & 0xf) << 20 | (stride & 0x3f) << 12 | (dma & 0xfff)
.set v32(y, x) 0x200 | (y & 0x30) | (x & 0xf)
.set i, ra3
.set first, ra2
# Read element i from VPM
mov vr_setup, vpm_setup(16, 16, v32(0,0))
mov vr_addr, unif
mov first, vpm
# Load the value we want to add to the input into a... |
// Copyright (c) 2012-2014 The Bitcoin developers
// Copyright (c) 2016-2017 The PIVX developers
// Copyright (c) 2016-2017 The Graphcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "clientversion.h"
#in... |
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "rpcprotocol.h"
#include "util.h"
#include <stdint.h>
#include <boost/algor... |
; A117379: Expansion of (1-4x)/(1-x^2+x^3).
; Submitted by Christian Krause
; 1,-4,1,-5,5,-6,10,-11,16,-21,27,-37,48,-64,85,-112,149,-197,261,-346,458,-607,804,-1065,1411,-1869,2476,-3280,4345,-5756,7625,-10101,13381,-17726,23482,-31107,41208
mov $4,2
lpb $0
sub $0,1
sub $1,$3
sub $2,6
sub $2,$4
mov $3,$4
... |
;; rdrand.asm - written and placed in public domain by Jeffrey Walton and Uri Blumenthal.
;; Copyright assigned to the Crypto++ project.
;; This ASM file provides RDRAND and RDSEED to downlevel Microsoft tool chains.
;; Everything "just works" under Visual Studio. Other platforms will have to
;; run MASM/... |
/*
* Copyright 2015-2017 Advanced Micro Devices, Inc.
*
* 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, modi... |
/******************************************************************************
** Filename: adaptmatch.cpp
** Purpose: High level adaptive matcher.
** Author: Dan Johnson
**
** (c) Copyright Hewlett-Packard Company, 1988.
** Licensed under the Apache License, Version 2.0 (the "License");
** you may ... |
;Testname=test; Arguments=-fbin -ocrc32.bin; Files=stdout stderr crc32.bin
bits 16
crc32 eax,cl
crc32 eax,byte [di]
crc32 eax,cx
crc32 eax,word [di]
crc32 eax,ecx
crc32 eax,dword [di]
bits 32
align 16
crc32 eax,cl
crc32 eax,byte [edi]
crc32 eax,cx
crc32 eax,word [edi]
crc32 eax,ecx
... |
include uXmx86asm.inc
option casemap:none
ifndef __X64__
.686P
.xmm
.model flat, c
else
.X64P
.xmm
option win64:11
option stackbase:rsp
endif
option frame:auto
.code
align 16
uXm_has_AVX512_VPOPCNTDQ_VL proto VECCALL (byte)
align 16
uXm_has_AVX512_VPOPCNTDQ_VL proc VECCALL (b... |
.model small
.stack
.code
start:
mov ah, 06h
mov bh, 70h
mov ch, 0
mov cl, 0
mov dh, 50
mov dl, 50
int 10h
;body
mov ah, 06h
mov bh, 130
mov ch, 2
mov cl, 20
mov dh, 2
mov dl, 26
int 10h... |
; A008649: Molien series of 3 X 3 upper triangular matrices over GF( 3 ).
; 1,1,1,2,2,2,3,3,3,5,5,5,7,7,7,9,9,9,12,12,12,15,15,15,18,18,18,22,22,22,26,26,26,30,30,30,35,35,35,40,40,40,45,45,45,51,51,51,57,57,57,63,63,63,70,70,70,77,77,77,84,84,84,92,92,92,100,100,100
div $0,3
mov $1,$0
lpb $0
sub $0,3
add $1,1
a... |
print:
pusha
; keep this in mine:
; while (string[i] != 0) { print string[i]; i++}
; the comparison for string end (null byte)
start:
mov al, [bx] ;'bx' is the base address for the string
cmp al, 0
je done
; the part where we print with the BIOS help
mov ah, 0x0e
int 0x10 ; 'al' already c... |
; A062548: Even integers that are not partial sums of A062547.
; 2,14,38,50,110,122,146,158,326,338,362,374,434,446,470,482,974,986,1010,1022,1082,1094,1118,1130,1298,1310,1334,1346,1406,1418,1442,1454,2918,2930,2954,2966,3026,3038,3062,3074,3242,3254,3278,3290,3350,3362
mov $35,$0
mov $37,$0
lpb $37,1
mov $0,$35
... |
; Read from the uart
; Initial testing 20130612
; Simon Kirkby
; obeygiantrobot@gmail.com
.equ rx_status,2
.equ rx_data,3
.equ tx_status,4
.equ tx_data,5
.equ loop_size,5
J init ; Jump to init
.def data,R0 ; redfine the name of register 1 to data
.def addr,R1 ; and again , R1 to addr
.def status,R2
.def led_... |
; A020841: Decimal expansion of 1/sqrt(84).
; Submitted by Jamie Morken(s1)
; 1,0,9,1,0,8,9,4,5,1,1,7,9,9,6,1,9,0,6,3,3,0,4,8,7,4,2,7,0,7,8,0,9,7,2,5,9,2,8,2,0,1,3,4,7,0,6,5,9,0,4,0,9,2,9,1,9,2,2,0,0,5,0,5,6,9,2,1,1,1,5,2,9,8,9,2,3,2,6,4,0,1,5,7,2,4,6,7,0,3,7,9,7,4,6,2,9,7,6,9
mov $1,1
mov $2,1
mov $3,$0
add $3,7
mov ... |
#include "MouseInputHandler.h"
#include "MpvCommands.h"
#include "VideoWindow.h"
#include "Jargon/StringUtilities.h"
#include <libmpv/include/client.h>
MouseInputHandler::MouseInputHandler(){
}
MouseInputHandler::~MouseInputHandler(){
}
void MouseInputHandler::handleInput(VideoWindow* videoWindow, ... |
/* Copyright 2020 Canaan Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
map_header CopycatsHouse2F, COPYCATS_HOUSE_2F, REDS_HOUSE_2, 0
end_map_header
|
#include "RendererSettingsPanel.h"
RendererSettingsPanel::RendererSettingsPanel(Ref<Editor> editor, Ref<Renderer> renderer)
: m_Editor(editor), m_Renderer(renderer)
{
}
void RendererSettingsPanel::Render()
{
ImGui::Begin("Renderer Settings");
ImGui::Checkbox("Post Processing", &m_Renderer->m_PostProcess... |
; A078311: Smallest prime factor of n*rad(n)+1, where rad=A007947 (squarefree kernel).
; Submitted by Jamie Morken(s4)
; 2,5,2,3,2,37,2,17,2,101,2,73,2,197,2,3,2,109,2,3,2,5,2,5,2,677,2,3,2,17,2,5,2,13,2,7,2,5,2,401,2,5,2,3,2,29,2,17,2,3,2,3,2,5,2,5,2,5,2,1801,2,5,2,3,2,4357,2,3,2,13,2,433,2,5477,2,3,2,5,2,3,2,5,2,3529... |
; A249961: Number of length 1+5 0..n arrays with no six consecutive terms having the maximum of any two terms equal to the minimum of the remaining four terms.
; 15,285,2010,8790,28785,77595,181860,383580,745155,1355145,2334750,3845010,6094725,9349095,13939080,20271480,28839735,40235445,55160610,74440590,99037785,13006... |
/*
* 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 ... |
; A022348: Fibonacci sequence beginning 0, 14.
; 0,14,14,28,42,70,112,182,294,476,770,1246,2016,3262,5278,8540,13818,22358,36176,58534,94710,153244,247954,401198,649152,1050350,1699502,2749852,4449354,7199206,11648560,18847766,30496326,49344092,79840418,129184510,209024928,338209438,547234366,885443804,1432678170,23181... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Copyright (c) 2013 Manolis Agkopian ;
;See the file LICENCE for copying permission. ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PROCESSOR 16F876A
INCLUDE <P16F876A.INC>
__config _XT_OSC & _WDT_OFF & _PWRTE_OFF & _CP_OFF & _LVP_OFF & _BODEN... |
; void dzx7_smart_rcs_back_callee(void *src, void *dst)
SECTION code_clib
SECTION code_compress_zx7
PUBLIC dzx7_smart_rcs_back_callee
EXTERN asm_dzx7_smart_rcs_back
dzx7_smart_rcs_back_callee:
IF __CPU_GBZ80__
pop bc
pop de
pop hl
push bc
ELSE
pop hl
pop de
ex (sp),hl
ENDIF
jp asm_dzx7_sm... |
;
; jsimdcpu.asm - SIMD instruction support check
;
; x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribution and use, see copyright notice in jsimdext.inc
;
; This file should be assembled with NASM (Netwide Assembler),
; can *not* be assembled with Microsof... |
.global s_prepare_buffers
s_prepare_buffers:
push %r15
push %rbx
push %rdi
push %rdx
lea addresses_normal_ht+0xe114, %rdi
xor %r15, %r15
movb (%rdi), %bl
nop
nop
nop
nop
nop
xor $56020, %rdx
pop %rdx
pop %rdi
pop %rbx
pop %r15
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r13
push %r14
push %r... |
;============================================================================
; C64 Bedtime Coding
; Copyright (c) by Phaze101
; eMail - info@phaze101.com
; website - https://www.phaze101.com
; MIT License - https://choosealicense.com/licenses/mit/
;=====================================================================... |
;
; jcsample.asm - downsampling (64-bit SSE2)
;
; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
; Copyright (C) 2009, D. R. Commander.
;
; Based on the x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribution and use, see copyright notice in js... |
%ifdef CONFIG
{
"RegData": {
"XMM1": ["0x48510f254d2fa47f", "0x2b5774313a974886"],
"XMM2": ["0x006b6b6b6b6b6b6b", "0x6b00000000000000"]
}
}
%endif
lea rdx, [rel .data]
mov rsi, 0xe0000000
mov rax, 0
mov [rsi + 8 * 0], rax
mov [rsi + 8 * 1], rax
movaps xmm1, [rsi + 16 * 0]
movaps xmm2, [rsi + 16 * 0]
mova... |
/* ----------------------------------------------------------------------------
* GTSAM Copyright 2010, Georgia Tech Research Corporation,
* Atlanta, Georgia 30332-0415
* All Rights Reserved
* Authors: Frank Dellaert, et al. (see THANKS for the full author list)
* See LICENSE for the license information
* ----... |
#ifdef PEGASUS_OS_LINUX
#ifndef __UNIX_TEXTREDIRECTIONSAP_PRIVATE_H
#define __UNIX_TEXTREDIRECTIONSAP_PRIVATE_H
#endif
#endif
|
/*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <proxygen/lib/http/session/HTTPSession.h>
#include <chrono>
#include <fizz/protocol/AsyncFi... |
Route12Gate2F_Script:
jp DisableAutoTextBoxDrawing
Route12Gate2F_TextPointers:
dw Route12GateUpstairsText1
dw Route12GateUpstairsText2
dw Route12GateUpstairsText3
Route12GateUpstairsText1:
TX_ASM
CheckEvent EVENT_GOT_TM39, 1
jr c, .asm_0ad3c
ld hl, TM39PreReceiveText
call PrintText
lb bc, TM_39, 1
call Giv... |
; A269342: a(n) = (n + 1)*(2*n + 1)*(4*n + 9)/3.
; 3,26,85,196,375,638,1001,1480,2091,2850,3773,4876,6175,7686,9425,11408,13651,16170,18981,22100,25543,29326,33465,37976,42875,48178,53901,60060,66671,73750,81313,89376,97955,107066,116725,126948,137751,149150,161161
mul $0,2
add $0,2
lpb $0
sub $0,1
add $1,$2
add... |
; Copyright © 2005 - 2021 by Brett Kuntz. All rights reserved.
CloseHandleHook proto :dword
.data?
CloseHandleOrig dd ?
.code
; ##########################################################################
CloseHandleHook proc hObject:dword
.if hObject != 0
.if DidWeCreateTheDAT == FALSE
... |
; Herding game for Chip16
; Coding: Tim Kelsall
; Art: Chris Kelsall
;-------------------------------------------------------------------------------
; Outline:
; You are a sheep dog, you get round the sheep, and reach the exit,
; at the top of the screen, without colliding into sheep or fencing.
; A path counter... |
#include <crab/domains/small_range.hpp>
#include <crab/support/debug.hpp>
#include <assert.h>
namespace crab {
namespace domains {
small_range::small_range(kind_t v) : m_value(v){};
/*
[0,0] | [0,0] = [0,0]
[0,0] | [1,1] = [0,1]
[0,0] | [0,1] = [0,1]
[0,0] | [0,+oo] = [0,+oo]
[0,0] | [1,+oo] = [0,+oo]... |
// Copyright 2017 The Chromium 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 "components/subresource_filter/core/common/test_ruleset_utils.h"
namespace subresource_filter {
namespace testing {
proto::UrlRule CreateSuffix... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2014, 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... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r15
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x2c44, %rsi
lea addresses_normal_ht+0x11f44, %rdi
nop
nop
add $10041, %r15
mov $122, %rcx
rep movsw
nop
nop
add $57426, %r8
lea addresses_A_ht+0x88c4, %r13
nop
nop
nop
nop... |
; A299262: Partial sums of A299256.
; 1,7,25,65,137,249,411,631,919,1283,1733,2277,2925,3685,4567,5579,6731,8031,9489,11113,12913,14897,17075,19455,22047,24859,27901,31181,34709,38493,42543,46867,51475,56375,61577,67089,72921,79081,85579,92423,99623,107187,115125,123445,132157,141269,150791,160731,171099,181903,193153,... |
// Copyright (c) 2017 Sony Corporation. 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 ... |
; F-Zero Climax Translation by Normmatt
.align 4
StoryEpisode17PointerList:
.word Episode17_Line1
.word Episode17_Line2
.word Episode17_Line3
.word Episode17_Line4
.word Episode17_Line5
.word Episode17_Line6
.word Episode17_Line7
.word Episode17_Line8
.word Episode17_Line9
.word Episode17_Line10
.word Epis... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x133, %rdi
nop
add $23918, %rbx
mov (%rdi), %si
nop
nop
nop
and $50419, %rdi
lea addresses_normal_ht+0x807, %r9
add %rbp, %rbp
movw $0x6162, (%r9)
nop
nop
nop
add $53860, %rdi... |
_sh: file format elf32-i386
Disassembly of section .text:
00001000 <main>:
return 0;
}
int
main(void)
{
1000: f3 0f 1e fb endbr32
1004: 8d 4c 24 04 lea 0x4(%esp),%ecx
1008: 83 e4 f0 and $0xfffffff0,%esp
100b: ff 71 fc pushl -0x4(%ecx)
... |
/*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... |
;
; 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... |
CLC ; CLEAR CARRY BIT
CLD ; CLEAR DECIMAL BIT
ADR1 = $6100 ; WHERE IN MEMORY ARE THESE THINGS
ADR2 = $6101
ADR3 = $6102
; check results in basic with PRINT PEEK(24834)
LDA #01
STA ADR1 ;load ADR1 with the value 1
LDA #02
STA ADR2 ;load ADR2 with the value 2
LDA ADR1 ; LOAD CONTENTS OF ADR1 INTO ACCU... |
<%
from pwnlib.shellcraft import pretty, common, registers
from pwnlib.shellcraft.amd64 import mov, pushstr, setregs
from pwnlib import constants
%>
<%docstring>
Copies a string
Example:
>>> sc = 'jmp get_str\n'
>>> sc += 'pop_str: pop rax\n'
>>> sc += shellcraft.amd64.strcpy('rsp', 'rax')
>>> sc += ... |
%include "include/u7bg-all-includes.asm"
%define eopSegmentName eop2
%include "../u7-common/patch-eop-varArgsDispatcher.asm"
|
PUBLIC disz80
EXTERN fputc_cons
; This code is been found in a ZX Spectrum tool called UTILITY3 v1.3
.disz80
pop hl
pop bc
pop de
push de
push bc
push hl
ld a,d
and e
cp 255
jr nz,dizloop
ld hl,0
add hl,sp
ld e,(hl)
inc hl
ld d,(hl)
.dizloop
push bc
call DISASM
pop bc
ld a,13
call CHROP... |
/*
* #%L
* %%
* Copyright (C) 2011 - 2017 BMW Car IT GmbH
* %%
* 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 requir... |
// Copyright 2013 The Chromium 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 "content/child/android/child_jni_registrar.h"
#include "base/android/jni_android.h"
#include "base/android/jni_registrar.h"
#include "webkit/chi... |
; Filename: helloworld.nasm
; Author: Mark Shaneck
; Website: http://markshaneck.com
;
; Purpose: Print hello world
global _start
section .text
_start:
xor ecx,ecx
mul ecx
xor ebx,ebx
mov al, 4
mov bl, 1
jmp short message
got_message:
pop ecx
mov dl, 13
int 0x80
mov al, 1
xor ebx,ebx
int 0x80
messag... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r15
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x9a4e, %rsi
lea addresses_D_ht+0x2a4e, %rdi
nop
nop
nop
inc %r13
mov $40, %rcx
rep movsl
nop
nop
nop
inc %rdx
lea addresses_UC_ht+0x1df2e, %rsi
lea addresses_D_ht+0xe0e, %rdi
... |
// Copyright Louis Dionne 2013-2016
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
#include <boost/hana/assert.hpp>
#include <boost/hana/contains.hpp>
#include <boost/hana/equal.hpp>
#include <boost/hana/keys.hpp>
#include... |
//CPSC 355
//Safian Omar Qureshi
//ID 10086638
//Assignment 3
//The following ARM assembly code generates a 50 element array that is made up of random positive integers (mod 1024)
//It is printed to console and then the array is sorted via selection sort and then printed once more to console
//Begin with using assem... |
;================================================================================
; Utility Functions
;================================================================================
!PROGRESSIVE_SHIELD = "$7EF416" ; ss-- ----
;--------------------------------------------------------------------------------
; GetSprit... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r15
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x4413, %rsi
lea addresses_UC_ht+0xb53, %rdi
nop
nop
add %r15, %r15
mov $105, %rcx
rep movsq
nop
add %r10, %r10
lea addresses_WC_ht+0x1c793, %rsi
lea addresses_normal_ht+0x114b7, %rdi
no... |
@a
D = M
@b
D = D - M
@ENDIF
D;JGT
@b
D = M
@a
D=D-M
(ENDIF)
@c
M = D |
.byte 0x02,0x00,0x09,0x00
.word 0x08095838
.byte 0x09,0x00,0x0F,0x00
.byte 0x02,0x00,0x00,0x00
.byte 0x00,0x01,0x00,0x00
.byte 0x00,0x1E,0x00,0x03
.byte 0x09,0x00,0x00,0x00
.byte 0x02,0x00,0x00,0x00
.byte 0x14,0x9F,0x0A,0x00
.byte 0xE4,0x38,0x00,0x00
.byte 0x09,0x00,0x01,0x00
.byte 0x02,0x00,0x00,0x00
.byte 0xF8,0xD7,0... |
; sample test file for lab 13
.ORIG x5000
.FILL x20
.FILL x40
.FILL x4F
.END
|
.include "myTiny13.h"
.equ SCROLLSPEED, 230
; This Programm analysed 2 bytes to make a sequence of numbers
; who represents the LEDs, which have to be ON :
;
; Positions (0=off)
; ---------------------
; 11,10, 9, 8
; 15,14,13,12
; 23,22,21,20
; 19,18,17,16
; Register to Load up- and down-Byte
U = 18
D = 19
; Like ... |
SECTION .data
SECTION .text
global _start
_start:
push rbp ; taken from https://www.csee.umbc.edu/portal/help/nasm/sample_64.shtml
mov rdi,2
call func_exit
pop rbp
func_exit:
mov rax,60
syscall
|
OPTION DOTNAME
EXTERN OPENSSL_cpuid_setup:NEAR
.CRT$XCU SEGMENT READONLY ALIGN(8)
DQ OPENSSL_cpuid_setup
.CRT$XCU ENDS
_DATA SEGMENT
COMM OPENSSL_ia32cap_P:DWORD:2
_DATA ENDS
.text$ SEGMENT ALIGN(64) 'CODE'
PUBLIC OPENSSL_atomic_add
ALIGN 16
OPENSSL_atomic_add PROC PUBLIC
mov eax,DWORD PTR[rcx]
$L$spin:: lea r... |
; A047503: Numbers that are congruent to {0, 2, 3, 4, 5, 7} mod 8.
; 0,2,3,4,5,7,8,10,11,12,13,15,16,18,19,20,21,23,24,26,27,28,29,31,32,34,35,36,37,39,40,42,43,44,45,47,48,50,51,52,53,55,56,58,59,60,61,63,64,66,67,68,69,71,72,74,75,76,77,79,80,82,83,84,85,87
mov $1,1
add $1,$0
mov $2,$0
mod $0,2
add $1,$0
div $1,3
ad... |
; A017005: a(n) = 7n + 2.
; 2,9,16,23,30,37,44,51,58,65,72,79,86,93,100,107,114,121,128,135,142,149,156,163,170,177,184,191,198,205,212,219,226,233,240,247,254,261,268,275,282,289,296,303,310,317,324,331,338,345,352,359,366,373,380,387,394,401,408,415,422,429,436,443,450,457,464,471,478,485,492,499,506,513,520,527,534,... |
//https://leetcode.com/problems/jump-game/
//You are given an integer array nums. You are initially positioned at the array's first index, and each element in the array represents your maximum jump length at that position.
//Return true if you can reach the last index, or false otherwise.
class Solution {
public:
... |
/*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... |
/*===========================================================================*\
* *
* OpenMesh *
* Copyright (C) 2003 by Computer Graphics Group, RWTH Aachen *
... |
; A093367: Number of n-bead necklaces using exactly three colors with no adjacent beads having the same color.
; Submitted by Christian Krause
; 0,0,2,3,6,11,18,33,58,105,186,349,630,1179,2190,4113,7710,14599,27594,52485,99878,190743,364722,699249,1342182,2581425,4971066,9587577,18512790,35792565,69273666,134219793,260... |
assume cs:codesg
data segment
db '1975','1976','1977','1978','1979','1980','1981','1982','1983'
db '1984','1985','1986','1987','1988','1989','1990','1991','1992'
db '1993','1994','1995'
; 21 strings that represent 21 years
dd 16,22,382,1356,2390,8000,16000,24486,50065,97479,140417,197514
dd 345980,590827,80353... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.