text
stringlengths
1
1.05M
db DEX_MAGNEMITE ; pokedex id db 25, 35, 70, 45, 95 ; hp atk def spd spc db ELECTRIC, ELECTRIC ; type db 190 ; catch rate db 89 ; base exp INCBIN "gfx/pokemon/front/magnemite.pic", 0, 1 ; sprite dimensions dw MagnemitePicFront, MagnemitePicBack db TACKLE, THUNDER_WAVE, NO_MOVE, NO_MOVE ; level 1...
/******************************************************************************* * Copyright 2019-2020 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.apa...
; A017251: a(n) = (9*n+7)^7. ; 823543,268435456,6103515625,52523350144,271818611107,1028071702528,3142742836021,8235430000000,19203908986159,40867559636992,80798284478113,150363025899136,266001988046875,450766669594624,736141813551277,1164175380274048,1789940649848551,2684354560000000,3937376385699289,5661610866627712,...
; A140105: Trailing zeros removed from n! in binary. ; Submitted by Christian Krause ; 1,1,1,11,11,1111,101101,100111011,100111011,101100010011,11011101011111,100110000100010101,1110010001100111111,10111001100101000110011,10100010011000011101100101,100110000011101110111011101011,100110000011101110111011101011,101000011...
; ---------------------------------------------------------------- ; Z88DK INTERFACE LIBRARY FOR NIRVANA+ ENGINE - by Einar Saukas ; ; See "nirvana+.h" for further details ; ---------------------------------------------------------------- ; void NIRVANAP_drawTW_raw(unsigned int tile, unsigned int lin, unsigned int col...
; ; Amstrad CPC library ; (CALLER linkage for function pointers) ; ; creates a copy of a string in CPC format ; ; char __LIB__ *cpc_rsx_strcpy(char *dst, char *src); ; ; $Id: cpc_rsx_strcpy.asm,v 1.2 2015/01/19 01:32:42 pauloscustodio Exp $ ; PUBLIC cpc_rsx_strcpy EXTER...
; void UNSAFE_SMS_VRAMmemcpy64(unsigned int dst,void *src) SECTION code_clib SECTION code_SMSlib PUBLIC _UNSAFE_SMS_VRAMmemcpy64_callee EXTERN asm_SMSlib_UNSAFE_VRAMmemcpy64 _UNSAFE_SMS_VRAMmemcpy64_callee: pop af pop hl pop de push af jp asm_SMSlib_UNSAFE_VRAMmemcpy64
; char *_memlwr__callee(void *p, size_t n) SECTION code_clib SECTION code_string PUBLIC __memlwr__callee EXTERN asm__memlwr __memlwr_: pop af pop hl pop bc push af jp asm__memlwr
copyright zengfr site:http://github.com/zengfr/romhack 045850 move.b #$3c, ($72,A6) 045856 move.b D0, ($a5,A6) [enemy+12, enemy+32, enemy+52, enemy+72, enemy+92, enemy+B2] 04585A move.b D0, ($b6,A6) 04585E move.b D0, ($b7,A6) 045862 move.b D0, ($b8,A6) 045866 jsr $32032.l copyright zengfr site:http...
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2017-present Facebook, Inc. (http://www.facebook.com) | +---------...
// push constant 10 @10 D=A @SP A=M M=D @SP M=M+1 // pop local 0 @LCL D=M @0 D=A+D @SP A=M M=D @SP AM=M-1 D=M @SP A=M+1 A=M M=D // push constant 21 @21 D=A @SP A=M M=D @SP M=M+1 // push constant 22 @22 D=A @SP A=M M=D @SP M=M+1 // pop argument 2 @ARG D=M @2 D=A+D @SP A=M M=D @SP AM=M-1 D=M @SP A=M+1 A=M M=D // pop argu...
; void *p_forward_list_pop_back(p_forward_list_t *list) SECTION code_clib SECTION code_adt_p_forward_list PUBLIC p_forward_list_pop_back EXTERN asm_p_forward_list_pop_back defc p_forward_list_pop_back = asm_p_forward_list_pop_back
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r8 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x12e96, %rbx nop nop and %r9, %r9 movl $0x61626364, (%rbx) sub $514, %r8 lea addresses_WT_ht+0x742a, %r10 and $62605, %r8 mov $0x6162636465666768, %r11 movq %r11, %xmm7 vmovups...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR> ; SPDX-License-Identifier: BSD-2-Clause-Patent ; ; Module Name: ; ; WriteMm2.Asm ; ; Abstract: ; ; AsmWriteMm2 function ; ; Notes: ; ;-------------------...
#include <bits/stdc++.h> using namespace std; int mdc(int a, int b) { a %= b; if (!a) { return b; } return mdc (max(a, b), min(a, b)); } int main () { int n, count = 1; while (cin >> n && n) { int tot = 0; for (int i = 0, k; i < n; i++) { cin >> k; tot += k; ...
; 숫자값을 hex 형태로 출력하는 함수 ; void _print_hex32(int y, int x, DWORD register); ; push 출력할 Y좌표 값 ; push 출력할 X좌표 값 ; push 출력할 DWORD 크기의 데이터 _print_hex32: push ebp mov ebp, esp pusha mov esi, StrDumpData mov dword [esi], 0x7830 ; 0x 출력 mov ah, 0x04 ; 색상값 셋팅 mov ecx, 8 mov edi, ebp a...
; A199556: 9*8^n+1. ; 10,73,577,4609,36865,294913,2359297,18874369,150994945,1207959553,9663676417,77309411329,618475290625,4947802324993,39582418599937,316659348799489,2533274790395905,20266198323167233,162129586585337857,1297036692682702849,10376293541461622785,83010348331692982273,664082786653543858177,5312662293228...
/* * 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...
; A099150: Positive integers k such that f(k)+f(k)=concatenation of k and k, where f(k)=k(k+3)/2 (A000096). ; 8,98,998,9998,99998,999998,9999998,99999998,999999998,9999999998,99999999998,999999999998,9999999999998,99999999999998,999999999999998,9999999999999998,99999999999999998,999999999999999998,9999999999999999998,9...
; A193295: Number of prime divisors (with multiplicity) of n^2 - 1. ; 1,3,2,4,2,5,3,5,3,5,2,5,3,6,3,7,2,6,3,5,3,6,3,6,5,5,4,6,2,8,3,7,4,6,3,6,3,6,3,7,2,6,4,5,4,7,3,8,4,6,3,7,3,8,4,6,3,6,2,6,4,8,5,9,3,6,3,6,3,8,2,7,4,5,5,6,3,8,5,7,5,6,3,6,4,6,3,8,3,7,4,5,4,8,3,9,4,7,4,7 add $0,2 pow $0,2 sub $0,2 seq $0,1222 ; Number o...
/* * 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...
;----------------------------------------------- ; VIteen OS v0.4 by Cedric Fauth ;----------------------------------------------- ; setting up directives for nasm bits 16 ; only 16 bit support org 0x0000 ; base adress in memory jmp 0x7c0:entry ; far jump to entry (0x7c0 * 0x10 + entry) ; ... 0...
; A088842: Denominator of quotient=sigma(7n)/sigma(n). ; 1,1,1,1,1,1,8,1,1,1,1,1,1,8,1,1,1,1,1,1,8,1,1,1,1,1,1,8,1,1,1,1,1,1,8,1,1,1,1,1,1,8,1,1,1,1,1,1,57,1,1,1,1,1,1,8,1,1,1,1,1,1,8,1,1,1,1,1,1,8,1,1,1,1,1,1,8,1,1,1,1,1,1,8,1,1,1,1,1,1,8,1,1,1,1,1,1,57,1,1,1,1,1,1,8 add $0,1 mov $1,49 gcd $1,$0 div $1,6 mul $1,7 add...
Animation_Circle_Q2: push bp mov bp, sp sub sp, 6 push es push di push si push ax push cx push dx mov si, word [bp + circ_r] ; x = -r neg si mov [bp - x], si mov [bp - y], word 0d ; y = 0 ...
; multi-segment executable file template. data segment ; add your data here! ary1 db 20,40,60,70 pkey db "press any key...$" ends stack segment dw 128 dup(0) ends code segment start: ; set segment registers: mov ax, data mov ds, ax mov es, ax ; operand types ;1-emm...
// This file is distributed under the BSD License. // See "license.txt" for details. // Copyright 2009-2012, Jonathan Turner (jonathan@emptycrate.com) // Copyright 2009-2017, Jason Turner (jason@emptycrate.com) // http://www.chaiscript.com // This is an open source non-commercial project. Dear PVS-Studio, please check...
;++ ; ;Copyright (c) 1995 Microsoft Corporation ; ;Module Name: ; ; bioschk.asm ; ;Abstract: ; ; The code in this "image" is responsible for checking if is appropriate ; for us to start setupldr.bin. We consider this appropriate when we pass ; BIOS checkings. Setupldr.bin is binary appended at the end of t...
dos_call macro val mov ah, val int 21h endm print macro msg lea dx, msg dos_call 09h endm printc macro char mov dl, char dos_call 02h endm print_ascii macro aam mov bx, ax add bx, "00" mov dl, bh dos_call 02h mov dl, bl dos_call 02h endm exit macro dos_call ...
; A006138: a(n) = a(n-1) + 3*a(n-2). ; 1,2,5,11,26,59,137,314,725,1667,3842,8843,20369,46898,108005,248699,572714,1318811,3036953,6993386,16104245,37084403,85397138,196650347,452841761,1042792802,2401318085,5529696491,12733650746,29322740219,67523692457,155491913114,358062990485,824538729827,1898727701282,4372343890763...
#include <stdio.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <iostream> #include <unistd.h> #include <chrono> #ifdef __cplusplus extern "C" { #endif void generateMergeSortData (int* arr, size_t n); void checkMergeSortResult (const int* arr, size_t n); #ifdef __cplusplus } #endif v...
#include "../src/translate/translateGenes.h" #include <gtest/gtest.h> #include "../src/align/getGapOpenCloseScores.h" class TranslateGenes : public ::testing::Test { protected: NucleotideSequence ref; GeneMap geneMap; NextalignOptions options = getDefaultOptions(); safe_vector<int> gapOpenCloseAA; std::map...
/** * Copyright (C) 2014 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...
;-----------------------------------------------------------------------------; ; Author: Ege Balcı <ege.balci[at]invictuseurope[dot]com> ; Compatible: Windows 10/8.1/8/7/2008/Vista/2003/XP/2000/NT4 ; Version: 1.0 (25 January 2018) ; Size: 177 bytes ;---------------------------------------------------------------------...
.program: ji i4 noop DATA_SECTION_OFFSET[0..32] DATA_SECTION_OFFSET[32..64] lw $ds $is 1 add $$ds $$ds $is lw $r0 data_0 ; literal instantiation jnei $r0 $one i11 lw $r0 data_1 ; literal instantiation move $r1 $r0 ji i13 lw $r0 data_2 ; literal instantiation move $...
;; $Header: /cvsroot/uuu/dimension/cell/lib/app/common/common.asm,v 1.2 2002/08/11 07:41:24 lukas2000 Exp $ ;; ;; Common app lib cell ;; Written by Phil Frost ;; ;; Copyright (c) 2001 by Phil Frost ;; This software is distributed under the BSD license; ;; see file 'license' for details. section .c_info ;version db 0,...
; float acos(float x) SECTION code_clib SECTION code_fp_math48 PUBLIC cm48_sdcciy_acos EXTERN cm48_sdcciy_acos_fastcall cm48_sdcciy_acos: pop af pop hl pop de push de push hl push af jp cm48_sdcciy_acos_fastcall
; A295556: a(n) = 0 for n <= 1; thereafter a(n) = a(floor(n/2)) + a(ceiling(n/2)) + floor(n/2) if n not congruent to 0 mod 4, a(n) = a(n/2-1) + a(n/2+1) + n/2 if n == 0 (mod 4). ; 0,0,1,2,4,5,7,9,11,13,15,17,20,22,25,27,30,32,35,37,40,42,45,48,51,54,57,60,63,66,69,72,75,78,81,84,87,90,93,96,99,102,105,108,112,115,119,1...
; FPU Expression Evaluation (Expr.asm) ; This program implements the following expression, using ; floating-point instructions: ; (6.0 * 2.0) + (4.5 * 3.2) INCLUDE Irvine32.inc ; 32-bit Protected mode program. .data array REAL4 6.0, 2.0, 4.5, 3.2 dotProduct REAL4 ? .code main PROC finit ;...
; A139782: Binomial transform of A077947. ; 1,2,5,15,46,139,417,1250,3749,11247,33742,101227,303681,911042,2733125,8199375,24598126,73794379,221383137,664149410,1992448229,5977344687,17932034062,53796102187,161388306561,484164919682,1452494759045 mov $1,3 pow $1,$0 sub $1,1 mul $1,4 div $1,7 add $1,1 mov $0,$1
_PokemonTower5Text1:: text "Come, child! I" line "sealed this space" cont "with white magic!" para "You can rest here!" done _PokemonTower5BattleText1:: text "Give...me..." line "your...soul..." done _PokemonTower5EndBattleText1:: text "Gasp!" prompt _PokemonTower5AfterBattleText1:: text "I was under" l...
#include<bits/stdc++.h> #define int long long using namespace std; signed main() { int n; cin>>n; string a; while(n>0) { if(n%2==0) { a.push_back('0'); } else { a.push_back('1'); } n/=2; } reverse(a.begin(),a...
COLOR = 02h org 1300h start: mov ax, 0002h ;очищаем экран int 10h xor dx, dx call SetCursorPos ;устанавливаем курсор mov bp, msg mov cx, 24 call PrintMes ;Вывод на экран строки msg inc dh call SetCursorPos ;переводим курсор на 2 строку mov bp, helper mov cx, 77 call PrintMes ;Вывод на экра...
; char *strrev(char *s) SECTION code_clib SECTION code_string PUBLIC strrev EXTERN asm_strrev defc strrev = asm_strrev IF __CLASSIC && __CPU_GBZ80__ PUBLIC _strrev _strrev: ld hl,sp+2 ld a,(hl+) ld h,(hl) ld l,a call asm_strrev ld d,h ld e,l ret ENDIF ; SDCC bridge for Classic IF __C...
/* ============================================================================== This file is part of the JUCE library. Copyright (c) 2020 - Raw Material Software Limited JUCE is an open source library subject to commercial or open-source licensing. By using JUCE, you agree to the terms of both the...
; A143182: Triangle T(n,m) = 1 + abs(n-2*m), read by rows, 0<=m<=n. ; 1,2,2,3,1,3,4,2,2,4,5,3,1,3,5,6,4,2,2,4,6,7,5,3,1,3,5,7,8,6,4,2,2,4,6,8,9,7,5,3,1,3,5,7,9,10,8,6,4,2,2,4,6,8,10,11,9,7,5,3,1,3,5,7,9,11,12,10,8,6,4,2,2,4,6,8,10,12,13,11,9,7,5,3,1,3,5,7,9,11,13,14,12,10,8,6,4,2,2,4 mul $0,2 add $0,1 seq $0,53188 ; D...
section .data codes: db '0123456789ABCDEF' section .text global _start _start: MOV rax, 0x1122334455667788 MOV rdi, 1 MOV rdx, 1 MOV rcx, 64 .loop: PUSH rax SUB rcx, 4 SAR rax, cl AND rax, 0xf LEA rsi, [codes + rax] MOV rax, 1 ...
; A108396: Triangle read by rows: T(n,k) = n*(1+n^k)/2, 0<=k<=n. ; 0,1,1,2,3,5,3,6,15,42,4,10,34,130,514,5,15,65,315,1565,7815,6,21,111,651,3891,23331,139971,7,28,175,1204,8407,58828,411775,2882404,8,36,260,2052,16388,131076,1048580,8388612,67108868,9,45,369,3285,29529,265725,2391489,21523365,193710249,1743392205,10,55...
;; @file ; ; Copyright 2006 - 2010 Unified EFI, Inc.<BR> ; Copyright (c) 2010, 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...
; A112088: Number of leaf nodes in a binary tree. ; Submitted by Jamie Morken(s3) ; 2,3,5,7,11,16,24,36,54,81,122,183,274,411,617,925,1388,2082,3123,4684,7026,10539,15809,23713,35570,53355,80032,120048,180072,270108,405162,607743,911615,1367422,2051133,3076700,4615050,6922575,10383862,15575793,23363690,35045535,5256830...
// WizDir.cpp : implementation file // #include "stdafx.h" #include "WizDir.h" #include <shlobj.h> #include "icanon.h" #include <macfile.h> #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif void OpenBrowseDialog(IN HWND hwndParent, IN LPCTSTR lpszComputer,...
// ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_PrimalItemConsumable_Egg_Kentro_parameters.hpp" namespace sdk { //--------------------------------------------------------------------------- //Functions //--------------------------------------------------...
; A319527: a(n) = 7 * sigma(n). ; Submitted by Jon Maiga ; 7,21,28,49,42,84,56,105,91,126,84,196,98,168,168,217,126,273,140,294,224,252,168,420,217,294,280,392,210,504,224,441,336,378,336,637,266,420,392,630,294,672,308,588,546,504,336,868,399,651,504,686,378,840,504,840,560,630,420,1176,434,672,728,889 lpb $0 add $...
;; ;; 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...
; A038716: a(n) = floor(n/4)*ceiling((n+3)/4). ; 0,0,0,0,2,2,3,3,6,6,8,8,12,12,15,15,20,20,24,24,30,30,35,35,42,42,48,48,56,56,63,63,72,72,80,80,90,90,99,99,110,110,120,120,132,132,143,143,156,156,168,168,182,182,195,195,210,210,224,224,240,240,255,255,272,272,288,288,306,306,323,323,342,342,360,360,380,380,399,399,420...
lui $1,34658 ori $1,$1,6922 lui $2,63092 ori $2,$2,8923 lui $3,55290 ori $3,$3,55069 lui $4,15156 ori $4,$4,37092 lui $5,63920 ori $5,$5,30260 lui $6,37601 ori $6,$6,58375 mthi $1 mtlo $2 sec0: nop nop nop slt $5,$6,$6 sec1: nop nop slt $6,$1,$3 slt $3,$6,$6 sec2: nop nop slti $6,$3,14449 slt $3,$6,$6 sec3:...
// Fill out your copyright notice in the Description page of Project Settings. #include "CSPlayerState.h" #include "Net/UnrealNetwork.h" ////////////////////////////////////////////////////////////////////////// // APlayerState Interface void ACSPlayerState::Reset() { Super::Reset(); Score = 0; Number...
;*************************************************************************************************** ;* ;* Skeleton of a main file using the standard startup script ;* and the sfr_XXX.asm register defintions file. ;* ;* Add your device- and project-specific code to this base file. ;* ;* (c) Ondrej Hruska, 2016 ;* ;****...
// Copyright (C) 2020 THL A29 Limited, a Tencent company. All rights reserved. // Please refer to the license text that comes with this tendis open source // project for additional information. #include <utility> #include <vector> #include "glog/logging.h" #include "tendisplus/cluster/migrate_sender.h" #include "tend...
;comment * ; ;Algorithm : MMB (The Modular Multiplication based Block cipher ) ;Block : 16 bytes ;KeySize : 128 bits ( 16 bytes ) ; ;Abstract : The Modular Multiplication based Block cipher (MMB), ; designed by Joan Daemen. This public domain implementation ; by Paulo Barreto <pbarreto@uninet.com.br> ; ;Us...
;Add the 16-bit number in memory location 2000H and 2001H to the 16-bit number in memory loactions 2002H and 2003H. The most significant eight bits of the two numbers to be added are in memory locations 2001H and 2003H. Store the result in memory locations 2004H and 2005H with the most significant byte in memory locati...
; A142097: Primes congruent to 32 mod 35. ; Submitted by Jamie Morken(s4) ; 67,137,277,347,487,557,907,977,1117,1187,1327,1607,1747,2027,2237,2377,2447,2657,2797,3217,3637,3847,3917,4057,4127,4337,4547,4967,5107,5387,5527,5737,5807,6367,6577,6857,6997,7207,7417,7487,7907,8117,8467,8537,8677,8747,8887,9377,9587,10007,10...
; A087509: a(n) = #{k=0..n, mod(kn,3) = 2}. ; 0,0,1,0,1,2,0,2,3,0,3,4,0,4,5,0,5,6,0,6,7,0,7,8,0,8,9,0,9,10,0,10,11,0,11,12,0,12,13,0,13,14,0,14,15,0,15,16,0,16,17,0,17,18,0,18,19,0,19,20,0,20,21,0,21,22,0,22,23,0,23,24,0,24,25,0,25,26,0,26,27,0,27,28,0,28 mov $1,$0 mov $2,$0 mul $2,$0 mod $2,3 mul $1,$2 add $1,46078 d...
#include "vkdk.hpp" #include "Entities/Entity.hpp" #include "Systems/ComponentManager.hpp" namespace Entities::Cameras { /* A perspective gamera*/ class SpinTableCamera : public Entity { public: static std::shared_ptr<SpinTableCamera> Create( std::string name, glm::vec3 initialPos = glm::vec3(0.0), glm:...
/* * sslCipher.cpp - test SSL ciphersuite protocol negotiation, client * and server side */ #include <Security/SecureTransport.h> #include <Security/Security.h> #include <clAppUtils/sslAppUtils.h> #include <clAppUtils/ioSock.h> #include <clAppUtils/sslThreading.h> #include <security_cdsa_utils/cuFileIo.h> #in...
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
#include <sf1common/Utilities.h> #include <sf1common/PropertyValue.h> #include <util/hashFunction.h> #include <ir/index_manager/utility/StringUtils.h> #include <util/mkgmtime.h> #include <openssl/md5.h> #include <boost/token_iterator.hpp> #include <boost/uuid/uuid_io.hpp> #include <boost/date_time/posix_time/posix_ti...
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
#pragma once #include <fc/io/raw.hpp> #include <steem/protocol/types_fwd.hpp> #define STEEM_ASSET_SYMBOL_PRECISION_BITS 4 #define STEEM_ASSET_CONTROL_BITS 1 #define STEEM_NAI_SHIFT ( STEEM_ASSET_SYMBOL_PRECISION_BITS + STEEM_ASSET_CONTROL_BITS ) #define SMT_MAX_NAI ...
; A184688: 1/3 the number of n X 3 0..2 arrays with no element equal both to the element above and to the element to its left. ; Submitted by Christian Krause ; 9,192,4080,86688,1841856,39133824,831474432,17666296320,375354928128,7975147677696,169447570059264,3600244178460672,76494210805186560,1625268730858733568,34532...
;***************************************************************************** ;* x86inc.asm: x264asm abstraction layer ;***************************************************************************** ;* Copyright (C) 2005-2019 x264 project ;* ;* Authors: Loren Merritt <lorenm@u.washington.edu> ;* Henrik Gramner...
MODULE generic_console_ioctl PUBLIC generic_console_ioctl SECTION code_clib EXTERN generic_console_cls EXTERN generic_console_setup_mode EXTERN generic_console_font32 EXTERN generic_console_udg32 INCLUDE "ioctl.def" PUBLIC CLIB_GENCON_CAPS defc CLIB_GENCON_CAPS =...
aLine 0 gNew currentPtr gMove currentPtr, Root aLine 1 sInit i, 0 sBge i, {1:D}, 11 aLine 2 gBne currentPtr, Root, 4 sBle i, 0, 3 aLine 3 Exception NOT_FOUND aLine 5 gMoveNext currentPtr, currentPtr aLine 1 sInc i, 1 Jmp -10 aLine 7 gBne currentPtr, Root, 4 sBle i, 0, 3 aLine 8 Exception NOT_FOUND aLine 10 nNew...
/************************************************************** * * 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 y...
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
; A025719: Index of 6^n within sequence of numbers of form 6^i*10^j. ; 1,2,4,7,11,15,20,26,33,41,49,58,68,79,90,102,115,129,144,159,175,192,210,228,247,267,288,310,332,355,379,404,429,455,482,510,539,568,598,629,661,693,726,760,795,831,867,904,942,981,1020,1060,1101,1143,1186,1229 mov $1,$0 mul $0,7 mul $0,$1 sub $0,$...
db DEX_GLOOM ; pokedex id db 60 ; base hp db 65 ; base attack db 70 ; base defense db 40 ; base speed db 85 ; base special db GRASS ; species type 1 db POISON ; species type 2 db 47 ; catch rate db 132 ; base exp yield INCBIN "pic/ymon/gloom.pic",0,1 ; 66, sprite dimensions dw GloomPicFront dw GloomPicBack ; attacks kn...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r15 push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x12f85, %rsi lea addresses_A_ht+0x1bf85, %rdi nop nop xor %r11, %r11 mov $1, %rcx rep movsq inc %rsi lea addresses_A_ht+0x1b265, %rsi lea addresses_D_ht+0x7cbd, %rdi xor $53030, %r15 mov $10...
; A294234: Number of partitions of n into two parts such that the smaller part is nonsquarefree. ; 0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,2,2,3,3,3,3,3,3,4,4,4,4,4,4,4,4,5,5,5,5,6,6,6,6,7,7,7,7,7,7,7,7,8,8,9,9,9,9,10,10,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13 div $0,2 trn $0,1 seq $0,57627 ; Numb...
#include <stdio.h> #include <stdio.h> #include <stdlib.h> #include <pthread.h> #include <xf86drm.h> #include <xf86drmMode.h> #include <libdrm/drm_fourcc.h> #include <fcntl.h> #include <sys/mman.h> #include <errno.h> #include <string.h> #include <stdint.h> #include "pv_jpegdec_api.h" #include "jpeg_global.h" #include ...
[bits 32] mov eax, 0x1234 mov eax, [0x1234]
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r15 push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0x568, %rbp nop nop add %r12, %r12 mov (%rbp), %r10w nop cmp $62343, %r13 lea addresses_WT_ht+0x7265, %rcx add %rsi, %rsi movb (%rcx), %r12b nop nop nop and %r13, %r13 lea...
; A155934: The sequence k(m) defined in A005991. ; 2,3,3,3,3,4,4,4,4,4,4,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7 mov $1,2 lpb $0 sub $1,2 sub $2,2 add $2,$1 trn $2,3 add $2,$1 sub $0,$2 sub $0,1 add $1,3 trn $0,$1 lpe
;=============================================================================== ; gameBullets.asm - Bullets control module ; ; Copyright (C) 2017,2018 RetroGameDev - <https://www.retrogamedev.com> ; Copyright (C) 2017,2018 Marcelo Lv Cabral - <https://lvcabral.com> ; ; Distributed under the MIT software license, s...
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "ie_plugin_config.hpp" #include "behavior/config.hpp" using namespace BehaviorTestsDefinitions; namespace { const std::vector<InferenceEngine::Precision> netPrecisions = { InferenceEngine::Precision::FP32, ...
; A173510: a(n) = a(n-1) + a(n-2) - floor( a(n-1)/2 ). ; Submitted by Jon Maiga ; 2,1,3,3,5,6,8,10,13,17,22,28,36,46,59,76,97,125,160,205,263,337,432,553,709,908,1163,1490,1908,2444,3130,4009,5135,6577,8424,10789,13819,17699,22669,29034,37186,47627,61000,78127,100064,128159,164144,210231,269260,344861,441691 add $0,1 ...
; A021424: Expansion of 1/((1-x)(1-3x)(1-5x)(1-7x)). ; Submitted by Jamie Morken(s3) ; 1,16,170,1520,12411,96096,719860,5278240,38153621,273134576,1942326750,13748476560,97001079631,682818667456,4798793396840,33686888924480,236284962774441,1656378634646736,11606570499786130,81305595528190000,569437184075942051,39875503...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r14 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0x16e77, %rcx nop nop nop nop add %r14, %r14 mov $0x6162636465666768, %rbp movq %rbp, %xmm4 movups %xmm4, (%rcx) nop nop nop add %r13, %r13 lea addresses_UC_ht+0x1b93, %rsi le...
; A231679: a(n) = Sum_{i=0..n} digsum_7(i)^4, where digsum_7(i) = A053828(i). ; 0,1,17,98,354,979,2275,2276,2292,2373,2629,3254,4550,6951,6967,7048,7304,7929,9225,11626,15722,15803,16059,16684,17980,20381,24477,31038,31294,31919,33215,35616,39712,46273,56273,56898,58194,60595,64691,71252,81252,95893,97189,99590,103686,...
; ; ZX Spectrum specific routines ; by Stefano Bodrato, 14/09/2006 ; ; int zx_fullerstick(); ; ; The result is: ; - 1 (true) if a fuller Joystickstick is present ; - 0 (false) otherwise ; ; $Id: zx_fullerstick.asm,v 1.3 2016/06/10 20:02:05 dom Exp $ ; SECTION code_clib PUBLIC zx_fullerstick PUBLIC _zx_fullerstick ...
// Copyright 2019 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 "base/command_line.h" #include "base/macros.h" #include "chrome/browser/search/instant_service.h" #include "chrome/browser/search/instant_service...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r15 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x1b704, %rsi lea addresses_A_ht+0xa504, %rdi nop nop nop nop xor %rdx, %rdx mov $113, %rcx rep movsl and %r15, %r15 lea addresses_A_ht+0x3d94, %r11 cmp $19532, %rbp movb (%r11), %dl nop...
; char *ltoa(unsigned long num, char *buf, int radix) SECTION code_clib SECTION code_stdlib PUBLIC ltoa_callee EXTERN asm_ltoa ltoa_callee: pop af pop bc pop ix pop hl pop de push af jp asm_ltoa
#include "main_window.h" #include "camera_window.h" #include "touch_window.h" #include "accelerometer_window.h" #include "compass_window.h" #include "new_sandbox_dialog.h" #include "sandbox_window.h" #include "ui_main_window.h" #include <QDockWidget> MainWindow::MainWindow() : QMainWindow(nullptr), ui(new Ui::MainWi...
; ; Generic pseudo graphics routines for text-only platforms ; Version for the 2x3 graphics symbols ; ; Written by Stefano Bodrato 14/12/2006 ; ; ; Divide by three lookup table ; ; ; $Id: div3.asm,v 1.4 2016-06-16 19:53:50 dom Exp $ ; SECTION rodata_clib PUBLIC div3 .div3 ; 0 1 2 3 4 5...
// Copyright (c) 2018 Timothy Davison. All rights reserved. #include "LifeBrush.h" #include "Simulation/FlexElements.h" #include "ShipEditorSimulation/MeshSimulation.h" #include "Visualization/Timeline.h" #include "SimulationSnapshotActor.h" #include "MolecularLego/MolecularLego_Relaxation.h" #include "Utility.h" #i...
; A132756: a(n) = n*(n + 27)/2. ; 0,14,29,45,62,80,99,119,140,162,185,209,234,260,287,315,344,374,405,437,470,504,539,575,612,650,689,729,770,812,855,899,944,990,1037,1085,1134,1184,1235,1287,1340,1394,1449,1505,1562,1620 add $0,14 bin $0,2 mov $1,$0 sub $1,91
; A069894: Centered square numbers: a(n) = 4*n^2 + 4*n + 2. ; 2,10,26,50,82,122,170,226,290,362,442,530,626,730,842,962,1090,1226,1370,1522,1682,1850,2026,2210,2402,2602,2810,3026,3250,3482,3722,3970,4226,4490,4762,5042,5330,5626,5930,6242,6562,6890,7226,7570,7922,8282,8650,9026,9410,9802,10202,10610,11026,11450,11882,...
; void __CALLEE__ HeapSbrk_callee(void *heap, void *addr, unsigned int size) ; 12.2006 aralbrec SECTION code_clib PUBLIC HeapSbrk_callee PUBLIC _HeapSbrk_callee PUBLIC ASMDISP_HEAPSBRK_CALLEE EXTERN HeapFree_callee EXTERN ASMDISP_HEAPFREE_CALLEE .HeapSbrk_callee ._HeapSbrk_callee pop af pop bc pop hl po...
; A215917: a(n) = -3*a(n-1) + a(n-3), with a(0)=0, a(1)=6, and a(2)=-15. ; Submitted by Jon Maiga ; 0,6,-15,45,-129,372,-1071,3084,-8880,25569,-73623,211989,-610398,1757571,-5060724,14571774,-41957751,120812529,-347865813,1001639688,-2884106535,8304453792,-23911721688,68851058529,-198248721795,570834443697,-16436522725...
/* * Copyright (c) 2019 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...