text
stringlengths
1
1.05M
<% from pwnlib.shellcraft.amd64.linux import syscall %> <%page args="mqdes, msg_ptr, msg_len, msg_prio, abs_timeout"/> <%docstring> Invokes the syscall mq_timedsend. See 'man 2 mq_timedsend' for more information. Arguments: mqdes(mqd_t): mqdes msg_ptr(char): msg_ptr msg_len(size_t): msg_len msg_p...
#pragma once #include <edizon.h> #include <string> #include <map> #include <memory> #include "types.h" #include "helpers/save.hpp" #include "helpers/account.hpp" class Title { public: static inline Title *g_currTitle; static inline std::map<u64, Title*> g_titles; static inline u64 g_activeTitl...
; ----- void __CALLEE__ setpos(int x2, int y2) SECTION code_graphics PUBLIC setpos_callee PUBLIC _setpos_callee PUBLIC asm_setpos EXTERN setxy .setpos_callee ._setpos_callee pop bc ; ret addr pop hl pop de push bc ; ret addr .asm_setpos ld...
[bits 64] get_thread equ 0x0100 get_priority equ 0x010C set_priority equ 0x011C exit_process equ 0x0210 section .text mov eax,get_thread syscall mov ebx,eax step: mov edx,ebx mov eax,get_priority syscall dec eax js exit mov edx,ebx mov r8d,eax mov eax,set_priority syscall test eax,eax jz step exit: mov edx,eax ...
; Program 6.1 ; Sum Program - NASM (32-bit) ; Copyright (c) 2017 Hall & Slonka section .data num1: dd 2 num2: dd 4 section .text global _main, _sum _main: mov eax, 10 dec eax mov ebx, 5 push DWORD[num2] push DWORD[num1] call _sum add esp, 8 add eax, ebx dec eax mov eax, 1 mov ebx, 0 int 80h _sum: push ebp mov eb...
.386 .model flat,C PUBLIC ctrlbrk ; Note that while under plain DOS, WDOSX INT23's will be swallowed by wdosx ; either. So, this function has been implemented as a dummy. The handler you ; provide will never be called. I think this is something we can live with. .code OurHandler: and byte ptr [esp+8],0feh ire...
dnl Alpha __gmpn_mul_1 -- Multiply a limb vector with a limb and store dnl the result in a second limb vector. dnl Copyright (C) 1992, 1994, 1995, 2000 Free Software Foundation, Inc. dnl This file is part of the GNU MP Library. dnl The GNU MP Library is free software; you can redistribute it and/or modify dnl ...
.data .text main: addi $a0, $zero, 50 addi $a1, $zero, 100 jal addNumbers li $v0, 1 move $a0, $v1 syscall # End Main li $v0, 10 syscall addNumbers: add $v1, $a0, $a1 jr $ra
; WARNING: do not edit! ; Generated from openssl/crypto/aes/asm/vpaes-x86_64.pl ; ; Copyright 2011-2020 The OpenSSL Project Authors. All Rights Reserved. ; ; Licensed under the OpenSSL license (the "License"). You may not use ; this file except in compliance with the License. You can obtain a copy ; in the fil...
/* Arduino SdFat Library * Copyright (C) 2009 by William Greiman * * This file is part of the Arduino SdFat Library * * This Library is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of t...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r14 push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x183f9, %rsi lea addresses_normal_ht+0xc625, %rdi nop nop nop and %r12, %r12 mov $97, %rcx rep movsl nop nop nop nop nop xor $28307, %r10 lea addresses_A_ht+0x11f5f, %rsi lea addresses_...
.size 8000 .text@48 jp lstatint .text@100 jp lbegin .data@143 c0 .text@150 lbegin: ld a, 00 ldff(ff), a ld a, 30 ldff(00), a ld a, 01 ldff(4d), a stop, 00 ld b, 98 call lwaitly_b ld a, 91 ldff(40), a ld a, 07 ldff(4b), a ld c, 41 ld a, 20 ldff(c), a ld a, 02 ldff(ff), a ei .text@1000 lstatint...
<% import collections import pwnlib.abi import pwnlib.constants import pwnlib.shellcraft %> <%docstring>sigsuspend(set) -> str Invokes the syscall sigsuspend. See 'man 2 sigsuspend' for more information. Arguments: set(sigset_t*): set Returns: int </%docstring> <%page args="set=0"/> <% abi = pwnlib.abi.A...
; ASM source file created by SevenuP v1.20 ; SevenuP (C) Copyright 2002-2006 by Jaime Tejedor Gomez, aka Metalbrain ;GRAPHIC DATA: ;Pixel Size: ( 24, 32) ;Char Size: ( 3, 4) ;Sort Priorities: X char, Char line, Y char ;Data Outputted: Gfx ;Interleave: Sprite ;Mask: No barbaro_saca_espa...
; PROLOGUE(mpn_submul_1) ; Copyright 2006 Jason Worth Martin <jason.worth.martin@gmail.com> ; ; Copyright 2008, 2009 Brian Gladman ; ; This file is part of the GNU MP Library. ; ; The GNU MP Library is free software; you can redistribute it and/or ; modify it under the terms of the GNU Lesser General Public Lice...
.file "101-hello_bootcamp.c" .section .rodata CLI .LC0: .string "Hello, Bootcamp" .text .globl main .type main, @function main: .LFB0: .cfi_startproc pushq %rcx .cfi_def_cfa_offset 16 .cfi_offset 6, -16 movq %rax, %rcx .cfi_def_cfa_register 6 movl $.LC0, %edi call puts movl $0, %eax popq %rcx .cfi_def_...
;***************************************************************************** ;* x86inc.asm: x264asm abstraction layer ;***************************************************************************** ;* Copyright (C) 2005-2016 x264 project ;* ;* Authors: Loren Merritt <lorenm@u.washington.edu> ;* Anton Mitrofan...
; A117855: Number of nonzero palindromes of length n (in base 3). ; 2,2,6,6,18,18,54,54,162,162,486,486,1458,1458,4374,4374,13122,13122,39366,39366,118098,118098,354294,354294,1062882,1062882,3188646,3188646,9565938,9565938,28697814,28697814,86093442,86093442,258280326,258280326,774840978 div $0,2 mov $1,3 pow $1,$0 m...
db 0 ; species ID placeholder db 90, 120, 100, 100, 150, 120 ; hp atk def spd sat sdf db WATER, DRAGON ; type db 3 ; catch rate db 255 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_UNKNOWN ; gender ratio db 100 ; unknown 1 db 120 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/palki...
; int stricmp(const char *s1, const char *s2) SECTION code_clib SECTION code_string PUBLIC _stricmp EXTERN _strcasecmp defc _stricmp = _strcasecmp
#note: r40 (the exception handler) and r46 (the start of usermode code) must #be specified in hex (0xwhatever) #I just don't see any reason not to, and it makes programming the script #much nicer to deal with... #load exception handler lc r40, 0x80000050 leh r40 #enable exceptions cle #load TLB ent...
org 0x0000 ori $1, $0, 0xffff push $1 pop $2 sw $1, 40($0) sw $2, 44($0) halt
; all the enemies include "enemyData.inc" ENEMY_CONFIGURATIONFLAG_RANDOM_JUMPING = $80 ENEMY_CONFIGURATIONFLAG_GRAVITY = $40 ENEMY_CONFIGURATIONFLAG_FLOOR_HANDLING = $20 ENEMY_CONFIGURATIONFLAG_XMOVEMENT = $10 ENEMY_CONFIGURATIONFLAG_XMOVEMENT_HALVE_SPEED = $08 ENEMY_CONFIGURATIONFLAG_COLLISION_JUMPI...
/** * @file posh.c * @author Brian Hook * @version 0.0. * @date 2002 * @brief Portable Open Source Harness primary source file */ #include "posh.h" #if !defined POSH_NO_FLOAT # define POSH_FLOAT_STRING "enabled" #else # define POSH_FLOAT_STRING "disabled" #endif #if defined POSH_64BIT_INTEGER # ...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2016 - 2022, Intel Corporation. All rights reserved.<BR> ; SPDX-License-Identifier: BSD-2-Clause-Patent ; ; Module Name: ; ; ExceptionHandlerAsm.Asm ; ; Abstract: ; ; IA32 CPU Exception Handler ; ; Notes: ...
/* Copyright (c) 2018-2019, The Linux Foundation. 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 ...
/* * 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 ...
; A197603: Floor((n+1/n)^4). ; 16,39,123,326,731,1446,2603,4358,6891,10406,15131,21318,29243,39206,51531,66566,84683,106278,131771,161606,196251,236198,281963,334086,393131,459686,534363,617798,710651,813606,927371,1052678,1190283,1340966,1505531,1684806,1879643,2090918,2319531,2566406,2832491,3118758,3426203,3755846,4...
; A305065: a(n) = 48*2^n - 24. ; 24,72,168,360,744,1512,3048,6120,12264,24552,49128,98280,196584,393192,786408,1572840,3145704,6291432,12582888,25165800,50331624,100663272,201326568,402653160,805306344,1610612712,3221225448,6442450920,12884901864,25769803752,51539607528,103079215080,206158430184,412316860392,8246337208...
// You are developing a smartphone app. You have a list of potential customers for your app. Each customer has a budget // and will buy the app at your declared price if and only if the price is less than or equal to the customer's budget. // // You want to fix a price so that the revenue you earn from the app is max...
/**************************************************************************** ** Meta object code from reading C++ file 'nofocuswidget.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.9) ** ** WARNING! All changes made in this file will be lost! *******************************************************...
; A067422: Seventh column of triangle A067417. ; 1,9,189,3969,83349,1750329,36756909,771895089,16209796869,340405734249,7148520419229,150118928803809,3152497504879989,66202447602479769,1390251399652075149,29195279392693578129,613100867246565140709,12875118212177867954889,270377482455735227052669,56779271315704397681060...
; A158131: 121n + 1. ; 122,243,364,485,606,727,848,969,1090,1211,1332,1453,1574,1695,1816,1937,2058,2179,2300,2421,2542,2663,2784,2905,3026,3147,3268,3389,3510,3631,3752,3873,3994,4115,4236,4357,4478,4599,4720,4841,4962,5083,5204,5325,5446,5567,5688,5809,5930,6051,6172,6293,6414,6535,6656,6777,6898,7019,7140,7261,7382,...
; This file is generated from a similarly-named Perl script in the BoringSSL ; source tree. Do not edit by hand. default rel %define XMMWORD %define YMMWORD %define ZMMWORD section .text code align=64 EXTERN GFp_ia32cap_P global GFp_aes_hw_encrypt ALIGN 16 GFp_aes_hw_encrypt: movups xmm2,XMMWORD[rcx] mov eax,DWOR...
data align 4 LABELV serverinfo_artlist address $68 address $69 address $70 address $71 byte 4 0 export Favorites_Add code proc Favorites_Add 280 12 ADDRGP4 $74 ARGP4 ADDRLP4 136 ARGP4 CNSTI4 128 ARGI4 ADDRGP4 trap_Cvar_VariableStringBuffer CALLV pop ADDRLP4 136 INDIRI1 CVII4 1 CNSTI4 0 NEI4 $75 ADDRGP4 $73 JUMPV LABELV...
; A086858: Let f(n) be the inverse of the function g(x) = x^x. Then a(n) = floor(f(n)). ; 1,1,1,2,2,2,2,2,2,2,2,2,2,2,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,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3 lpb $0 div $0,26 add $0,2...
; A301726: Coordination sequence for node of type V2 in "kra" 2-D tiling (or net). ; 1,5,11,16,21,27,33,38,43,49,54,59,65,70,75,81,87,92,97,103,108,113,119,124,129,135,141,146,151,157,162,167,173,178,183,189,195,200,205,211,216,221,227,232,237,243,249,254,259,265,270,275,281,286,291,297,303,308,313,319,324,329,335,340,...
; REPUBLIC! ; +-------+ Qark/VLAD ; ; ; This virus is named because I (and metabolis) support a republic for ; Australia. Fuck the Union Jack off from our flag... we want something ; Australian in there... and an Australian head of state not some pommy ; bitch Queen and her co...
; A268147: A double binomial sum involving absolute values. ; 0,16,512,12288,262144,5242880,100663296,1879048192,34359738368,618475290624,10995116277760,193514046488576,3377699720527872 mov $1,$0 add $0,$1 mul $0,2 lpb $0,1 mul $1,2 sub $0,1 lpe
; A269681: Number of length-6 0..n arrays with no repeated value differing from the previous repeated value by other than plus or minus one modulo n+1. ; 22,462,2976,12390,39156,102606,234912,485766,927780,1662606,2827776,4604262,7224756,10982670,16241856,23447046,33135012,45946446,62638560,84098406,111356916,145603662...
/******************************************************************************* * Copyright 2019-2021 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...
; A099892: XOR BINOMIAL transform of A003188 (Gray code numbers); also the main diagonal of the XOR difference triangle A099891. ; 0,1,3,0,6,0,0,0,12,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,96 mov $2,2 mov $9,$0 lpb $2,1 mov $0,$9 sub $2,1 a...
#include <gtest/gtest.h> #include <cpuinfo.h> #include <cpuinfo-mock.h> TEST(PROCESSORS, count) { ASSERT_EQ(4, cpuinfo_get_processors_count()); } TEST(PROCESSORS, non_null) { ASSERT_TRUE(cpuinfo_get_processors()); } TEST(PROCESSORS, smt_id) { for (uint32_t i = 0; i < cpuinfo_get_processors_count(); i++) { ASS...
; A010994: a(n) = binomial coefficient C(n,41). ; 1,42,903,13244,148995,1370754,10737573,73629072,450978066,2505433700,12777711870,60403728840,266783135710,1108176102180,4353548972850,16253249498640,57902201338905,197548686920970,647520696018735,2044802197953900,6236646703759395,18412956934908690,52728013040874885,1467...
.globl Tela52 Tela52: addi $10, $0, 0xcff8cf sw $10, 268500992($0) addi $10, $0, 0x00d800 sw $10, 268500996($0) addi $10, $0, 0x00d800 sw $10, 268501000($0) addi $10, $0...
# Seção de dados .data msg: .asciiz "O valor impresso no final deve ser 4 e não deve imprimir 'Erro'.\n" errotext: .asciiz "Erro\n" oktext: .asciiz "Valor final: " #Seção de texto .text la $a0, msg # coloca em a0 o parâmetro da chamada a syscall li $v0, 4 # 4 é o código para imprimir u...
; ; Project: WAV-1k ; ; File: main.asm ; ; Description: ; A simple WAV file player for the XPRESS evaluation board + SD Click in 1KB of code! ; Reads 8-bit Mono, uncompressed, 44kHz WAV files from a FAT16 formatted (<2GB) SD card. ; ; Copyright: Lucio Di Jasio - December 2016 ; ; License: Apache 2, see license fil...
// AI // This is where you build your AI #include "ai.hpp" // <<-- Creer-Merge: includes -->> - Code you add between this comment and the end comment will be preserved between Creer re-runs. // You can add #includes here for your AI. // <<-- /Creer-Merge: includes -->> namespace cpp_client { namespace chess { /// ...
; base area SMSQ Q68 Drivers 0.00 (C) W. Lenerz 2016 ; 2020-03-27 1.01 check whether kbd read via interrutps is possible section header xref smsq_end header_base dc.l gl_most-header_base ; length of header dc.l 0 ; module length unknown dc.l smsq_end-gl_most ; loaded length dc.l 0 ; checksum dc.l 0 ...
; ; Videoton TV Computer C stub ; Sandor Vass - 2019 ; ; Set pen position to X;Y (BC;DE) ; SECTION code_clib public setpos_callee public _setpos_callee public setpos public _setpos INCLUDE "target/tvc/def/tvc.def" .setpos_callee ._setpos_callee pop hl ; ret addr pop d...
#include <stdafx.h> #include <time.h> #include <iostream> #include <cmath> #include <random> #include <algorithm> #define GETRANDOM( min, max ) (((rand() % ((max) - (min) + 1))) + min) #define FLAME_HIDE 4 template<typename F> QColor interpolate(QColor a, QColor b, float t, F interpolator) { QColor fina...
; A025730: Index of 8^n within sequence of numbers of form 6^i*8^j. ; 1,3,6,10,15,21,28,37,47,58,70,83,97,113,130,148,167,187,208,231,255,280,306,333,361,391,422,454,487,521,556,592,630,669,709,750,792,835,880,926,973,1021,1070,1120,1172,1225,1279,1334,1390,1447,1506,1566,1627,1689 mov $2,$0 add $2,1 mov $4,$0 lpb $2 ...
/** * * Author: Juarez Paulino(coderemite) * Email: juarez.paulino@gmail.com * */ #include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; vector<int> a(n); for (int &u: a) cin >> u; for (int i = 0; i < n/2; i+=2) swap(a[i], a[n-i-1]); for (int i = 0; i < n; i++) cout << a[i] << " "; ...
/* Copyright (c) 2010-2019, Delft University of Technology * All rigths reserved * * This file is part of the Tudat. Redistribution and use in source and * binary forms, with or without modification, are permitted exclusively * under the terms of the Modified BSD license. You should have received *...
// Copyright (c) 2019-2020 The PIVX developers // Copyright (c) 2020-2021 The Sapphire Core Developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "qt/pivx/guitransactionsutils.h" #include "bitcoinunits.h" #include ...
C nettle, low-level cryptographics library C C Copyright (C) 2013 Niels Möller C C The nettle library is free software; you can redistribute it and/or modify C it under the terms of the GNU Lesser General Public License as published by C the Free Software Foundation; either version 2.1 of the License, or (at your C ...
; A051920: a(n) = binomial(n, floor(n/2)) + 1. ; 2,2,3,4,7,11,21,36,71,127,253,463,925,1717,3433,6436,12871,24311,48621,92379,184757,352717,705433,1352079,2704157,5200301,10400601,20058301,40116601,77558761,155117521,300540196,601080391,1166803111,2333606221,4537567651,9075135301,17672631901,35345263801,68923264411,137...
; A094991: a(n) = floor(9^n/7^n). ; 1,1,1,2,2,3,4,5,7,9,12,15,20,26,33,43,55,71,92,118,152,195,251,323,416,535,688,884,1137,1462,1880,2418,3109,3997,5139,6607,8495,10923,14043,18056,23215,29848,38376,49341,63439,81564,104868,134831,173354,222884,286565,368440,473709,609055,783071,1006806,1294464,1664312,2139829,2751209...
#pragma once #include "../base.hpp" struct str { u8 * data; u32 size = 0; str() : data(0), size(0) { } str(u8 * data, u32 size) : data(data), size(size) { } template<size_t N> str(const char (&s)[N]) : data((u8*)s), size(N - 1) { } }; str make_str(const char *); namespace logs { void _log(str); } using na...
; A036549: a(n) = T(8,n), array T given by A048471. ; 1,257,1025,3329,10241,30977,93185,279809,839681,2519297,7558145,22674689,68024321,204073217,612219905,1836659969,5509980161,16529940737,49589822465,148769467649,446308403201,1338925209857,4016775629825,12050326889729,36150980669441,108452942008577,325358826025985,97...
; A133071: a(n) = n^5 - n^3 + n^2. ; 0,1,28,225,976,3025,7596,16513,32320,58401,99100,159841,247248,369265,535276,756225,1044736,1415233,1884060,2469601,3192400,4075281,5143468,6424705,7949376,9750625,11864476,14329953,17189200,20487601,24273900,28600321,33522688,39100545,45397276,52480225,60420816,69294673,79181740,90...
_usertests: file format elf32-i386 Disassembly of section .text: 00000000 <main>: 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp 7: ff 71 fc pushl -0x4(%ecx) a: 55 push %ebp b: 89 e5 ...
// Copyright 2010-2014 Google // 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 in wri...
/* * Injectors - Base Header * * Copyright (C) 2012-2014 LINK/2012 <dma_2012@hotmail.com> * Copyright (C) 2014 Deji <the_zone@hotmail.co.uk> * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use ...
; check for SMS2 include win1_keys_qdos_sms include win1_mac_oli section utility xdef ut_sms2 ;+++ ; check for sms2 ; ; errors: ok, or sms2 only ;--- ut_sms2 subr a0-a3/d1-d3 moveq #sms.info,d0 trap #do.sms2 andi.l #$ff00ffff,d2 ; blank o...
;------------------------------------------------------------------------------ ; ; MemoryFence() for AArch64 ; ; Copyright (c) 2013, ARM Ltd. All rights reserved. ; ; SPDX-License-Identifier: BSD-2-Clause-Patent ; ;------------------------------------------------------------------------------ EXPORT Memor...
; A035008: Total number of possible knight moves on an (n+2) X (n+2) chessboard, if the knight is placed anywhere. ; 0,16,48,96,160,240,336,448,576,720,880,1056,1248,1456,1680,1920,2176,2448,2736,3040,3360,3696,4048,4416,4800,5200,5616,6048,6496,6960,7440,7936,8448,8976,9520,10080,10656,11248,11856,12480,13120,13776,14...
/*========================================================================= Program: GDCM (Grassroots DICOM). A DICOM library Copyright (c) 2006-2011 Mathieu Malaterre All rights reserved. See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details. This software is distributed WITHOUT A...
; A114762: a(n) = floor(3^(1/2)*10^n)^2. ; Submitted by Jamie Morken(s2) ; 1,289,29929,2999824,299982400,29999972025,2999997202500,299999997378064,29999999737806400,2999999998029351249,299999999976140205625,29999999999692481531536,2999999999996960966074624,299999999999973224736673344,29999999999999747344797930769,29999...
; A238533: Number of solutions to gcd(x^2 + y^2 + z^2 + t^2 + h^2, n) = 1 with x,y,z,t,h in [0,n-1]. ; 1,16,162,512,2500,2592,14406,16384,39366,40000,146410,82944,342732,230496,405000,524288,1336336,629856,2345778,1280000,2333772,2342560,6156502,2654208,7812500,5483712,9565938,7375872,19803868,6480000,27705630,16777216...
-- HUMAN RESOURCE MACHINE PROGRAM -- -- 14-Maximization-Room - SIZE 12/10 - SPEED 38/34 -- JUMP b a: COPYFROM 0 JUMP d b: c: INBOX COPYTO 0 INBOX COPYTO 1 SUB 0 JUMPN a COPYFROM 1 d: OUTBOX JUMP c
; A138322: a(n) = 5*a(n-1) + 10*a(n-2). ; Submitted by Jamie Morken(w4) ; 1,15,85,575,3725,24375,159125,1039375,6788125,44334375,289553125,1891109375,12351078125,80666484375,526843203125,3440880859375,22472836328125,146772990234375,958593314453125,6260696474609375 lpb $0 sub $0,1 mul $2,2 mov $3,$2 mul $4,5 ...
// Copyright (c) 2020, the THeBE contributors, as // shown by the AUTHORS file. All rights reserved. // // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include "config_data.h" #include <algorithm> #include "system_info.h" #include "utilities.h" using namespac...
;***************************************************************************** ;* Copyright (C) 2013-2017 MulticoreWare, Inc ;* ;* Authors: Min Chen <chenm003@163.com> ;* Nabajit Deka <nabajit@multicorewareinc.com> ;* Praveen Kumar Tiwari <praveen@multicorewareinc.com> ;* ;* This program is free softw...
// Test a for()-loop where the condition has a side-effect // Currently not standard C compliant (since the condition is not evaluated before the body) // Commodore 64 PRG executable file .file [name="loop-for-sideeffect.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .segment...
; 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_SFXFrame EXTERN asm_PSGlib_SFXStop EXTERN __PSGlib_SFXStatus, __PSGlib_SFX...
; A168879: Number of reduced words of length n in Coxeter group on 10 generators S_i with relations (S_i)^2 = (S_i S_j)^21 = I. ; 1,10,90,810,7290,65610,590490,5314410,47829690,430467210,3874204890,34867844010,313810596090,2824295364810,25418658283290,228767924549610,2058911320946490,18530201888518410,16677181699666569...
/* +------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | http://www.mrpt.org/ | | | | Cop...
.386 .model flat, stdcall includelib msvcrt.lib extern exit: proc extern printf : proc extern scanf : proc public start .data message db "Guess the number!", 10, "Give a number : ", 0 message_number_below db "The number you have to find is higher! ", 10, "Give another number : ", 0 message_number_abov...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r14 push %r15 push %r9 push %rcx push %rdi push %rsi lea addresses_UC_ht+0xa577, %rsi lea addresses_D_ht+0xf3e7, %rdi nop nop nop nop nop cmp $62260, %r15 mov $58, %rcx rep movsl nop nop nop nop mfence lea addresses_UC_ht+0xfbaf, %r13 nop nop xor $2...
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the MIT-style license found in the * LICENSE file in the root directory of this source tree. */ #include "flashlight/app/objdet/dataset/Coco.h" #include <arrayfire.h> #include <assert.h> #include ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r15 push %r9 push %rbp push %rsi lea addresses_normal_ht+0x11647, %r10 nop nop nop sub $4371, %rsi mov (%r10), %r15w nop nop nop nop add $32265, %r10 lea addresses_WC_ht+0x53a7, %rsi cmp %r14, %r14 movl $0x61626364, (%rsi) cmp %r9, %r9 lea addresses...
; ; Interrupt handler (IM2 mode) ; Interrupt_HEAPBLOCK_SIZE: equ 200H Interrupt_HOOK_SIZE: equ 5 Interrupt: MACRO table: dw 0 entry: dw 0 ENDM ; ix = this Interrupt_Construct: ld bc,Interrupt_HEAPBLOCK_SIZE push ix ld ix,Heap_main call Heap_AllocateAligned pop ix ld a,d cp 0C0H call c,System_ThrowExcep...
/** * Definition for singly-linked list. * struct ListNode { *     int val; *     ListNode *next; *     ListNode(int x) : val(x), next(NULL) {} * }; */ class Solution { public:    void deleteNode(ListNode* node) {                node -> val = node -> next -> val;         node -> next = node -> next -> next; ...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %r8 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x12173, %r13 nop nop sub %rsi, %rsi mov $0x6162636465666768, %rdx movq %rdx, %xmm7 movups %xmm7, (%r13) nop nop sub $34378, %rcx lea addresses_WC_ht+0x15d71, %rcx nop nop nop ...
// Geometric Tools, LLC // Copyright (c) 1998-2010 // Distributed under the Boost Software License, Version 1.0. // http://www.boost.org/LICENSE_1_0.txt // http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt // // File Version: 4.10.0 (2009/11/18) #include "Wm4FoundationPCH.h" #include "Wm4IntrLine3Co...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2015 - 2021, Intel Corporation. All rights reserved.<BR> ; SPDX-License-Identifier: BSD-2-Clause-Patent ; ; Module Name: ; ; MpFuncs.nasm ; ; Abstract: ; ; This is the assembly code for MP support ; ;------...
void CMdiView::OnInitialUpdate() { CView::OnInitialUpdate(); m_Edit.Create(ES_MULTILINE | WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_BORDER, CRect(10, 10, 100, 100), this, IDC_TTEDIT); EnableToolTips(TRUE); // enable tool tips for view } //Notification handler BOOL CMdiView::OnToolTipNotify(UIN...
// Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. // Provide implementation for new/delete operator for C++ code but only for our Linux // implementat...
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: IDifficultyBeatmap #include...
.macosx_version_min 10, 12 .section __TEXT,__literal4,4byte_literals .p2align 2 LCPI0_0: .long 8388608 # ---------------------- .section __TEXT,__text,regular,pure_instructions .p2align 4, 0x90 # ---------------------- .globl _ftoastr _ftoastr: pushl %ebp movl %esp, %ebp pushl %ebx p...
; memaanggil file 'fungsi.asm' %include 'fungsi.asm' SECTION .data pesan1 db 'bellshade', 0Ah pesan2 db 'assembly', 0Ah SECTION .text global _start _start: mov eax, pesan1 ; memanggil fungsi sprint ; yang terdpat pada file 'fungsi.asm' call sprint mov eax, pesan2 ; memanggil fungsi sprint ; yang terd...
#include <Processors/QueryPipeline.h> #include <Processors/ResizeProcessor.h> #include <Processors/LimitTransform.h> #include <Processors/Transforms/TotalsHavingTransform.h> #include <Processors/Transforms/ExtremesTransform.h> #include <Processors/Transforms/CreatingSetsTransform.h> #include <Processors/Transforms/Exp...
PrintSafariZoneBattleText: ld hl, wSafariBaitFactor ld a, [hl] and a jr z, .asm_4284 dec [hl] ld hl, SafariZoneEatingText jr .asm_429f .asm_4284 dec hl ld a, [hl] and a ret z dec [hl] ld hl, SafariZoneAngryText jr nz, .asm_429f push hl ld a, [wEnemyMonSpecies] ld [wd0b5], a call GetMonHeader ld a, [w...
/** * Copyright (C) 2016 10gen 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 useful...
; A001075: a(0) = 1, a(1) = 2, a(n) = 4*a(n-1) - a(n-2). ; 1,2,7,26,97,362,1351,5042,18817,70226,262087,978122,3650401,13623482,50843527,189750626,708158977,2642885282,9863382151,36810643322,137379191137,512706121226,1913445293767,7141075053842,26650854921601,99462344632562,371198523608647,1385331749802026,517012847559...
; A127804: a(2n)=4^n, a(4*n+3)-(2^(4*n+3)+2^(2*n+1))=a(n). ; Submitted by Jamie Morken(s3) ; 1,3,4,11,16,36,64,139,256,528,1024,2084,4096,8256,16384,32907,65536,131328,262144,524816,1048576,2098176,4194304,8390692,16777216,33558528,67108864,134225984,268435456 mul $0,2 add $0,2 mov $2,-1 lpb $0 dif $0,2 mov $1,2 ...
/* * Copyright (c) 2012 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...
#ifndef FETCHER_HPP #define FETCHER_HPP #include "tile.hpp" #include "either.hpp" #include <stdexcept> #include <memory> #include <future> #include <boost/optional.hpp> #include <boost/date_time/posix_time/posix_time_types.hpp> namespace avecado { /* Status codes for fetches. Because they're an easy short-hand, we ...
; 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...