text
stringlengths
1
1.05M
; A044641: Numbers n such that string 1,0 occurs in the base 9 representation of n but not of n+1. ; 9,90,171,252,333,414,495,576,657,819,900,981,1062,1143,1224,1305,1386,1467,1548,1629,1710,1791,1872,1953,2034,2115,2196,2277,2358,2439,2520,2601,2682,2763,2844,2925,3006,3087,3168 mov $1,8 bin $1,$0 cmp $1,0 add $1,$0 ...
; check sorting of labels, especially when labels differ only in case DEVICE ZXSPECTRUM128 : ORG $8000 ; block 3. C ccccC rrca ccCcc rra Ccccc cpl cCccc ccf ccccc rlca ; block 2. B bbbbB rrca bbBbb rra Bbbbb cpl bBbbb ccf bbbbb rlca ; block 5. E eeee...
; Platform specific colour transformation ; ; Entry: a = colour ; Exit: a = colour to use on screen ; Used: hl,bc,f ; MODULE code_clib PUBLIC conio_map_colour EXTERN __CLIB_CONIO_NATIVE_COLOUR conio_map_colour: ld c,__CLIB_CONIO_NATIVE_COLOUR rr c ret c and 15 ld c,a ld...
/** * Copyright (c) 2000-2001 Aaron D. Gifford * Copyright (c) 2013-2014 Pavol Rusnak * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the ...
/* This file is part of VROOM. Copyright (c) 2015-2022, Julien Coupey. All rights reserved (see LICENSE). */ #include <asio.hpp> #include <asio/ssl.hpp> #include "routing/http_wrapper.h" using asio::ip::tcp; namespace vroom { namespace routing { const std::string HttpWrapper::HTTPS_PORT = "443"; HttpWrapper::H...
/* * FILE: 61.rotate_list.cpp * @author: Arafat Hasan Jenin <opendoor.arafat[at]gmail[dot]com> * LINK: https://leetcode.com/problems/rotate-list/ * DATE CREATED: 11-03-22 16:15:14 (+06) * LAST MODIFIED: 11-03-22 17:45:18 (+06) * VERDICT: Accepetd */ /** * Definition for singly-linked list. * struct ListNode {...
; ; ZX 81 specific routines ; by Stefano Bodrato, 29/07/2008 ; ; Copy a variable from basic ; ; int __CALLEE__ zx_setint_callee(char *variable, int value); ; ; $Id: zx_setint_callee.asm,v 1.6 2016-06-26 20:32:09 dom Exp $ ; SECTION code_clib PUBLIC zx_setint_callee PUBLIC _zx_setint_callee PUBLIC asm_zx_se...
/******************************************************************************* * Copyright (c) 1991, 2015 IBM Corp. and others * * This program and the accompanying materials are made available under * the terms of the Eclipse Public License 2.0 which accompanies this * distribution and is available at https://w...
;****************************************************************************** ;* MEMCPY.ASM - MEMCPY - v2.2.1 * ;* * ;* Copyright (c) 2013-2017 Texas Instruments Incorporated * ...
// Includes #include "LightBulb/IO/PolicyGradientLearningRuleIO.hpp" #include "LightBulb/NeuralNetwork/NeuralNetwork.hpp" #include "LightBulb/IO/TemplateDeclaration.hpp" // Libraray includes #include <cereal/cereal.hpp> #include <cereal/types/polymorphic.hpp> #include <cereal/access.hpp> namespace LightBulb { /** * ...
/* SjASMPlus Z80 Cross Compiler This is modified sources of SjASM by Aprisobal - aprisobal@tut.by Copyright (c) 2005 Sjoerd Mastijn 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 of this softwar...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r8 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x1cd4b, %rsi lea addresses_WT_ht+0x134eb, %rdi nop nop nop nop xor %r13, %r13 mov $53, %rcx rep movsb inc %r13 lea addresses_D_ht+0x204b, %rsi nop nop nop nop nop xor %r12, %r12...
strlen: enter 0,0 mov edx, [ ebp + 8 ] mov eax, 0 .back: test byte [ edx + eax ], 0xff jz .exit inc eax jmp .back .exit: leave ret
;=================================================================================================== ; PRESET DATA HEADER ;=================================================================================================== presetheader_lowleg: dw presetSRAM_lowleg ; location of SRAM dw presetpersistent_lowleg ; l...
; A123684: Alternate A016777(n) with A000027(n). ; 1,1,4,2,7,3,10,4,13,5,16,6,19,7,22,8,25,9,28,10,31,11,34,12,37,13,40,14,43,15,46,16,49,17,52,18,55,19,58,20,61,21,64,22,67,23,70,24,73,25,76,26,79,27,82,28,85,29,88,30,91,31,94,32,97,33,100,34,103,35,106,36,109,37,112,38,115,39,118,40,121,41,124,42,127,43,130,44,133,45...
; A143971: Triangle read by rows, (3n-2) subsequences decrescendo ; 1,4,1,7,4,1,10,7,4,1,13,10,7,4,1,16,13,10,7,4,1,19,16,13,10,7,4,1,22,19,16,13,10,7,4,1,25,22,19,16,13,10,7,4,1,28,25,22,19,16,13,10,7,4,1,31,28,25,22,19,16,13,10,7,4,1 mov $1,2 add $1,$0 mul $0,2 sub $1,1 add $0,$1 lpb $0,1 mov $1,$2 add $1,1 mo...
; A343639: a(n) = (Sum of digits of 9*n) / 9. ; 0,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,2,2,1,1,1,1,1,1,1,1,2,2,2,1,1,1,1,1,1,1,2,2,2,2,1,1,1,1,1,1,2,2,2,2,2,1,1,1,1,1,2,2,2,2,2,2,1,1,1,1,2,2,2,2,2,2,2,1,1,1,2,2,2,2,2,2,2,2,1,1,2,2,2,2,2,2,2,2,2 mul $0,9 seq $0,7953 ; Digital sum (i.e., sum of digits) of n; also cal...
/* * Copyright (C) 2009 Google Inc. 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 conditio...
// // Copyright (c) 2016 Advanced Micro Devices, Inc. All rights reserved. // // 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 rig...
; A105734: For n>2, a(n) > 0 is such that a(n-1)^2+4*a(n-2)*a(n) is a minimal square, with a(1)=1, a(2)=1. ; 1,1,2,3,2,1,1,2,3,2,1,1,2,3,2,1,1,2,3,2,1,1 bin $0,2 pow $0,3 mod $0,5 mov $1,$0 add $1,1
/* * Copyright (C) 2021-2022 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/helpers/ptr_math.h" #include "shared/test/common/helpers/debug_manager_state_restore.h" #include "shared/test/common/helpers/unit_test_helper.h" #include "shared/test/common/mocks/mock_allocation_propertie...
db 0 ; species ID placeholder db 80, 105, 65, 130, 60, 75 ; hp atk def spd sat sdf db ROCK, FLYING ; type db 45 ; catch rate db 202 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F12_5 ; gender ratio db 35 ; step cycles to hatch INCBIN "gfx/pokemon/aerodactyl/front.dimensions" db GROWTH_SLOW ;...
global main extern printf extern scanf extern getchar section .text main: Entry_main: ...
; local.asm ; Test of LOCAL, PROC and ENDP under CP/M. bdos equ 5 conout equ 2 org 100h jp hola exit db "Hello, local world\r\n", 0 showtext proc local hola, exit hola ld a, (hl) cp 0 jp z, exit push hl ld e, a ld c, conout call bdos pop hl inc hl jp hola exit ret endp ...
; CALLER LINKAGE FOR FUNCTION POINTERS SECTION code_clib PUBLIC vz_line PUBLIC _vz_line EXTERN vz_line_callee EXTERN ASMDISP_VZ_LINE_CALLEE .vz_line ._vz_line pop af pop bc pop de pop hl ld d,e ld e,l pop hl ex af,af ld a,l pop hl ld h,a push hl push hl push hl push de ...
;============================================================================== ; Contents of this file are copyright Phillip Stevens ; ; You have permission to use this for NON COMMERCIAL USE ONLY ; If you wish to use it elsewhere, please include an acknowledgement to myself. ; ; https://github.com/feilipu/ ; ; https:...
<% from pwnlib.shellcraft.powerpc.linux import syscall %> <%page args="fd, vmessages, vlen, flags, tmo"/> <%docstring> Invokes the syscall recvmmsg. See 'man 2 recvmmsg' for more information. Arguments: fd(int): fd vmessages(mmsghdr): vmessages vlen(unsigned): vlen flags(int): flags tmo(times...
//===-- alignment.cc --------------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
/*************************************************************** * * Copyright (C) 1990-2007, Condor Team, Computer Sciences Department, * University of Wisconsin-Madison, WI. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. Yo...
.586 .model flat, stdcall .data my_byte db 01110111b one db 1b .code start: mov al, my_byte shl al, 1 jnc final not al rcr al, 1 ret final: rcr al, 1 ret end start
; A098011: 10^a(n) + 1 = A088773(n). ; 1,1,2,3,6,12,24,48,96,192,384,768,1536,3072,6144,12288,24576,49152,98304,196608,393216,786432,1572864,3145728,6291456,12582912,25165824,50331648,100663296,201326592,402653184,805306368,1610612736,3221225472,6442450944,12884901888,25769803776,51539607552,103079215104,206158430208,4...
; Block of random data used by Oidos. ; Can also be useful as a 3D noise texture. %include "platform.inc" global PUBLIC_SYM(Oidos_FillRandomData) global PUBLIC_SYM(Oidos_RandomData) global ID3D11Texture2D_ID global ?ID3D11Texture2D_ID@@3U_GUID@@A %define NOISESIZE 64 SECTION_DATA(d3dtex2d) align=4 ; ...
; unsigned char zx_tape_verify_block(void *dst, unsigned int len, unsigned char type) SECTION code_clib SECTION code_arch PUBLIC _zx_tape_verify_block_callee EXTERN asm_zx_tape_verify_block _zx_tape_verify_block_callee: pop hl pop bc pop de dec sp ex (sp),hl ld a,h l_zx_tape_verify_block_...
0x0000 (0x000000) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x0001 (0x000002) 0x2922- f:00024 d: 290 | OR[290] = A 0x0002 (0x000004) 0x0400- f:00002 d: 0 | I = 0 0x0003 (0x000006) 0x0000- f:00000 d: 0 | PASS ...
; Luis Maya ; CS 218 Section #1002 ; Assignment #10 ; Support Functions. ; Provided Template ; ----- ; Function getIterations() ; Gets, checks, converts, and returns iteration ; count and rotation speed from the command line. ; Function drawChaos() ; Calculates and plots Chaos algorithm ; --------------------...
; void dzx2_nano(void *src, void *dst) SECTION code_clib SECTION code_compress_zx2 PUBLIC _dzx2_nano EXTERN asm_dzx2_nano _dzx2_nano: pop af pop hl pop de push de push hl push af jp asm_dzx2_nano
; A282548: Expansion of phi_{12, 1}(x) where phi_{r, s}(x) = Sum_{n, m>0} m^r * n^s * x^{m*n}. ; 0,1,4098,531444,16785412,244140630,2177857512,13841287208,68753047560,282431130813,1000488301740,3138428376732,8920506494928,23298085122494,56721594978384,129747072969720,281612482805776,582622237229778,1157402774071674,221...
; A240331: Inverse of 47th cyclotomic polynomial. ; 1,-1,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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,-1,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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,-1,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,0,0,0,0,0,0...
; A212344: Sequence of coefficients of x^(n-3) in marked mesh pattern generating function Q_{n,132}^(0,3,0,0)(x). ; Submitted by Christian Krause ; 5,5,10,25,70,210,660,2145,7150,24310,83980,293930,1040060,3714500,13372200,48474225,176788350,648223950,2388193500,8836315950,32820602100,122331335100,457412818200,17152980...
#include "hoverbutton.h" HoverButton::HoverButton(QWidget *parent) : QPushButton(parent), ban_enter(false) { } HoverButton::HoverButton(QString text, QWidget *parent) : QPushButton(text, parent), ban_enter(false) { } void HoverButton::banEnter(bool ban) { ban_enter = ban; } void HoverButton::enterEvent(QEvent...
; $Id: bit_fx2.asm,v 1.5 2016-04-23 21:06:32 dom Exp $ ; ; Generic platform sound effects module. ; Alternate sound library by Stefano Bodrato ; SECTION code_clib PUBLIC bit_fx2 PUBLIC _bit_fx2 INCLUDE "games/games.inc" EXTERN bit_open EXTER...
; A213283: Number of 4-length words w over n-ary alphabet such that for every prefix z of w we have #(z,a_i) = 0 or #(z,a_i) >= #(z,a_j) for all j>i and #(z,a_i) counts the occurrences of the i-th letter in z. ; 0,1,9,36,118,315,711,1414,2556,4293,6805,10296,14994,21151,29043,38970,51256,66249,84321,105868,131310,16109...
copyright zengfr site:http://github.com/zengfr/romhack 001268 bne $1278 [enemy+ 5, enemy+25, enemy+45, enemy+65, enemy+85, enemy+A5, etc+25, item+25] 0012B8 bne $12c8 [enemy+ 5, enemy+25, enemy+45, enemy+65, enemy+85, enemy+A5, item+25] 00605C rts [123p+ BF] 006072 bne $60e0 00607C bne $60e0 006...
%ifdef CONFIG { "RegData": { "XMM0": ["0x4142434445464748", "0x5152535455565758"], "XMM1": ["0x4142434445464748", "0x5152535455565758"] }, "MemoryRegions": { "0x100000000": "4096" } } %endif mov rdx, 0xe0000000 mov rax, 0x4142434445464748 mov [rdx + 8 * 0], rax mov rax, 0x5152535455565758 mov [rdx...
/* * * Copyright (c) 2020 Project CHIP Authors * Copyright (c) 2019 Google LLC. * Copyright (c) 2013-2017 Nest Labs, 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 Licens...
; void *zx_saddrpleft(void *saddr, uchar bitmask) SECTION code_clib SECTION code_arch PUBLIC zx_saddrpleft EXTERN asm_zx_saddrpleft zx_saddrpleft: pop af pop de pop hl push hl push de push af jp asm_zx_saddrpleft ; SDCC bridge for Classic IF __CLASSIC PUBLIC _zx_saddrpleft defc _zx_s...
; =============================================================== ; Dec 2013 ; =============================================================== ; ; void *memalign_unlocked(size_t alignment, size_t size) ; ; Allocate size bytes from the thread's default heap at an ; address that is an integer multiple of alignment. ; R...
SFX_Cry08_1_Ch4: dutycycle 240 squarenote 15, 15, 6, 1381 squarenote 10, 14, 4, 1404 squarenote 3, 12, 2, 1372 squarenote 15, 11, 2, 1340 endchannel SFX_Cry08_1_Ch5: dutycycle 90 squarenote 14, 13, 6, 1283 squarenote 9, 11, 4, 1307 squarenote 4, 9, 2, 1274 squarenote 15, 10, 2, 1243 endchannel SFX_Cry08...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r15 push %r8 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1c65e, %r8 nop nop nop and %r10, %r10 mov $0x6162636465666768, %rax movq %rax, %xmm6 movups %xmm6, (%r8) nop nop inc %r15 lea addresses_UC_ht+0x6c0e, %rbx nop nop n...
; A037852: Number of normal subgroups of dihedral group with 2n elements. ; 2,5,3,6,3,7,3,7,4,7,3,9,3,7,5,8,3,9,3,9,5,7,3,11,4,7,5,9,3,11,3,9,5,7,5,12,3,7,5,11,3,11,3,9,7,7,3,13,4,9,5,9,3,11,5,11,5,7,3,15,3,7,7,10,5,11,3,9,5,11,3,15,3,7,7,9,5,11,3,13,6,7,3,15,5,7,5,11,3,15,5,9,5,7,5,15,3,9,7,12,3,11,3,11,9,7,3,15,3,11,...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r14 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_A_ht+0x51d6, %rsi nop nop nop nop nop dec %r13 mov $0x6162636465666768, %r10 movq %r10, %xmm3 movups %xmm3, (%rsi) nop nop nop nop cmp $12630, %rax lea addresses_WT_ht+0x1337e, %r9 n...
ldy {c1} sty $fe ldy {c1}+1 sty $ff ldy #0 and ($fe),y
; A126324: a(2n) = Cat(n), a(2n+1) = 3*Cat(n), where Cat(n) = binomial(2n,n)/(n+1) are the Catalan numbers (A000108). ; Submitted by Jon Maiga ; 1,3,1,3,2,6,5,15,14,42,42,126,132,396,429,1287,1430,4290,4862,14586,16796,50388,58786,176358,208012,624036,742900,2228700,2674440,8023320,9694845,29084535,35357670,106073010,1...
/* * Copyright 2009 The Android Open Source Project * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "include/core/SkFontLCDConfig.h" #ifdef SK_LEGACY_SURFACE_PROPS static SkFontLCDConfig::LCDOrientation gLCDOrientation = SkFontLCDConfig::kHorizo...
/* UTEuropeanOptionSABR.cpp * * Copyright (c) 2016 * Diva Analytics */ #include "UTMathFunctions.h" #include "UTEuropeanOptionSABR.h" #include "UTEuropeanOptionLogNormal.h" #include "UTEuropeanOptionNormal.h" using namespace std; //////////////////////////////////////////////////////////////////////////...
; ; CPC Maths Routines ; ; August 2003 **_|warp6|_** <kbaccam /at/ free.fr> ; ; $Id: dgt.asm,v 1.3 2015/01/21 10:56:29 stefano Exp $ ; INCLUDE "cpcfirm.def" INCLUDE "cpcfp.def" PUBLIC dgt PUBLIC dgtc EXTERN fsetup EXTERN stkequcmp EXTERN cmpfin .dgt call fsetup call firmware .dgtc de...
; A195027: a(n) = 2*n*(7*n + 5). ; 0,24,76,156,264,400,564,756,976,1224,1500,1804,2136,2496,2884,3300,3744,4216,4716,5244,5800,6384,6996,7636,8304,9000,9724,10476,11256,12064,12900,13764,14656,15576,16524,17500,18504,19536,20596,21684,22800,23944,25116,26316,27544,28800,30084,31396,32736,34104,35500,36924,38376,39856,4...
;/** @file ; ; This code provides low level routines that support the Virtual Machine ; for option ROMs. ; ; Copyright (c) 2006 - 2011, 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 ;...
[bits 16] ; Switch to protected mode switch_to_pm : cli ; We must switch of interrupts until we have ; set - up the protected mode interrupt vector ; otherwise interrupts will run riot. lgdt [gdt_descriptor] ; Load our global descriptor table , which defines ; the protected mode segments ( e.g. for cod...
; --COPYRIGHT--,BSD_EX ; Copyright (c) 2012, Texas Instruments Incorporated ; 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 co...
add a, a
; ;================================================================================================== ; ROMWBW 2.X CONFIGURATION FOR MARK IV ;================================================================================================== ; ; THIS FILE CONTAINS THE FULL SET OF DEFAULT CONFIGURATION SETTINGS FO...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r14 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x1360, %rsi lea addresses_WC_ht+0xd992, %rdi nop nop nop nop nop cmp %r10, %r10 mov $3, %rcx rep movsw nop cmp $9158, %rax lea addresses_A_ht+0x6b9e, %rdx nop nop and %r14, %r...
; A075876: Values of n for which A075825(n)=1. ; Submitted by Jon Maiga ; 0,2,4,12,52,212,852,3412,13652,54612,218452,873812,3495252,13981012 mov $1,4 pow $1,$0 mul $1,5 div $1,48 max $1,$0 mov $0,$1 mul $0,2
#include "Dog.h" #include <iostream> #include <string> Dog::Dog(std::string aName) : cuteness(0), isFluffy(true), name() { name = aName; std::cout << "Dog::Dog() constructor for " << aName << "\n"; } Dog::~Dog(){ std::cout << "DESTRUCT!!" << "\n"; } // copy constructor Dog::Dog(const Dog *dref){ // expects a p...
; int adt_ListAdd(struct adt_List *list, void *item) ; 02.2003, 06.2005 aralbrec ; CALLER linkage for function pointers SECTION code_clib PUBLIC adt_ListAdd PUBLIC _adt_ListAdd EXTERN asm_adt_ListAdd .adt_ListAdd ._adt_ListAdd pop hl pop bc pop de push de push bc push hl jp asm_adt_ListAdd...
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r9 push %rax push %rbp push %rbx push %rdi // Faulty Load lea addresses_US+0x144aa, %rax nop nop nop nop inc %rbp mov (%rax), %ebx lea oracles, %r10 and $0xff, %rbx shlq $12, %rbx mov (%r10,%rbx,1), %rbx pop %rdi...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r14 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_normal_ht+0xc020, %rsi lea addresses_WC_ht+0x12b0, %rdi clflush (%rdi) sub %rax, %rax mov $93, %rcx rep movsq nop sub $1016, %r13 lea addresses_normal_ht+0x93c7, %r9 sub %r14, %r14 m...
; A153153: Permutation of natural numbers: A059893-conjugate of A003188. ; Submitted by Simon Strandgaard ; 0,1,3,2,5,6,7,4,9,10,15,12,13,14,11,8,17,18,23,20,29,30,27,24,25,26,31,28,21,22,19,16,33,34,39,36,45,46,43,40,57,58,63,60,53,54,51,48,49,50,55,52,61,62,59,56,41,42,47,44,37,38,35,32,65,66,71,68,77,78,75,72,89,90,...
/** Task * Написать чат-сервер. * Каждое сообщение, посланное одним клиентом, * передается всем остальным. * К началу каждого сообщения присоединяется IP-адрес клиента. * Всем клиентам приходят сообщения о подключении * новых участников и об отключении существующих. */ #include <sys/types.h> #include <sys/socket...
// // Copyright (c) 2014-2017 The Dash Core developers // // Copyright (c) 2017-2018 The BroFist Core developers // // Distributed under the MIT/X11 software license, see the accompanying // // file COPYING or http://www.opensource.org/licenses/mit-license.php. // #ifndef GOVERNANCE_KEYS_H // #define GOVERNANCE_KEYS_H...
; A275796: One half of the y members of the positive proper solutions (x = x2(n), y = y2(n)) of the second class for the Pell equation x^2 - 2*y^2 = +7^2. ; 3,20,117,682,3975,23168,135033,787030,4587147,26735852,155827965,908231938,5293563663,30853150040,179825336577,1048098869422,6108767879955,35604508410308,207518282...
; A321175: a(n) = -a(n-1) + 2*a(n-2) + a(n-3), a(0) = -1, a(1) = -2, a(2) = 3. ; Submitted by Christian Krause ; -1,-2,3,-8,12,-25,41,-79,136,-253,446,-816,1455,-2641,4735,-8562,15391,-27780,50000,-90169,162389,-292727,527336,-950401,1712346,-3085812,5560103,-10019381,18053775,-32532434,58620603,-105631696,190340468,-3...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r15 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x1e024, %rsi lea addresses_WT_ht+0x1e08c, %rdi nop nop nop xor %rbx, %rbx mov $101, %rcx rep movsw add %r11, %r11 lea addresses_WC_ht+0x1a1d4, %rbx nop nop nop nop cmp %rax, %...
INCLUDE "hardware.inc" INCLUDE "header.inc" ;-------------------------------------------------------------------------- ;- RESTART VECTORS - ;-------------------------------------------------------------------------- SECTION "RST_00",HOME[$0000] ret SEC...
//===- FastISel.cpp - Implementation of the FastISel class ----------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
; A078881: Size of the largest subset S of {1,2,3,...,n} with the property that if i and j are distinct elements of S then i XOR j is not in S, where XOR is the bitwise exclusive-OR operator. ; 1,2,2,3,4,4,4,5,6,7,8,8,8,8,8,9,10,11,12,13,14,15,16,16,16,16,16,16,16,16,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,3...
;=============================================================================== ; Copyright 2014-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...
/*! @file @brief MessageBox用関数 @author Norio Nakatani @date 2002/01/17 aroka 型の修正 @date 2013/03/03 Uchi Debug1.cppから分離 */ /* Copyright (C) 1998-2001, Norio Nakatani Copyright (C) 2002, aroka This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liab...
; ; OZ-7xx DK emulation layer for Z88DK ; by Stefano Bodrato - Oct. 2003 ; ; int isin(unsigned degrees); ; input must be between 0 and 360 ; returns value from -16384 to +16384 ; ; ------ ; $Id: isin.asm,v 1.1 2003/10/29 11:37:11 stefano Exp $ ; XLIB isin XDEF sin_start isin: pop de ...
//===- SelectionDAGBuilder.cpp - Selection-DAG building -------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
; You may customize this and other start-up templates; ; The location of this template is c:\emu8086\inc\0_com_template.txt org 100h MOV DX,0 MOV AH,1 INT 21H WHILE_: CMP AL,0DH JE END_WHILE_ INC DX INT 21H JMP WHILE_ END_WHILE_: MOV AH,4CH INT 21H ret ...
;***************************************************************************** ;* const-a.asm: x86 global constants ;***************************************************************************** ;* Copyright (C) 2010-2021 x264 project ;* ;* Authors: Loren Merritt <lorenm@u.washington.edu> ;* Fiona Glaser <fion...
// Copyright (c) 2011-2020 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <util/system.h> #include <clientversion.h> #include <hash.h> // For Hash() #include <key.h> // For CKey #include <o...
#include "ObParameter.h" namespace OB{ Parameter::Parameter(Object* parent):Object(parent){ }; Parameter::~Parameter(){ }; Parameter::Parameter(const Parameter& other):Object(other){ m_type = other.m_type; m_name = other.m_name; }; Parameter& Parameter::operator= (const Parameter& other){ if(this != &oth...
; void __CALLEE__ l_qsort_callee(void *base, unsigned int size, void *cmp) ; 01.2007 aralbrec XLIB l_qsort_callee XDEF ASMDISP_L_QSORT_CALLEE LIB Lqsort, l_jpiy .l_qsort_callee pop de pop iy pop hl pop bc push de .centry ld ix,compare jp Lqsort .compare push hl push de push bc ...
#include<iostream> #include<math.h> #include<stdlib.h> using namespace std; class vecto{ private: int n;//kich thuoc vecto int *a; public: void nhap (); void xuat(); int tich(vecto v2); float chieudai(); }; void vecto::nhap(){ cout<<"Nhap kich thuoc vecto:"; cin>>n; a= new int [n]; ...
; A006481: Euler characteristics of polytopes. ; 1,2,3,4,5,11,21,36,57,127,253,463,793,1717,3433,6436,11441,24311,48621,92379,167961,352717,705433,1352079,2496145,5200301,10400601,20058301,37442161,77558761,155117521,300540196,565722721,1166803111,2333606221,4537567651,8597496601,17672631901,35345263801,68923264411,131...
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/Scripting/Natives/Generated/ink/BaseShapeWidget.hpp> namespace RED4ext { namespace ink { struct RectangleWidget : ink::BaseShapeWidget { static constexpr const char* NAME = "...
; A336751: Smallest side of integer-sided triangles whose sides a < b < c are in arithmetic progression. ; 2,3,3,4,4,5,4,5,6,5,6,7,5,6,7,8,6,7,8,9,6,7,8,9,10,7,8,9,10,11,7,8,9,10,11,12,8,9,10,11,12,13,8,9,10,11,12,13,14,9,10,11,12,13,14,15,9,10,11,12,13,14,15,16,10,11,12,13,14,15,16,17,10,11,12,13,14 lpb $0 add $1,$...
; A221461: Number of 0..6 arrays of length n with each element unequal to at least one neighbor, starting with 0 ; 0,6,36,252,1728,11880,81648,561168,3856896,26508384,182191680,1252200384,8606352384,59151316608,406546013952,2794183983360,19204379983872,131991383803392,907174582723584,6234995799161856,42853022291312640,...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Geoworks 1994 -- All Rights Reserved PROJECT: Condo viewer MODULE: main - view and text FILE: mainManager.asm AUTHOR: Jonathan Magasin, May 6, 1994 ROUTINES: Name Description ---- ----------- RE...
; A153010: Indices of A153007 where the entry equals zero. ; 0,1,2,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215,33554431,67108863,134217727,268435455,536870911,1073741823,2147483647,4294967295 mov $1,$0 sub $1,1 mov $2,2 pow $2,$1 bin $0,$...
EXTERN VDP_STATUS tms9118_interrupt: push af push hl ld a, +(VDP_STATUS / 256) and a jr z,read_port ld a,(VDP_STATUS) jr done_read read_port: in a,(VDP_STATUS % 256) done_read: or a jp p,int_not_VBL jp int_VBL int_not_VBL: pop hl pop af ei reti
;------------------------------------------------------------------------------ ; ; Copyright (c) 2016 - 2018, 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 distri...
; ============================================================================= ; BareMetal -- a 64-bit OS written in Assembly for x86-64 systems ; Copyright (C) 2008-2016 Return Infinity -- see LICENSE.TXT ; ; Driver Includes ; ============================================================================= %include "d...
#include<cstdio> #include<vector> #include<algorithm> std::vector<int> w,x; int m; void SumOfSub(int s,int k,int r) { x[k]=1; if(s+w[k]==m) { for(int i = 0;i < k; i++) { if(x[i]==0) continue; printf("%3d,",w[i]); } printf("%3d.",w[k]); printf("\n"); return; } else if(s+w...
#include "ComponentDirection.h" ComponentDirection::~ComponentDirection() { } //Keeps the component concurrency complient void ComponentDirection::RenderSwap() { renderDirection = updateDirection; }
clc lda ({z1}),y adc {m2} pha iny lda ({z1}),y adc {m2} sta {z1}+1 pla sta {z1}
; int vfscanf_unlocked(FILE *stream, const char *format, void *arg) SECTION code_clib SECTION code_stdio PUBLIC _vfscanf_unlocked EXTERN asm_vfscanf_unlocked _vfscanf_unlocked: pop af pop ix pop de pop bc push bc push de push hl push af jp asm_vfscanf_unlocked