text stringlengths 1 1.05M |
|---|
; ---------------------------------------------------------------------------
; Tell compiler to generate 64 bit code
; ---------------------------------------------------------------------------
bits 64
; ---------------------------------------------------------------------------
; Data segment:
; -------------------... |
db 0 ; species ID placeholder
db 60, 60, 75, 80, 60, 75
; hp atk def spd sat sdf
db FIGHTING, PSYCHIC ; type
db 90 ; catch rate
db 153 ; 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/medic... |
; DO NOT MODIFY THIS FILE DIRECTLY!
; author: @TinySecEx
; shadowssdt asm stub for 5.1.2600-sp0-windows-xp i386
.686
.mmx
.xmm
.model flat,stdcall
option casemap:none
option prologue:none
option epilogue:none
.code
; ULONG __stdcall NtGdiAbortDoc( ULONG arg_01 );
NtGdiAbortDoc PROC STDCALL arg_01:DWORD
mov eax... |
//===-- Unittests for fegetenv and fesetenv -------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... |
#include "stlexam.h"
#pragma hdrstop
/**************************************************************************
*
* count.cpp - Example program for counting number of elements in container.
* See Class Reference Section
*
*********************************************************************... |
/* Copyright 2017 QReal Research Group
*
* 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 agre... |
; A180569: The Wiener index of the P_3 x P_n grid, where P_m is the path graph on m nodes. The Wiener index of a connected graph is the sum of distances between all unordered pairs of nodes in the graph.
; 4,25,72,154,280,459,700,1012,1404,1885,2464,3150,3952,4879,5940,7144,8500,10017,11704,13570,15624,17875,20332,2300... |
TITLE BubbleSort Procedure (BubbleSort.asm)
; Sort an array of signed integers, using the Bubble
; sort algorithm. The main program is in BinarySearchTest.asm.
INCLUDE Irvine32.inc
.code
;----------------------------------------------------------
BubbleSort PROC USES eax ecx esi,
pArray:... |
[BITS 32]
section .asm
global paging_load_dir
global asm_enable_paging
extern log
paging_load_dir:
push ebp
mov ebp, esp
mov eax, [ebp+8]
mov cr3, eax
pop ebp
ret
asm_enable_paging:
push ebp
mov ebp, esp
mov eax, cr0
or eax, 0x80000000
mov cr0, eax
pop ebp
ret |
; A100493: a(n) = n + n-th semiprime.
; Submitted by Christian Krause
; 5,8,12,14,19,21,28,30,34,36,44,46,48,52,54,62,66,69,74,77,79,84,88,93,99,103,109,113,115,117,122,125,127,129,141,147,152,156,158,161,163,165,172,177,179,187,189,191,194,196,206,210,212,215,221,225,234,236,242,245,248,256,264,266,268,271,273,277,282... |
%include "Common.asminc"
%if BUILD_IS_SYSTEM_WINDOWS && BUILD_IS_PLATFORM_AMD64
%include "Windows-amd64/Window.asminc"
%include "Windows-amd64/Logger.asminc"
%include "Windows-amd64/LibC.asminc"
%include "Windows-amd64/GLFW.asminc"
extern AppLogger
section .rdata
GLFWErrorFormat: db "GLFW (%d) => %s", 0
section .d... |
; COPYRIGHT (c) 1995,99,2002 XDS. All Rights Reserved.
; COPYRIGHT (c) 2002 Excelsior LLC. All Rights Reserved.
; Implementation for X2C_adr_lss and X2C-adr_gtr functions
cpu 386
bits 32
%ifdef OS2
group DGROUP _DATA
section _DATA use32 align=4 FLAT public 'DATA'
%el... |
_kill: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char **argv)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 57 push %edi
4: 56 push %esi... |
Map_6096E: dc.w word_6097C-Map_6096E
dc.w word_609AE-Map_6096E
dc.w word_609D4-Map_6096E
dc.w word_609DC-Map_6096E
dc.w word_609E4-Map_6096E
dc.w word_60A0A-Map_6096E
dc.w word_60A12-Map_6096E
word_6097C: dc.w 8
dc.b $E4, 4, 0, 0, $FF, $F0
dc.b $EC, 8, 0, 2, $FF, $E8
dc.b $F4, $B, ... |
/*
* Copyright (c) 2017-2021 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
* 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
* ri... |
; A051677: Tetrahedron-tree numbers: a(n)=sum(b(m),m=1..n), b(m)=1, 1,3, 1,3,6, 1,3,6,10,..., 1,2,...,i*(i+1)2.
; 1,2,5,6,9,15,16,19,25,35,36,39,45,55,70,71,74,80,90,105,126,127,130,136,146,161,182,210,211,214,220,230,245,266,294,330,331,334,340,350,365,386,414,450,495,496,499,505,515,530,551,579,615,660,715,716,719,72... |
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... |
; A310521: Coordination sequence Gal.5.133.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.
; 1,4,10,16,22,26,32,38,44,48,52,58,64,70,74,80,86,92,96,100,106,112,118,122,128,134,140,144,148,154,160,166,170,176,182,188,192,196,202,208,2... |
//misaka will carry me to cm
#include <iostream>
#include <cstdio>
#include <cstring>
#include <utility>
#include <cassert>
#include <algorithm>
#include <vector>
#include <array>
#include <tuple>
#include <set>
#include <map>
#define ll long long
#define lb long double
#define sz(vec) ((int)(vec.size()))
#define all... |
<% from pwnlib.shellcraft.i386.linux import dup2 %>
<% from pwnlib.shellcraft.i386 import mov %>
<% from pwnlib.shellcraft import common %>
<%page args="sock = 'ebp'"/>
<%docstring>
Args: [sock (imm/reg) = ebp]
Duplicates sock to stdin, stdout and stderr
</%docstring>
<%
dup = common.label("dup")
looplabe... |
; A272978: Numbers not in the range of the sum of perfect divisors function.
; 1,2,3,4,5,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,29,30,31,32,33,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80
mov $6,$0
add $0,... |
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27027.1
TITLE C:\Users\DAG\Documents\_Clients\CodeProject Authors Group\Windows on ARM\libxml2\libxml2-2.9.9\valid.c
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM _xmlMalloc:DWORD
COMM ... |
;;
;; 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... |
; A264895: a(n) = n*(4*n - 3)*(16*n^2 - 12*n - 3).
; 0,1,370,2835,10660,28645,63126,121975,214600,351945,546490,812251,1164780,1621165,2200030,2921535,3807376,4880785,6166530,7690915,9481780,11568501,13981990,16754695,19920600,23515225,27575626,32140395,37249660,42945085,49269870,56268751,63988000,72475425,81780370,919... |
obj/user/faultreadkernel: file format elf32-i386
Disassembly of section .text:
00800020 <_start>:
// starts us running when we are initially loaded into a new environment.
.text
.globl _start
_start:
// See if we were started with arguments on the stack
cmpl $USTACKTOP, %esp
800020: 81 fc 00 e0 bf ee cm... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x3d0f, %rsi
lea addresses_WT_ht+0x140b5, %rdi
clflush (%rsi)
cmp %r8, %r8
mov $89, %rcx
rep movsq
nop
nop
inc %rsi
lea addresses_WT_ht+0x7eb5, %rsi
lea addresses_WC_ht+0x39a8,... |
; A212714: Number of (w,x,y,z) with all terms in {1,...,n} and |w-x| >= w + |y-z|.
; 0,0,2,10,32,78,162,300,512,820,1250,1830,2592,3570,4802,6328,8192,10440,13122,16290,20000,24310,29282,34980,41472,48828,57122,66430,76832,88410,101250,115440,131072,148240,167042,187578,209952,234270,260642,289180,320000,353220,388962,... |
; A168642: a(n) = (8*2^n + (-1)^n)/3 for n > 0; a(0) = 1.
; 1,5,11,21,43,85,171,341,683,1365,2731,5461,10923,21845,43691,87381,174763,349525,699051,1398101,2796203,5592405,11184811,22369621,44739243,89478485,178956971,357913941,715827883,1431655765,2863311531,5726623061,11453246123,22906492245,45812984491,91625968981,1... |
;Encrypt Function
push ebp
mov ebp,esp
mov eax, 4;this can be any number and will encrypt the number then store it in ebx
sub eax, 0x18
xor eax, 0x7a69
not eax
xor eax, 0x11e61
xor eax, 0x37
add eax, 0x26
mov ebx, eax
;Decrypt
sub eax, 0x26;this takes the encrypted number from eax and decrpts it, in the regist... |
/*Exercise 3 - Repeatition
Convert the C program given below which calculates the Factorial of a number that you input from the keyboard to a C++ program.
Please Note that the input command in C++ is std::cin. This is a representation of the Keyboard.*/
#include <iostream>
int main()
{
int no;
long fac;
... |
//===--- SerializedDiagnosticConsumer.cpp - Serialize Diagnostics ---------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... |
if not defined PRINT_BIN
; Input: HL
; Output: "+(2^+exp)*1.mant issa"
; Pollutes: nothing
PRINT_BIN:
PUSH AF ; 1:11
PUSH BC ; 1:11
PUSH DE ; 1:11
PUSH HL ; 1:11
ADD HL,... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
; Module Name:
;
; EnableCache.Asm
;
; Abstract:
;
; Flush all caches with a WBINVD instruction, clear... |
; A175454: a(n) = number of divisors of n(n+1) that divide neither n nor n+1.
; Submitted by Jon Maiga
; 0,1,2,2,3,3,3,6,6,3,5,5,3,9,12,4,5,5,5,15,9,3,7,14,6,9,15,5,7,7,5,15,9,9,24,8,3,9,21,7,7,7,5,25,15,3,9,18,10,15,15,5,7,21,21,21,9,3,11,11,3,15,30,18,21,7,5,15,21,7,11,11,3,15,25,15,21,7,9,36,12,3,11,33,9,9,21,7,11,3... |
; A120152: a(1)=6; a(n)=floor((19+sum(a(1) to a(n-1)))/3).
; 6,8,11,14,19,25,34,45,60,80,107,142,190,253,337,450,600,800,1066,1422,1896,2528,3370,4494,5992,7989,10652,14203,18937,25249,33666,44888,59850,79800,106400,141867,189156,252208,336277,448370
mov $1,1
mov $2,1
lpb $0
sub $0,1
add $2,$1
mov $1,8
add $1,... |
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_PrimalItemAmmo_ArrowStone_parameters.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Functions
//--------------------------------------------------------... |
// Copyright (c) 2009-2019 Satoshi Nakamoto
// Copyright (c) 2009-2019 The Bitcoin Developers
// Copyright (c) 2013-2019 Emercoin Developers
// Copyright (c) 2014-2019 The Dash Core Developers
// Copyright (c) 2016-2019 Duality Blockchain Solutions Developers
// Copyright (c) 2017-2019 Credits Developers
// Distributed... |
;-----------------------------------------------------------------------------;
; Author: Ty Miller @ Threat Intelligence
; Compatible: Windows 7, 2008, Vista, 2003, XP, 2000, NT4
; Version: 1.0 (2nd December 2011)
;-----------------------------------------------------------------------------;
[BITS 32]
; Input... |
// AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from http_client.djinni
#include "HttpClient.hpp" // my header
#include "HttpRequest.hpp"
namespace djinni_generated {
HttpClient::HttpClient() : ::djinni::JniInterface<::ledger::core::api::HttpClient, HttpClient>() {}
HttpClient::~HttpClient(... |
; A173834: a(n)=10^n-2*n
; 1,8,96,994,9992,99990,999988,9999986,99999984,999999982,9999999980,99999999978,999999999976,9999999999974,99999999999972,999999999999970,9999999999999968,99999999999999966,999999999999999964,9999999999999999962,99999999999999999960,999999999999999999958,9999999999999999999956,9999999999999999... |
// Copyright (c) 2010-2020, Lawrence Livermore National Security, LLC. Produced
// at the Lawrence Livermore National Laboratory. All Rights reserved. See files
// LICENSE and NOTICE for details. LLNL-CODE-806117.
//
// This file is part of the MFEM library. For more information and source code
// availability visit ht... |
/*
* Copyright (C) 2016 The Android Open Source Project
*
* 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 app... |
MoonMons1:
db $0A
db 8,ZUBAT
db 9,ZUBAT
db 10,GEODUDE
db 6,SANDSHREW
db 7,SWINNUB
db 10,SWINNUB
db 10,GEODUDE
db 11,GLIGAR
db 12,SANDSHREW
db 11,CLEFAIRY
db $00
|
; A143803: a(n) = 2*A001614(n) - 1 where A001614 lists the Connell numbers.
; 1,3,7,9,13,17,19,23,27,31,33,37,41,45,49,51,55,59,63,67,71,73,77,81,85,89,93,97,99,103,107,111,115,119,123,127,129,133,137,141,145,149,153,157,161,163,167,171,175,179,183,187,191,195,199
mov $1,$0
mov $2,$0
lpb $0
sub $0,1
sub $1,1
add... |
; vi:syntax=z80
; ZEnv - Forth for the ZX Spectrum
; Copyright 2021 (C) - Christopher Leonard, MIT Licence
; https://github.com/veltas/zenv
; Dictionary words
; \ Remove named word and everything in dictionary after
; ( " name" --)
; : FORGET
HEADER forget, "FORGET", 0
forget:
CALL colon_code
; BL WORD
DX bl... |
%include "macros/patch.inc"
%include "macros/datatypes.inc"
; limit the height of the sidebar to max 1052 (equals 1920*1200 -> 19 icons). The game goes out of bounds with more icons and starts to corrupt memory
cextern InfoPanel
gint BottomInfoPanel, 0 ; Gets set in sidebar.c
hack 0x005F2766
cmp eax, 1052... |
/*
* Copyright Andrey Semashev 2007 - 2013.
* 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)
*/
/*!
* \file unbounded_ordering_queue.hpp
* \author Andrey Semashev
* \date 24.07.2011
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x15d58, %rsi
lea addresses_WT_ht+0x1070, %rdi
nop
nop
and %rdx, %rdx
mov $74, %rcx
rep movsq
nop
nop
cmp $36951, %rsi
lea addresses_WC_ht+0x1c470, %r11
nop
nop
nop
nop
nop
sub %rdi,... |
OPTION DOTNAME
.text$ SEGMENT ALIGN(256) 'CODE'
PUBLIC ct_inverse_mod_383
ALIGN 32
ct_inverse_mod_383 PROC PUBLIC
DB 243,15,30,250
mov QWORD PTR[8+rsp],rdi ;WIN64 prologue
mov QWORD PTR[16+rsp],rsi
mov r11,rsp
$L$SEH_begin_ct_inverse_mod_383::
mov rdi,rcx
mov rsi,rdx
mov rdx,r8
push rbp
push rbx
push r... |
.size 8000
.text@48
jp lstatint
.text@100
jp lbegin
.data@143
80
.text@150
lbegin:
ld a, ff
ldff(45), a
ld b, 91
call lwaitly_b
ld hl, fe00
ld d, 10
ld a, d
ld(hl++), a
ld a, 08
ld(hl++), a
inc l
inc l
ld a, d
ld(hl++), a
ld(hl++), a
inc l
inc l
ld(hl++), a
ld a, 18
ld(hl++), a
inc l
inc l
... |
/////////////////////////////////////////////////////////////////////////////
// Name: src/common/arrstr.cpp
// Purpose: wxArrayString class
// Author: Vadim Zeitlin
// Modified by:
// Created: 29/01/98
// Copyright: (c) 1998 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
// Licence: wxWindows... |
// Copyright (c) 2011-2019 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/bitcoin-config.h>
#endif
#include <qt/bitcoin.h>
#include <qt/bitcoingui.h>
#in... |
//%Header {
/*****************************************************************************
*
* File: src/GL/GLState.cpp
*
* Copyright: Andy Southgate 2002-2007, 2020
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Softwa... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x4915, %rsi
lea addresses_D_ht+0xd95, %rdi
nop
nop
sub %rbp, %rbp
mov $43, %rcx
rep movsq
nop
xor %r11, %r11
lea addresses_normal_ht+0x16b15, %rsi
lea addresses_WT_ht+0x1612b, ... |
.ORIG x3000
; list of simple instructions, none with labels
ADD R3,R2,R1 ; ADD instruction
ADD R3,R2,#-5 ; ADD instruction
ADD R3,R2,x0f ; ADD instruction
AND R4,R5,R6 ; AND instruction
AND R4,R5,#6... |
.586
.MODEL FLAT, C
.STACK
.DATA
.CODE
RECDATA32 STRUCT
OPERAND DD(2) dup(?)
RESULT DD(2) dup(?)
FLAG DD(2) dup(?)
RECDATA32 ENDS
assume esi:PTR RECDATA32
__ENTER MACRO
push ebp
mov ebp,esp
pusha
... |
;-------------------------------------------------------------------------------
; tmif.nasm - privileged kernel entries, used only by a task manager.
;-------------------------------------------------------------------------------
module kernel.tmif
%include "sys.ah"
%include "errors.ah"
%include "cpu/stkframe.ah"
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x463c, %rax
nop
dec %r15
movups (%rax), %xmm0
vpextrq $0, %xmm0, %rbp
nop
xor $21398, %r11
lea addresses_A_ht+0x1a33c, %rsi
lea addresses_normal_ht+0x15f1c, %rdi
and $6555, %... |
;EXTRN _NLG_Notify:NEAR
include ksamd64.inc
EXTRN _GetImageBase:NEAR
;;++
;;
;;extern "C" void* _CallSettingFrame(
;; void* handler,
;; EHRegistrationNode *pEstablisher,
;; ULONG NLG_CODE)
;;
;;--
_GP$=16
_handler$=32
_pEstablisher$=40
_NLG_CODE$=48
... |
; /*****************************************************************************
; * ugBASIC - an isomorphic BASIC language compiler for retrocomputers *
; *****************************************************************************
; * Copyright 2021-2022 Marco Spedaletti (asimov@mclink.it)
; *
; * Licens... |
; A163325: Pick digits at the even distance from the least significant end of the ternary expansion of n, then convert back to decimal.
; Submitted by Jamie Morken(s4)
; 0,1,2,0,1,2,0,1,2,3,4,5,3,4,5,3,4,5,6,7,8,6,7,8,6,7,8,0,1,2,0,1,2,0,1,2,3,4,5,3,4,5,3,4,5,6,7,8,6,7,8,6,7,8,0,1,2,0,1,2,0,1,2,3,4,5,3,4,5,3,4,5,6,7,8,... |
_mkdir: 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 ... |
; void bit_click_di(void)
SECTION code_clib
SECTION code_sound_bit
PUBLIC _bit_click_di
EXTERN asm_bit_click_di
defc _bit_click_di = asm_bit_click_di
|
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE675_Duplicate_Operations_on_Resource__freopen_74b.cpp
Label Definition File: CWE675_Duplicate_Operations_on_Resource.label.xml
Template File: sources-sinks-74b.tmpl.cpp
*/
/*
* @description
* CWE: 675 Duplicate Operations on Resource
* BadSource: freopen Open ... |
; A338824: Lexicographically earliest sequence of nonnegative integers such that for any distinct m and n, a(m) OR a(m+1) <> a(n) OR a(n+1) (where OR denotes the bitwise OR operator).
; 0,0,1,2,0,4,1,6,0,8,1,10,0,12,1,14,0,16,1,18,0,20,1,22,0,24,1,26,0,28,1,30,0,32,1,34,0,36,1,38,0,40,1,42,0,44,1,46,0,48,1,50,0,52,1,54... |
#include "test/Variable.h"
#include "test/var/type/val/Sequence.h"
#include "test/type/val/Sequence.h"
#include <iostream>
int main()
{
test::Variable<test::type::val::Sequence<int, 4>> var1;
std::cout << "var1 at 0 : " << var1.Get().At<0>() << std::endl;
test::Variable<test::type::val::Sequence<int, 4, 1... |
Route7_h:
db OVERWORLD ; tileset
db ROUTE_7_HEIGHT, ROUTE_7_WIDTH ; dimensions (y, x)
dw Route7Blocks, Route7TextPointers, Route7Script ; blocks, texts, scripts
db WEST | EAST ; connections
WEST_MAP_CONNECTION ROUTE_7, CELADON_CITY, -3, 1, CeladonCityBlocks
EAST_MAP_CONNECTION ROUTE_7, SAFFRON_CITY, -3, 1, Saffro... |
; A169051: Number of reduced words of length n in Coxeter group on 38 generators S_i with relations (S_i)^2 = (S_i S_j)^24 = I.
; 1,38,1406,52022,1924814,71218118,2635070366,97497603542,3607411331054,133474219248998,4938546112212926,182726206151878262,6760869627619495694,250152176221921340678,9255630520211089605086
ad... |
// function SimpleFunction.test
(SimpleFunction.test)// push local 0
@0
D=A
@LCL
A=D+M
D=M
@SP
A=M
M=D
@SP
M=M+1
// push local 0
@0
D=A
@LCL
A=D+M
D=M
@SP
A=M
M=D
@SP
M=M+1
// push local 0
@0
D=A
@LCL
A=D+M
D=M
@SP
A=M
M=D
@SP
M=M+1
// push local 1
@1
D=A
@LCL
A=D+M
D=M
@SP
A=M
M=D
@SP
M=M+1
// add
@SP
AM=M-1
D=M
A=A-1... |
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//---------------------------------------------------------... |
;
; 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... |
; A246010: a(n) = floor(5*prime(n)^2 / 4).
; 5,11,31,61,151,211,361,451,661,1051,1201,1711,2101,2311,2761,3511,4351,4651,5611,6301,6661,7801,8611,9901,11761,12751,13261,14311,14851,15961,20161,21451,23461,24151,27751,28501,30811,33211,34861,37411,40051,40951,45601,46561,48511,49501,55651,62161,64411,65551,67861,71401,7... |
#ifndef STAN_MATH_PRIM_META_FORWARD_AS_HPP
#define STAN_MATH_PRIM_META_FORWARD_AS_HPP
#include <stan/math/prim/meta.hpp>
#include <type_traits>
namespace stan {
namespace math {
namespace internal {
template <typename T1, typename T2>
constexpr bool eigen_static_size_match(T1 desired, T2 actual) {
return static_ca... |
IFNDEF MAIN_FILE
DEFINE MAIN_FILE
OUTPUT "predefined_include_level.bin"
myIncludeLevel = 0
ENDIF
; before another INCLUDE
ASSERT __INCLUDE_LEVEL__ == myIncludeLevel
DB __INCLUDE_LEVEL__, myIncludeLevel
IF myIncludeLevel < 6
myIncludeLevel = myIncludeLevel + 1
INCLUDE "p... |
; A130848: Periodic sequence with period (2, 5, 3, -2, -5, -3).
; 2,5,3,-2,-5,-3,2,5,3,-2,-5,-3,2,5,3,-2,-5,-3,2,5,3,-2,-5,-3,2,5,3,-2,-5,-3,2,5,3,-2,-5,-3,2,5,3,-2,-5,-3,2,5,3,-2,-5,-3,2,5,3,-2,-5,-3,2,5,3,-2,-5,-3,2,5,3,-2,-5,-3,2,5,3,-2,-5,-3,2,5,3,-2,-5,-3,2,5,3,-2,-5,-3,2,5,3,-2,-5,-3,2,5,3,-2,-5,-3,2,5,3,-2,-5,-3... |
_grep: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
}
}
int
main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a: 55 push %ebp
b:... |
[Bayo2USv0]
moduleMatches = 0xAF5D1A85
.origin = codecave
0x034461C4 = nop #Kill Vsync
|
; @@@ void mikeos_pause(unsigned int deciseconds);
%include "os_vector.inc"
section .text
use16
global _mikeos_pause
_mikeos_pause:
push bp
mov bp, sp
mov ax, [bp + 4]
mov bx, os_pause
call bx
pop bp
ret
|
; A119600: a(n) = 4*Product_{i=1..n-1} (3^i+1)^2.
; Submitted by Jamie Morken(s2)
; 4,4,64,6400,5017600,33738342400,2008645953126400,1070407428421058560000,5124408580006984170864640000,220656234047362257307900743516160000,85495432669493277396354169745064287272960000,29811423791383778268654084536948902595280240640000000... |
//snippet-sourcedescription:[<<FILENAME>> demonstrates how to ...]
//snippet-keyword:[C++]
//snippet-keyword:[Code Sample]
//snippet-keyword:[Amazon Simple Queue Service]
//snippet-service:[sqs]
//snippet-sourcetype:[<<snippet or full-example>>]
//snippet-sourcedate:[]
//snippet-sourceauthor:[AWS]
/*
... |
/**
* \file pCameraLogger_Info.cpp
* \brief Informations sur l'application pCameraLogger
* \author Team CISSAU - Veni Vidi Vici (ENSTA Bretagne)
* \version 0.1
* \date Jun 5th 2013
*
* Fonctions d'aide et de présentation de l'application MOOS
*
*/
#include <cstdlib>
#include <iostream>
#include "pCameraLogger... |
.686
.MODEL FLAT,C
option casemap:none
; Required to make this compile and link with printf on VS2019
includelib libcmt.lib
includelib libvcruntime.lib
includelib libucrt.lib
includelib legacy_stdio_definitions.lib
; For simplicity we just link to printf
; In real shellcode we would provide a pointer
printf PROTO C :... |
/*
* Software License Agreement (BSD License)
*
* Point Cloud Library (PCL) - www.pointclouds.org
* Copyright (c) 2010-2011, Willow Garage, Inc.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditi... |
lh $3,4($0)
srlv $3,$3,$3
sll $3,$1,21
srl $1,$3,10
addu $3,$3,$3
srlv $3,$2,$3
sltiu $5,$5,22335
or $0,$3,$3
sh $3,0($0)
addiu $3,$6,-6094
xori $5,$1,26510
addu $5,$1,$3
and $4,$5,$3
sll $3,$3,14
sllv $3,$3,$3
subu $4,$3,$3
addu $4,$4,$3
xor $5,$1,$3
sra $4,$4,8
xor $4,$1,$3
ori $4,$3,2502
sllv $5,$5,$3
sw $4,0($0)
xo... |
#ifndef KRATOS_CODEGEN_HH
#define KRATOS_CODEGEN_HH
#include <sstream>
#include "context.hh"
#include "ir.hh"
#include "pass.hh"
namespace kratos {
class SystemVerilogCodeGen;
using DebugInfo = std::map<uint32_t, std::vector<std::pair<std::string, uint32_t>>>;
class VerilogModule {
public:
explicit VerilogMod... |
//==============================================================================
// File: SspiPackage.cpp
//
// Description: Implementation file for the SspiPackage class
//
//==============================================================================
#include "StdAfx.h"
extern PSecurityFunctionTable _pSecurityI... |
; A003628: Primes congruent to {5, 7} mod 8.
; Submitted by Christian Krause
; 5,7,13,23,29,31,37,47,53,61,71,79,101,103,109,127,149,151,157,167,173,181,191,197,199,223,229,239,263,269,271,277,293,311,317,349,359,367,373,383,389,397,421,431,439,461,463,479,487,503,509,541,557,599,607,613,631,647,653,661,677,701,709,719... |
#include "private.h"
#include <jni.h>
extern "C"
{
JNIEXPORT jstring JNICALL
Java_com_mapswithme_maps_PrivateVariables_alohalyticsUrl(JNIEnv * env, jclass clazz)
{
return env->NewStringUTF(ALOHALYTICS_URL);
}
JNIEXPORT jstring JNICALL
Java_com_mapswithme_maps_PrivateVariables_flurryKey(JNIEnv * env, ... |
#include "wled.h"
/*
* Receives client input
*/
void _setRandomColor(bool _sec,bool fromButton)
{
lastRandomIndex = strip.get_random_wheel_index(lastRandomIndex);
if (_sec){
colorHStoRGB(lastRandomIndex*256,255,colSec);
} else {
colorHStoRGB(lastRandomIndex*256,255,col);
}
if (fromButton) colorUpd... |
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2020 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <rpc/server.h>
#include <rpc/util.h>
#include <shutdown.h>
#include <sync.h>... |
// Copyright (c) 2011-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 <QApplication>
#include "bitcoingui.h"
#include "transactiontablemodel.h"
#include "optionsdialog.h"
#include "abou... |
IDEAL
RADIX 16
P286
MODEL LARGE
STRUC desc_struc ; структура дескриптора
limit dw 0 ; предел
base_l dw 0 ; мл. слово физического адреса
base_h db 0 ; ст. байт физического адреса
access db 0 ; байт доступа
rsrv ... |
// Copyright (c) 2011-present, Facebook, Inc. 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. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
// This source code... |
SFX_Snare6_3_Ch7:
unknownnoise0x20 0, 129, 16
endchannel
|
; Copyright (c) 2004, Intel Corporation
; All rights reserved. This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distribution... |
#include <SDL2/SDL.h>
#include <stdio.h>
#define SCREEN_WIDTH 640
#define SCREEN_HEIGHT 480
int main(int argc, char* args[]) {
SDL_Window* window = NULL;
SDL_Surface* screenSurface = NULL;
if (SDL_Init(SDL_INIT_VIDEO) < 0) {
fprintf(stderr, "could not initialize sdl2: %s\n", SDL_GetError());
... |
; A002487: Stern's diatomic series (or Stern-Brocot sequence): a(0) = 0, a(1) = 1; for n > 0: a(2*n) = a(n), a(2*n+1) = a(n) + a(n+1).
; Coded manually 2021-03-01 by Simon Strandgaard, https://github.com/neoneye
; 0,1,1,2,1,3,2,3,1,4,3,5,2,5,3,4,1,5,4,7,3,8,5,7,2,7,5,8,3,7,4,5,1,6,5,9,4,11,7,10,3,11,8,13,5,12,7,9,2,9,7... |
.data
end: .word 0xffff0010
chr: .word 0x3f, 0x06, 0x5b, 0x4f, 0x66, 0x6d, 0x7d, 0x07, 0x7f, 0x67, 0x77, 0x7c, 0x39, 0x5e, 0x79, 0x71
.text
main:
la $s0,end
lw $s0,0($s0)
li $s1,16
reset:
li $t1,0
la $s2,chr
lw $s3,0($s2)
loop:
beq $t1,$s1,reset
sb $s3,0($s0)
addi $t1,$t1,1
addi $s2,$s2,4
lw $s3,0($s2... |
#pragma once
#include <source_range.hpp>
#include <tokenizer.hpp>
#include <symbol.hpp>
#include <variant>
#include <memory>
#include <tsl/hopscotch_map.h>
#include <tsl/hopscotch_set.h>
enum class EvaluationStrategy
{
CallByValue,
CallByName,
Normal
};
struct GIDTag
{
std::uint_fast64_t gid() const;
privat... |
<%
from pwnlib.shellcraft.mips.linux import syscall
%>
<%page args="who, usage"/>
<%docstring>
Invokes the syscall getrusage. See 'man 2 getrusage' for more information.
Arguments:
who(rusage_who_t): who
usage(rusage): usage
</%docstring>
${syscall('SYS_getrusage', who, usage)}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.