text
stringlengths
1
1.05M
; A078467: a(n) = a(n-1) + a(n-4); first four terms are 0,1,2,3. ; Submitted by Christian Krause ; 0,1,2,3,3,4,6,9,12,16,22,31,43,59,81,112,155,214,295,407,562,776,1071,1478,2040,2816,3887,5365,7405,10221,14108,19473,26878,37099,51207,70680,97558,134657,185864,256544,354102,488759,674623,931167,1285269 mov $1,1 lpb $0...
; =============================================================== ; Dec 2013 ; =============================================================== ; ; void *bsearch(const void *key, const void *base, ; size_t nmemb, size_t size, ; int (*compar)(const void *, const void *)) ; ; Perform a binary...
#include <yangpush/YangPushHandleImpl.h> #include <yangutil/sys/YangLog.h> #include <yangutil/yang_unistd.h> #include <yangutil/sys/YangUrl.h> YangPushHandle::YangPushHandle() { } YangPushHandle::~YangPushHandle() { } YangPushHandleImpl::YangPushHandleImpl(bool phasAudio,bool initVideo,int pvideotype,YangVideoInf...
%define nop8 db 0x0F, 0x1F, 0x84, 0x00, 0x00, 0x00, 0x00, 0x00 %macro cache_line 0 nop8 nop8 nop8 nop8 nop8 nop8 nop8 nop8 %endmacro %macro Four_cache_lines 0 cache_line cache_line cache_line cache_line %endmacro %macro One_KB_of_nops 0 Four_cache_lines Four_cache_lines Four_cache_lines Four_cache_lines %endm...
; A026567: a(n) = Sum{T(i,j)}, 0<=j<=i, 0<=i<=2n, T given by A026552. ; 1,4,13,31,85,193,517,1165,3109,6997,18661,41989,111973,251941,671845,1511653,4031077,9069925,24186469,54419557,145118821,326517349,870712933,1959104101,5224277605,11754624613,31345665637,70527747685,188073993829,423166486117,1128443962981,253899891...
#include "losp.h" #include "FindFile.h" #ifndef DEDICATED_ONLY LOSPFontLoader LOSPFontLoader::instance; bool LOSPFontLoader::canLoad(std::string const& path, std::string& name) { if(GetFileExtensionWithDot(path) == ".lfn") { name = GetBaseFilenameWithoutExt(path); return true; } return false; } /* Font form...
db 0 ; species ID placeholder db 65, 75, 105, 85, 35, 65 ; hp atk def spd sat sdf db GROUND, FLYING ; type db 60 ; catch rate db 108 ; 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/gligar/f...
// This file is part of www.nand2tetris.org // and the book "The Elements of Computing Systems" // by Nisan and Schocken, MIT Press. // File name: projects/04/Mult.asm // Multiplies R0 and R1 and stores the result in R2. // (R0, R1, R2 refer to RAM[0], RAM[1], and RAM[2], respectively.) (BEGIN) @R2 M = 0 //...
<% import collections import pwnlib.abi import pwnlib.constants import pwnlib.shellcraft %> <%docstring>pread64(fd, buf, nbytes, offset) -> str Invokes the syscall pread64. See 'man 2 pread64' for more information. Arguments: fd(int): fd buf(void*): buf nbytes(size_t): nbytes offset(off64_t): offset ...
#include "w_core.h" const char* WCore::ClassName = "Core"; NAN_MODULE_INIT(WCore::Init) { v8::Local<v8::FunctionTemplate> tpl = Nan::New<v8::FunctionTemplate>(New); tpl->SetClassName(Nan::New(ClassName).ToLocalChecked()); tpl->InstanceTemplate()->SetInternalFieldCount(1); // methods constructor().Reset(Nan::Ge...
//===--- ImportEnumInfo.cpp - Information about importable Clang enums ----===// // // 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...
; A273129: The Rote-Fibonacci infinite sequence. ; 0,0,1,0,0,1,1,0,1,1,0,1,1,0,0,1,0,0,1,1,0,1,1,0,1,1,0,0,1,0,0,1,0,0,1,1,0,1,1,0,0,1,0,0,1,0,0,1,1,0,1,1,0,0,1,0,0,1,0,0,1,1,0,1,1,0,1,1,0,0,1,0,0,1,1,0,1,1,0,1,1,0,0,1,0,0,1,0,0,1,1,0,1,1,0,0,1,0,0,1,0,0,1,1,0,1,1,0,0,1,0,0,1,0,0,1,1,0,1,1,0,1,1,0,0,1,0,0,1,1 add $0,2...
COMMENT @---------------------------------------------------------------------- Copyright (c) Geoworks 1992-1994 -- All Rights Reserved PROJECT: GEOS MODULE: Studio FILE: mainProcess.asm ROUTINES: Name Description ---- ----------- INT EncapsulateToTargetVisText Send a message to the tar...
TITLE ENTRIES - Copyright (c) SLR Systems 1994 INCLUDE MACROS INCLUDE SYMBOLS INCLUDE SEGMSYMS INCLUDE IO_STRUC INCLUDE RESSTRUC INCLUDE SEGMENTS INCLUDE GROUPS INCLUDE EXES PUBLIC BUILD_FLUSH_ENTRIES,EXEHDR_ERROR .DATA EXTERNDEF SYMBOL_TEXT:BYTE,TEMP_RECORD:BYTE,ZEROS_16:BYTE,CASE_TYPE:BYT...
;-------------------------------------------------------- ; File Created by SDCC : FreeWare ANSI-C Compiler ; Version 2.3.1 Tue Nov 26 02:58:56 2019 ;-------------------------------------------------------- .module abs ;-------------------------------------------------------- ; Public variables in this modu...
/* Tencent is pleased to support the open source community by making Plato available. Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the BSD 3-Clause License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy...
/* * Copyright (c) 2013 Akihiro Kaneda. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1.Redistributions of source code must retain the above copyright notice, * this list of co...
/* * Copyright (c) 2016, 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. */ #include <fata...
#include <algorithm> #include <iostream> #include <string> struct entry { std::string name; std::string value; }; int main() { entry array[] = { { "grass", "green" }, { "snow", "white" }, { "sky", "blue" }, { "cherry", "red" } }; std::cout << "Before sorting:\n"; for (const auto &e : ar...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r8 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_D_ht+0x159a7, %rax nop nop nop add $25861, %r9 movups (%rax), %xmm5 vpextrq $1, %xmm5, %r8 nop nop nop nop cmp %rdi, %rdi lea addresses_WT_ht+0x193e7, %rsi lea addresses_WC_ht+0x11c07...
; Napíšte program (v JSI) ktorý umožní používateľovi pomocou argumentov zadaných na príkazovom riadku pri ; spúšťaní programu vykonať pre zadaný súbor/súbory (vstup) vybranú funkciu (viď. nižšieúlohy 1-20). Ak bude ; zadaný prepínač '-h', program musí zobraziť informácie o programe a jeho použití. V programe vhodne p...
;Program to Print Fibonacci series up to 10 terms printm macro mess lea dx,mess mov ah,09h int 21h endm exitp macro mov ah,4ch int 21h endm new_line macro mov ah,02h mov dl,0dh int 21h mov dl,0ah int 21h endm space macro mov ah,02h mov dl,' ' int 21h endm pushall macro push ax push bx push cx push d...
lda {m1}+1 cmp {c1}+1,x bne !+ lda {m1} cmp {c1},x beq {la1} !:
section .rodata ;; read only non executable data section .data ;;writable non executable data section .text ;; read only executable data global rechner_const_asm global rechner_add_asm global rechner_sub_asm global rechner_mul_asm global rechner_sel_asm rechne...
bits 16 daa das aaa aas aam 100 aad 100 bound ax, [ebx + esi] bound eax, [ebx + esi] arpl [bx], ax arpl [ebx], ax nop pause clc cmc stc cld std cli sti cbw cwde cwd cdq wait sahf...
; $Id: noise.asm $ ; ; Generic 1 bit sound functions ; IF !__CPU_GBZ80__ && !__CPU_INTEL__ SECTION code_clib PUBLIC noise PUBLIC _noise INCLUDE "games/games.inc" ;EXTERN bit_open_di ;EXTERN bit_close_ei EXTERN asm_rand EXTERN __snd_tick ; ; Ported by ...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r15 push %r8 push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x48c5, %rsi nop nop nop add %r14, %r14 mov $0x6162636465666768, %rdi movq %rdi, (%rsi) nop nop nop nop nop cmp $9019, %r11 lea addresses_WC_ht+0x11125, %rcx nop nop nop nop nop...
; A170777: a(n) = n^8*(n^5 + 1)/2. ; 0,1,4224,800442,33587200,610546875,6531186816,48447387604,274886295552,1270954437525,5000050000000,17261463251406,53496817680384,151437961161487,396858124521600,973098815625000,2251801961168896,4952292504331689,10411487942815872,21026500222910050,40960012800000000,77236207780989411,...
#include "render_from_pose.hh" #include "testing/gtest.hh" #include "out.hh" #include "sophus.hh" #include "estimation/calibration/camera_model.hh" #include "eigen.hh" #include <opencv2/opencv.hpp> namespace slam { namespace render { using Vec3 = Eigen::Vector3d; using Vec2 = Eigen::Vector2d; class RenderFromPos...
; A125619: Minimal number of blocks in any uniform (n,3)-splitting system. ; Submitted by Jamie Morken(w2) ; 2,3,4,3,4,5,5,5,6,6,6,5,6,6 mul $0,2 mov $3,1 lpb $0 sub $0,1 div $0,2 add $1,2 sub $2,$3 mov $3,12 add $3,$0 div $3,2 mod $3,2 mul $3,$2 add $1,$3 add $2,1 lpe mov $0,$1 div $0,2 add $0,2...
; A035006: Number of possible rook moves on an n X n chessboard. ; 0,8,36,96,200,360,588,896,1296,1800,2420,3168,4056,5096,6300,7680,9248,11016,12996,15200,17640,20328,23276,26496,30000,33800,37908,42336,47096,52200,57660,63488,69696,76296,83300,90720,98568,106856,115596,124800,134480,144648,155316,166496,178200,190440...
.586 .MODEL FLAT, C .CODE __stacker_black_box PROC RET __stacker_black_box ENDP __stacker_stack_pointer PROC MOV EAX, ESP RET __stacker_stack_pointer ENDP __stacker_get_tib_32 PROC ASSUME FS:NOTHING MOV EAX, FS:[24] ASSUME FS:ERROR RET __stacker_get_tib_32 ENDP __stacker_switch_stacks PR...
; $Id: bs3-mode-NameShortLower.asm 69111 2017-10-17 14:26:02Z vboxsync $ ;; @file ; BS3Kit - g_szBs3ModeName_xxx ; ; ; Copyright (C) 2007-2017 Oracle Corporation ; ; This file is part of VirtualBox Open Source Edition (OSE), as ; available from http://www.virtualbox.org. This file is free software; ; you can redistrib...
// Copyright 2014 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/browser/chromeos/file_system_provider/operations/read_directory.h" #include <string> #include "base/files/file.h" #include "base/files/...
HoOhChamber: ld hl, wPartySpecies ld a, [hl] ; is Ho-oh the first Pokémon in the party? If not, we're done call GetPokemonIndexFromID ld a, l sub LOW(HO_OH) if HIGH(HO_OH) == 0 or h else ret nz if HIGH(HO_OH) == 1 dec h else ld a, h cp HIGH(HO_OH) endc endc ret nz call GetMapAttributesPoin...
STACKSG SEGMENT STACK GLOBAL_BUILTIN_GETS_BUF DW 129 DUP(0) GLOBAL_BUILTIN_GETS_CHARCOUNT DW 1 DUP(0) GLOBAL_BUILTIN_COMPACT_BUF DW 129 DUP(0) DW 70,65,73,76,32,84,79,32,79,80 DW 69,78,70,73,76,69,10,0 DW 70,65,73,76,32,84,79,32,67,76 DW 79,83,69,70,73,76,69,10,0 DW 16088 DUP(0) STACKSG ...
; A130546: Denominators of 2*Sum_{k=1..n} 1/binomial(2*k,k), n >= 1. ; Submitted by Jon Maiga ; 1,3,30,210,315,6930,16380,60060,1021020,19399380,461890,37182145,106234700,75482550,166363540200,5157269746200,1719089915400,12033629407800,445244288088600,445244288088600,588871477794600,784965679900201800,11774485198503027...
ldxb r2, [r1+12] ldxb r3, [r1+13] lsh r3, 0x8 or r3, r2 mov r0, 0x0 jne r3, 0x8, +37 ldxb r2, [r1+23] jne r2, 0x6, +35 ldxb r2, [r1+14] add r1, 0xe and r2, 0xf lsh r2, 0x2 add r1, r2 mov r0, 0x0 ldxh r4, [r1+12] add r1, 0x14 rsh r4, 0x2 and r4, 0x3c mov r2, r4 add r2, 0xffffffec mov r5, 0x15 mov r3, 0x0 jgt r5, r4, +20...
; A227185: The largest part in the unordered partition encoded in the runlengths of the binary expansion of n. ; Submitted by Jamie Morken(s1) ; 0,1,1,2,2,1,2,3,3,2,1,2,3,2,3,4,4,3,2,3,2,1,2,3,4,3,2,3,4,3,4,5,5,4,3,4,3,2,3,4,3,2,1,2,3,2,3,4,5,4,3,4,3,2,3,4,5,4,3,4,5,4,5,6,6,5,4,5,4,3,4,5,4,3,2,3,4,3,4,5,4,3,2,3,2,1,2,3...
BITS 64 ;TEST_FILE_META_BEGIN ;TEST_TYPE=TEST_F ;TEST_IGNOREFLAGS=FLAG_SF|FLAG_ZF|FLAG_AF|FLAG_PF ;TEST_FILE_META_END ; IMUL16rr mov bx, 0x34 mov cx, 0x45 ;TEST_BEGIN_RECORDING imul bx, cx ;TEST_END_RECORDING
/* * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
; ; lm.asm ; KripayaOS Project ; Author(s): [Ashwin: ashwonixer123@gmail.com] ; detect_long_mode: ; Save the registers pushad pushfd pop eax mov ecx, eax xor eax, 1 << 21 push eax popfd pushfd pop eax push ecx popfd cmp eax, ecx je .cpuid_not_found mov eax, 0x80000000 ...
// GzHandler.cpp #include "StdAfx.h" // #include <stdio.h> #include "../../../C/CpuArch.h" #include "../../Common/ComTry.h" #include "../../Common/Defs.h" #include "../../Common/StringConvert.h" #include "../../Windows/PropVariant.h" #include "../../Windows/PropVariantUtils.h" #include "../../Window...
; A027865: Sums of six consecutive squares: a(n) = n^2 + (n+1)^2 + (n+2)^2 + (n+3)^2 + (n+4)^2 + (n+5)^2. ; 55,91,139,199,271,355,451,559,679,811,955,1111,1279,1459,1651,1855,2071,2299,2539,2791,3055,3331,3619,3919,4231,4555,4891,5239,5599,5971,6355,6751,7159,7579,8011,8455,8911,9379,9859,10351,10855,11371,11899,12439,...
;****************************************************************************** ;* TI ARM C/C++ Codegen Unix v18.1.1.LTS * ;* Date/Time created: Fri Jul 3 20:08:23 2020 * ;****************************************************************************** ...
; A047295: Numbers that are congruent to {0, 1, 2, 4, 6} mod 7. ; Submitted by Jon Maiga ; 0,1,2,4,6,7,8,9,11,13,14,15,16,18,20,21,22,23,25,27,28,29,30,32,34,35,36,37,39,41,42,43,44,46,48,49,50,51,53,55,56,57,58,60,62,63,64,65,67,69,70,71,72,74,76,77,78 mov $1,$0 add $1,2 add $0,$1 mul $0,3 div $0,5 div $1,5 add $0,$1...
;; \file ;; \brief Switch to unreal mode. ;; \author Chris Smeele ;; \copyright Copyright (c) 2015, Chris Smeele. All rights reserved. ;; \license MIT. See LICENSE for the full license text. [bits 16] global enableUnrealMode SECTION .data struc GdtEntry .limitLow: resw 1 .baseLow: resw 1 .baseMid...
#include "uritests.h" #include "../guiutil.h" #include "../walletmodel.h" #include <QUrl> void URITests::uriTests() { SendCoinsRecipient rv; QUrl uri; uri.setUrl(QString("wixcoin:LQDPC5rbjDB72fGFVHu4enYhxGAZuRiFh9?req-dontexist=")); QVERIFY(!GUIUtil::parseBitcoinURI(uri, &rv)); uri.setUrl(QString...
.intel_syntax noprefix .global _Z4mainv .global _Z10Start_Testv .section .text #.text _Z10Start_Testv: sub rsp, 16 #.STACK, 16 Return_Here_123: lea rcx, qword ptr [rsp + 0 ] #m_REG0, .STACK_0 mov rcx, rcx #m_TMP_2242033719216, m_REG0 add qword ptr [rcx + 0 ], 1 #m_TMP_2242033719216_0, 1 mov rcx, rcx #th...
SECTION code_clib SECTION code_stdio PUBLIC __stdio_printf_lu EXTERN __stdio_printf_number_tail_ulong __stdio_printf_lu: ; %lu converter called from vfprintf() ; ; enter : ix = FILE * ; hl = void *stack_param ; de = void *buffer_digits ; stack = buffer_digits, width, preci...
#include <iostream> #include <string> #include <vector> #include <algorithm> using namespace std; /** * Auto-generated code below aims at helping you parse * the standard input according to the problem statement. * --- * Hint: You can use the debug stream to print initialTX and initialTY, if Thor seems not follow...
.constant_pool .const 0 string [start] .const 1 string [constructor] .const 2 string [var1] .const 3 string [var2] .const 4 int [10] .const 5 int [1] .const 6 string [io.writeln] .const 7 int [20] .end .entity start .valid_context_when (always) .method constructor .v...
; uchar tshc_aaddr2cy(void *aaddr) SECTION code_clib SECTION code_arch PUBLIC _tshc_aaddr2cy EXTERN _zx_saddr2cy defc _tshc_aaddr2cy = _zx_saddr2cy
BITS 64 entry_point: lddqu xmm4, [rdx] lddqu xmm5, [rdx + 0x10] lddqu xmm6, [rdx + 0x20] lddqu xmm7, [rdx + 0x30] lddqu xmm0, [ecx] movaps xmm1, xmm0 movaps xmm2, xmm0 movaps xmm3, xmm0 shufps xmm0, xmm1, 0x00 shufps xmm1, xmm1, 0x55 shufps xmm2, xmm2, 0xAA shufps xm...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r15 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0x3170, %r12 nop nop nop add %rcx, %rcx movups (%r12), %xmm2 vpextrq $1, %xmm2, %r13 nop nop nop nop nop sub %r9, %r9 lea addresses_UC_ht+0xfde0, %rsi lea addresses_A_ht+0x13bd...
; A185542: a(n) = m*(m+1)/2, where m = floor(n^(5/2)). ; 1,15,120,528,1540,3916,8385,16471,29646,50086,80601,124251,185745,269011,379756,524800,709836,944625,1237951,1599366,2041210,2577585,3216916,3980431,4884375,5939181,7172578,8605026,10253656,12149985,14313925,16776528,19565640,22717170,26263128,30236976,34673628,3...
; ************************************************** ; PSGlib - C programming library for the SEGA PSG ; ( part of devkitSMS - github.com/sverx/devkitSMS ) ; ************************************************** INCLUDE "PSGlib_private.inc" SECTION code_clib SECTION code_PSGlib PUBLIC asm_PSGlib_Stop EXTERN __PSGlib_M...
; A161705: a(n) = 18*n + 1. ; 1,19,37,55,73,91,109,127,145,163,181,199,217,235,253,271,289,307,325,343,361,379,397,415,433,451,469,487,505,523,541,559,577,595,613,631,649,667,685,703,721,739,757,775,793,811,829,847,865,883,901,919,937,955,973,991,1009,1027,1045,1063,1081,1099,1117,1135,1153,1171,1189,1207,1225,1243,126...
// // Video.hpp // Clock Signal // // Created by Thomas Harte on 06/06/2017. // Copyright 2017 Thomas Harte. All rights reserved. // #ifndef Machines_ZX8081_Video_hpp #define Machines_ZX8081_Video_hpp #include "../../Outputs/CRT/CRT.hpp" #include "../../ClockReceiver/ClockReceiver.hpp" namespace ZX8081 { /*! P...
; A319390: a(n) = a(n-1) + 2*a(n-2) - 2*a(n-3) - a(n-4) + a(n-5), a(0)=1, a(1)=2, a(2)=3, a(3)=6, a(4)=8. ; 1,2,3,6,8,13,16,23,27,36,41,52,58,71,78,93,101,118,127,146,156,177,188,211,223,248,261,288,302,331,346,377,393,426,443,478,496,533,552,591,611,652,673,716,738,783,806,853,877,926,951,1002,1028,1081,1108,1163,1191...
#include "netlib.h" #include "EventDispatch.h" /********************************* * 函数:netlib_init * 功能:netlib_init初始化 * 参数: * 返回值: * 成功:0 * 失败:-1 **********************************/ int netlib_init() { return NETLIB_OK; } /********************************* * 函数:netlib_bind * 功能:绑定参数,主要用于绑定CBaseSocket的内部...
#ifndef NDNPH_CORE_COMMON_HPP #define NDNPH_CORE_COMMON_HPP #ifndef _POSIX_C_SOURCE #define _POSIX_C_SOURCE 200809L #endif #include <sys/types.h> #include <algorithm> #include <array> #include <bitset> #include <cassert> #include <cinttypes> #include <cstddef> #include <cstdio> #include <cstring> #include <ctime> #i...
; A141244: Numerators in the expansion of (1-sqrt(1-x^2))/(1-x). ; 0,0,1,1,5,5,11,11,93,93,193,193,793,793,1619,1619,26333,26333,53381,53381,215955,215955,436109,436109,3518265,3518265,7088533,7088533,28539857,28539857,57414019 trn $0,1 seq $0,45621 ; a(n) = 2^n - binomial(n, floor(n/2)). lpb $0 dif $0,2 lpe
; A062193: Fourth (unsigned) column sequence of triangle A062139 (generalized a=2 Laguerre). ; Submitted by Christian Krause ; 1,24,420,6720,105840,1693440,27941760,479001600,8562153600,159826867200,3116623910400,63465795993600,1348648164864000,29877743960064000,689322235650048000,16543733655601152000,41255935803655372...
; A131019: Semiperimeters of quadrilaterals whose sides are 4 consecutive odd primes. ; Submitted by Jamie Morken(s2) ; 13,18,24,30,36,44,51,60,69,76,84,92,101,110,120,129,136,145,153,162,174,185,195,204,210,216,228,240,254,267,278,288,298,310,319,330,341,350,362,372,381,390,400,415,430,445,456,464,471,482,494,506,520,...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x1bb2b, %rsi lea addresses_normal_ht+0x1789b, %rdi nop nop add $62142, %r13 mov $114, %rcx rep movsq xor $41358, %r9 lea addresses_WT_ht+0x1ac6f, %r9 nop nop nop nop xor %rdx, %rdx movl $0x616263...
; int fclose(FILE *stream) INCLUDE "config_private.inc" SECTION code_clib SECTION code_stdio ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; IF __CLIB_OPT_MULTITHREAD & $02 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; PUBLIC _fclose EXTERN _fclose_fastcall _fclose: pop af pop hl push hl push af jp _fclose_fastcall ;;;;...
db SMEARGLE ; 235 db 55, 20, 35, 75, 20, 45 ; hp atk def spd sat sdf db NORMAL, NORMAL ; type db 45 ; catch rate db 106 ; 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/smeargle/front.dimen...
; A195158: Concentric 24-gonal numbers. ; 0,1,24,49,96,145,216,289,384,481,600,721,864,1009,1176,1345,1536,1729,1944,2161,2400,2641,2904,3169,3456,3745,4056,4369,4704,5041,5400,5761,6144,6529,6936,7345,7776,8209,8664,9121,9600,10081,10584,11089,11616,12145,12696,13249,13824,14401,15000,15601,16224,16849,17496,18145,188...
#include <polyvec/utils/string.hpp> // libc #include <cstdarg> #include <algorithm> using namespace std; NAMESPACE_BEGIN(polyfit) NAMESPACE_BEGIN(StringUtils) std::string fmt(const char* fmt, ...) { va_list args, args_cp; va_start(args, fmt); va_copy(args_cp, args); int len = vsnprintf(nullptr, 0, fmt, args); ...
; stdio_atou_any_stream ; 05.2008 aralbrec XLIB stdio_atou_any_stream LIB stdio_getchar, stdio_ungetchar, l_mult, asm_toupper ; read unsigned number from stream, whitespace not skipped ; ; enter : e = radix ; ix = FILE * ; exit : hl = unsigned int result ; uses : af, bc, d, hl .stdio_atou_any_stream ...
aseg org 100h inicio ld de, string ld b, longitud+1 jr chequeo ciclo ld a, (de) inc de cp letra jr z, encontrada chequeo djnz ciclo encontrada ld hl, string + longitud dec hl sbc hl, de ld (lugar), hl rs...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r15 push %r9 push %rbx push %rsi lea addresses_WC_ht+0x4baf, %r11 nop nop nop nop nop dec %rsi vmovups (%r11), %ymm5 vextracti128 $0, %ymm5, %xmm5 vpextrq $0, %xmm5, %r13 nop nop nop nop add %rbx, %rbx lea addresses_UC_ht+0x1c807, %r11 nop nop nop n...
// 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 "optionsdialog.h" #include "ui_optionsdialog.h" #include "bitcoinunits.h" #include "monitoreddatamapper.h" #include ...
.code ; procedure exec_cpuid ; Signature: void exec_cpiud(uint32_t *regs) exec_cpuid Proc push rbx push rcx push rdx push rdi mov rdi, rcx mov eax, [rdi] mov ebx, [rdi+4] mov ecx, [rdi+8] mov edx, [rdi+12] cpuid mov [rdi], eax mov [rdi+4], ebx mov [rdi+8], ecx mov [rdi+12], edx pop rdi pop rdx pop...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r15 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_D_ht+0x51cc, %rdi nop nop nop nop nop sub %rcx, %rcx movb $0x61, (%rdi) nop and %rax, %rax lea addresses_D_ht+0x52b0, %r15 nop nop add $27355, %r10 movups (%r15), %xmm5 vpextrq $0, %...
_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...
; A239796: 7n^2 + 2n - 15. ; -6,17,54,105,170,249,342,449,570,705,854,1017,1194,1385,1590,1809,2042,2289,2550,2825,3114,3417,3734,4065,4410,4769,5142,5529,5930,6345,6774,7217,7674,8145,8630,9129,9642,10169,10710,11265,11834,12417,13014,13625,14250,14889,15542,16209,16890,17585,18294,19017,19754,20505,21270,22049,22842,...
LDY #$37 CPY #$37 OUT Y CPY #$44 OUT Y CPY #$23 OUT Y
;向内存0:200~0:23F依次传送数据0~63(3FH) assume cs:code code segment start: mov ax,0 mov ds,ax mov bx,200h mov cx,64 s: mov [bx],ax inc bx inc ax loop s mov ax,4c00h int 21h code ends end start
db 0 ; species ID placeholder db 59, 45, 40, 31, 35, 40 ; hp atk def spd sat sdf db NORMAL, NORMAL ; type db 255 ; catch rate db 57 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 15 ; step cycles to hatch INCBIN "gfx/pokemon/bidoof/front.dimensions" db GROWTH_MEDIUM_FAS...
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r8 push %rcx push %rdi push %rdx push %rsi // REPMOV lea addresses_D+0x9296, %rsi lea addresses_D+0xb7ce, %rdi nop nop cmp %rdx, %rdx mov $20, %rcx rep movsb nop nop nop nop and %rsi, %rsi // Faulty Lo...
/* This file is part of: NoahFrame https://github.com/ketoo/NoahGameFrame Copyright 2009 - 2018 NoahFrame(NoahGameFrame) File creator: lvsheng.huang NoahFrame is open-source software and you can redistribute it and/or modify it under the terms of the License; b...
; A017067: a(n) = (8*n)^3. ; 0,512,4096,13824,32768,64000,110592,175616,262144,373248,512000,681472,884736,1124864,1404928,1728000,2097152,2515456,2985984,3511808,4096000,4741632,5451776,6229504,7077888,8000000,8998912,10077696,11239424,12487168,13824000,15252992,16777216,18399744,20123648,21952000,23887872,25934336,28...
// This code contains NVIDIA Confidential Information and is disclosed to you // under a form of NVIDIA software license agreement provided separately to you. // // Notice // NVIDIA Corporation and its licensors retain all intellectual property and // proprietary rights in and to this software and related documentation...
C arm/memxor.asm ifelse(< Copyright (C) 2013 Niels Möller This file is part of GNU Nettle. GNU Nettle is free software: you can redistribute it and/or modify it under the terms of either: * the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 o...
user/_wc: file format elf64-littleriscv Disassembly of section .text: 0000000000000000 <wc>: char buf[512]; void wc(int fd, char *name) { 0: 7119 addi sp,sp,-128 2: fc86 sd ra,120(sp) 4: f8a2 sd s0,112(sp) 6: f4a6 sd s1,104(sp) 8: ...
; A135450: a(n) = 3*a(n-1) + 4*a(n-2) - a(n-3) + 3*a(n-4) + 4*a(n-5). ; 0,0,0,1,4,16,63,252,1008,4033,16132,64528,258111,1032444,4129776,16519105,66076420,264305680,1057222719,4228890876,16915563504,67662254017,270649016068,1082596064272,4330384257087,17321537028348,69286148113392,277144592453569,1108578369814276,44343...
EMPTY_STRING: EQU $3533 V_TEST_FN: EQU $28E3 STACK_NUM: EQU $33B4 RESTACK: EQU $3297 K_CUR: EQU $5C5B CHAN_FLAG: EQU $1615 ONE_SPACE: EQU $1652 REPORT_2: EQU $1C2E REPORT_A: EQU $34E7 OCTA: CALL QUAD QUAD: CALL DOUBLE DOUBLE: EX AF,AF ...
%include "lib.asm" extern ExitProcess ; windows syscall to exit section .text ONE db '1', 0 ZERO db '0', 0 section .data buffer times 25 db 0 section .code global _start _start: fgets buffer, 12 ; get n as binary len a2i 12, buffer mov cl, al dec cl mov ebx, 1 ; use ebx as mask shl ebx, cl ; our n...
; -------------------------------------------------------------------------------- ; Sprite mappings - output from SonMapEd - Sonic 3 & Knuckles format ; -------------------------------------------------------------------------------- SME_0CI2l: dc.w SME_0CI2l_8-SME_0CI2l, SME_0CI2l_1C-SME_0CI2l dc.w SME_0CI2l_3...
;********************************************************** ; ; The following software is for demonstration purposes only. ; It is not fully tested, nor validated in order to fullfill ; its task under all circumstances. Therefore, this software ; or any part of it must only be used in an evaluation ;...
; A267551: Lucas numbers written backwards. ; 2,1,3,4,7,11,81,92,74,67,321,991,223,125,348,4631,7022,1753,8775,9439,72151,67442,30693,97046,286301,167761,344172,402934,746017,1589411,8940681,9430103,7480784,6911887,34025721,93233602,28258333,12581045,30830478 seq $0,32 ; Lucas numbers beginning at 2: L(n) = L(n-1) + L...
; ---------------------------------------------------------------- ; Z88DK INTERFACE LIBRARY FOR THE BIFROST* ENGINE - RELEASE 1.2/L ; ; See "bifrost_l.h" for further details ; ---------------------------------------------------------------- ; unsigned char *BIFROSTL_findAttrH(unsigned char lin, unsigned char col) ; c...
#include "ZFObjectGlobalInstance.h" #include "ZFObjectImpl.h" ZF_NAMESPACE_GLOBAL_BEGIN // ============================================================ #define _ZFP_ZFObjectGlobalInstanceDefine_(Name, Level) \ ZF_GLOBAL_INITIALIZER_INIT_WITH_LEVEL(Name, Level) \ { \ } \ ZF_GLOBAL_INITIALIZER_DESTROY(N...
; ; Copyright (C) 1996-2002 Supernar Systems, Ltd. All rights reserved. ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions are ; met: ; ; 1. Redistributions of source code must retain the above copyright ; notice, this ...
INCLUDE "config_private.inc" SECTION data_driver PUBLIC asci0RxCount, asci0RxIn, asci0RxOut, asci0RxLock asci0RxCount: defb 0 ; Space for Rx Buffer Management asci0RxIn: defw asci0RxBuffer ; non-zero item in bss since it's initialized anyway asci0RxOut: defw asci0RxBuffer ; no...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r8 push %r9 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x1d45f, %rsi nop nop add $42067, %r11 movb $0x61, (%rsi) nop nop nop nop add %rbx, %rbx lea addresses_WT_ht+0xf62d, %rsi lea addresses_WT_ht+0x3eed, %rdi cmp %rdx, %rdx mov...
dnl SPARC T3/T4/T5 mpn_invert_limb. dnl Contributed to the GNU project by Torbjörn Granlund. dnl Copyright 2013 Free Software Foundation, Inc. dnl This file is part of the GNU MP Library. dnl dnl The GNU MP Library is free software; you can redistribute it and/or modify dnl it under the terms of either: dnl dn...
/* * Copyright (c) 2014 The WebRTC 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 contribut...