text
stringlengths
1
1.05M
/* Copyright 2015 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...
<% import collections import pwnlib.abi import pwnlib.constants import pwnlib.shellcraft import six %> <%docstring>linkat(fromfd, from_, tofd, to, flags) -> str Invokes the syscall linkat. See 'man 2 linkat' for more information. Arguments: fromfd(int): fromfd from_(char*): from tofd(int): tofd to(ch...
; Raise the latch line so that we can lower it on a later line. sbi PORTC, 5
; A014993: a(n) = (1 - (-11)^n)/12. ; 1,-10,111,-1220,13421,-147630,1623931,-17863240,196495641,-2161452050,23775972551,-261535698060,2876892678661,-31645819465270,348104014117971,-3829144155297680,42120585708274481,-463326442791019290,5096590870701212191,-56062499577713334100,616687495354846675101,-6783562448903313426...
; A157948: a(n) = 64*n^2 - n. ; 63,254,573,1020,1595,2298,3129,4088,5175,6390,7733,9204,10803,12530,14385,16368,18479,20718,23085,25580,28203,30954,33833,36840,39975,43238,46629,50148,53795,57570,61473,65504,69663,73950,78365,82908,87579,92378,97305,102360,107543,112854,118293,123860,129555,135378,141329,147408,153615,...
object_const_def ; object_event constants OreburghMineB2F_MapScripts: db 0 ; scene scripts db 0 ; callbacks OreburghMineB2F_MapEvents: db 0, 0 ; filler db 1 ; warp events warp_event 13, 1, OREBURGH_MINE_B1F, 2 db 0 ; coord events db 0 ; bg events db 0 ; object events
.global s_prepare_buffers s_prepare_buffers: push %r15 push %r8 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x9d4c, %rsi lea addresses_D_ht+0xaccc, %rdi nop nop nop nop inc %rax mov $50, %rcx rep movsq nop nop nop xor %r8, %r8 lea addresses_WC_ht+0x62cc, %r15 nop add %rbx, %rbx m...
#define CGAL_TETRAHEDRAL_REMESHING_VERBOSE //#define CGAL_DUMP_REMESHING_STEPS //#define CGAL_TETRAHEDRAL_REMESHING_DEBUG //#define CGAL_TETRAHEDRAL_REMESHING_GENERATE_INPUT_FILES #include <CGAL/Exact_predicates_inexact_constructions_kernel.h> #include <CGAL/Tetrahedral_remeshing/Remeshing_triangulation_3.h> #include...
%include "include/u7bg-all-includes.asm" %include "../u7-common/patch-eop-processSliderInput.asm"
; ; Spectravideo SVI specific routines ; by Stefano Bodrato ; MSX emulation layer ; ; FILVRM ; ; ; $Id: svi_filvrm.asm,v 1.2 2009/06/22 21:44:17 dom Exp $ ; XLIB FILVRM INCLUDE "svi.def" FILVRM: push af call $373C ;SETWRT loop: pop af out (VDP_DATA),a push af dec bc ld a,b or c jr nz,loop pop a...
; A134195: Antidiagonal sums of square array A126885. ; 1,3,7,15,32,72,178,494,1543,5373,20581,85653,383494,1833250,9301792,49857540,281193501,1663183383,10286884195,66365330811,445598473612,3107611606908,22470529228910,168190079241210,1301213084182483,10391369994732593,85553299734530113 lpb $0 mov $2,$0 sub $0,1 ...
; A036542: a(n) = T(n, n), array T given by A047858. ; 1,3,11,34,93,236,571,1338,3065,6904,15351,33782,73717,159732,344051,737266,1572849,3342320,7077871,14942190,31457261,66060268,138412011,289406954,603979753,1258291176,2617245671,5435817958,11274289125,23353884644,48318382051,99857989602,206158430177,425201762272,87...
; A057105: Triangle of numbers (when unsigned) related to congruum problem: T(n,k)=k^2+2nk-n^2 with n>k>0 and starting at T(2,1)=1. ; Submitted by Jamie Morken(s4) ; 1,-2,7,-7,4,17,-14,-1,14,31,-23,-8,9,28,49,-34,-17,2,23,46,71,-47,-28,-7,16,41,68,97,-62,-41,-18,7,34,63,94,127,-79,-56,-31,-4,25,56,89,124,161,-98,-73,-4...
;============================================================== ; BIG EVIL CORPORATION .co.uk ;============================================================== ; SEGA Genesis Framework (c) Matt Phillips 2014 ;============================================================== ; debugger.asm - Cross Products SNASM2 debug...
default rel %define XMMWORD section .text code align=64 ALIGN 16 _x86_64_AES_encrypt: xor eax,DWORD[r15] xor ebx,DWORD[4+r15] xor ecx,DWORD[8+r15] xor edx,DWORD[12+r15] mov r13d,DWORD[240+r15] sub r13d,1 jmp NEAR $L$enc_loop ALIGN 16 $L$enc_loop: movzx esi,al movzx edi,bl movzx ebp,cl mov r10d,DWORD[rsi*...
; A014480: Expansion of (1+2*x)/(1-2*x)^2. ; 1,6,20,56,144,352,832,1920,4352,9728,21504,47104,102400,221184,475136,1015808,2162688,4587520,9699328,20447232,42991616,90177536,188743680,394264576,822083584,1711276032,3556769792,7381975040,15300820992,31675383808,65498251264,135291469824,279172874240,575525617664,11854109...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r15 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x1b598, %rbp nop nop nop xor %r13, %r13 movb $0x61, (%rbp) nop nop nop nop cmp $4985, %rcx lea addresses_WT_ht+0x9d89, %r13 nop and %r15, %r15 vmovups (%r13), %ymm2 vextracti...
; ; Copyright (c) 2013 - 2016, Linaro Limited ; All rights reserved. ; ; 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 lis...
#include "ncurses_display.h" #include <curses.h> #include <chrono> #include <string> #include <thread> #include <vector> #include "format.h" #include "system.h" using std::string; using std::to_string; // 50 bars uniformly displayed from 0 - 100 % // 2% is one bar(|) std::string NCursesDisplay::ProgressBar(float p...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0x7337, %rbp nop nop nop xor %rax, %rax movw $0x6162, (%rbp) cmp $20579, %r12 lea addresses_WC_ht+0x1da97, %r11 clflush (%r11) dec %rcx movb $0x61, (%r11) nop nop nop xor ...
; A130820: Decimal expansion of number whose Engel expansion is given by the sequence: 1,1,2,2,3,3,4,4,...Ceiling[n/2],... ; 2,8,7,0,2,2,2,1,5,6,9,7,3,3,9,6,3,3,0,8,1,9,4,5,8,8,6,5,8,1,1,1,9,9,6,0,1,2,4,0,3,1,9,2,6,2,2,8,0,9,9,5,7,0,1,2,0,3,1,2,7,7,3,6,2,7,2,8,5,0,3,8,0,7,6,8,0,3,7,5,2,7,8,4,5,6,3,9,2,3,6,1,5,0,7,1,4,8...
*= $0801 .byte $4c,$16,$08,$00,$97,$32 .byte $2c,$30,$3a,$9e,$32,$30 .byte $37,$30,$00,$00,$00,$a9 .byte $01,$85,$02 jsr print .byte 13 .text "(up)laxa" .byte 0 lda #%00011011 sta db lda #%11000110 st...
; A021291: Decimal expansion of 1/287. ; 0,0,3,4,8,4,3,2,0,5,5,7,4,9,1,2,8,9,1,9,8,6,0,6,2,7,1,7,7,7,0,0,3,4,8,4,3,2,0,5,5,7,4,9,1,2,8,9,1,9,8,6,0,6,2,7,1,7,7,7,0,0,3,4,8,4,3,2,0,5,5,7,4,9,1,2,8,9,1,9,8,6,0,6,2,7,1,7,7,7,0,0,3,4,8,4,3,2,0 add $0,1 mov $1,10 pow $1,$0 sub $1,6 mul $1,8 div $1,14 add $1,4 div $1,164 mod...
; A204255: Symmetric matrix given by f(i,j)=1+[(i+j) mod 4]. ; 3,4,4,1,1,1,2,2,2,2,3,3,3,3,3,4,4,4,4,4,4,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4 mov $1,1 lpb $0 sub $0,$1 trn $0,1 add $1,1 lpe add ...
/* Copyright (c) 2014-2018, NVIDIA CORPORATION. All rights reserved. * * 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 ...
;================================================================= ; ; Copyright (c) 2014, Teriks ; ; All rights reserved. ; ; libasm_io is distributed under the following BSD 3-Clause License ; ; Redistribution and use in source and binary forms, with or without modification, are permitted provided that the followin...
; A293137: a(0) = 0, and a(n) = floor(2*sqrt(n)) - 1 for n >= 1. ; 0,1,1,2,3,3,3,4,4,5,5,5,5,6,6,6,7,7,7,7,7,8,8,8,8,9,9,9,9,9,9,10,10,10,10,10,11,11,11,11,11,11,11,12,12,12,12,12,12,13,13,13,13,13,13,13,13,14,14,14,14,14,14,14,15,15,15,15,15,15,15,15,15,16,16,16,16,16,16,16,16,17,17,17,17,17,17,17,17,17,17,18,18,18,18...
/* * 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 ...
CGAFractal2 label byte word C_BLACK Bitmap <67,41,BMC_PACKBITS,BMF_MONO> db 0xf8, 0x00 db 0xfe, 0x00, 0x05, 0x05, 0x80, 0x00, 0xa2, 0x60, 0x00 db 0xfe, 0x00, 0x05, 0x0d, 0x53, 0x01, 0x84, 0x00, 0x00 db 0xfe, 0x00, 0x05, 0x07, 0x9b, 0xa0, 0xff, 0x00, 0x00 db 0x08, 0x00, 0x00, 0x18, 0xd8, 0x1c, ...
; =============================================================== ; May 2017 ; =============================================================== ; ; void *tshc_saddrpdown(void *saddr) ; ; Modify screen address to move down one pixel. ; ; =============================================================== SECTION code_clib S...
; A021411: Decimal expansion of 1/407. ; 0,0,2,4,5,7,0,0,2,4,5,7,0,0,2,4,5,7,0,0,2,4,5,7,0,0,2,4,5,7,0,0,2,4,5,7,0,0,2,4,5,7,0,0,2,4,5,7,0,0,2,4,5,7,0,0,2,4,5,7,0,0,2,4,5,7,0,0,2,4,5,7,0,0,2,4,5,7,0,0,2,4,5,7,0,0,2,4,5,7,0,0,2,4,5,7,0,0,2 mod $0,6 mul $0,2 mov $2,1 lpb $0 div $0,3 add $0,$2 add $0,1 mul $0,2 ...
<% from pwnlib.shellcraft.thumb import mov %> <%docstring> Crash. Example: >>> run_assembly(shellcraft.crash()).poll(True) < 0 True </%docstring> pop {r0-r12,lr} ldr sp, [sp, 64] bx r1
; A327606: Expansion of e.g.f. exp(x)*(1-x)*x/(1-2*x)^2. ; 0,1,8,69,712,8705,123456,1994293,36163184,727518177,16081980760,387499155461,10108673620728,283851555270049,8536572699232592,273759055527114165,9325469762472018016,336282091434597013313,12797935594025234906664,512609204063389138693957,21555874222152774037386920...
//Language: GNU C++ // // main.cpp // Practice // // Created by Neel Shah on 11/27/14. // Copyright (c) 2014 Neel Shah. All rights reserved. // #include <fstream> #include <iostream> #include <stdio.h> #include <algorithm> #include <vector> #include <string.h> #include <string> #include <map> #in...
; A038699: Smallest prime of form n*2^m-1, m >= 0, or 0 if no such prime exists. ; Submitted by Jamie Morken(s4) ; 3,3,2,3,19,5,13,7,17,19,43,11,103,13,29,31,67,17,37,19,41,43,367,23,199,103,53,223,463,29,61,31,131,67,139,71,73,37,311,79,163,41,5503,43,89,367,751,47,97,199,101,103,211,53,109,223,113,463,241663,59,487,6...
#include "agent.hh" #include "search_parameters.hh" #include "stepper.hh" #include "technique.hh"
#include "DistributedObject.h" #include <unordered_set> #include "core/global.h" #include "core/msgtypes.h" #include "dclass/dcClass.h" #include "dclass/dcField.h" #include "dclass/dcAtomicField.h" #include "dclass/dcMolecularField.h" using namespace std; DistributedObject::DistributedObject(StateServer *stateserver, ...
; A152725: a(n) = n*(n+1)*(n^4 + 2*n^3 - 2*n^2 - 3*n + 3)/2. ; 0,1,63,666,3430,12195,34461,83188,178956,352485,647515,1124046,1861938,2964871,4564665,6825960,9951256,14186313,19825911,27219970,36780030,48986091,64393813,83642076,107460900,136679725,172236051,215184438,266705866,328117455,400882545,486621136,587120688,7...
; Flat Assembler uses the Intel syntax. ; Effective for: ; Flat assembler version 1.64 ; emu8086 integrated assembler version 4.00-Beta-20 (or above) #fasm# ; this code is for FASM. org 100h name "fasmcomp" ; === [NOTE 1] ; calculate the sum of 'a' and 'b' jmp start ...
// cpu.cpp - written and placed in the public domain by Wei Dai #include "pch.h" #include "config.h" #ifndef EXCEPTION_EXECUTE_HANDLER # define EXCEPTION_EXECUTE_HANDLER 1 #endif #ifndef CRYPTOPP_IMPORTS #include "cpu.h" #include "misc.h" #include <algorithm> #ifndef CRYPTOPP_MS_STYLE_INLINE_ASSEMBLY #include <sig...
; A081006: a(n) = Fibonacci(4n) - 1, or Fibonacci(2n+1)*Lucas(2n-1). ; 2,20,143,986,6764,46367,317810,2178308,14930351,102334154,701408732,4807526975,32951280098,225851433716,1548008755919,10610209857722,72723460248140,498454011879263,3416454622906706,23416728348467684,160500643816367087,1100087778366101930,75401138047...
/* * Reflect Library by Parra Studios * A library for provide reflection and metadata representation. * * Copyright (C) 2016 - 2022 Vicente Eduardo Ferrer Garcia <vic798@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Licens...
// Copyright (C) 2014-2018 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #include <config.h> #include <cc/data.h> #inc...
; A134515: Third column (k=2) of triangle A134832 (circular succession numbers). ; Submitted by Christian Krause ; 1,0,0,10,15,168,1008,8244,73125,726440,7939008,94744494,1225760627,17088219120,255365758560,4072255216296,69021889788969,1239055874931312,23484788783212480,468656477004105810,9821896865573503095 add $0,1 ...
; A021422: Decimal expansion of 1/418. ; 0,0,2,3,9,2,3,4,4,4,9,7,6,0,7,6,5,5,5,0,2,3,9,2,3,4,4,4,9,7,6,0,7,6,5,5,5,0,2,3,9,2,3,4,4,4,9,7,6,0,7,6,5,5,5,0,2,3,9,2,3,4,4,4,9,7,6,0,7,6,5,5,5,0,2,3,9,2,3,4,4,4,9,7,6,0,7,6,5,5,5,0,2,3,9,2,3,4,4 add $0,1 mov $1,10 pow $1,$0 mul $1,6 div $1,2508 mod $1,10 mov $0,$1
#include "editaddressdialog.h" #include "ui_editaddressdialog.h" #include "addresstablemodel.h" #include "guiutil.h" #include <QDataWidgetMapper> #include <QMessageBox> EditAddressDialog::EditAddressDialog(Mode mode, QWidget *parent) : QDialog(parent), ui(new Ui::EditAddressDialog), mapper(0), mode(mode), mod...
db DEX_ABRA ; pokedex id db 25 ; base hp db 20 ; base attack db 15 ; base defense db 90 ; base speed db 105 ; base special db PSYCHIC ; species type 1 db PSYCHIC ; species type 2 db 200 ; catch rate db 73 ; base exp yield INCBIN "pic/bmon/abra.pic",0,1 ; 55, sprite dimensions dw AbraPicFront dw AbraPicBack ; attacks kn...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Copyright (c) 2011-2015 The Peercoin developers // Copyright (c) 2014-2015 The lendcoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mi...
; A268633: Number of n X 2 0..2 arrays with some element plus some horizontally or vertically adjacent neighbor totalling two exactly once. ; 3,24,120,504,1944,7128,25272,87480,297432,997272,3306744,10865016,35429400,114791256,369882936,1186176312,3788111448,12053081880,38225488248,120875192568,381221761176,11994538339...
#include <string> #include "ECS_AssetManager.h" ECS_AssetManager::ECS_AssetManager(ECS_EntityManager* entityManager) { } void ECS_AssetManager::AddTexture(std::string TextureID, std::string filePath) { textureID_map.emplace(TextureID, ECS_TextureManager::LoadTexture(filePath)); } void ECS_AssetManager::AddFont(std...
; A134917: a(n) = ceiling(n^(4/3)). ; 1,3,5,7,9,11,14,16,19,22,25,28,31,34,37,41,44,48,51,55,58,62,66,70,74,78,81,86,90,94,98,102,106,111,115,119,124,128,133,137,142,146,151,156,161,165,170,175,180,185,190,195,200,205,210,215,220,225,230,235,241,246,251,256,262,267,273,278,284,289,294,300,306,311,317,322,328,334,339,34...
#pragma once #include <string> #include <map> #include <xlnt/workstream/workstream_visitor.hpp> #include <xlnt/packaging/relationship.hpp> namespace xlnt { namespace detail { class workbook_rel_visitor : public workstream_visitor { struct relationship { std::string file_name; std::string...
; A045749: Extension of Beatty sequence; complement of A045750. ; 0,1,2,3,5,6,7,9,10,11,13,14,15,16,17,18,20,21,22,24,25,26,28,29,30,31,32,33,35,36,37,39,40,41,43,44,45,46,47,48,50,51,52,54,55,56,58,59,60,62,63,64,66,67,68 mov $4,$0 mov $5,1 lpb $5 mov $3,$0 sub $5,1 mov $6,2 lpb $6 mov $0,$3 sub $0,1 ...
#include <iostream> #include <stack> using namespace std; int main() { long long int test,i,a,x,y,sum,n,d,term; cin>>test; while(test--) { cin>>x>>y>>sum; n=(2*sum)/(x+y); d=(y-x)/(n-5); a=x-(2*d); term=a; cout<<n<<endl; for(i=0;i<n;i++) ...
SECTION code_driver SECTION code_driver_terminal_output PUBLIC sms_01_output_terminal_tty_z88dk_27_escape EXTERN error_zc sms_01_output_terminal_tty_z88dk_27_escape: ; output escaped char uninterpretted ; de = parameters * ld a,(de) ld c,a ; c = escaped char ; pop on...
/* Copyright (c) 2015-2019 The Khronos Group Inc. * Copyright (c) 2015-2019 Valve Corporation * Copyright (c) 2015-2019 LunarG, Inc. * Copyright (C) 2015-2019 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You m...
; A017084: a(n) = (8*n + 1)^8. ; 1,43046721,6975757441,152587890625,1406408618241,7984925229121,33232930569601,111429157112001,318644812890625,806460091894081,1853020188851841,3936588805702081,7837433594376961,14774554437890625,26584441929064321,45949729863572161,76686282021340161,124097929967680321,195408755062890625,...
#include <iostream> #include <algorithm> using namespace std; int n, m; char board[50][50]; int minimum = 1234567890; void Solve(const int row, const int col) { int repaint1, repaint2; repaint1 = repaint2 = 0; for (int i = row; i < row + 8; i++) { for (int j = col; j < col + 8; j++) { if ((i + j - row - c...
; A097110: Expansion of (1 + 2x - 2x^3) / (1 - 3x^2 + 2x^4). ; 1,2,3,4,7,8,15,16,31,32,63,64,127,128,255,256,511,512,1023,1024,2047,2048,4095,4096,8191,8192,16383,16384,32767,32768,65535,65536,131071,131072,262143,262144,524287,524288,1048575,1048576,2097151,2097152 mov $1,2 lpb $0 sub $0,2 mul $1,2 lpe add $1,$0 ...
/* * 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...
; this function is used to display sign messages, sprite dialog, etc. ; INPUT: [hSpriteIndexOrTextID] = sprite ID or text ID DisplayTextID:: ldh a, [hLoadedROMBank] push af farcall DisplayTextIDInit ; initialization ld hl, wTextPredefFlag bit 0, [hl] res 0, [hl] jr nz, .skipSwitchToMapBank ld a, [wCurMap] call...
; A184615: Positive parts of the nonadjacent forms for n ; 0,1,2,4,4,5,8,8,8,9,10,16,16,17,16,16,16,17,18,20,20,21,32,32,32,33,34,32,32,33,32,32,32,33,34,36,36,37,40,40,40,41,42,64,64,65,64,64,64,65,66,68,68,69,64,64,64,65,66,64,64,65,64,64,64,65,66,68,68,69,72,72,72,73,74,80,80,81,80,80,80,81,82,84,84,85,128,128,128,1...
hook_token_stop := $d9 - $ce hook_parser: db $83 ; hook signifier cp a,2 jr z,.maybe_stop xor a,a ret .maybe_stop: ld a,hook_token_stop ; check if stop token cp a,b ld a,ti.E_AppErr1 jp z,ti.JError xor a,a ret hook_app_change: db $83 ld c,a ; huh ld a,b cp a,ti.cxPrgmEdit ; only allow when editing ...
; A323724: a(n) = n*(2*(n - 2)*n + (-1)^n + 3)/4. ; 0,0,2,6,20,40,78,126,200,288,410,550,732,936,1190,1470,1808,2176,2610,3078,3620,4200,4862,5566,6360,7200,8138,9126,10220,11368,12630,13950,15392,16896,18530,20230,22068,23976,26030,28158,30440,32800,35322,37926,40700 lpb $0 sub $0,1 mov $2,$0 lpb $0 sub $0,...
/* * Copyright (c) [2020] Huawei Technologies Co., Ltd. All rights reserved. * * OpenArkCompiler is licensed under the Mulan Permissive Software License v2. * You can use this software according to the terms and conditions of the MulanPSL - 2.0. * You may obtain a copy of MulanPSL - 2.0 at: * * https://opensou...
db DEX_EEVEE ; pokedex id db 55, 55, 50, 55, 65 ; hp atk def spd spc db GRASS, GRASS ; type db 45 ; catch rate db 92 ; base exp INCBIN "gfx/pokemon/front/eevee.pic", 0, 1 ; sprite dimensions dw EeveePicFront, EeveePicBack db TACKLE, SAND_ATTACK, NO_MOVE, NO_MOVE ; level 1 learnset db GROWTH_MED...
<% from pwnlib.shellcraft.amd64.linux import syscall %> <%page args="pri, fmt, vararg"/> <%docstring> Invokes the syscall syslog. See 'man 2 syslog' for more information. Arguments: pri(int): pri fmt(char): fmt vararg(int): vararg </%docstring> ${syscall('SYS_syslog', pri, fmt, vararg)}
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // /** * @brief A header file that provides Allocator interface * * @file openvino/runtime/allocator.hpp */ #pragma once #include <cstddef> #include <memory> #include "openvino/core/core_visibility.hpp" namespace ov { namespace ...
; A005232: Expansion of (1-x+x^2)/((1-x)^2*(1-x^2)*(1-x^4)). ; 1,1,3,4,8,10,16,20,29,35,47,56,72,84,104,120,145,165,195,220,256,286,328,364,413,455,511,560,624,680,752,816,897,969,1059,1140,1240,1330,1440,1540,1661,1771,1903,2024,2168,2300,2456,2600,2769,2925,3107,3276,3472,3654,3864,4060,4285,4495,4735,4960,5216,5456,...
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r14 push %r15 push %r8 push %rbp push %rcx // Faulty Load lea addresses_D+0x1e5a5, %r10 nop nop sub $30303, %r15 mov (%r10), %cx lea oracles, %rbp and $0xff, %rcx shlq $12, %rcx mov (%rbp,%rcx,1), %rcx pop %rcx p...
; Format date V2.00  1988 Tony Tebby QJUMP section cv xdef cv_fdate xref cv_fditb xref cv_fdstb include 'dev8_keys_err' include 'dev8_keys_k' include 'dev8_keys_qlv' include 'dev8_keys_dat' include 'dev8_mac_assert' ;++...
;; (c) Copyright Kevin Thacker 2015-2016 ;; This code is part of the Arnold emulator distribution. ;; This code is free to distribute without modification ;; this copyright header must be retained. org &4000 scr_set_mode equ &bc0e txt_output equ &bb5a scr_set_border equ &bc38 km_wait_char equ &bb06 start: ld a,2 cal...
/* * Copyright 2019 Xilinx, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
#define BZ #include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/detail/standard_policies.hpp> using ll = int64_t; using ld = long double; using ull = uint64_t; using namespace std; using namespace __gnu_pbds; typedef vector <int> vi; typedef pair <int, int> ii; const int INF = 1 << 30;...
# Simple for loop: # for (int i = 0; i < x; i++) { # printf("%d", i); # } li $v0, 5 # load syscall read_int into $v0 syscall move $t0, $v0 # move number read (x) to $t0 li $t1, 0 # i for loop iteration Loop: beq $t1, $t0, Exit # break con...
// Copyright (c) 2021 DNV AS // // 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 #include "LengthX.h" #include "Formatting/FormattingService.h" #include "Formatting/DefaultDirectionalLengthFormatterService.h" n...
;; ;; Copyright (c) 2012-2022, 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...
; A018902: a(n+2) = 5*a(n+1) - 3*a(n). ; 1,4,17,73,314,1351,5813,25012,107621,463069,1992482,8573203,36888569,158723236,682950473,2938582657,12644061866,54404561359,234090621197,1007239421908,4333925245949,18647907964021,80237764082258,345245096519227,1485512190349361,6391825662189124,27502591739897537,1183374817129203...
; A101825: G.f.: x*(1+x)^2/(1-x^3). ; 0,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1,1,2,1 sub $0,1 mod $0,3 mov $1,2 bin $1,$0 mov $0,$1
; A101340: a(n) = prime(n)^prime(n)+prime(n). ; Submitted by Christian Krause ; 6,30,3130,823550,285311670622,302875106592266,827240261886336764194,1978419655660313589123998,20880467999847912034355032910590,2567686153161211134561828214731016126483498,17069174130723235958610643029059314756044734462,105551349557777834140...
/* Copyright 2015 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...
; A016968: a(n) = (6*n + 4)^12. ; 16777216,1000000000000,281474976710656,12855002631049216,232218265089212416,2386420683693101056,16777216000000000000,89762301673555234816,390877006486250192896,1449225352009601191936,4722366482869645213696,13841287201000000000000,37133262473195501387776,92420056270299898187776,21567115...
// Distributed under the MIT License. // See LICENSE.txt for details. #include "Framework/TestingFramework.hpp" #include <array> #include <cstddef> #include <functional> #include <memory> #include <optional> #include <ostream> #include <pup.h> #include <string> #include <utility> #include <vector> #include "DataStru...
;******************************************************************************************************** ; uC/OS-II ; The Real-Time Kernel ; ; (c) Copyright 1992-2016, Micrium, Weston, FL ; ...
////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2004-2020 musikcube team // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redist...
; PROLOGUE(mpn_karasub) ; mpn_karasub ; ; Copyright 2011 The Code Cavern ; ; Copyright 2012 Brian Gladman ; ; This file is part of the MPIR Library. ; ; The MPIR Library is free software; you can redistribute it and/or modify ; it under the terms of the GNU Lesser General Public Licen...
; A195605: a(n) = (4*n*(n+2)+(-1)^n+1)/2 + 1. ; 2,7,18,31,50,71,98,127,162,199,242,287,338,391,450,511,578,647,722,799,882,967,1058,1151,1250,1351,1458,1567,1682,1799,1922,2047,2178,2311,2450,2591,2738,2887,3042,3199,3362,3527,3698,3871,4050,4231,4418,4607,4802,4999,5202,5407,5618,5831,6050,6271,6498,6727,6962,7199,744...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r14 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_UC_ht+0xe947, %r11 nop nop nop add $57064, %r10 movb (%r11), %cl add %rcx, %rcx lea addresses_WT_ht+0x2854, %r10 nop add %r9, %r9 movb (%r10), %r8b cmp %rdi, %rdi lea addresses_UC_ht+...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r15 push %rcx push %rdi push %rsi lea addresses_A_ht+0x111ba, %r15 nop add $12613, %r10 movups (%r15), %xmm0 vpextrq $0, %xmm0, %rsi nop nop nop nop cmp $59231, %r13 lea addresses_A_ht+0x27ba, %rsi lea addresses_D_ht+0x38ca, %rdi nop and $62343, %r1...
Map_22544E: dc.w Frame_225460-Map_22544E ; ... dc.w Frame_225468-Map_22544E dc.w Frame_225476-Map_22544E dc.w Frame_225490-Map_22544E dc.w Frame_2254B6-Map_22544E dc.w Frame_2254DC-Map_22544E dc.w Frame_225502-Map_22544E dc.w Frame_225528-Map_22544E dc.w Frame_225542-Map_22544E Frame_225460: dc.w 1 dc...
// The IYFEngine // // Copyright (C) 2015-2018, Manvydas Šliamka // // 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 // condi...
/* * Copyright (C) 2005-2019 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * 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 ...
/** * \file TransverseMercatorExact.cpp * \brief Implementation for geographic_lib::TransverseMercatorExact class * * Copyright (c) Charles Karney (2008-2017) <charles@karney.com> and licensed * under the MIT/X11 License. For more information, see * https://geographiclib.sourceforge.io/ * * The relevant sectio...
COMMENT @---------------------------------------------------------------------- Copyright (c) GeoWorks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: Hello (Sample PC GEOS application) FILE: hello.asm REVISION HISTORY: Name Date Description ---- ---- ----------- Eric 11/90 Initial version ...
#include <ros.h> #include <std_msgs/String.h> #include <motor_control/motor_Values.h> #include <sensor_msgs/BatteryState.h> #include <std_msgs/Bool.h> #include <Arduino.h> #include <Servo.h> #define LIMITER 250 #define ESC_MAX_F_VALUE 2000-LIMITER #define ESC_MIN_F_VALUE 1528 //1528 #define ESC_MAX_R_VALUE 1000+LIMIT...
SECTION code_clib PUBLIC w_plotpixel defc NEEDplot = 1 .w_plotpixel INCLUDE "w_pixel.inc"
map_header MtMoon1F, MT_MOON_1F, CAVERN, 0 end_map_header
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r9 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_D_ht+0x4219, %rsi lea addresses_normal_ht+0xf419, %rdi nop cmp %r12, %r12 mov $118, %rcx rep movsb nop nop nop inc %r11 lea addresses_normal_ht+0xf59f, %rax nop nop nop nop nop sub $...
module SYSTEM ;------------------------------------ run: ld sp,#8000 call SOUND_PLAYER.SET_SOUND.mute xor a ld hl,varsStart ld de,varsStart + 1 ld bc,tablesEnd - varsStart - 1 ld (hl),a ldir ; inc a ; remove later out (254),a ; The main loop of the program. ; The main loop calls the required system by ide...
;-------------------------------------------------------------- ; ZX81 HRG library for the Memotech expansion ; by Stefano Bodrato, Feb. 2010 ;-------------------------------------------------------------- ; ; $Id: mt_pixladdr.asm,v 1.5 2016-07-14 17:44:17 pauloscustodio Exp $ ; SECTION code_clib PUBLIC pixeladdress ...