text
stringlengths
1
1.05M
; void __CALLEE__ adt_QueueDelete_callee(struct adt_Queue *q, void *delete) ; 09.2005 aralbrec SECTION code_clib PUBLIC adt_QueueDelete_callee PUBLIC _adt_QueueDelete_callee PUBLIC ASMDISP_ADT_QUEUEDELETE_CALLEE EXTERN adt_QueueDeleteS_callee EXTERN ASMDISP_ADT_QUEUEDELETES_CALLEE EXTERN _u_free .adt_QueueDelete_ca...
/* * Copyright 2010 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "GrDrawTarget.h" #include "GrBatch.h" #include "GrContext.h" #include "GrDrawTargetCaps.h" #include "GrPath.h" #include "GrPipeline.h" #include "GrRenderTarget.h" #...
; A101882: Write three numbers, skip one, write three, skip two, write three, skip three... and so on. ; 1,2,3,5,6,7,10,11,12,16,17,18,23,24,25,31,32,33,40,41,42,50,51,52,61,62,63,73,74,75,86,87,88,100,101,102,115,116,117,131,132,133,148,149,150,166,167,168,185,186,187,205,206,207,226,227,228,248,249,250,271,272,273,29...
SECTION code_fp_math48 PUBLIC asm_round EXTERN am48_round defc asm_round = am48_round
/* Copyright (c) 2005-2009, 2013, 2015-2017, 2019, Arvid Norberg Copyright (c) 2016-2018, Alden Torres All rights reserved. You may use, distribute and modify this code under the terms of the BSD license, see LICENSE file. */ #include "libtorrent/ip_filter.hpp" #include "setup_transfer.hpp" // for addr() #include <u...
/* * Copyright 2009-2017 Alibaba Cloud 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...
#include "ApePixelClock.h" #include <ESP8266WiFi.h> #include <ESP8266HTTPClient.h> #include <WiFiClientSecureBearSSL.h> #include <ArduinoJson.h> #include <vector> #include "MenueControl/MenueControl.h" RTC_DS1307 *m_rtc; ApcConfigDef *m_apcConfigDef; std::vector<ApcEffectDef *> apcEffects; std::vector<ApcScheduleCallb...
include xlibproc.inc include Wintab.inc PROC_TEMPLATE WTMgrCsrEnable, 3, Wintab, -, 181
#include "FunctionalTesterModel.h" void FunctionalTesterModel::init(double, ...) { this->sigma = std::numeric_limits<double>::infinity(); // it is changed if events are set } void FunctionalTesterModel::setEventsToGenerate(std::vector<std::pair<double, Event>> events){ this->eventsToGenerate = events; if(this->eve...
/*************************************************************** * * 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. Y...
/* Plugin-SDK (Grand Theft Auto 3) source file Authors: GTA Community. See more here https://github.com/DK22Pac/plugin-sdk Do not delete this comment block. Respect others' work! */ #include "CClouds.h" PLUGIN_SOURCE_FILE PLUGIN_VARIABLE float &CClouds::ms_cameraRoll = *reinterpret_cast<float *>(GLOBA...
/******************************************************************************* * * MIT License * * Copyright (c) 2018 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * ...
; Inspired by http://git.annexia.org/?p=jonesforth.git ; EBP: Return Stack ; ESP: Data stack ; ESI: Current codeword ; EAX: Last CFA (after "NEXT") bits 32 %define NUM_CELLS 4096 %define RSIZE 128 %define S0 (Cells + NUM_CELLS*4) %define R0 (Cells + RSIZE*4) %define S_IMMEDIATE 0x00 %de...
COMMENT @---------------------------------------------------------------------- Copyright (c) GeoWorks 1989 -- All Rights Reserved PROJECT: PC GEOS MODULE: Text/TextGraphic FILE: tgNumber.asm METHODS: Name Description ---- ----------- REVISION HISTORY: Name Date Description ---- ---- --...
############################################################################### # Copyright 2018 Intel Corporation # All Rights Reserved. # # If this software was obtained under the Intel Simplified Software License, # the following terms apply: # # The source code, information and material ("Material") containe...
dnl mpn_addmul_1 dnl Copyright 2009 Jason Moxham dnl This file is part of the MPIR Library. dnl The MPIR Library is free software; you can redistribute it and/or modify dnl it under the terms of the GNU Lesser General Public License as published dnl by the Free Software Foundation; either version 2.1 of the Li...
; A254407: a(n) = n*(n+1)*(11*n +10)/6. ; 0,7,32,86,180,325,532,812,1176,1635,2200,2882,3692,4641,5740,7000,8432,10047,11856,13870,16100,18557,21252,24196,27400,30875,34632,38682,43036,47705,52700,58032,63712,69751,76160,82950,90132,97717,105716,114140,123000,132307,142072,152306,163020,174225,185932,198152,210896,2241...
; A090988: a(n) = 2^A004736(n). ; Submitted by Jon Maiga ; 2,4,2,8,4,2,16,8,4,2,32,16,8,4,2,64,32,16,8,4,2,128,64,32,16,8,4,2,256,128,64,32,16,8,4,2,512,256,128,64,32,16,8,4,2,1024,512,256,128,64,32,16,8,4,2,2048,1024,512,256,128,64,32,16,8,4,2,4096,2048,1024,512,256 lpb $0 add $1,1 sub $0,$1 lpe sub $1,$0 mov $0,...
user/initcode.o: file format elf64-littleriscv Disassembly of section .text: 0000000000000000 <start>: #include "syscall.h" # exec(init, argv) .globl start start: la a0, init 0: 00000517 auipc a0,0x0 4: 00050513 mv a0,a0 la a1, argv 8: 00000597 auipc a1,0x...
music_adventure_bank = CURRENT_BANK_NUMBER music_adventure_info: .word music_adventure_track_pulse1 .word music_adventure_track_pulse2 .word music_adventure_track_triangle .word music_adventure_track_noise .byt 0 music_adventure_track_pulse1: .word music_adventure_sample_120 .word music_adventure_sample_119 .word mus...
; A114763: a(n) = floor(sqrt(5)*10^n)^2. ; Submitted by Jon Maiga ; 4,484,49729,4999696,499969600,49999643236,4999995628489,499999965341041,49999999664599209,4999999997764872529,499999999955372691076,49999999999562191467001,4999999999996468370295001,499999999999959886546350009,49999999999999566363399000484 mov $1,1 mo...
%ifndef CORE_ASM %define CORE_ASM extern Sleep extern Beep %macro sleep 1 ; %macro sleep 0-1 500 ;;; sleep(dur=500) ;;push eax push ecx push edx push DWORD %1 ; dur milis call Sleep ; eax = if err pop edx pop ecx ;;pop eax %endmacro %macro beep 2 ;;; console.beep(freq, dur=500) ;;; beeps in freq(arg0...
; $Id: bit_synth_mwr.asm,v 1.3 2016/04/23 21:06:32 dom Exp $ ; ; void bit_synth(int duration, int frequency1, int frequency2, int frequency3, int frequency4); ; ; 1 bit sound library - version for "memory write" I/O architectures ; ; synthetizer - this is a sort of "quad sound" routine. ; It is based on 4 separate coun...
// Copyright (c) 2017-2019, The Monero Project // // 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 above copyright notice, this list o...
; A327765: a(n) is the trace of the n-th power of the 2 X 2 matrix [1 2; 3 4]. ; Submitted by Jamie Morken(s2) ; 2,5,29,155,833,4475,24041,129155,693857,3727595,20025689,107583635,577969553,3105015035,16681014281,89615101475,481437535937,2586417882635,13894964485049,74647658190515,401028219922673,2154436415994395,11574...
.code EXTERN SW2_GetSyscallNumber: PROC NtOpenProcess PROC mov [rsp +8], rcx ; Save registers. mov [rsp+16], rdx mov [rsp+24], r8 mov [rsp+32], r9 sub rsp, 28h mov ecx, 06D3D907Ch ; Load function hash into ECX. call SW2_GetSyscallNumber ; Resolve function hash into syscall number. add rsp, 28...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. // =========================================================================== // File: crosscomp.cpp // // ========...
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "DefaultLocalizationServiceProvider.h" #include "UObject/WeakObjectPtr.h" #if WITH_EDITOR #include "Logging/MessageLog.h" #endif #define LOCTEXT_NAMESPACE "DefaultLocalizationServiceProvider" void FDefaultLocalizationServiceProvider::Init(bool bF...
;****************************************************************************** ;* SIMD-optimized halfpel functions ;* ;* This file is part of Libav. ;* ;* Libav is free software; you can redistribute it and/or ;* modify it under the terms of the GNU Lesser General Public ;* License as published by the Free Software Fo...
; ; Sharp OZ family functions ; ; ported from the OZ-7xx SDK by by Alexander R. Pruss ; by Stefano Bodrato - Oct. 2003 ; ; ; int ozkeylower(char mask); ; returns key pressed bitmap for lower part of keyboard ; ; ------ ; $Id: ozkeylower.asm,v 1.1 2003/10/22 13:55:49 stefano Exp $ ; XLIB ozkeylower ...
// Copyright 2019 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 "chrome/browser/profiles/pref_service_builder_utils.h" #include <stddef.h> #include <memory> #include <utility> #include "base/files/file_util...
assume cs:code,ds:data data segment dw 0,0,0,0,0,0,0,0 dw 0,0,0,0,0,0,0,0 dw 0,0,0,0,0,0,0,0 dw 0,0,0,0,0,0,0,0 dw 0,0,0,0,0,0,0,0 dw 0,0,0,0,0,0,0,0 db 'DEC' db 'Ken Oslen' dw 137 dw 40 db 'PDP' data ends code segment start: mov ax,data mov ds,ax mov bx,60h mov word ptr [bx].0ch,38 add word ptr [bx]...
; A301775: Number of odd chordless cycles in the (2n+1)-web graph. ; 0,12,30,74,200,522,1362,3572,9350,24474,64080,167762,439202,1149852,3010350,7881194,20633240,54018522,141422322,370248452,969323030,2537720634,6643838880,17393796002,45537549122,119218851372,312119004990,817138163594,2139295485800,5600748293802,146629...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r14 push %r15 push %rcx push %rdi push %rsi lea addresses_D_ht+0x13d95, %rsi lea addresses_A_ht+0xe15, %rdi nop nop nop nop nop lfence mov $68, %rcx rep movsb nop nop add %r12, %r12 lea addresses_WC_ht+0x6815, %r11 nop sub $48548, %rdi mov (%r11), %...
; A131471: a(n)=n^5+n. ; 0,2,34,246,1028,3130,7782,16814,32776,59058,100010,161062,248844,371306,537838,759390,1048592,1419874,1889586,2476118,3200020,4084122,5153654,6436366,7962648,9765650,11881402,14348934,17210396,20511178,24300030,28629182,33554464,39135426,45435458,52521910,60466212,69343994,79235206,90224238,102...
; ; Copyright (c) 2010 The WebM 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 contributing proje...
// Copyright 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 "net/spdy/spdy_stream.h" #include <stdint.h> #include <algorithm> #include <cstddef> #include <limits> #include <memory> #include <string> #inc...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: MODULE: FILE: tilespref.asm AUTHOR: Adam de Boor, Dec 3, 1992 ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name Date Descripti...
; A240546: a(n) = prime(n+1)^n mod prime(n). ; Submitted by Christian Krause ; 1,1,3,4,10,1,9,5,16,9,26,10,33,1,2,49,33,3,35,48,3,32,62,64,4,20,8,62,93,83,64,41,68,79,138,125,88,56,4,169,72,36,40,144,73,140,63,120,24,218,67,48,58,194,126,54,74,223,74,59,176,161,280,208,215,236,82,141,139,344,7,182,153,112,320,76,362,39...
; A131937: a(1)=1; a(2)=4. a(n) = a(n-1) + (n-th positive integer which does not occur in sequence A131938). ; 1,4,8,14,21,29,38,49,61,74,88,103,120,138,157,177,198,220,244,269,295,322,350,379,409,440,473,507,542,578,615,653,692,732,773,816,860,905,951,998,1046,1095,1145,1196,1248,1302,1357,1413,1470,1528,1587,1647 mo...
;; -*- tab-width: 4 -*- bits 32 extern _PackedData extern _Models extern _HashTable extern _UnpackedData extern _HashTableSize extern _VirtualSize extern _ImageBase global _header global _DepackEntry global _LinkerVersionPtr global _SubsystemTypePtr global _ModelSkipPtr global _BaseProbPtr BaseProb...
.data .half 12 .word 12
; A195043: Concentric 11-gonal numbers. ; 0,1,11,23,44,67,99,133,176,221,275,331,396,463,539,617,704,793,891,991,1100,1211,1331,1453,1584,1717,1859,2003,2156,2311,2475,2641,2816,2993,3179,3367,3564,3763,3971,4181,4400,4621,4851,5083,5324,5567,5819,6073,6336,6601,6875,7151,7436,7723,8019,8317,8624,8933,9251,9571,9900,10...
global _input_string _input_string: push bp mov bp, sp sub sp, 2 mov [bp-2], bx mov ax, [bp+4] mov bx, [bp+6] call os_input_string mov bx, [bp-2] mov sp, bp pop bp ret
; void sp1_InsertCharStruct(struct sp1_update *u, struct sp1_cs *cs) SECTION code_temp_sp1 PUBLIC _sp1_InsertCharStruct _sp1_InsertCharStruct: pop af pop de pop hl push hl push de push af INCLUDE "temp/sp1/zx/sprites/asm_sp1_InsertCharStruct.asm"
; ; ; ZX Maths Routines ; ; 8/12/02 - Stefano Bodrato ; ; $Id: dmul.asm,v 1.5 2016-06-22 19:59:18 dom Exp $ ; IF FORts2068 INCLUDE "target/ts2068/def/ts2068fp.def" ENDIF IF FORzx INCLUDE "target/zx/def/zxfp.def" ENDIF IF FORzx81 INCLUDE "target/zx81/def/81fp.def" ENDIF IF FORlambda INCLUD...
; A285326: a(0) = 0, for n > 0, a(n) = n + A006519(n). ; 0,2,4,4,8,6,8,8,16,10,12,12,16,14,16,16,32,18,20,20,24,22,24,24,32,26,28,28,32,30,32,32,64,34,36,36,40,38,40,40,48,42,44,44,48,46,48,48,64,50,52,52,56,54,56,56,64,58,60,60,64,62,64,64,128,66,68,68,72,70,72,72,80,74,76,76,80,78,80,80,96,82,84,84,88,86,88,88,96,90,...
.model tiny .data UART_BASE equ 3F8h UART_BPS equ 12 ;9600 bps .code .startup start: call init_UART mov al, 'P' mov ah, 'T' call UART_send mov dx, UART_BASE+5 mov cx, 500 qus_wait: dec cx cmp cx, 0 jz qqq in al, dx test al, 1 jz qus_wait mov ah, 0eh mov al, 'S' int 10h call UART_get mov ah, 0eh i...
; ; Sprite Rendering Routine ; original code by Patrick Davidson (TI 85) ; modified by Stefano Bodrato - Jan 2001 ; ; Colour Genie EG2000 version ; ; ; $Id: putsprite.asm,v 1.1 2015/10/28 07:18:50 stefano Exp $ ; PUBLIC putsprite EXTERN pixeladdress ; coords: d,e (vert-horz) ; sprite: (ix) .offsets_table...
; A004932: Floor of n*phi^17, where phi is the golden ratio, A001622. ; 0,3571,7142,10713,14284,17855,21426,24997,28568,32139,35710,39281,42852,46423,49994,53565,57136,60707,64278,67849,71420,74991,78562,82133,85704,89275,92846,96417 mov $1,$0 mul $1,3571
UndergroundPathEntranceRoute6_h: db GATE ; tileset db PATH_ENTRANCE_ROUTE_6_HEIGHT, PATH_ENTRANCE_ROUTE_6_WIDTH ; dimensions (y, x) dw UndergroundPathEntranceRoute6Blocks, UndergroundPathEntranceRoute6TextPointers, UndergroundPathEntranceRoute6Script ; blocks, texts, scripts db $00 ; connections dw UndergroundPath...
obj/user/test5: file format elf32-i386 Disassembly of section .text: 00800020 <umain>: #include <inc/lib.h> void umain(int argc, char **argv) { 800020: 55 push %ebp 800021: 89 e5 mov %esp,%ebp 800023: 53 push %ebx 800024: 83 ec 0c ...
;****************************************************************************** ;* VP9 loop filter SIMD optimizations ;* ;* Copyright (C) 2013-2014 Clément Bœsch <u pkh me> ;* ;* This file is part of FFmpeg. ;* ;* FFmpeg is free software; you can redistribute it and/or ;* modify it under the terms of the GNU Lesser Gen...
Name: zel_obj_poly.asm Type: file Size: 24667 Last-Modified: '2016-05-13T04:36:32Z' SHA-1: 2521A188EFF343719711225FFC25891469500F15 Description: null
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "txdb.h" #include "walletdb.h" #include "bitcoinrpc.h" #include "net.h" #...
[BITS 64] SECTION .text ; I/O port related functions global kInPortByte, kOutPortByte, kInPortWord, kOutPortWord ; GDT, IDT, and TSS related functions global kLoadGDTR, kLoadTR, kLoadIDTR ; interrupt related functions global kEnableInterrupt, kDisableInterrupt, kReadRFLAGS ;Time Stamp Counter related functions glo...
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 004D3C move.l D0, (A4)+ 004D3E move.l D0, (A4)+ 034434 clr.b ($5a,A6) 034438 clr.b ($59,A6) 03447A clr.b ($5a,A6) [enemy+58] 03447E clr.b ($59,A6) 0346FC clr.b ($5a,A6) [enemy+58] 034700 ...
#include <vector> #include <iostream> #include <assert.h> #include "vector.hpp" // Blog: http://blog.csdn.net/fengbingchun/article/details/51510916 int test_vector_init() { std::vector<int> a; // 声明一个int型向量a,size为0 std::vector<int> b(10); // 声明一个初始size为10的向量 std::vector<int> c(10, 1); // 声明一个...
; A215887: Written in decimal, n ends in a(n) consecutive nonzero digits. ; 0,1,1,1,1,1,1,1,1,1,0,2,2,2,2,2,2,2,2,2,0,2,2,2,2,2,2,2,2,2,0,2,2,2,2,2,2,2,2,2,0,2,2,2,2,2,2,2,2,2,0,2,2,2,2,2,2,2,2,2,0,2,2,2,2,2,2,2,2,2,0,2,2,2,2,2,2,2,2,2,0,2,2,2,2,2,2,2,2,2,0,2,2,2,2,2,2,2,2,2 mov $3,1 lpb $0 mul $0,$3 mov $2,$0 d...
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef vector<int> vi; typedef pair<int, int> pii; template <typename T1, typename T2> ostream &operator <<(ostream &os, pair<T1, T2> p){os << p.first << " " << p.second; return os;} template <typename T> ostream &operator <<(ostream &os, vector<T> ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r9 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0xa952, %rsi lea addresses_WC_ht+0x1c702, %rdi clflush (%rdi) nop and %r9, %r9 mov $8, %rcx rep movsq nop nop nop nop nop and $33134, %rcx lea addresses_A_ht+0x2b42, %rsi lea addresses_U...
dnl PowerPC 750 mpn_rshift -- mpn right shift. dnl Copyright 2002, 2003 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 it under the terms of the GNU Lesser General Public License as published dnl by ...
; $Id: bs3-mode-TestDoModesByOneStub.asm 69111 2017-10-17 14:26:02Z vboxsync $ ;; @file ; BS3Kit - Bs3TestDoModesByOne near stub. ; ; ; Copyright (C) 2007-2017 Oracle Corporation ; ; This file is part of VirtualBox Open Source Edition (OSE), as ; available from http://www.virtualbox.org. This file is free software; ; ...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Berkeley Softworks 1993 -- All Rights Reserved PROJECT: PC GEOS MODULE: Deskjet printer driver for Zoomer FILE: deskjetzDriverInfo.asm AUTHOR: Dave Durran, 27 Feb 1990 REVISION HISTORY: Name Date Descrip...
;/* ; Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies) ; ; This library is free software; you can redistribute it and/or ; modify it under the terms of the GNU Library General Public ; License as published by the Free Software Foundation; either ; version 2 of the License, or (at your opt...
#ruledef test { loop => 0x5555 @ $`16 } #bankdef a { #addr 0x8000 } #bank c ; error: unknown
; A040810: Continued fraction for sqrt(839). ; 28,1,27,1,56,1,27,1,56,1,27,1,56,1,27,1,56,1,27,1,56,1,27,1,56,1,27,1,56,1,27,1,56,1,27,1,56,1,27,1,56,1,27,1,56,1,27,1,56,1,27,1,56,1,27,1,56,1,27,1,56,1,27,1,56,1,27,1,56,1,27,1,56,1,27 gcd $0,262156 mul $0,42 mod $0,13 mov $1,$0 div $1,5 mul $1,23 add $0,$1 mul $0,2 su...
// Copyright (c) 2015 - 2020 Jean Wallet // Copyright (c) 2015 - 2020 The AYCHDeveloper. // Distributed under the MIT software license, see the accompanying // file LICENSE or http://www.opensource.org/licenses/mit-license.php. // file LICENSE or https://www.gnu.org/licenses. #include <wallet/wallet.h> #include <chec...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r15 push %r8 push %rbp push %rcx push %rdi push %rsi lea addresses_WC_ht+0xeb82, %r11 nop nop nop nop nop xor $28365, %rcx vmovups (%r11), %ymm0 vextracti128 $1, %ymm0, %xmm0 vpextrq $1, %xmm0, %r15 nop nop nop xor %r8, %r8 lea addresses_UC_ht+0x2ca...
#include <stan/math/opencl/double_d.hpp> #include <gtest/gtest.h> #include <limits> #include <Eigen/Core> #define EXPECT_NORMALIZED(a) \ EXPECT_LT(std::abs(a.low), \ std::abs(a.high) * std::numeric_limits<double>::epsilon()); TEST(double_d, add_dd_dd_test) { using stan::math::internal::add_dd_dd; us...
; A175113: a(n) = ((2*n + 1)^6 + 1)/2. ; 1,365,7813,58825,265721,885781,2413405,5695313,12068785,23522941,42883061,74017945,122070313,193710245,297411661,443751841,645733985,919132813,1282863205,1759371881,2375052121,3160681525,4151882813,5389607665,6920643601,8798143901,11082180565,13840320313,17148223625,21090266821,...
; A040575: Continued fraction for sqrt(600). ; 24,2,48,2,48,2,48,2,48,2,48,2,48,2,48,2,48,2,48,2,48,2,48,2,48,2,48,2,48,2,48,2,48,2,48,2,48,2,48,2,48,2,48,2,48,2,48,2,48,2,48,2,48,2,48,2,48,2,48,2,48,2,48,2,48,2,48,2,48,2,48,2,48,2,48 mov $1,12 lpb $0,1 mod $0,2 mul $1,2 lpe gcd $1,$0 mul $1,2
INP OUT HLT
; A060532: Number of ways to color vertices of a heptagon using <= n colors, allowing rotations and reflections. ; 0,1,18,198,1300,5895,20646,60028,151848,344925,719290,1399266,2569788,4496323,7548750,12229560,19206736,29351673,43782498,63913150,91508580,128746431,178285558,243341748,327771000,436160725,573929226,74743...
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/NativeTypes.hpp> namespace RED4ext { namespace audio { struct Language { static constexpr const char* NAME = "audioLanguage"; static constexpr const char* ALIAS = NAME; ...
; A143432: Ultimately periodic length 4 sequence [ 2, 2, 0, 0, ...] with a(0) = a(1) = 1. ; 1,1,0,0,2,2,0,0,2,2,0,0,2,2,0,0,2,2,0,0,2,2,0,0,2,2,0,0,2,2,0,0,2,2,0,0,2,2,0,0,2,2,0,0,2,2,0,0,2,2,0,0,2,2,0,0,2,2,0,0,2,2,0,0,2,2,0,0,2,2,0,0,2,2,0,0,2,2,0,0,2,2,0,0,2,2,0,0,2,2,0,0,2,2,0,0,2,2,0,0,2,2,0,0,2 div $0,2 pow $1,$...
%define BE(a) ( ((((a)>>24)&0xFF) << 0) + ((((a)>>16)&0xFF) << 8) + ((((a)>>8)&0xFF) << 16) + ((((a)>>0)&0xFF) << 24)) ftyp_start: dd BE(ftyp_end - ftyp_start) dd "ftyp" db 0x6D, 0x69, 0x66, 0x31 ; brand(32) ('mif1') db 0x00, 0x00, 0x00, 0x00 ; version(32) db 0x6D, 0x69, 0x66, 0x31 ; compatible_...
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
; A187357: Catalan trisection: A000108(3*n), n>=0. ; 1,5,132,4862,208012,9694845,477638700,24466267020,1289904147324,69533550916004,3814986502092304,212336130412243110,11959798385860453492,680425371729975800390,39044429911904443959240,2257117854077248073253720,131327898242169365477991900,7684785670514316385230816156,45...
db 0 ; species ID placeholder db 80, 100, 70, 45, 50, 60 ; hp atk def spd sat sdf db FIGHTING, FIGHTING ; type db 90 ; catch rate db 146 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F0 ; gender ratio db 100 ; unknown 1 db 20 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/macho...
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r15 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0xbaaf, %rcx nop nop nop and $29474, %rdx movw $0x6162, (%rcx) nop nop cmp %rax, %rax lea addresses_WC_ht+0x1c9af, %rsi lea addresses_D_ht+0xeb0f, %rdi nop nop xor %r14, %r14 mov $72, %...
; ----- VGA screen updating
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE124_Buffer_Underwrite__new_wchar_t_memcpy_18.cpp Label Definition File: CWE124_Buffer_Underwrite__new.label.xml Template File: sources-sink-18.tmpl.cpp */ /* * @description * CWE: 124 Buffer Underwrite * BadSource: Set data pointer to before the allocated mem...
//Gvs Akhil (Vicennial) #include<bits/stdc++.h> #define int long long #define pb push_back #define eb emplace_back #define mp make_pair #define mt make_tuple #define ld(a) while(a--) #define tci(v,i) for(auto i=v.begin();i!=v.end();i++) #define tcf(v,i) for(auto i : v) #define all(v) v.begin(),v.end() #define rep(i,sta...
// // $Id$ // // // Original author: Matt Chambers <matt.chambers .@. vanderbilt.edu> // // Copyright 2010 Vanderbilt University - Nashville, TN 37232 // // 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 t...
#pragma once #include <random> #include <vector> #include <algorithm> #ifdef _DEBUG # include <iostream> #endif #include "Population.hpp" namespace GA { // TODO: Реализовать другие виды отбора /** * Турнирный отбор. * "Генетические алгоритмы на Python", ДМК Пресс, стр. 42 */ template< typename GeneType> ...
; A086843: Odd numbers m such that the sequence defined by b(1) = m; for k>1, b(k) = floor(phi*b(k-1)), where phi = (1 + sqrt(5))/2, contains only odd numbers. ; Submitted by Christian Krause ; 1,7,11,13,17,21,23,27,33,37,39,43,49,53,59,63,65,69,75,79,81,85,91,95,101,105,107,111,117,121,123,127,131,133,137,143,147,149,...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_normal_ht+0x13660, %rsi lea addresses_WC_ht+0x1ae08, %rdi nop lfence mov $53, %rcx rep movsb sub $13490, %r11 lea addresses_WC_ht+0x5f18, %rax clflush (%rax) nop nop nop nop dec %r11 mov (%rax), %rdi an...
// Copyright 2020 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 "chrome/browser/ash/login/test/kiosk_test_helpers.h" #include "chrome/browser/ash/app_mode/kiosk_app_manager.h" #include "chrome/browser/ash/app...
; A078644: a(n) = tau(2*n^2)/2. ; 1,2,3,3,3,6,3,4,5,6,3,9,3,6,9,5,3,10,3,9,9,6,3,12,5,6,7,9,3,18,3,6,9,6,9,15,3,6,9,12,3,18,3,9,15,6,3,15,5,10,9,9,3,14,9,12,9,6,3,27,3,6,15,7,9,18,3,9,9,18,3,20,3,6,15,9,9,18,3,15,9,6,3,27,9,6,9,12,3,30,9,9,9,6,9,18,3,10,15,15,3,18,3,12,27,6,3,21,3,18,9,15,3,18,9,9,15,6,9,36,5,6,9,9,7,3...
global _start section .data ROWS EQU 10 COLS EQU 10 array1 db 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 db 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 db 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 db 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 db 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 db 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 db 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ...
; A075184: One half of fourth column of triangle A075181. ; Submitted by Christian Krause ; 3,50,675,8820,117600,1632960,23814000,365904000,5927644800,101189088000,1818030614400,34326452160000,679990671360000,14108934647808000,306113492805120000,6933770723303424000 mov $1,$0 add $0,2 seq $1,1806 ; a(n) = n! * binomial...
TunnelMonsB2: db $0F db 20,ELECTABUZZ db 17,GEODUDE db 18,MACHOP db 21,ZUBAT db 22,SNEASEL db 21,PHANPY db 20,MACHOP db 16,SNEASEL db 18,ONIX db 22,ONIX db $00
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup() { ofSetWindowShape(IMAGE_WIDTH * 2, IMAGE_HEIGHT * 2); ofSetFrameRate(60); ofSetVerticalSync(true); player.load("input.mov"); player.setSpeed(1.5); player.play(); player.setLoopState(OF_...
#include <iostream> #include <unordered_map> #include <vector> #include <functional> #include <sstream> using namespace std; struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode(int x): val(x), left(NULL), right(NULL) {} }; class Solution { public: int numTrees(int n) { if...
; A280056: Number of 2 X 2 matrices with entries in {0,1,...,n} and even trace with no entries repeated. ; 0,0,0,8,48,144,360,720,1344,2240,3600,5400,7920,11088,15288,20384,26880,34560,44064,55080,68400,83600,101640,121968,145728,172224,202800,236600,275184,317520,365400,417600,476160,539648,610368,686664,771120,861840...
//======================================================================= // Copyright 1997, 1998, 1999, 2000 University of Notre Dame. // Authors: Andrew Lumsdaine, Lie-Quan Lee, Jeremy G. Siek // // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at // http...
; ;******************************************************************************************************** ; uC/OS-II ; The Real-Time Kernel ; ; ; (c) Copyright 1992-2007, Micrium, Weston, FL ; ...
_cat: file format elf32-i386 Disassembly of section .text: 00000000 <main>: } } 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 push %ebp b: ...
; A178746: Binary counter with intermittent bits. Starting at zero the counter attempts to increment by 1 at each step but each bit in the counter alternately accepts and rejects requests to toggle. ; 0,1,3,6,6,7,13,12,12,13,15,26,26,27,25,24,24,25,27,30,30,31,53,52,52,53,55,50,50,51,49,48,48,49,51,54,54,55,61,60,60,61...