text
stringlengths
1
1.05M
; A186575: Expansion of (1 + 2*x + 6*x^2)/(1 - x - x^2 - 2*x^3) in powers of x. ; 1,3,10,15,31,66,127,255,514,1023,2047,4098,8191,16383,32770,65535,131071,262146,524287,1048575,2097154,4194303,8388607,16777218,33554431,67108863,134217730,268435455,536870911,1073741826,2147483647,4294967295,8589934594,17179869183,343597...
; A301673: Partial sums of A301672. ; 1,5,13,26,43,63,88,118,151,188,230,276,326,380,438,501,568,638,713,793,876,963,1055,1151,1251,1355,1463,1576,1693,1813,1938,2068,2201,2338,2480,2626,2776,2930,3088,3251,3418,3588,3763,3943,4126,4313,4505,4701,4901,5105,5313,5526,5743,5963,6188,6418,6651 mov $1,2 lpb $0 sub $0,1 ...
/* * Copyright (c) 2013-2016, Georgia Tech Research Corporation * All rights reserved. * * Author(s): Tobias Kunz <tobias@gatech.edu> * * Georgia Tech Graphics Lab and Humanoid Robotics Lab * * Directed by Prof. C. Karen Liu and Prof. Mike Stilman * <karenliu@cc.gatech.edu> <mstilman@cc.gatech.edu> * * This ...
; vim:filetype=nasm ts=8 ; libFLAC - Free Lossless Audio Codec library ; Copyright (C) 2001-2009 Josh Coalson ; Copyright (C) 2011-2013 Xiph.Org Foundation ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions ; are ...
; A340757: Counterexamples to a conjecture of Ramanujan about congruences related to the partition function. ; Submitted by Jon Maiga ; 243,586,1272,2301,2644,2987,3673,4702,5045,5388,6074,7103,7446,7789,8475,9504,9847,10190,10876,11905,12248,12591,13277,14306,14649,14992,15678,16707,17050,17393,18079,19108,19451,19794...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r8 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x14088, %rsi lea addresses_D_ht+0x1d95a, %rdi nop nop nop xor $46290, %rbx mov $116, %rcx rep movsw nop cmp %r14, %r14 lea addresses_WT_ht+0x378a, %rax nop nop nop add $22573, ...
; A168119: n*(n^10+1)/2. ; 0,1,1025,88575,2097154,24414065,181398531,988663375,4294967300,15690529809,50000000005,142655835311,371504185350,896080197025,2024782584839,4324877929695,8796093022216,17135948153825,32134205039625,58245129449119,102400000000010,175138750271121,292159150705675,476404878956975,760840571584524,...
;***************************************************************************** ;* x86-optimized functions for ssim filter ;* ;* Copyright (C) 2015 Ronald S. Bultje <rsbultje@gmail.com> ;* ;* This file is part of FFmpeg. ;* ;* FFmpeg is free software; you can redistribute it and/or ;* modify it under the terms of the GN...
<% import collections import pwnlib.abi import pwnlib.constants import pwnlib.shellcraft import six %> <%docstring>socketcall_sendmsg(vararg_0, vararg_1, vararg_2, vararg_3, vararg_4) -> str Invokes the syscall socketcall_sendmsg. See 'man 2 socketcall_sendmsg' for more information. Arguments: vararg(int): varar...
; A076632: Solve 2^n - 2 = 7(x^2 - x) + (y^2 - y) for (x,y) with x>0, y>0; sequence gives value of x. ; 1,1,1,2,1,3,4,2,9,6,12,23,1,46,45,47,136,43,229,314,144,771,484,1058,2025,91,4140,3959,4321,12238,3597,20879,28072,13686,69829,42458,97200,182115,12285,376514,351945,401083,1104972,302807 add $0,2 seq $0,78020 ; Exp...
#include "rx/core/serialize/encoder.h" #include "rx/core/math/shape.h" #include "rx/core/utility/byte_swap.h" namespace Rx::Serialize { using namespace Rx::Utility; Optional<Encoder> Encoder::create(Memory::Allocator& _allocator, Stream::Context& _stream) { if (!(_stream.flags() & Stream::WRITE)) { // Strea...
#include "Platform.inc" #include "FarCalls.inc" #include "Timer0.inc" #include "Smps.inc" #include "TestFixture.inc" radix decimal IsEnabledAfterDisabledTest code global testArrange testArrange: fcall initialiseTimer0 fcall initialiseSmps fcall disableSmps fcall pollSmps fcall enableSmps waitUntilSmpsI...
/* * Copyright 2010-2016 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...
; A207597: Number of n X 6 0..1 arrays avoiding 0 0 0 and 0 1 0 horizontally and 0 0 1 and 1 0 1 vertically. ; 25,625,3025,9025,21025,42025,75625,126025,198025,297025,429025,600625,819025,1092025,1428025,1836025,2325625,2907025,3591025,4389025,5313025,6375625,7590025,8970025,10530025,12285025,14250625,16443025,18879025...
; A035021: One seventh of 9-factorial numbers. ; 1,16,400,13600,584800,30409600,1854985600,129848992000,10258070368000,902710192384000,87562888661248000,9281666198092288000,1067391612780613120000,132356559984796026880000 mov $1,1 mov $2,7 lpb $0 sub $0,1 add $2,9 mul $1,$2 lpe mov $0,$1
// Copyright David Stone 2015. // 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 "value_ptr.hpp" #include <algorithm> #include <cassert> #include <iostream> #include <tuple> #include <utility> #include <v...
#include "test/common/tcp_proxy/tcp_proxy_test_base.h" namespace Envoy { namespace TcpProxy { namespace { TEST(ConfigTest, DefaultTimeout) { const std::string yaml = R"EOF( stat_prefix: name cluster: foo )EOF"; NiceMock<Server::Configuration::MockFactoryContext> factory_context; Config config_obj(constructConf...
; A134142: List of quadruples: 2*(-4)^n, -3*(-4)^n, 2*(-4^n), 2*(-4)^n, n >= 0. ; 2,-3,2,2,-8,12,-8,-8,32,-48,32,32,-128,192,-128,-128,512,-768,512,512,-2048,3072,-2048,-2048,8192,-12288,8192,8192,-32768,49152,-32768,-32768,131072,-196608,131072,131072,-524288,786432,-524288,-524288,2097152,-3145728,2097152,2097152,-83...
; A189735: a(1)=3, a(2)=1, a(n)=3*a(n-1) + a(n-2) ; 3,1,6,19,63,208,687,2269,7494,24751,81747,269992,891723,2945161,9727206,32126779,106107543,350449408,1157455767,3822816709,12625905894,41700534391,137727509067,454883061592,1502376693843,4962013143121,16388416123206,54127261512739,178770200661423,590437863497008,1950...
; z_address !byte 0,0,0 ; z_address_temp !byte 0 set_z_address stx z_address + 2 sta z_address + 1 lda #$0 sta z_address rts +make_acorn_screen_hole dec_z_address pha dec z_address + 2 lda z_address + 2 cmp #$ff bne + dec z_address + 1 lda z_address + 1 cmp #$ff ...
; A099453: Expansion of 1/(1 - 7*x + 11*x^2). ; Submitted by Jamie Morken(s2) ; 1,7,38,189,905,4256,19837,92043,426094,1970185,9104261,42057792,194257673,897167999,4143341590,19134543141,88365044497,408075336928,1884511869029,8702754376995,40189650079646,185597252410577,857094615997933,3958092535469184,1827860697230702...
// Copyright (c) OpenMMLab. All rights reserved. #include <cuda_runtime.h> #include "core/utils/device_utils.h" #include "preprocess/transform/crop.h" using namespace std; namespace mmdeploy { namespace cuda { template <typename T, int channels> void Crop(const T* src, int src_w, T* dst, int dst_h, int dst_w, int ...
//================================================================================================= /*! // \file src/mathtest/dmatdmatsub/MDbM7x13a.cpp // \brief Source file for the MDbM7x13a dense matrix/dense matrix subtraction math test // // Copyright (C) 2013 Klaus Iglberger - All Rights Reserved // // This fi...
; A281746: Nonnegative numbers k such that k == 0 (mod 3) or k == 0 (mod 5). ; 0,3,5,6,9,10,12,15,18,20,21,24,25,27,30,33,35,36,39,40,42,45,48,50,51,54,55,57,60,63,65,66,69,70,72,75,78,80,81,84,85,87,90,93,95,96,99,100,102,105,108,110,111,114,115,117,120,123,125,126,129,130,132,135,138,140,141,144,145,147,150,153,155,1...
// // 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 the following disclaimer. // * Redistributions in bin...
/** * Copyright [2013-2014] [OHsystem] * * We spent a lot of time writing this code, so show some respect: * - Do not remove this copyright notice anywhere (bot, website etc.) * - We do not provide support to those who removed copyright notice * * OHSystem is free software: You can redistribute it and/or modify ...
// Copyright 2015 EssaBlockChain Development Foundation and contributors. Licensed // under the Apache License, Version 2.0. See the COPYING file at the root // of this distribution or at http://www.apache.org/licenses/LICENSE-2.0 #include "work/WorkManagerImpl.h" #include "work/Work.h" #include "work/WorkManager.h" #...
; A134165: Let P(A) be the power set of an n-element set A. Then a(n) = the number of pairs of elements {x,y} of P(A) for which either 0) x and y are disjoint and for which either x is a subset of y or y is a subset of x, or 1) x and y are disjoint and for which x is not a subset of y and y is not a subset of x, or 2) ...
bits 32 section .text align 4 dd 0x1BADB002 dd 0x00 dd - (0x1BADB002+0x00) global start extern init ; this function is gonna be located in our c code(kernel.c) extern advertise ; yum start: cli ;clears the interru...
; ######################################################################### .386 .model flat, stdcall option casemap :none ; case sensitive ; ######################################################################### include \masm32\include\windows.inc include \masm32\include\kernel3...
/** * Copyright 2011-2013 - Reliable Bits Software by Blommers IT. All Rights Reserved. * Author Rick Blommers */ #include "util.h" #include <QString> #include "edbee/debug.h" namespace edbee { /// Converst all tabs to sapces of the given string, using the current tab/indent settings /// It converts "\t" to sp...
// Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2017 The PIVX developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "netbase.h" #include "masternodeconfig.h" #include "util.h" #include "ui_...
; A095669: Seventh column (m=6) of (1,4)-Pascal triangle A095666. ; 4,25,91,252,588,1218,2310,4092,6864,11011,17017,25480,37128,52836,73644,100776,135660,179949,235543,304612,389620,493350,618930,769860,950040,1163799,1415925,1711696,2056912,2457928,2921688,3455760,4068372 mov $1,$0 add $0,5 bin $0,$1 add $1,24 mul $0...
; A056159: a(n)=floor[10^(n-1)/n]. ; 1,5,33,250,2000,16666,142857,1250000,11111111,100000000,909090909,8333333333,76923076923,714285714285,6666666666666,62500000000000,588235294117647,5555555555555555 mov $1,10 mov $3,1 add $3,$0 mov $2,$0 pow $1,$2 div $1,$3
<% import collections import pwnlib.abi import pwnlib.constants import pwnlib.shellcraft import six %> <%docstring>fcntl64(vararg_0, vararg_1, vararg_2, vararg_3, vararg_4) -> str Invokes the syscall fcntl64. See 'man 2 fcntl64' for more information. Arguments: vararg(int): vararg Returns: long </%docstring>...
Name: zel_sut1.asm Type: file Size: 67193 Last-Modified: '2016-05-13T04:23:03Z' SHA-1: D0F3ADD00907228A447F06487BA2D5A5EAD5930A Description: null
0x00002920 nop; //---------------- 0x00002938 nop; //---------------- 0x00002950 move.l 0x2220,A0 ; //0, 0x00002968 jsr ix 0x00002980 move.l 0x2220,A0 ; //0, 0x00002998 move.l 0x2250,A1 ; //0, 0x000029b0 move.L (A0),(A1) 0x000029c8 xor.q D0,D0 0x000029e0 move.l 0x2140,A0 ; //640, 0x000029f8 move.w (A0),D...
IDEAL ASSUME CS:SEG2, DS:SEG2, ES:SEG2, SS:SEG2 SEGMENT SEG2 PUBLIC EXTRN _XBYTE: BYTE, _XWORD: WORD, _XCODE: PROC ; r/m8 displacement mov dh, [_XBYTE] mov dh, [SI+_XBYTE] ; r/m16 displacement mov dx, [_XWORD] mov dx, [SI+_XWORD] ; moffs8 displacement mov al, [_XBYTE] ; moffs16 displacement mov ax, [...
db "COTTONWEED@" ; species name db "It can be carried" next "away on even the" next "gentlest breeze." page "It may even float" next "all the way to the" next "next town.@"
; A173737: (10^n+44)/9 for n>0. ; Submitted by Jamie Morken(m1) ; 6,16,116,1116,11116,111116,1111116,11111116,111111116,1111111116,11111111116,111111111116,1111111111116,11111111111116,111111111111116,1111111111111116,11111111111111116,111111111111111116,1111111111111111116,11111111111111111116,111111111111111111116,11...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r15 push %r8 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x18989, %r8 nop and %rsi, %rsi mov $0x6162636465666768, %r15 movq %r15, (%r8) nop nop add %rbx, %rbx lea addresses_D_ht+0xf293, %rbp nop nop nop nop nop and %rcx, %rcx mov $0x6...
# This seems to work, but I didn't check the distributions, or anything. #@ tests the rand instrcuction rand r1 rand r2 rand r3 rand r4 rand r5 rand r6 rand r7 rand r8 rand r9 rand r10 stop
[BotW_VSync_V208] moduleMatches = 0x6267BFD0 .origin = codecave setSwapInterval: li r11, $keepVsync cmpwi r11, 1 bne setSwapIntervalTo0 lis r11, fpsLimit@ha lfs f12, fpsLimit@l(r11) lis r11, const_30@ha lfs f10, const_30@l(r11) fcmpu cr0, f10, f12 beq setSwapIntervalTo2 # lis r11, const_60@ha # lfs f10, const_60@l(...
; A137694: Numbers k such that 6k^2-2k = 3n^2-n for some integer n>0. ; 5,5577,6435661,7426747025,8570459630997,9890302987423321,11413401077026881245,13171054952586033533217,15199386001883205670450981,17540078275118266757666898665,20241235130100477955141930608237,23358367800057676441967030255006641,26955536200031428513...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: print drivers FILE: cursorSetCursorTab72ASCII.asm AUTHOR: Dave Durran, 14 March 1990 ROUTINES: Name Description ---- ----------...
; A008728: Molien series for 3-dimensional group [2,n ] = *22n. ; 1,2,3,4,5,6,7,8,9,10,12,14,16,18,20,22,24,26,28,30,33,36,39,42,45,48,51,54,57,60,64,68,72,76,80,84,88,92,96,100,105,110,115,120,125,130,135,140,145,150,156,162,168,174,180,186,192,198,204,210,217,224,231,238,245,252,259,266,273,280,288,296,304,312,320,32...
; A282154: Coefficients in expansion of Eisenstein series -q*(d/dq)(q*(d/dq)E_2). ; 0,24,288,864,2688,3600,10368,9408,23040,25272,43200,34848,96768,56784,112896,129600,190464,124848,303264,173280,403200,338688,418176,304704,829440,465000,681408,699840,1053696,605520,1555200,738048,1548288,1254528,1498176,1411200,283046...
; ; Copyright (c) 2020 Phillip Stevens ; ; 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/. ; ; feilipu, August 2020 ; ;-----------------------------------------------...
; ######################################################################## MergeFile proc hEdit:DWORD LOCAL poz :DWORD LOCAL hFile :DWORD LOCAL hMem :DWORD LOCAL ln :DWORD LOCAL br :DWORD LOCAL Cr :CHARRANGE mov szFileName[0],0 invoke GetFileName,hWnd,ADDR szTitleM,ADDR sz...
; ; ZX 81 specific routines ; by Stefano Bodrato, Oct 2007 ; ; Copy a string to a BASIC variable ; ; int __CALLEE__ zx_setstr_callee(char variable, char *value); ; ; ; $Id: zx_setstr_callee.asm,v 1.4 2015/08/11 07:16:36 stefano Exp $ ; PUBLIC zx_setstr_callee PUBLIC ASMDISP_ZX_SETSTR_CALLEE EXTERN asctozx81 zx_setstr...
#pragma once #include "pixel_neon_base.hpp" namespace pxl { //---------------------------------------------------------------------- // vmul_n_type //---------------------------------------------------------------------- int16x4_t vmul_n_s16(int16x4_t N, int16_t M); int32x2_t vmul_n_s32(int32x2_t N, int32_t M); uint...
// Copyright 2018 Julius Roob <julius@juliusroob.de> // // 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...
RECODE EQU 9AH ROCODE EQU 98H RWDATA EQU 92H RODATA EQU 90H TASKGATE286 EQU 81h LDTGATE EQU 82h TASKGATE286B EQU 83h CALLGATE286 EQU 84h TASKGATE EQU 85h INTRGATE286 EQU 86h TRAPGATE286 EQU 87h TSSSEG EQU 89h TSSSEGB EQU 8bh CALLGATE EQU 8ch INTRGATE EQU 8eh TRAPGATE EQU 8fh...
/* Copyright (c) 2017 - 2021 Advanced Micro Devices, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, mer...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r14 push %r9 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x1162a, %r9 nop nop cmp $22424, %r13 movw $0x6162, (%r9) nop nop nop nop nop and $14487, %rbx lea addresses_normal_ht+0x15f9c, %r14 nop sub $25187, %rax mo...
; A127986: a(n) = n! + 2^n - 1. ; 1,2,5,13,39,151,783,5167,40575,363391,3629823,39918847,479005695,6227028991,87178307583,1307674400767,20922789953535,355687428227071,6402373705990143 mov $2,2 pow $2,$0 mov $3,$0 fac $3 add $3,$2 sub $3,2 mov $1,$3 add $1,1
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD+Patents license found in the * LICENSE file in the root directory of this source tree. */ // Copyright 2004-present Facebook. All Rights Reserved // -*- c++ -*- #include "MetaIndexes.h" #inclu...
// Copyright (c) 2014-2017 The Dash Core developers // Copyright (c) 2017-2018 The BitcoinNode Core developers #include "cachemultimap.h" #include "test/test_bitcoinnode.h" #include <algorithm> #include <iostream> #include <boost/test/unit_test.hpp> BOOST_FIXTURE_TEST_SUITE(cachemultimap_tests, BasicTestingSetup) ...
; uint __CALLEE__ zx_attr_callee(uchar row, uchar col) ; aralbrec 06.2007 SECTION code_clib PUBLIC zx_attr_callee PUBLIC _zx_attr_callee PUBLIC asm_zx_attr EXTERN asm_zx_cyx2aaddr .zx_attr_callee ._zx_attr_callee pop hl pop de ex (sp),hl ld h,l ld l,e .asm_zx_attr ; h = char Y 0..23 ; l = ...
; A010694: Period 2: repeat (2,4). ; 2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2 gcd $0,2 mov $1,4 div $1,$0
/********************************************************************** Audacity: A Digital Audio Editor Grid.cpp Leland Lucius *******************************************************************//** \class Grid \brief Supplies an accessible grid based on wxGrid. *//*****************************************...
; A002296: Number of dissections of a polygon: binomial(7n,n)/(6n+1). ; 1,1,7,70,819,10472,141778,1997688,28989675,430321633,6503352856,99726673130,1547847846090,24269405074740,383846168712104,6116574500860880,98106248306858715,1582638261961640247,25661404527790252375,417980115131315136400,6836064539925118356600,112217...
; A021410: Decimal expansion of 1/406. ; Submitted by Jamie Morken(m2) ; 0,0,2,4,6,3,0,5,4,1,8,7,1,9,2,1,1,8,2,2,6,6,0,0,9,8,5,2,2,1,6,7,4,8,7,6,8,4,7,2,9,0,6,4,0,3,9,4,0,8,8,6,6,9,9,5,0,7,3,8,9,1,6,2,5,6,1,5,7,6,3,5,4,6,7,9,8,0,2,9,5,5,6,6,5,0,2,4,6,3,0,5,4,1,8,7,1,9,2 seq $0,83811 ; Numbers n such that 2n+1 is the d...
;//########################################################################### ;// ;// FILE: F2837xD_DBGIER.asm ;// ;// TITLE: Set the DBGIER register ;// ;// DESCRIPTION: ;// ;// Function to set the DBGIER register (for realtime emulation). ;// Function Prototype: void SetDBGIER(Uint16) ;// Usage: SetDBGIER(valu...
pong game, v1.2 written by Hrvoje Cavrak, 02/2019 szm=sza sma-szf define swap rcl 9s / Swap AC and IO registers macro rcl 9s terminate define point A, B / Draw a point at (x+A, y+B) law B add y sal 8s swap law A add x sal 8s dpy-i +300 terminate / Ball consists of 8 points defin...
#define __STDC_FORMAT_MACROS #include <torch/csrc/python_headers.h> #include <structmember.h> #include <vector> #include <stack> #include <tuple> #include <torch/csrc/cuda/THCP.h> #include <torch/csrc/cuda/override_macros.h> #include <torch/csrc/copy_utils.h> #include <torch/csrc/DynamicTypes.h> #include <torch/csrc...
.MODEL SMALL .STACK 100h .CODE MAIN PROC MOV AX,@DATA MOV DS,AX MOV AH,4CH INT 21H MAIN ENDP END MAIN
#include "IntroWindow.h" #ifdef CONSPIRACY_LINUX #include <stdlib.h> Display *dpy; Window root; XVisualInfo *vi; Colormap cmap; XSetWindowAttributes swa; Window win; GLXContext glc; XWindowAttributes gwa; XEv...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r14 push %r8 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x10437, %r8 nop nop nop nop nop cmp $59340, %rdx movups (%r8), %xmm4 vpextrq $0, %xmm4, %r11 nop nop nop and $31387, %r8 lea addresses_normal_ht+0x5637, %r13 nop nop ...
#include <alg/sobel.hpp> #include <cmn/image.hpp> #include <cmn/image_utils.hpp> #include <cmn/log.hpp> #include <cmn/point.hpp> #include <math.h> #include <string.h> //for tests #include <adapter/image.hpp> #include <adapter/filesystem.hpp> #include <alg/paint.hpp> #include <alg/seg_object.hpp> //#include <alg/diagra...
; A248621: Floor of sums of the squares of the non-integer cube roots of n, as partitioned by the integer roots: floor[sum(j from n^3+1 to (n+1)^3-1, j^(2/3))]. ; 0,16,120,456,1240,2760,5376,9520,15696,24480,36520,52536,73320,99736,132720,173280,222496,281520,351576,433960,530040,641256,769120,915216,1081200,1268800,14...
PokemonTower6F_Object: db $1 ; border block def_warps warp 18, 9, 1, POKEMON_TOWER_5F warp 9, 16, 0, POKEMON_TOWER_7F def_signs def_objects object SPRITE_CHANNELER, 12, 10, STAY, RIGHT, 1, OPP_CHANNELER, 19 object SPRITE_CHANNELER, 9, 5, STAY, DOWN, 2, OPP_CHANNELER, 20 object SPRITE_CHANNELER, 16, 5, STA...
; Glidix kernel ; ; Copyright (c) 2014-2017, Madd Games. ; 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...
tsx lda STACK_BASE+{c1},x sta {m1} lda STACK_BASE+{c1}+1,x sta {m1}+1 lda STACK_BASE+{c1}+2,x sta {m1}+2 lda STACK_BASE+{c1}+3,x sta {m1}+3
;print something without BIOS interrupts [bits 32] ;0xb8000 + 2 * (row * 80 + col) ;2 bytes, first char, second attribute WHITE_ON_BLACK equ 0x0f BEGIN_32: pusha mov ebx, 0xb8000 mov al, [TEST_DATA] mov ah, WHITE_ON_BLACK mov [ebx], ax popa ret TEST_DATA: db 'X'
UnknownDungeon1_h: db CAVERN ; tileset db UNKNOWN_DUNGEON_1_HEIGHT, UNKNOWN_DUNGEON_1_WIDTH ; dimensions (y, x) dw UnknownDungeon1Blocks, UnknownDungeon1TextPointers, UnknownDungeon1Script ; blocks, texts, scripts db $00 ; connections dw UnknownDungeon1Object ; objects
; A213714: Inverse function for injection A005187. ; 0,1,0,2,3,0,0,4,5,0,6,7,0,0,0,8,9,0,10,11,0,0,12,13,0,14,15,0,0,0,0,16,17,0,18,19,0,0,20,21,0,22,23,0,0,0,24,25,0,26,27,0,0,28,29,0,30,31,0,0,0,0,0,32,33,0,34,35,0,0,36,37,0,38,39,0,0,0,40,41,0,42,43,0,0,44,45,0,46,47,0,0,0,0,48,49,0,50,51,0 seq $0,213724 ; Largest ...
; ; System Call for REX6000 ; ; $Id: syscall6.asm,v 1.4 2002/04/17 21:30:25 dom Exp $ ; XLIB syscall6 .syscall6 ld ix,2 add ix,sp ld l,(ix+0) ;par 6 ld h,(ix+1) ld ($c00c),hl ld l,(ix+2) ;par 5 ld h,(ix+3) ld ($c00a),hl ld l,(ix+4) ;par 4 ld h,(ix+5) ld ($c008),hl ld l,(ix+6) ;par 3 ld h,(ix+7) ld ($...
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r13 push %r15 push %r8 push %r9 push %rbx push %rcx push %rdi push %rsi // Load lea addresses_WT+0xae47, %r15 nop nop sub %r13, %r13 vmovups (%r15), %ymm3 vextracti128 $0, %ymm3, %xmm3 vpextrq $0, %xmm3, %r8 nop nop nop de...
#include <iostream> #include "CondFormats/Calibration/interface/BlobComplex.h" void BlobComplexData::fill(unsigned int &serial) { a = ++serial; b = ++serial; for(unsigned int i = 0; i < 10; i++) values.push_back(++serial); } void BlobComplexData::print() const { std::cout << " a = " << a << std::e...
// // OpenSSLTestSuite.cpp // // Copyright (c) 2006, Applied Informatics Software Engineering GmbH. // and Contributors. // // SPDX-License-Identifier: BSL-1.0 // #include "NetSSLTestSuite.h" #include "HTTPSClientTestSuite.h" #include "TCPServerTestSuite.h" #include "HTTPSServerTestSuite.h" #include "WebSocketTestSu...
.model small .stack 100h .186 .386 .data arr1 dw 20 dup(?) ; массив чисел result db ' $' ; формат вывода nl dw 0Ah, 0Dh, '$' ; новая строка .code ;============================================================================== ; Процедура преобразования числа в форматированную строку ;=======...
/*============================================================================= Copyright (c) 2001-2014 Joel de Guzman 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) ====================================...
; A164304: a(n) = 4*a(n-1) - 2*a(n-2) for n > 1; a(0) = 3, a(1) = 14. ; 3,14,50,172,588,2008,6856,23408,79920,272864,931616,3180736,10859712,37077376,126590080,432205568,1475642112,5038157312,17201345024,58729065472,200513571840,684596156416,2337357481984,7980237615104,27246235496448,93024466755584,317605396029440,1084...
; ; Copyright (c) 2020 Phillip Stevens ; ; 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/. ; ; feilipu, 2020 May ; ;--------------------------------------------------...
//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------...
;***************************************************************** ;* This stationery serves as the framework for a * ;* user application (single file, absolute assembly application) * ;* For a more comprehensive program that * ;* demonstrates the more advanced functionality of t...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r14 push %rcx push %rdi push %rsi lea addresses_UC_ht+0xa3d2, %rsi lea addresses_UC_ht+0x19ada, %rdi xor %r14, %r14 mov $3, %rcx rep movsb nop nop nop nop nop cmp %r13, %r13 lea addresses_D_ht+0x1d44e, %r10 nop sub $51101, %rcx mov $0x61626364656667...
; ; VGA ROM font, modified to ZX code page ; ; Extracted from: https://www.min.at/prinz/o/software/pixelfont/ ; SECTION rodata_font SECTION rodata_font_8x8 PUBLIC _zx7_font_8x8_vga_rom PUBLIC _zx7_font_8x8_vga_rom_end _zx7_font_8x8_vga_rom: BINARY "font_8x8_vga_rom.bin.zx7" _zx7_font_8x8_vga_rom_end:
copyright zengfr site:http://github.com/zengfr/romhack 001590 lea ($20,A0), A0 00249A move.l -(A6), (A4)+ [123p+ 6C, enemy+6C] 00249C rts [123p+ 6E, 123p+ 70, enemy+6E, enemy+70] 0024B6 move.l -(A6), (A4)+ [123p+ 6C, enemy+6C] 0024B8 rts [123p+ 6E, 123p+ 70, enemy+6E, enemy+70] 0024E8 move.l -(A6), (A4)+ ...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r9 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0xf279, %rsi lea addresses_A_ht+0x289a, %rdi sub %r14, %r14 mov $114, %rcx rep movsb nop nop nop nop and $50616, %r12 lea addresses_WC_ht+0x15df9, %rsi lea addresses_WC_ht+0x13...
// 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...
; A142285: Primes congruent to 36 mod 43. ; Submitted by Simon Strandgaard ; 79,251,337,509,853,1283,1627,2143,2659,2917,3089,3347,3433,3691,3863,4637,4723,5153,5669,5927,6271,6529,6701,6959,7561,9109,9281,9539,9883,10141,10313,10399,10657,11087,11173,11689,12119,12377,12721,12893,12979,13151,14011,14699,14957,15473,15...
<% from pwnlib.shellcraft.aarch64.linux import syscall %> <%page args="file, buf"/> <%docstring> Invokes the syscall lstat. See 'man 2 lstat' for more information. Arguments: file(char): file buf(stat): buf </%docstring> ${syscall('SYS_lstat', file, buf)}
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %r9 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x1717b, %r13 nop nop xor %rbx, %rbx movb (%r13), %al nop nop nop add $22156, %rbx lea addresses_A_ht+0x1aa53, %rsi lea addresses_normal_ht+0x1abab, %rdi clflush (%rsi) nop xor...
; A107970: a(n) = (n+1)*(n+2)^3*(n+3)*(2n+3)*(2n+5)/360. ; Submitted by Jamie Morken(s4) ; 1,21,168,825,3003,8918,22848,52326,109725,214291,394680,692055,1163799,1887900,2968064,4539612,6776217,9897537,14177800,19955397,27643539,37742034,50850240,67681250,89077365,116026911,149682456,191380483 mul $0,2 add $0,6 mov $1...
#include "Precompiled.h" const Matrix3x3 Matrix3x3::Identity(Vector3(1.f, 0.f, 0.f), Vector3(0.f, 1.f, 0.f), Vector3(0.f, 0.f, 1.f)); std::vector<std::string> Matrix3x3::ToStrings() const { std::vector<std::string> result; Matrix3x3 trMatrix = this->Tranpose(); for (BYTE i = 0; i < Rank; ++i) { char row[64]; ...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2015 The Bitcoin Core developers // Copyright (c) 2014-2019 The Titanium developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "miner.h" #include "...
; void p_forward_list_alt_push_back(p_forward_list_alt_t *list, void *item) SECTION code_clib SECTION code_adt_p_forward_list_alt PUBLIC p_forward_list_alt_push_back_callee EXTERN asm_p_forward_list_alt_push_back p_forward_list_alt_push_back_callee: pop af pop de pop bc push af jp asm_p_forward...
/* ** ** Copyright (C) 2018 Softbank Robotics Europe */ #pragma once #include <thread> #include <random> #include <chrono> #include <qi/anyobject.hpp> struct RemotePerformanceService { using nanosecs = std::int64_t; void setObject(qi::AnyObject obj) { objects.push_back(obj); } void setObjectList(std::v...