text
stringlengths
1
1.05M
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r15 push %r9 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x201c, %rsi inc %r15 mov $0x6162636465666768, %r9 movq %r9, %xmm5 movups %xmm5, (%rsi) nop nop nop nop nop sub %rdi, %rdi lea addresses_UC_ht+0x121f0, %rcx sub %rbx, %rbx vmovu...
; A022319: a(n) = a(n-1) + a(n-2) + 1 for n > 1, a(0)=1, a(1)=5. ; 1,5,7,13,21,35,57,93,151,245,397,643,1041,1685,2727,4413,7141,11555,18697,30253,48951,79205,128157,207363,335521,542885,878407,1421293,2299701,3720995,6020697,9741693,15762391,25504085,41266477,66770563,108037041,174807605,282844647,457652253,740496901,...
; ***************************************************************************** ; ***************************************************************************** ; ; Name: manager.asm ; Purpose: Handles routine operations ; Created: 20th March 2020 ; Reviewed: TODO ; Author: Paul Robson (paul@robsons.org.uk) ; ; ...
; A005668: Denominators of continued fraction convergents to sqrt(10). ; 0,1,6,37,228,1405,8658,53353,328776,2026009,12484830,76934989,474094764,2921503573,18003116202,110940200785,683644320912,4212806126257,25960481078454,159975692596981,985814636660340,6074863512559021,37434995712014466,230684837784645817,14215440224...
;--- Win32_7 - Shows how to use OPTION DLLIMPORT and cmdline option -Fd. ;--- As a result, no import libraries are needed in the link step. ;--- ;--- assemble: JWasm -coff -Fd Win32_7.ASM ;--- link: JWlink format windows pe f Win32_7.OBJ .386 .MODEL FLAT, stdcall option casemap:none STD_OUT...
; ; Windows x64 Kernel Get User Thread Delta ; ; Author: Sean Dillon <sean.dillon@risksense.com> (@zerosum0x0) ; Copyright: (c) 2017 RiskSense, Inc. ; License: Apache 2.0 ; ; Arguments: r15 = base of nt ; Clobbers: RAX, RSI ; Return: ; THREADLISTHEAD_OFFSET equ 0x308 find_thread: mov rax, r15 mov r11d, PSG...
; A198398: 8^n - 8*n. ; 1,0,48,488,4064,32728,262096,2097096,16777152,134217656,1073741744,8589934504,68719476640,549755813784,4398046510992,35184372088712,281474976710528,2251799813685112,18014398509481840 mov $4,$0 gcd $2,$4 mov $3,8 pow $3,$2 mul $2,8 add $3,10 sub $3,$2 add $3,8 mov $1,$3 sub $1,18
; A270826: Maximum number of iterations needed in the Euclid algorithm for gcd(x,y) in [1..n]. ; 0,2,2,3,4,4,4,4,5,5,5,5,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,10 seq $0,134864 ; Wythoff BBB numbers. seq $0...
// // AUTO-GENERATED FILE - DO NOT EDIT!! // "options indenting = 4\n" "options no_global_variables = false\n" "options no_unused_block_arguments = false\n" "options no_unused_function_arguments = false\n" "options persistent_heap = true\n" "module debug shared\n" "\n" "require math\n" "require strings\n" "require rtt...
.MODEL SMALL .STACK 100H .DATA PROMPT1 DB "Numbers are: $" .CODE MAIN PROC MOV AX, @DATA MOV DS, AX LEA DX, PROMPT1 MOV AH, 9 INT 21H MOV CX, 10 MOV AH, 2 MOV DL, 48 @LOOP: INT 21H ...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r9 push %rdx lea addresses_UC_ht+0xe6a1, %r9 nop nop nop nop cmp $5525, %rdx movb (%r9), %r11b nop nop add $18681, %r12 pop %rdx pop %r9 pop %r12 pop %r11 ret .global s_faulty_load s_faulty_load: push %r10 push %r14 push %r8 push %rbp push %rdx...
; ; Z88 Graphics Functions - Small C+ stubs ; ; Written around the Interlogic Standard Library ; ; PX8 variant by Stefano Bodrato ; ; ; $Id: undraw.asm - Stefano, 2017 $ ; SECTION code_clib PUBLIC undraw PUBLIC _undraw EXTERN do_draw EXTERN draw_mode .undra...
// Copyright (c) 2008-2022 Intel Corporation // // 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, merge,...
/********************************************************************* * _ _ _ * _ __ | |_ _ | | __ _ | |__ ___ * | '__|| __|(_)| | / _` || '_ \ / __| * | | | |_ _ | || (_| || |_) |\__ \ * |_| \__|(_)|_| \__,_||_.__/ |___/ * * www.rt-labs.com * Copyright 2018 rt-labs AB, Sweden. ...
; A187742: G.f.: Sum_{n>=0} (n+x)^n * x^n / (1 + n*x + x^2)^n. ; Submitted by Jon Maiga ; 1,1,4,14,66,384,2640,20880,186480,1854720,20321280,243129600,3153427200,44068147200,660064204800,10548573235200,179151388416000,3222109642752000,61178237632512000,1222853377794048000,25667116186263552000,564433265896980480000,1297...
; A227742: Fixed points of permutation A227741. ; 1,4,8,12,16,23,28,32,36,43,51,59,64,71,76,80,84,91,99,107,115,126,135,143,148,155,163,171,176,183,188,192,196,203,211,219,227,238,247,255,263,274,286,298,307,318,327,335,340,347,355,363,371,382,391,399,404,411,419,427,432,439,444,448,452,459,467,475,483,494,503,511,519,...
; A276915: Indices of triangular numbers in A276914 which are also pentagonal. ; Submitted by Jamie Morken(s4) ; 0,1,10,143,1988,27693,385710,5372251,74825800,1042188953,14515819538,202179284583,2815994164620,39221739020101,546288352116790,7608815190614963,105977124316492688,1476070925240282673,20559015829047464730,286...
#include <stdlib.h> #include "cc_internallist.h" extern int currentline; void ccInternalList::startread() { pos=0; } long ccInternalList::peeknext() { int tpos = pos; while ((tpos < length) && (script[tpos] == SCODE_META)) tpos+=3; if (tpos >= length) return SCODE_INVALID; return ...
; A111710: Consider the triangle shown below in which the n-th row contains the n smallest numbers greater than those in the previous row such that the arithmetic mean is an integer. Sequence contains the leading diagonal. ; 1,4,7,13,18,27,34,46,55,70,81,99,112,133,148,172,189,216,235,265,286,319,342,378,403,442,469,51...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: Document FILE: documentIcon.asm AUTHOR: Steve Yegge ROUTINES: Name Description ---- ----------- DBViewerEditIcon -- MSG_DB_VIEWER_EDIT_...
.CSEG .ORG 0x10 ; program starts here SEI divide: MOV R1, 0x03;Inputs data from address 0x99 BRN divide .CSEG .ORG 0x3FF ISR: RETID
; A163305: Numerators of fractions in the approximation of the square root of 5 satisfying: a(n)= (a(n-1)+ c)/(a(n-1)+1); with c=5 and a(1)=0. Also product of the powers of two and five times the Fibonacci numbers. ; 0,5,10,40,120,400,1280,4160,13440,43520,140800,455680,1474560,4771840,15441920,49971200,161710080,52330...
#include "AppFrame.h" #include "f2dKeyCodeConvert.inl" #define NOMINMAX #include <Windows.h> #include "Keyboard.h" #include "Mouse.h" static LRESULT KeyboardMouseMessage(HWND window, UINT message, WPARAM arg1, LPARAM arg2) { switch (message) { case WM_ACTIVATE: case WM_ACTIVATEAPP: c...
// Circuit // // A circuit is defined as a input voltage source, driver instance, // driver interconnect, load instance, and load interconnect // #include <string> #include <iostream> #include <fstream> #include <sstream> #include <vector> #include <iterator> #include <regex> #include <stdlib.h> #include <cstdlib> #in...
.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 c, 44 ld b, 91 lbegin_waitly91: ldff a, (c) cmp a, b jrnz lbegin_waitly91 xor a, a ldff(40), a ld a, 80 ldff(68), a xor a, a ldff(69), a ...
Route5GateObject: db $a ; border block db $4 ; warps db $5, $3, $2, $ff db $5, $4, $2, $ff db $0, $3, $1, $ff db $0, $4, $0, $ff db $0 ; signs db $1 ; objects object SPRITE_GUARD, $1, $3, STAY, RIGHT, $1 ; person ; warp-to EVENT_DISP ROUTE_5_GATE_WIDTH, $5, $3 EVENT_DISP ROUTE_5_GATE_WIDTH, $5, $4 EVEN...
; A057063: Let P(n) of a sequence s(1),s(2),s(3),... be obtained by leaving s(1),...,s(n) fixed and reverse-cyclically permuting every n consecutive terms thereafter; apply P(2) to 1,2,3,... to get PS(2), then apply P(3) to PS(2) to get PS(3), then apply P(4) to PS(3), etc. The limit of PS(n) is A057063. ; Submitted by...
; A197424: Number of subsets of {1, 2, ..., 4*n + 2} which do not contain two numbers whose difference is 4. ; 4,36,225,1600,10816,74529,509796,3496900,23961025,164249856,1125736704,7716041281,52886200900,362488284900,2484529385121,17029223715904,116720020119616,800010960336225,5483356589096100,37583485459535236,257601...
SFX_Cry12_3_Ch5: duty_cycle_pattern 2, 2, 1, 1 square_note 12, 15, 2, 1088 square_note 15, 14, 3, 1184 square_note 4, 13, 2, 1168 square_note 8, 13, 1, 1152 sound_ret SFX_Cry12_3_Ch6: duty_cycle_pattern 3, 2, 3, 2 square_note 11, 13, 2, 1080 square_note 14, 12, 6, 1176 square_note 3, 11, 2, 1160 square_not...
hirom org $c0d613 : fillbyte $ff fill 2445 org $c0d613 ;=================================================================== ; @ RAM Direct Page Map: ; Field: ; $5c : H-scroll value of BG1. ; $64 : H-scroll value of BG2. ; $6c : H-scroll value of BG3. ; ; $73 : x-movement directio...
; A276888: Sums-complement of the Beatty sequence for 2 + sqrt(1/2). ; 1,4,7,12,15,20,23,26,31,34,39,42,45,50,53,58,61,66,69,72,77,80,85,88,91,96,99,104,107,112,115,118,123,126,131,134,137,142,145,150,153,156,161,164,169,172,177,180,183,188,191,196,199,202,207,210,215,218 sub $1,$0 seq $0,285075 ; Positions of 1 in A2...
lc r4, 0xfffffffe lc r5, 0x00000001 geu r6, r4, r5 halt #@expected values #r4 = 0xfffffffe #r5 = 0x00000001 #r6 = 0x00000000 #pc = -2147483632 #e0 = 0 #e1 = 0 #e2 = 0 #e3 = 0
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r9 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0xfd7b, %rdx nop nop nop add $59828, %rsi mov (%rdx), %r9 nop nop add %r12, %r12 lea addresses_UC_ht+0x287f, %rsi lea addresses_WT_ht+0x50af, %rdi clflush (%rdi) nop xor $35036,...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r9 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0xcc7a, %rdi cmp %rcx, %rcx mov (%rdi), %r14w nop dec %r12 lea addresses_A_ht+0x181a2, %rsi lea addresses_WT_ht+0x16d55, %rdi clflush (%rdi) nop nop nop nop and %r9, %r9 mo...
SECTION "INTRO_CUTSCENE_0_MAP", ROMX, ALIGN[8], BANK[13] r13_cutscene_wolf_map_data:: .wolf_0 DB $80, $80, $80, $80, $80, $80, $80, $80, $80, $80, $80, $80, $80, $80, $80, $80, $80, $80, $80, $80, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, DB $80, $80, $80, $80, $80, $80, $80, $80, $80, $80...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; ;;; Microsoft Research Singularity ;;; ;;; Copyright (c) Microsoft Corporation. All rights reserved. ;;; ;;; This file contains ARM-specific assembly code. ;;; ; nans.s ; ; Copyright (C) Advanced RISC Ma...
/** * Copyright 2020 Huawei Technologies Co., Ltd * * 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...
/* * ============================================================================ * Name : CDummyProjAppUi from DummyProjAppUi.cpp * Part of : DummyProj * Created : 13/04/2005 by Mike Howson * Implementation notes: * Initial content was generated by Series 60 AppWizard. * Version : * Copyright: Penrill...
/** * Copyright (C) 2015 MongoDB 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, * but WITH...
.psp .create "output.bin", 0 ; PSP opcodes ll a1,4(a2) lwc1 f1,(a2) lv.s S123,0x20(s0) lv.s S321,(s0) ulv.q C220,0x40(s1) ulv.q C222,0x40(s1) lvl.q C220,0x40(s1) lvr.q C220,0x40(s1) lv.q C530,0x40(s1) lv.q C530,(s1) sc a1,4(a2) swc1 f1,(a2) sv.s S123,0x20(s0) sv.s S321,(s0) usv.q C220,0x40(s1) usv.q C222,0...
db "LAVA@" ; species name db "Its body is as hot" next "as lava and is" next "always billowing." page "Flames will" next "occasionally burst" next "from its shell.@"
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r14 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x16ef7, %r12 nop nop nop nop add %r13, %r13 mov (%r12), %r14w nop xor $58799, %r12 lea addresses_WC_ht+0x7307, %rdx inc %rbx mov $0x6162636465666768, %rsi movq %rsi, (%rdx) n...
section .multiboot_header header_start: ; magic number dd 0xe85250d6 ; multiboot2 ; architecture dd 0 ; protected mode i386 ; header length dd header_end - header_start ; checksum dd 0x100000000 - (0xe85250d6 + 0 + (header_end - header_start)) ; end tag dw 0 dw 0 dd 8 he...
; A083686: a(0) = 8; for n>0, a(n) = 2*a(n-1) - 1. ; 8,15,29,57,113,225,449,897,1793,3585,7169,14337,28673,57345,114689,229377,458753,917505,1835009,3670017,7340033,14680065,29360129,58720257,117440513,234881025,469762049,939524097,1879048193,3758096385,7516192769,15032385537,30064771073,60129542145,120259084289,240518...
/** * Copyright 2013 Google Inc. 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 ...
[BITS 16] base equ 0x1600 temp_base equ 0x7c00 [ORG base] ; Disable interrupts during initialization cli ; Initialize segment registers mov ax,(temp_base - base) >> 4 mov fs,ax xor ax,ax mov es,ax mov gs,ax mov ss,ax mov sp,temp_base ; temporary stack below VBR cld ; Save MBR info and disk ID ; Via stack, to ensur...
; A172175: a(n) = a(n-1)*110 + 1. ; 1,111,12211,1343211,147753211,16252853211,1787813853211,196659523853211,21632547623853211,2379580238623853211,261753826248623853211,28792920887348623853211,3167221297608348623853211,348394342736918348623853211,38323377701061018348623853211,4215571547116712018348623853211,463712870182...
DayCareM_h: db HOUSE ; tileset db DAYCAREM_HEIGHT, DAYCAREM_WIDTH ; dimensions (y, x) dw DayCareMBlocks, DayCareMTextPointers, DayCareMScript ; blocks, texts, scripts db $00 ; connections dw DayCareMObject ; objects
#include "global.h" #include "LocalizedString.h" #include "InputFilter.h" #include "RageLog.h" #include "RageInput.h" #include "RageUtil.h" #include "RageThreads.h" #include "Preference.h" #include "GameInput.h" #include "InputMapper.h" // for mouse stuff: -aj #include "PrefsManager.h" #include "ScreenDimensions.h" #i...
//===-- NativeRegisterContextLinux_x86_64.cpp ---------------*- 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 // //===-------------------------------...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1b177, %rsi lea addresses_WC_ht+0x1a177, %rdi nop nop nop nop and $16977, %r10 mov $73, %rcx rep movsl add %r9, %r9 lea addresses_WC_ht+0x2d77, %rsi lea addresses_A_ht+0xf9b7, %rdi clflush (%rdi...
assume cs:code,ss:stack stack segment db 128 dup(0) stack ends data segment db 128 dup(0) data ends code segment start: mov ax,stack mov ss,ax mov sp,128 call install mov ax,4c00h int 21h ;==================================== NewInt9: push ax push bx pus...
.macro SAVE_T_REGISTERS # brace yourself for a long, unrolled loop... sw $t0, ($sp) subiu $sp, $sp, 4 sw $t1, ($sp) subiu $sp, $sp, 4 sw $t2, ($sp) subiu $sp, $sp, 4 sw $t3, ($sp) subiu $sp, $sp, ...
; A140148: a(1)=1, a(n)=a(n-1)+n^2 if n odd, a(n)=a(n-1)+ n^0 if n is even. ; 1,2,11,12,37,38,87,88,169,170,291,292,461,462,687,688,977,978,1339,1340,1781,1782,2311,2312,2937,2938,3667,3668,4509,4510,5471,5472,6561,6562,7787,7788,9157,9158,10679,10680,12361,12362,14211,14212,16237 mov $3,$0 lpb $0 sub $0,2 add $4,...
; ; MoonSound YMF278B OPL4 ; MoonSound_FM_BASE_PORT: equ 0C4H MoonSound_WAVE_BASE_PORT: equ 07EH MoonSound_WAVENUMBERMAP_SIZE: equ 512 MoonSound: MACRO ?fmbase = MoonSound_FM_BASE_PORT this: super: OPL4 ?fmbase, MoonSound_WAVE_BASE_PORT, MoonSound_name waveNumberMap: dw 0 waveNumberMSB: ds 24 SafeWriteRegist...
; A189572: Fixed point of the morphism 0->01, 1->001. ; 0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,0,1 mov $4,2 mov $8,$0 lpb $4,1 m...
; A021152: Decimal expansion of 1/148. ; 0,0,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7,5,6,7 lpb $0 sub $0,1 mod $0,3 add $0,5 add $1,$0 mov $0,1 lpe mov $0,$1
/* * Copyright (c) 2020, Andreas Kling <kling@serenityos.org> * Copyright (c) 2021, Max Wipfli <mail@maxwipfli.ch> * * SPDX-License-Identifier: BSD-2-Clause */ #include <AK/Base64.h> #include <AK/Debug.h> #include <AK/LexicalPath.h> #include <AK/MappedFile.h> #include <AK/MemoryStream.h> #include <AK/QuickSort.h>...
#include <futurehead/core_test/testutil.hpp> #include <futurehead/lib/jsonconfig.hpp> #include <futurehead/lib/rpcconfig.hpp> #include <futurehead/lib/tlsconfig.hpp> #include <futurehead/lib/tomlconfig.hpp> #include <futurehead/node/daemonconfig.hpp> #include <futurehead/node/testing.hpp> #include <gtest/gtest.h> #in...
halt
; A111386: a(1) = 1, a(2) = 3; for n >= 3, take a(n) to be the smallest odd number not occurring earlier such that a(n-1) divides the concatenation a(n-2)a(n). ; 1,3,5,15,25,75,125,375,625,1875,3125,9375,15625,46875,78125,234375,390625,1171875,1953125,5859375,9765625,29296875,48828125,146484375,244140625,732421875,1220...
; A033868: Numbers n such that 7*n-11 is prime. ; 2,4,6,10,12,16,24,30,34,36,40,42,46,52,54,60,70,76,82,84,90,94,96,112,114,120,124,136,142,144,150,160,162,166,172,180,184,186,190,196,210,214,222,226,232,234,240,244,252,262,270,274,280,300,306,322,336,342,346,354,366,370,372,376,382,384,390,400,402,414,424,426,430,436,...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r15 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0xcf2f, %r15 nop nop nop nop xor $61531, %rdx and $0xffffffffffffffc0, %r15 vmovaps (%r15), %ymm6 vextracti128 $1, %ymm6, %xmm6 vpextrq $1, %xmm6, %r13 cmp %r12, %r12 lea addre...
#include<cstdio> const int N=10001; int key[N],v[N]; char cmd[99999]; main() { int i,m,a,b; for(i=0;i<N;i++) key[i]=v[i]=i; while(scanf("%d %s %d",&a,cmd,&b)>0){ for(m=0;cmd[m];m++); b=v[b]; while(m--){ if(cmd[m]=='f'){ if(b%2)b++; ...
%include "unistd.asm" %assign TCGETS 05401h %assign TCSETSW 05403h %assign TIOCLINUX 0541ch %assign KDGKBMODE 04b44h %assign KDSKBMODE 04b45h %assign K_RAW 000h %assign ISTRIP 000400q %assign INLCR 000100q %assign IGNCR 000...
#include "worker.h" #include "envoy/event/dispatcher.h" #include "envoy/event/timer.h" #include "envoy/server/configuration.h" #include "envoy/thread_local/thread_local.h" #include "common/common/thread.h" Worker::Worker(Stats::Store& stats_store, ThreadLocal::Instance& tls, std::chrono::milliseconds ...
; ; Sharp OZ family functions ; ; ported from the OZ-7xx SDK by by Alexander R. Pruss ; by Stefano Bodrato - Oct. 2003 ; ; ; gfx functions ; ; int ozputs(int x, int y, char *string); ; ; ------ ; $Id: ozputs.asm,v 1.3 2015/01/19 01:33:01 pauloscustodio Exp $ ; PUBLIC ozputs PUBLIC ozputsgetend EXTERN ozdetectmode...
Name: set-bg.asm Type: file Size: 14009 Last-Modified: '1991-07-04T10:21:30Z' SHA-1: 24F3A15403C64D73F64F848AE125B707F720EA3E Description: null
// Copyright 2014 Stellar 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 "NominationProtocol.h" #include <functional> #include "util/types.h" #include "xdrpp/...
; A047587: Numbers that are congruent to {0, 2, 3, 5, 6, 7} mod 8. ; 0,2,3,5,6,7,8,10,11,13,14,15,16,18,19,21,22,23,24,26,27,29,30,31,32,34,35,37,38,39,40,42,43,45,46,47,48,50,51,53,54,55,56,58,59,61,62,63,64,66,67,69,70,71,72,74,75,77,78,79,80,82,83,85,86,87 mov $1,$0 mov $2,$0 lpb $2,1 add $1,1 sub $2,$4 sub $...
[BITS 16] [ORG 0x2000] ; This is an artificially inflated stage 2, which has a character to output ; every 10240 bytes, to prove that the whole file was loaded. ; Allow interrupts ; See http://forum.osdev.org/viewtopic.php?p=236455#p236455 for more information sti xor dx,dx mov bp,message jmp start_output output_lo...
// Copyright (c) 2009-2021 The Regents of the University of Michigan // This file is part of the HOOMD-blue project, released under the BSD 3-Clause License. #include "PatchEnergyJIT.h" #include "PatchEnergyJITUnion.h" //#include "hoomd/hpmc/IntegratorHPMC.h" //#include "hoomd/hpmc/IntegratorHPMCMono.h" //#include "h...
// -*- C++ -*- // // Package: RecoEgamma/ElectronIdentification // Class: ElectronMVANtuplizer // /**\class ElectronMVANtuplizer ElectronMVANtuplizer.cc RecoEgamma/ElectronIdentification/plugins/ElectronMVANtuplizer.cc Description: Ntuplizer for training and testing electron MVA IDs. Implementation: [N...
main: addi $s1, $zero, 5 addi $s0, $zero, 0 lw $t0, 1000($s0) addi $s0, $s0, 4 lw $t1, 3000($s0) addi $s0, $s0, 4 lw $t2, 1000($s0) addi $s0, $s0, 4 lw $t3, 3000($s0) addi $s0, $s0, 4 lw $t4, 1000($s0) addi $s0, $s0, 4 lw $t5, 3000($s0) addi $s0, $s0, 4 lw $t6, 1000($s0) lw $t7, 3000($s0) #...
// system include files #include <memory> #include <string> #include <vector> #include <iostream> #include <algorithm> #include <regex> // user include files #include "FWCore/Framework/interface/Frameworkfwd.h" #include "FWCore/Framework/interface/stream/EDProducer.h" #include "FWCore/Framework/interface/ConsumesColle...
_wc: file format elf32-i386 Disassembly of section .text: 00000000 <main>: printf(1, "%d %d %d %s\n", l, w, c, name); } 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: ...
; A181433: Numbers k such that 11*k is 5 less than a square. ; 1,4,20,29,61,76,124,145,209,236,316,349,445,484,596,641,769,820,964,1021,1181,1244,1420,1489,1681,1756,1964,2045,2269,2356,2596,2689,2945,3044,3316,3421,3709,3820,4124,4241,4561,4684,5020,5149,5501,5636,6004,6145,6529,6676,7076,7229,7645,7804,8236,8401,8849...
object_const_def ; object_event constants const VIOLETNICKNAMESPEECHHOUSE_TEACHER const VIOLETNICKNAMESPEECHHOUSE_LASS const VIOLETNICKNAMESPEECHHOUSE_BIRD VioletNicknameSpeechHouse_MapScripts: db 0 ; scene scripts db 0 ; callbacks VioletNicknameSpeechHouseTeacherScript: jumptextfaceplayer VioletNicknameSpeec...
SFX_Battle_33_Ch5: duty_cycle 2 square_note 6, 15, 1, 1280 square_note 6, 15, 1, 1408 square_note 6, 15, 1, 1536 square_note 6, 15, 1, 1664 square_note 8, 15, 1, 1792 sound_ret SFX_Battle_33_Ch6: duty_cycle 3 square_note 6, 14, 1, 1296 square_note 6, 14, 1, 1424 square_note 6, 14, 1, 1552 square_note 6, 1...
adc (ix) ; Error adc (ix+127) ; Error adc (ix-128) ; Error adc (iy) ; Error adc (iy+127) ; Error adc (iy-128) ; Error adc a', (hl) ; Error adc a', (ix) ; Error ...
/* Copyright (c) 2018-2019, tevador <tevador@gmail.com> 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...
; A109049: a(n) = lcm(n, 8). ; 0,8,8,24,8,40,24,56,8,72,40,88,24,104,56,120,16,136,72,152,40,168,88,184,24,200,104,216,56,232,120,248,32,264,136,280,72,296,152,312,40,328,168,344,88,360,184,376,48,392,200,408,104,424,216,440,56,456,232 mov $1,$0 gcd $0,8 div $1,$0 mul $1,8
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "core/platform/path_lib.h" #include <cassert> #include <array> #include <algorithm> #include "gsl/gsl" #include "core/common/status.h" #include "core/common/common.h" #ifdef _WIN32 #if defined(USE_PATHCCH_LIB) ...
; A003665: a(n) = 2^(n-1)*( 2^n + (-1)^n ). ; 1,1,10,28,136,496,2080,8128,32896,130816,524800,2096128,8390656,33550336,134225920,536854528,2147516416,8589869056,34359869440,137438691328,549756338176,2199022206976,8796095119360,35184367894528,140737496743936,562949936644096,2251799847239680,9007199187632128,360287971531...
; A080776: Oscillating sequence which rises to 2^(k-1) in k-th segment (k>=1) then falls back to 0. ; 0,0,1,0,1,2,1,0,1,2,3,4,3,2,1,0,1,2,3,4,5,6,7,8,7,6,5,4,3,2,1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29...
; A110450: a(n) = n*(n+1)*(n^2+n+1)/2. ; 0,3,21,78,210,465,903,1596,2628,4095,6105,8778,12246,16653,22155,28920,37128,46971,58653,72390,88410,106953,128271,152628,180300,211575,246753,286146,330078,378885,432915,492528,558096,630003,708645,794430,887778,989121,1098903,1217580,1345620,1483503,1631721,1790778,1961190,214...
//===--- NameLookup.cpp - Swift Name Lookup Routines ----------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
RECDATA64 STRUCT OPERAND DQ(2) dup(?) RESULT DQ(4) dup(?) FLAG DQ(2) dup(?) RECDATA64 ENDS __ENTER MACRO push rbp mov rbp,rsp push rax push rcx push rdx push...
#include <iostream> #include <pcl/point_types.h> #include <pcl/filters/passthrough.h> int main () { pcl::PointCloud<pcl::PointXYZ>::Ptr cloud (new pcl::PointCloud<pcl::PointXYZ>); pcl::PointCloud<pcl::PointXYZ>::Ptr cloud_filtered (new pcl::PointCloud<pcl::PointXYZ>); // Fill in the cloud data structure cloud...
//===- MachOReader.cpp ------------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===------------------------------------------------------...
/** * @file dataLoader/dataLoader.cpp * @brief * @author Max Fomichev * @date 02.12.2019 */ #include <thread> #include <fstream> #if defined(__GNUC__) #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-parameter" #endif #if defined(__clang__) #pragma clang diagnostic push #pragma clang diagnost...
#include "MyClassModelRenderer.h" namespace MY_NS_MODEL { MyClassModelRenderer::MyClassModelRenderer(MyClassModel * _pModel) { pModel=_pModel; if (pModel) pModel->RegMessReceiver(this); } void MyClassModelRenderer::AttachModel(MyClassModel * _pModel) { if (pModel!=_pModel) { if (pModel) pModel->UnRegMes...
; A115303: a(n) = if n<3 then n else 3*a(floor(n/3)) + 2 - n mod 3. ; Submitted by Christian Krause ; 1,2,5,4,3,8,7,6,17,16,15,14,13,12,11,10,9,26,25,24,23,22,21,20,19,18,53,52,51,50,49,48,47,46,45,44,43,42,41,40,39,38,37,36,35,34,33,32,31,30,29,28,27,80,79,78,77,76,75,74,73,72,71,70,69,68,67,66,65,64,63,62 lpb $0 s...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r15 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0x1d691, %rsi lea addresses_WC_ht+0x187d5, %rdi nop nop sub $647, %r11 mov $0, %rcx rep movsq inc %rbp lea addresses_D_ht+0xbd76, %r11 clflush (%r11) nop xor %r9, %r9 movups (%r11), ...
; A176145: a(n) = n*(n-3)*(n^2-7*n+14)/8. ; 0,1,5,18,49,110,216,385,638,999,1495,2156,3015,4108,5474,7155,9196,11645,14553,17974,21965,26586,31900,37973,44874,52675,61451,71280,82243,94424,107910,122791,139160,157113,176749,198170,221481,246790,274208,303849,335830,370271,407295,447028,489599,535140,583786,635675,69094...
section .text global _start _start: mov edx,len mov ecx,msg mov ebx,1 mov eax,4 int 0x80 mov eax,1 int 0x80 section .data msg db 'Hello, world!',0xa len equ $ - msg
; A153336: Number of zig-zag paths from top to bottom of a 2n by 2n square whose color is that of the top right corner ; Submitted by Jon Maiga ; 1,8,52,296,1556,7768,37416,175568,807604,3657464,16357496,72407728,317777032,1384524656,5994736336,25816193952,110652549620,472302724408,2008499580504,8513063608304,359755846...
; A115364: a(n) = A000217(A001511(n)), where A001511 is one more than the 2-adic valuation of n, and A000217(n) is the n-th triangular number, binomial(n+1, 2). ; 1,3,1,6,1,3,1,10,1,3,1,6,1,3,1,15,1,3,1,6,1,3,1,10,1,3,1,6,1,3,1,21,1,3,1,6,1,3,1,10,1,3,1,6,1,3,1,15,1,3,1,6,1,3,1,10,1,3,1,6,1,3,1,28,1,3,1,6,1,3,1,10,1,3,...
; A073121: a(n) = r*a(ceiling(n/2)) + s*a(floor(n/2)) with a(1)=1 and (r,s)=(2,2). ; 1,4,10,16,28,40,52,64,88,112,136,160,184,208,232,256,304,352,400,448,496,544,592,640,688,736,784,832,880,928,976,1024,1120,1216,1312,1408,1504,1600,1696,1792,1888,1984,2080,2176,2272,2368,2464,2560,2656,2752,2848,2944,3040,3136,3232,33...
; A017778: Binomial coefficients C(62,n). ; 1,62,1891,37820,557845,6471002,61474519,491796152,3381098545,20286591270,107518933731,508271323092,2160153123141,8308281242850,29078984349975,93052749919920,273342452889765,739632519584070,1849081298960175,4282083008118300,9206478467454345,18412956934908690,34315056105966195,...