text
stringlengths
1
1.05M
; A266304: Total number of OFF (white) cells after n iterations of the "Rule 15" elementary cellular automaton starting with a single ON (black) cell. ; 0,1,5,6,14,15,27,28,44,45,65,66,90,91,119,120,152,153,189,190,230,231,275,276,324,325,377,378,434,435,495,496,560,561,629,630,702,703,779,780,860,861,945,946,1034,1035...
; A288937: Positions of 0 in A288936; complement of A288938. ; 1,2,4,5,8,11,15,20,26,33,41,50,60,71,83,96,110,125,141,158,176,195,215,236,258,281,305,330,356,383,411,440,470,501,533,566,600,635,671,708,746,785,825,866,908,951,995,1040,1086,1133,1181,1230,1280,1331,1383,1436,1490,1545,1601,1658,1716,1775,1835,1896,1958,...
; requires --dirbol on command line (for testing purposes of last OPT pop restoring it) OPT pop ; warn about no previous syntax in stack ld hl,bc,de,bc mirror a ; error (Z80N instruction) ; try all possible options OPT push reset --nofakes --syntax=a --zxnext=cspect ...
; A212755: Number of (w,x,y,z) with all terms in {0,...,n} and |w-x|=max{w,x,y,z}-min{w,x,y,z}. ; 1,10,37,96,205,386,665,1072,1641,2410,3421,4720,6357,8386,10865,13856,17425,21642,26581,32320,38941,46530,55177,64976,76025,88426,102285,117712,134821,153730,174561,197440,222497,249866,279685 add $0,1 mov $4,$0 lpb $0,1...
/// @ref core /// @file glm/detail/func_integer.inl #include "../ext/vec1.hpp" #include "type_vec2.hpp" #include "type_vec3.hpp" #include "type_vec4.hpp" #include "type_int.hpp" #include "_vectorize.hpp" #if(GLM_ARCH & GLM_ARCH_X86 && GLM_COMPILER & GLM_COMPILER_VC) # include <intrin.h> # pragma intrinsic(_BitScanReve...
/* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* 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 <stdlib.h> #include <std...
/* * * Copyright (c) 1998-2002 * John Maddock * * Use, modification and distribution are subject to 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) * */ /* * LOCATION: see http://www.boost.org for most ...
; A175456: (Digit sum of 5^n) mod n. ; Submitted by Jon Maiga ; 0,1,2,1,1,1,2,1,8,0,5,4,10,6,14,10,5,10,2,1,20,1,5,10,2,1,8,1,25,1,11,10,23,1,22,1,30,10,17,10,14,19,20,19,26,20,34,1,11,1,50,26,13,19,2,28,44,37,14,19,11,1,44,38,34,49,51,60,59,53,58,1,2,19,44,19,14,70,63,10,71,1,41,28,2,10,17,10,5,46,38,10,17,37,32,37,2,...
; A152746: Six times hexagonal numbers: 6*n*(2*n-1). ; 0,6,36,90,168,270,396,546,720,918,1140,1386,1656,1950,2268,2610,2976,3366,3780,4218,4680,5166,5676,6210,6768,7350,7956,8586,9240,9918,10620,11346,12096,12870,13668,14490,15336,16206,17100,18018,18960,19926,20916,21930,22968,24030,25116,26226,27360,28518,29700,30906...
#include "mixer.h" Mixer::Mixer(Project *poj):poj(poj) { } inline double Mixer::Beat2Second(double beat) { return beat / (poj->BPM) * 60.0; } inline int Mixer::Second2Index(double second) { return second * (poj->sampleRate); } inline int Mixer::Beat2Index(double beat) { return Second2Index(Beat2Second(...
#include <bits/stdc++.h> using namespace std; int main() { int testCases; cin >> testCases; while (testCases--) { long long int N,M,K; cin>>N>>M>>K; long long int lowerlimit = K+1+1; long long int upperlimit = K+N+M; long long int midlimit = (lowerlimit+upp...
; A073361: Nested floor product of n and fractions (k+1)/k for all k>0 (mod 4), divided by 4. ; 1,5,15,31,65,105,151,275,420,631,695,1050,1411,1685,2385,2941,3425,4410,5326,6995,7350,9316,10880 add $0,1 seq $0,112561 ; Sieve performed by successive iterations of steps where step m is: keep m terms, remove the next 3 a...
; A140090: a(n) = n*(3*n + 7)/2. ; 0,5,13,24,38,55,75,98,124,153,185,220,258,299,343,390,440,493,549,608,670,735,803,874,948,1025,1105,1188,1274,1363,1455,1550,1648,1749,1853,1960,2070,2183,2299,2418,2540,2665,2793,2924,3058,3195,3335,3478,3624,3773,3925,4080,4238,4399,4563,4730,4900,5073,5249,5428,5610,5795,5983,6174,...
; A314752: Coordination sequence Gal.6.258.4 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings. ; 1,5,9,13,19,23,27,31,37,41,45,50,55,59,63,69,73,77,81,87,91,95,100,105,109,113,119,123,127,131,137,141,145,150,155,159,163,169,173,177,181,1...
; Keen Dreams Source Code ; Copyright (C) 2014 Javier M. Chavez ; ; This program 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 2 of the License, or ; (at your option) any later version. ; ; Th...
; A095662: Seventh column (m=6) of (1,3)-Pascal triangle A095660. ; 3,19,70,196,462,966,1848,3300,5577,9009,14014,21112,30940,44268,62016,85272,115311,153615,201894,262108,336490,427570,538200,671580,831285,1021293,1246014,1510320,1819576,2179672,2597056,3078768,3632475 add $0,5 mov $1,13 add $1,$0 bin $0,5 mul $0,$1 ...
; A130719: a(n) = n-th digit after the decimal point of the decimal representation of the n-th harmonic number. ; Submitted by Jamie Morken(w2) ; 0,0,3,3,3,0,1,4,3,9,7,0,7,2,3,2,3,0,4,8,1,8,4,3,6,1,1,6,9,4,4,0,9,1,3,7,1,4,2,6,0,6,0,2,3,5,2,9,4,5,3,6,7,8,4,3,5,3,3,5,0,5,2,1,0,2,0,8,8,7,0,0,1,7,9,9,8,5,1,0 add $0,1 mov ...
// MIT License // // Copyright (c) 2020, The Regents of the University of California, // through Lawrence Berkeley National Laboratory (subject to receipt of any // required approvals from the U.S. Dept. of Energy). All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy...
include "player_symbols.asm" kp_triggerC SUBROUTINE ; x = instrument ; y = volume lda #$04 sta kp_pat_wait_2 lda kp_insmap_lo,x sta kp_osc_adr_0_2 sta kp_osc_adr_1_2 lda kp_insmap_hi,x sta kp_osc_adr_0_2+1 sta kp_osc_adr_1_2+1 lda kp_volmap_lo,x sta kp_vol_adr_0_2 lda kp_volmap_hi,x sta kp_vol_adr_0_...
; DO NOT MODIFY THIS FILE DIRECTLY! ; author: @TinySecEx ; ssdt asm stub for 6.1.7601-sp1-windows-7 i386 .686 .mmx .xmm .model flat,stdcall option casemap:none option prologue:none option epilogue:none .code ; ULONG __stdcall NtAcceptConnectPort( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULO...
;;; ;;; This is Suggested Project 7.9.2.3 ;;; Basically do simple signed addition, subtraction, multiplication, modulo ;;; With unsigned word and double-word sizes ;;; Pg. 137 for the problem ;;; Pg. 24 for Registers ;;; Pg. 48 for Data Types SECTION .data SUCCESS: equ 0 ; Default success value SYS_EXIT: ...
; Note that this whole ASM file is currently pseudo code TWO_PI_Q5_11 .set 0011001001000100b PI_Q5_11 .set 0001100100100010b WINDOW_SIZE .set 1024 INV_WINDOW_SIZE_Q15 .set 0000000000100000b HOP_SIZE .set 256 INV_HOP_SIZE_Q15 .set 0000000010000000b STEP_SIZE .se...
; A335087: Row sums of A335436. ; 1,7,34,150,628,2540,10024,38840,148368,560368,2096928,7786592,28726592,105390272,384788096,1398978432,5067403520,18294707968,65854095872,236421150208,846732997632,3025927678976,10792083499008,38420157773824,136547503083520,484546494459904,1716976084393984 mov $1,2 mov $2,$0 lpb $2 a...
; WARNING: do not edit! ; Generated from openssl/crypto/aes/asm/aesni-mb-x86_64.pl ; ; Copyright 2013-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 ...
; void *zx_cxy2saddr_callee(uchar x, uchar y) SECTION code_clib SECTION code_arch PUBLIC _zx_cxy2saddr_callee EXTERN asm_zx_cxy2saddr _zx_cxy2saddr_callee: pop hl ex (sp),hl jp asm_zx_cxy2saddr
/* * ApplyMetadataMutation.cpp * * This source file is part of the FoundationDB open source project * * Copyright 2013-2019 Apple Inc. and the FoundationDB project authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
// // Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.20714 // // /// // Resource Bindings: // // Name Type Format Dim Slot Elements // ------------------------------ ---------- ------- ----------- ---- -------- // TextureSampler sampler NA ...
; A028050: Expansion of 1/((1-3x)(1-4x)(1-10x)(1-11x)). ; Submitted by Christian Krause ; 1,28,515,7910,110241,1448328,18302575,225096970,2713995581,32234230028,378383333835,4400300953230,50784218810521,582435753818128,6644887820416295,75474715560668690,854031383578979061 mov $1,1 mov $2,$0 mov $3,$0 lpb $2 mov $0,$...
; A145069: a(n) = n*(n^2 + 3*n + 5)/3. ; 0,3,10,23,44,75,118,175,248,339,450,583,740,923,1134,1375,1648,1955,2298,2679,3100,3563,4070,4623,5224,5875,6578,7335,8148,9019,9950,10943,12000,13123,14314,15575,16908,18315,19798,21359,23000,24723,26530,28423,30404,32475,34638,36895,39248,41699,44250,46903,49660,52523,55494,58...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r8 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x15181, %rcx cmp $58868, %r11 mov (%rcx), %rdi nop nop nop nop nop sub %r11, %r11 lea addresses_normal_ht+0x16b81, %r14 clflush (%r14) nop sub %rbp, %rbp mov $0x61626364656667...
_spin: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "types.h" #include "user.h" int main(int argc, char* argv[]) { 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 ...
; A157757: a(n) = 2809*n^2 - 4618*n + 1898. ; 89,3898,13325,28370,49033,75314,107213,144730,187865,236618,290989,350978,416585,487810,564653,647114,735193,828890,928205,1033138,1143689,1259858,1381645,1509050,1642073,1780714,1924973,2074850,2230345,2391458,2558189,2730538,2908505,3092090,3281293,3476114,3676553,3882610...
; ; Grundy Newbrain Specific libraries ; ; Stefano Bodrato - 19/05/2007 ; ; ; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ; ; put a byte block to stream, return the number of written bytes ; ; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ; ; int nb_putblock( int stream...
/*! * Copyright (c) 2016 Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE file in the project root for license information. */ #ifdef USE_SOCKET #include <LightGBM/config.h> #include <LightGBM/utils/common.h> #include <LightGBM/utils/text_reader.h> #include <algorithm> #inc...
#include "GamePCH.h" #include "BulletDebugDraw.h" #include "Helpers/ResourceManager.h" #include "Mesh/Mesh.h" #include "Mesh/Material.h" #include "GameObjects/GameCamera.h" #include "GameObjects/FollowCamera.h" BulletDebugDraw::BulletDebugDraw(ResourceManager* aResourceManager, GameCamera* aCamera) { m_debugMode = 0...
// __BEGIN_LICENSE__ // Copyright (c) 2006-2013, United States Government as represented by the // Administrator of the National Aeronautics and Space Administration. All // rights reserved. // // The NASA Vision Workbench is licensed under the Apache License, // Version 2.0 (the "License"); you may not use this f...
/* * 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...
/* Copyright 2020 The OneFlow 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 agre...
; A001550: a(n) = 1^n + 2^n + 3^n. ; 3,6,14,36,98,276,794,2316,6818,20196,60074,179196,535538,1602516,4799354,14381676,43112258,129271236,387682634,1162785756,3487832978,10462450356,31385253914,94151567436,282446313698,847322163876,2541932937194,7625731702716,22877060890418,68630914235796,205892205836474,61767554376759...
global pic_disable pic_disable: push ax mov al, 0xff out 0xa1, al out 0x21, al pop ax ret
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: Core implementation of vgui // // $NoKeywords: $ //=============================================================================// #include "vgui_internal.h" #include <vgui/ISurface.h> #include <vgui/ILocalize.h> #include <vgu...
#include <algine/core/shader/BaseUniformBlock.h> #include <algine/core/Engine.h> #include <algine/gl.h> using namespace std; namespace algine { void BaseUniformBlock::init(const ShaderProgram *shaderProgram) { const uint blockIndex = getIndex(shaderProgram); glGetActiveUniformBlockiv(shaderProgram->id, bloc...
/*************************************************************************/ /* globals.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
#include <array> #include "libpldm/pdr.h" #include "libpldm/platform.h" #include <gtest/gtest.h> TEST(PDRAccess, testInit) { auto repo = pldm_pdr_init(); EXPECT_EQ(pldm_pdr_get_record_count(repo), 0u); EXPECT_EQ(pldm_pdr_get_repo_size(repo), 0u); pldm_pdr_destroy(repo); } TEST(PDRUpdate, testAdd) { ...
; A047516: Numbers that are congruent to {1, 3, 4, 6, 7} mod 8. ; 1,3,4,6,7,9,11,12,14,15,17,19,20,22,23,25,27,28,30,31,33,35,36,38,39,41,43,44,46,47,49,51,52,54,55,57,59,60,62,63,65,67,68,70,71,73,75,76,78,79,81,83,84,86,87,89,91,92,94,95,97,99,100,102,103,105,107,108,110,111,113,115,116,118,119,121,123,124,126,127,12...
DEVICE ZXSPECTRUM48 org $8000 ; 17 bytes block of "default" memory values db "ABCDEFGHIJKLMNOPZ" ALIGN 0 ; error ALIGN 1,-1 ; error ALIGN 1,256 ; error ALIGN 3 ; error ALIGN 5,10 ; error ALIGN $10000 ; error ; re-run over the initia...
dnl AMD K7 mpn_copyi -- copy limb vector, incrementing. dnl Copyright 1999, 2000, 2002, 2003 Free Software Foundation, Inc. dnl This file is part of the GNU MP Library. dnl dnl The GNU MP Library is free software; you can redistribute it and/or modify dnl it under the terms of either: dnl dnl * the GNU Lesser...
db MILTANK ; 241 db 95, 80, 105, 100, 40, 70 ; hp atk def spd sat sdf db NORMAL, NORMAL ; type db 45 ; catch rate db 200 ; base exp db MOOMOO_MILK, MOOMOO_MILK ; items db GENDER_F100 ; gender ratio db 100 ; unknown 1 db 20 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/miltank/fron...
// Copyright 2014 the V8 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. #include "src/base/iterator.h" #include "src/compiler/backend/instruction-selector-impl.h" #include "src/compiler/node-matchers.h" #include "src/compile...
ViridianMart_Script: call ViridianMartScript_1d47d call EnableAutoTextBoxDrawing ld hl, ViridianMart_ScriptPointers ld a, [wViridianMartCurScript] jp CallFunctionInTable ViridianMartScript_1d47d: CheckEvent EVENT_OAK_GOT_PARCEL jr nz, .delivered_parcel ld hl, ViridianMart_TextPointers jr .done .delivered_parc...
; A083039: Number of divisors of n that are <= 3. ; 1,2,2,2,1,3,1,2,2,2,1,3,1,2,2,2,1,3,1,2,2,2,1,3,1,2,2,2,1,3,1,2,2,2,1,3,1,2,2,2,1,3,1,2,2,2,1,3,1,2,2,2,1,3,1,2,2,2,1,3,1,2,2,2,1,3,1,2,2,2,1,3,1,2,2,2,1,3,1,2,2,2,1,3,1,2,2,2,1,3 mov $1,$0 mod $0,3 fac $0 mod $1,2 add $1,$0
; A019495: Define the sequence T(a(0),a(1)) by a(n+2) is the greatest integer such that a(n+2)/a(n+1) < a(n+1)/a(n) for n >= 0. This is T(4,11). ; Submitted by Christian Krause ; 4,11,30,81,218,586,1575,4233,11376,30572,82159,220793,593356,1594576,4285239,11516085,30948148,83169572,223508615,600653577,1614187084,433794...
; A195986: Exponent of the largest power of 2 that divides 5^n - 3^n. ; 1,4,1,5,1,4,1,6,1,4,1,5,1,4,1,7,1,4,1,5,1,4,1,6,1,4,1,5,1,4,1,8,1,4,1,5,1,4,1,6,1,4,1,5,1,4,1,7,1,4,1,5,1,4,1,6,1,4,1,5,1,4,1,9,1,4,1,5,1,4,1,6,1,4,1,5,1,4,1,7,1,4,1,5,1,4,1,6,1,4,1,5,1,4,1,8,1,4,1,5 lpb $0 sub $0,1 mul $0,4 dif $0,8 add $...
#include <iostream> #include <chrono> #include <vector> #include "Util.h" namespace { const int WOLKSENSE_MULTIPLIER_FACTOR = 10; const int PRESSURE_CONVERSION_FACTOR = 10 * WOLKSENSE_MULTIPLIER_FACTOR; } using namespace Poco::JSON; using namespace std::chrono; namespace execConn { const std::string Util::LORA_TEMP...
; uint z80_get_int_state(void) SECTION code_clib SECTION code_z80 PUBLIC z80_get_int_state PUBLIC cpu_get_int_state EXTERN asm_z80_get_int_state EXTERN asm_cpu_get_int_state defc z80_get_int_state = asm_z80_get_int_state defc cpu_get_int_state = asm_cpu_get_int_state
; A328882: a(n) = n - 2^(sum of digits of n). ; -1,-1,-2,-5,-12,-27,-58,-121,-248,-503,8,7,4,-3,-18,-49,-112,-239,-494,-1005,16,13,6,-9,-40,-103,-230,-485,-996,-2019,22,15,0,-31,-94,-221,-476,-987,-2010,-4057,24,9,-22,-85,-212,-467,-978,-2001,-4048,-8143,18,-13,-76,-203,-458,-969,-1992,-4039,-8134,-16325,-4,-67,-194,-4...
; A050482: Sum of remainders when n-th prime is divided by all preceding integers. ; 0,1,4,8,22,28,51,64,98,151,167,233,297,325,403,505,635,645,790,904,923,1113,1244,1422,1654,1800,1888,2056,2098,2256,2849,3066,3326,3450,3969,4045,4329,4696,5014,5325,5767,5759,6499,6565,6898,7022,7817,8853,9176,9298,9646,10232,10206,11...
; A176844: The number of iterations of the map n -> n - bigomega(sigma(n)) until reaching 1. ; 0,1,1,2,2,2,3,3,4,4,4,5,5,5,5,6,6,7,7,7,7,8,8,8,9,9,9,9,10,10,10,11,10,11,11,12,12,12,12,13,13,13,14,14,14,14,14,15,15,16,15,16,16,16,17,16,17,17,18,18,19,17,19,20,20,19,21,21,20,21,20,21,21,21,22,22,21,22,22 lpb $0 mov $2...
dc.l $00000011 dc.l $00000122 dc.l $00001233 dc.l $00441356 dc.l $04444135 dc.l $00127411 dc.l $01237444 dc.l $12357473 dc.l $12357722 dc.l $11222211 dc.l $01111156 dc.l $00016677 dc.l $00888677 dc.l $0899a866 dc.l $0444aa81 dc.l $0044448b dc.l $110...
; A305189: a(n) = 1*2 + 3 + 4*5 + 6 + 7*8 + 9 + 10*11 + 12 + ... + (up to n). ; 1,2,5,9,25,31,38,87,96,106,206,218,231,400,415,431,687,705,724,1085,1106,1128,1612,1636,1661,2286,2313,2341,3125,3155,3186,4147,4180,4214,5370,5406,5443,6812,6851,6891,8491,8533,8576,10425,10470,10516,12632,12680,12729,15130,15181,15233,179...
// // 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...
; A186349: Adjusted joint rank sequence of (f(i)) and (g(j)) with f(i) after g(j) when f(i)=g(j), where f(i)=8i and g(j)=j^2. Complement of A186348. ; 1,2,4,5,8,10,13,15,19,22,26,29,34,38,43,47,53,58,64,69,76,82,89,95,103,110,118,125,134,142,151,159,169,178,188,197,208,218,229,239,251,262,274,285,298,310,323,335,349,36...
; auto-generated by gen-masm.sh .386 .MODEL FLAT .CODE DCThunk_size = 16 DCArgs_size = 20 DCValue_size = 8 CTX_thunk = 0 CTX_phandler = 16 CTX_pargsvt = 20 CTX_stack_cleanup = 24 CTX_userdata = 28 frame_arg0 = 8 frame_ret = 4 frame_parent = 0 frame_CTX = -4 frame_DCArgs = -24 frame_DCValue = -32 _dcCa...
main: li %r5, 0xA .loop: subi %r5, %r5, 0x5 cmpi %r5, 0x0 bne .loop li %r5, 0xFFFF rtn
; A153973: a(n) = 3*a(n-1) - 2*a(n-2), with a(1) = 9, a(2) = 12. ; 9,12,18,30,54,102,198,390,774,1542,3078,6150,12294,24582,49158,98310,196614,393222,786438,1572870,3145734,6291462,12582918,25165830,50331654,100663302,201326598,402653190,805306374,1610612742,3221225478,6442450950,12884901894,25769803782,51539607558,103...
; Rectangle, Intervals and Points ; 05.2006 aralbrec SECTION code_clib PUBLIC r_IntersectRect16 PUBLIC _r_IntersectRect16 EXTERN RIntersectRect16 ; int r_IntersectRect16(struct r_Rect16 *r1, struct r_Rect16 *r2, struct r_Rect16 *result) .r_IntersectRect16 ._r_IntersectRect16 ld hl,7 add hl,sp ld d,(hl) ...
; A194817: Number of integers k in [1,n] such that {n*r+k*r} < {n*r-k*r}, where { } = fractional part and r=sqrt(3). ; 0,1,1,2,3,4,4,4,5,5,5,5,6,6,7,8,9,9,10,11,12,12,12,13,13,13,13,14,14,15,16,17,17,18,19,19,19,19,20,20,20,20,21,21,22,23,24,24,25,26,26,26,26,27,27,28,29,30,30,31,32,33,33,33,34,34,34,34,35,35,36,37 mo...
; A047489: Numbers that are congruent to {1, 2, 3, 5, 7} mod 8. ; 1,2,3,5,7,9,10,11,13,15,17,18,19,21,23,25,26,27,29,31,33,34,35,37,39,41,42,43,45,47,49,50,51,53,55,57,58,59,61,63,65,66,67,69,71,73,74,75,77,79,81,82,83,85,87,89,90,91,93,95,97,98,99,101,103,105,106,107,109,111,113,114,115,117,119,121,122,123,125,127,129...
COMMENT @---------------------------------------------------------------------- Copyright (c) GeoWorks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: CommonUI/CMain FILE: cmainDocumentRM.asm ROUTINES: Name Description ---- ----------- GLB OLDocument Open look document class REVISION ...
; A111455: Numbers n such that 101*n + 97 is prime. ; Submitted by Christian Krause ; 0,14,24,32,36,42,50,62,66,72,84,86,90,102,104,116,126,146,164,192,200,206,224,230,240,246,260,270,282,290,326,330,332,336,344,350,354,360,374,396,402,410,414,422,440,456,482,492,494,504,506,510,546,552,570 mov $2,$0 add $2,2 pow $2,2...
#pragma once #include "pch.h" #include "bansystem.h" #include "serverauthentication.h" #include "concommand.h" #include "miscserverscript.h" #include <filesystem> #include "configurables.h" #include "masterserver.h" //#include "masterserver.h" const char* BANLIST_PATH_SUFFIX = "/banlist.txt"; ServerBanSystem* g_Serv...
; A087624: a(n)=0 if n is prime, A001221(n) otherwise. ; 0,0,0,1,0,2,0,1,1,2,0,2,0,2,2,1,0,2,0,2,2,2,0,2,1,2,1,2,0,3,0,1,2,2,2,2,0,2,2,2,0,3,0,2,2,2,0,2,1,2,2,2,0,2,2,2,2,2,0,3,0,2,2,1,2,3,0,2,2,3,0,2,0,2,2,2,2,3,0,2,1,2,0,3,2,2,2,2,0,3,2,2,2,2,2,2,0,2,2,2 add $0,1 mov $3,$0 mov $4,$0 lpb $3 mov $5,$4 mov $6,0 l...
// Copyright (c) 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/trace_event/trace_event_impl.h" namespace base { namespace trace_event { // Enable everything but debug and test categories by defaul...
 // MFCApplication3.cpp : アプリケーションのクラス動作を定義します。 // #include "pch.h" #include "framework.h" #include "MFCApplication3.h" #include "MFCApplication3Dlg.h" #include "CMFCAppInputDlg.h" #include "CPerson.h" #ifdef _DEBUG #define new DEBUG_NEW #endif // CMFCApplication3App BEGIN_MESSAGE_MAP(CMFCApplication3App, CWinApp...
/***************************************************************************************** * * * OpenSpace * * ...
INCLUDE MESSW.ASM KANJI EQU FALSE Rainbow EQU FALSE INCLUDE DOSSYM.ASM ; ; segment ordering for MSDOS ; CONSTANTS SEGMENT BYTE PUBLIC 'CONST' CONSTANTS ENDS DATA SEGMENT BYTE PUBLIC 'DATA' DATA ENDS CODE SEGMENT BYTE PUBLIC 'CODE'...
; A044470: Numbers n such that string 2,2 occurs in the base 5 representation of n but not of n+1. ; 12,37,64,87,112,137,162,189,212,237,262,287,324,337,362,387,412,439,462,487,512,537,564,587,612,637,662,689,712,737,762,787,814,837,862,887,912,949,962,987,1012,1037,1064,1087,1112 mov $4,5 mov $5,$0 mul $0,2 add $0,1 ...
<% import collections import pwnlib.abi import pwnlib.constants import pwnlib.shellcraft import six %> <%docstring>ioperm(from, num, turn_on) -> str Invokes the syscall ioperm. See 'man 2 ioperm' for more information. Arguments: from(unsigned): from num(unsigned): num turn_on(int): turn_on Returns: i...
#include <iostream> #include <string.h> class MyString { char* string_content; // 문자열 데이터를 가리키는 포인터 int string_length; // 문자열 길이 int memory_capacity; // 현재 할당된 용량 public: // 문자 하나로 생성 MyString(char c); // 문자열로 부터 생성 MyString(const char* str); // 복사 생성자 MyString(const M...
SECTION code_sound_bit PUBLIC _bitfx_2 EXTERN asm_bit_beep_raw _bitfx_2: ; Strange squeak hl=300,de=2 ; Game up hl=300,de=10 inc de ; - like a PACMAN sound ld b,1 fx6_1: push bc ld de,10 ld hl,300 fx6_2: push de push hl call asm_bit_beep_raw pop hl pop de ; in...
;; @file ; Main routine of the pre-SEC code up through the jump into SEC. ; ; Copyright (c) 2008 - 2016, 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 di...
/* Converts hhp (HTML Help Workshop) files into cached version for faster reading Usage: hhp2cached file.hhp [file2.hhp ...] */ // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop #endif #ifndef WX_PRECOMP #include "wx/wx.h" #endif #in...
; 16 bit colour definitions V2.01  2000 Tony Tebby section driver xdef pt.palql xdef pt.pal256 xdef pt.spxlw xdef pt.rpxlw xdef pt.samsk pt.palql equ 8*2 ; size of QL palette pt.pal256 equ 256*2 ; size of 256 colour palette pt.spxlw equ 1 ; shift pixels to long word pt.rpxlw equ 1 ; round up pix...
; ************************************************************************* ; ; Organizacion del Computador II ; ; ; ; Implementacion de la funcion Merge 1 ; ; ...
// Copyright (C) 2015 The Regents of the University of California (Regents). // 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...
; A183293: Complement of A056000. ; 1,2,3,4,6,7,8,9,10,12,13,14,15,16,17,19,20,21,22,23,24,25,27,28,29,30,31,32,33,34,36,37,38,39,40,41,42,43,44,46,47,48,49,50,51,52,53,54,55,57,58,59,60,61,62,63,64,65,66,67,69,70,71,72,73,74,75,76,77,78,79,80,82,83,84,85,86,87,88,89 mov $1,$0 add $0,1 lpb $0 add $1,1 add $2,1 s...
;; ;; Copyright (c) 2018, Intel Corporation ;; ;; Redistribution and use in source and binary forms, with or without ;; modification, are permitted provided that the following conditions are met: ;; ;; * Redistributions of source code must retain the above copyright notice, ;; this list of conditions and the ...
/* Copyright 2017 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...
; void sp1_MoveSprAbs(struct sp1_ss *s, struct sp1_Rect *clip, uchar *frame, uchar row, uchar col, uchar vrot, uchar hrot) SECTION code_clib SECTION code_temp_sp1 PUBLIC _sp1_MoveSprAbs EXTERN l0_sp1_MoveSprAbs_callee _sp1_MoveSprAbs: ld hl,2 add hl,sp ld e,(hl) inc hl ld d,(hl) inc hl pus...
; A084059: a(n) = 4*a(n-1) + 2*a(n-2) for n>1, a(0)=1, a(1)=2. ; 1,2,10,44,196,872,3880,17264,76816,341792,1520800,6766784,30108736,133968512,596091520,2652303104,11801395456,52510188032,233643543040,1039594548224,4625665278976,20581850212352,91578731407360,407478626054144,1813071967031296,8067245120233472,358951244149...
_setgid: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "types.h" #include "user.h" int main(int argc, char *argv[]) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 e4 f0 and $0xfffffff0,%esp exit(); 6: e8 68 ...
// seed 2 lbi r0, 233 // icount 0 slbi r0, 40 // icount 1 lbi r1, 146 // icount 2 slbi r1, 205 // icount 3 lbi r2, 141 // icount 4 slbi r2, 55 // icount 5 lbi r3, 174 // icount 6 slbi r3, 156 // icount 7 lbi r4, 160 // icount 8 slbi r4, 252 // icount 9 lbi r5, 65 // icount 10 slbi r5, 202 // icount 11 lbi r6, 136 // ic...
// Copyright 2020 The Defold Foundation // Licensed under the Defold License version 1.0 (the "License"); you may not use // this file except in compliance with the License. // // You may obtain a copy of the License, together with FAQs at // https://www.defold.com/license // // Unless required by applicable law or agr...
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 004D1E move.l D0, (A4)+ 004D20 move.l D0, (A4)+ 0207FA move.l ($2,A0), ($42,A6) [base+77D] 020800 move.w ($6,A0), ($46,A6) [base+77E, base+780] 0214F0 movea.l ($42,A6), A2 0214F4 move.w D0, D3 [bas...
; ========================================== ; pmtest5a.asm ; 编译方法:nasm pmtest5a.asm -o pmtest5a.com ; ========================================== %include "pm.inc" ; 常量, 宏, 以及一些说明 org 0100h jmp LABEL_BEGIN [SECTION .gdt] ; GDT ; 段基址, 段界限 , 属性 LABEL_GDT: Descriptor 0, ...
;============================================================================================================= ; ; Pong classic game ; ; Jacinto Mba Cantero <github.com/jacmba> ; 2020 ; ;============================================================================================================= .inesprg 1 .inesch...
// Test ATARI chipset variations // Pointer to struct versus MAcro pointer to struct // Commodore 64 PRG executable file .file [name="chipset-test.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .segmentdef Basic [start=$0801] .segmentdef Code [start=$80d] .segmentdef Data [st...
.macosx_version_min 10, 12 .section __TEXT,__text,regular,pure_instructions _read_markers: pushl %ebp movl %esp, %ebp pushl %ebx pushl %edi pushl %esi subl $604, %esp call L00000011 L00000011: popl %eax movl %eax, -568(%ebp) movl 8(%ebp), %edx movl L...
;/*! ; @file ; ; @brief BvsReadCharStr DOS wrapper ; ; (c) osFree Project 2021, <http://www.osFree.org> ; for licence see licence.txt in root directory, or project website ; ; This is Family API implementation for DOS, used with BIND tools ; to link required API ; ; @author Yuri Prokushev (yuri.prokushev@...
#pragma once #include "renderer/context.hpp" namespace engine { template <typename T> concept Pass = requires(T t, RenderContext r, ViewportContext v) { t.initialize(v); t.render(v, r); }; } // namespace engine