text
stringlengths
1
1.05M
; A301960: Number of nX4 0..1 arrays with every element equal to 0, 1 or 4 horizontally or antidiagonally adjacent elements, with upper left element zero. ; 5,9,25,64,169,441,1156,3025,7921,20736,54289,142129,372100,974169,2550409,6677056,17480761,45765225,119814916,313679521,821223649,2149991424,5628750625,14736260449...
/* * Copyright 2019 The Chromium OS 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 "hal/ip/request_queue.h" #include <memory> #include <utility> #include <gtest/gtest.h> namespace cros { namespace { class RequestQu...
// license:BSD-3-Clause // copyright-holders:Raphael Nabet /**************************************************************************** fat.cpp PC FAT disk images ***************************************************************************** Master boot record format: Offset Length Description ----...
; A158315: A158280(n)/7. ; Submitted by Jon Maiga ; 1,3,3,3,6,3,3,9,3,3,9,3,6,10,3,3,9,9,3,9,3,3,18,3,6,9,3,9,9,3,3,18,9,3,9,3,3,18,9,3,15,3,9,9,3,9,9,9,3,18,3,3,27,3,3,9,3,9,18,9,6,9,10,3,9,3,9,30,3,3,9,9,9,18,3,3,18,9,3,9,9,3,27,3,6,18,3,18,9,3,3,9,9,9,30,3,3,27 mul $0,2 seq $0,7425 ; d_3(n), or tau_3(n), the number...
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #include "cryptography/seed.hpp" #include "utils/string_builder.hpp" namespace shared_model { namespace crypto { Seed::Seed(const std::string &seed) : Blob(seed) {} std::string Seed::toString() const { ...
_grep: file format elf32-i386 Disassembly of section .text: 00000000 <main>: } } int main(int argc, char *argv[]) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 57 push %edi 4: 56 push %esi 5: 53 ...
; A174549: a(n) = (2*n-1)! + (2*n)!. ; 3,30,840,45360,3991680,518918400,93405312000,22230464256000,6758061133824000,2554547108585472000,1175091669949317120000,646300418472124416000000,418802671169936621568000000,315777214062132212662272000000,274094621805930760590852096000000,271353675587871452984943575040000000,303916...
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #include "AlarmMusicOptionsItem.hpp" #include <service-audio/AudioServiceAPI.hpp> #include <purefs/filesystem_paths.hpp> namespace gui { AlarmMusicOptionsItem::AlarmMusicOptionsI...
;****************************************************************************** ; ; (c) 2010 by BECK IPC GmbH ; http://www.beck-ipc.com ; ;****************************************************************************** ; ; Module: cry05.asm ; Function: Dynamic linking of TCPI/IP API Function Crypt_AES_MakeDecryptK...
; ; 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...
_cat: file format elf32-i386-freebsd Disassembly of section .text: 00000000 <cat>: char buf[512]; void cat(int fd) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 ec 28 sub $0x28,%esp int n; while((n = read(fd, buf, sizeof(buf))) >...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r15 push %rax push %rcx push %rdi push %rsi lea addresses_WT_ht+0x211a, %r14 nop nop add %r11, %r11 mov (%r14), %si nop nop nop nop nop xor %r15, %r15 lea addresses_A_ht+0x17e5a, %rsi lea addresses_WC_ht+0x781a, %rdi nop cmp $40263, %rax mov $84, %r...
// Copyright (C) 2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "low_precision_transformations/fake_quantize_and_avg_pool_transformation.hpp" #include <memory> #include <tuple> #include <vector> #include <string> //#include <ie_core.hpp> #include <transformations/init_node_info.hpp> #inclu...
SECTION "sec", ROM0 Parent: .child: db 0 NotParent: dw Parent.child
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0xd49c, %rsi lea addresses_D_ht+0x1291c, %rdi nop nop nop nop inc %rbx mov $64, %rcx rep movsw cmp $40027, %rbx lea addresses_WC_ht+0x1a49c, %rbx clflush (%rbx) nop cmp $53698,...
; A212969: Number of (w,x,y) with all terms in {0,...,n} and w!=x and x>range{w,x,y}. ; 0,0,2,10,26,56,100,166,252,368,510,690,902,1160,1456,1806,2200,2656,3162,3738,4370,5080,5852,6710,7636,8656,9750,10946,12222,13608,15080,16670,18352,20160,22066,24106,26250,28536,30932,33478,36140 mov $2,$0 mov $3,$0 lpb $2 mov $...
#ifndef _AQUARIUS_INPUT_BASIS_HPP_ #define _AQUARIUS_INPUT_BASIS_HPP_ #include "util/global.hpp" #include "integrals/shell.hpp" #include "molecule.hpp" namespace aquarius { namespace input { class BasisSetNotFoundError : public runtime_error { public: BasisSetNotFoundError(const string& element) : runt...
/* * bindings.cc * * Created on: Dec 13, 2011 * Author: ngk437 * * Modified by Mikola Lysenko, Feb. 2013 */ #ifndef BUILDING_NODE_EXTENSION #define BUILDING_NODE_EXTENSION #endif #include <cstdlib> #include <v8.h> #include <node.h> #include "webgl.h" using namespace v8; Persistent<FunctionTemplate> we...
#include "PoissonInputSpikingNeurons.hpp" SPIKE_EXPORT_BACKEND_TYPE(Dummy, PoissonInputSpikingNeurons); namespace Backend { namespace Dummy { void PoissonInputSpikingNeurons::prepare() { InputSpikingNeurons::prepare(); } void PoissonInputSpikingNeurons::reset_state() { InputSpikingNeu...
//===- TranslateRegistration.cpp - hooks to mlir-translate ----------------===// // // Copyright 2019 The MLIR Authors. // // 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....
; A007040: Number of (marked) cyclic n-bit binary strings containing no runs of length > 2. ; 2,2,6,6,10,20,28,46,78,122,198,324,520,842,1366,2206,3570,5780,9348,15126,24478,39602,64078,103684,167760,271442,439206,710646,1149850,1860500,3010348,4870846,7881198,12752042,20633238,33385284,54018520,87403802,141422326,2288...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; ;;; Microsoft Research Singularity ;;; ;;; Copyright (c) Microsoft Corporation. All rights reserved. ;;; ;;; This file contains ARM-specific assembly code. ;;; GBLL mul_s GET veneer.asm END
dpikapic: macro db (\1_id - PikaPicAnimPointers) / 2 endm ldpikapic: macro ld \1, (\2_id - PikaPicAnimPointers) / 2 endm dpikaemotion: macro db (\1_id - PikachuEmotionTable) / 2 endm ldpikaemotion: macro ld \1, (\2_id - PikachuEmotionTable) / 2 endm dpikaanim: macro db (\1_id - PikaPicAnimBGFramesPointers)...
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
// See www.openfst.org for extensive documentation on this weighted // finite-state transducer library. // // Two FSTS are isomorphic (equal up to state and arc re-ordering) iff their // exit status is zero. FSTs should be deterministic when viewed as unweighted // automata. #include <cstring> #include <memory> #incl...
; A020870: Number of strong single-component edge-subgraphs in Moebius ladder M_n. ; 38,205,1092,5719,29486,150049,755432,3769771,18673250,91917621,450025692,2193031871,10643233110,51467250249,248079277008,1192335047635,5715823515722,27336235315037,130457855039172,621374856379623,2954332179898174,14023263123496049,6646...
; A047252: Numbers that are congruent to {0, 1, 3, 4, 5} mod 6. ; 0,1,3,4,5,6,7,9,10,11,12,13,15,16,17,18,19,21,22,23,24,25,27,28,29,30,31,33,34,35,36,37,39,40,41,42,43,45,46,47,48,49,51,52,53,54,55,57,58,59,60,61,63,64,65,66,67,69,70,71,72,73,75,76,77,78,79 mul $0,6 add $0,3 div $0,5
//------------------------------------------------------------------------------ /* This file is part of rippled: https://github.com/ripple/rippled Copyright (c) 2012, 2013 Ripple Labs Inc. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby g...
#ifndef RESPIRE_CPP #define RESPIRE_CPP #include <Logging.h> #include "respire.h" #if PLATFORM_NATIVE #define RANDOM nativeRandom #else #define RANDOM random #endif template <class TAppState> Mode<TAppState>::Mode(const Builder &builder) : _name(builder._name), _repeatLimit(builder._repeatLimit), _minDuration(bu...
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include <initializer_list> #include "extern/beatsaber-hook/shared/utils/byref.hpp" // I...
// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) #include <boost/hana/assert.hpp> #include <boost/hana/not.hpp> #include <boost/hana/optional.hpp> namespace hana = boost::hana; BOOST_HAN...
; A043699: a(n)= A000129(n)*A000129(2*n) where A000129(n) are the Pell numbers. ; Submitted by Jamie Morken(s1) ; 0,2,24,350,4896,68962,970200,13652158,192099456,2703046850,38034749784,535189557278,7530688519200,105964828904482,1491038292992664,20980500931258750,295218051329511936,4154033219547089282,584516831249823318...
; A118512: Define sequence S_m by: initial term = m, reverse digits and add 1 to get next term. Entry shows S_11. This reaches a cycle of length 9 in 18 steps. ; 11,12,22,23,33,34,44,45,55,56,66,67,77,78,88,89,99,100,2,3,4,5,6,7,8,9,10,2,3,4,5,6,7,8,9,10,2,3,4,5,6,7,8,9,10,2,3,4,5,6,7,8,9,10,2,3,4,5,6,7,8,9,10,2,3,4,5,...
;**************************************************************** .include "m48def.inc" ;**************************************************************** ; Data ;**************************************************************** .dseg .org SRAM_START ; because avra ignores device specific segment placement address data:...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r15 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x12655, %r10 nop nop nop nop and $28084, %rcx mov (%r10), %ax nop and $3794, %rdi lea addresses_A_ht+0x1e939, %rbx nop nop nop nop xor %r15, %r15 mov (%rbx), %dx xor %rdi, %rd...
; A023610: Convolution of Fibonacci numbers and {F(2), F(3), F(4), ...}. ; 1,3,7,15,30,58,109,201,365,655,1164,2052,3593,6255,10835,18687,32106,54974,93845,159765,271321,459743,777432,1312200,2211025,3719643,6248479,10482351,17562870,29391490,49132669,82048737,136884293,228160495,379975140,632293452,1051356761,17468961...
; TKROM: (128,256,512)KB PRG-ROM + 8KB PRG-RAM + (128,256)KB CHR-ROM ; http://bootgod.dyndns.org:7777/search.php?keywords=TKROM&kwtype=pcb ;------------------------------------------------------------------------------; ; number of 16K PRG banks ; Valid configurations: $08 (128K), $10 (256K), $20 (512K) PRG_BANKS = $08...
# Prints a single 8-bit ASCII character using BIOS interrupts. # The char to print must be in %al _PRINT_CHAR_16_: movb $0xE, %ah # Set to teletype int $0x10 # Call BIOS interrupt retw # Prints a null terminated string using BIOS interrupts. # The address of the null terminated string must b...
; A031370: a(n) = prime(4n-1). ; 5,17,31,47,67,83,103,127,149,167,191,211,233,257,277,307,331,353,379,401,431,449,467,499,523,563,587,607,631,653,677,709,739,761,797,823,853,877,907,937,967,991,1019,1039,1063,1093,1117,1153,1187,1217,1237,1279,1297,1319,1367,1409,1433,1453,1483,1499,1543,1567,1597,1613,1637,1669,1709,1...
; A142105: Primes congruent to 17 mod 36. ; 17,53,89,197,233,269,449,521,557,593,701,773,809,881,953,1061,1097,1277,1493,1601,1637,1709,1889,1997,2069,2141,2213,2357,2393,2609,2753,2789,2861,2897,2969,3041,3221,3257,3329,3581,3617,3761,3797,3833,4013,4049,4157,4229,4337,4373,4409,4481,4517,4733,4877,5021,5237,5273,5309...
; A099398: Numerators of rationals (in lowest terms) used in a certain high temperature expansion. ; Submitted by Jamie Morken(s2) ; 1,1,1,1,7,3,33,143,143,221,4199,2261,7429,37145,334305,570285,1964315,3411705,23881935,42077695,149184555,265937685,3811773485,6861192273,24805848987,135054066707,327988447717,59942716306...
; A006337: An "eta-sequence": floor( (n+1)*sqrt(2) ) - floor( n*sqrt(2) ). ; Submitted by Christian Krause ; 1,2,1,2,1,1,2,1,2,1,1,2,1,2,1,2,1,1,2,1,2,1,1,2,1,2,1,2,1,1,2,1,2,1,1,2,1,2,1,1,2,1,2,1,2,1,1,2,1,2,1,1,2,1,2,1,2,1,1,2,1,2,1,1,2,1,2,1,1,2,1,2,1,2,1,1,2,1,2,1,1,2,1,2,1,2,1,1,2,1,2,1,1,2,1,2,1,2,1,1 add $0,1 s...
; database.asm BTile proc ::TILE_IMAGES: ::TileImages: ; BTile Best ; FileName Indices Viewed As Notes NirvanaDemo equ ($-TileImages)/Sprites.BTileLen import_bin "..\tiles\nirvana+.btile" ...
; A155996: Nearest integer to 2^n*Pi/4. ; Submitted by Jon Maiga ; 1,2,3,6,13,25,50,101,201,402,804,1608,3217,6434,12868,25736,51472,102944,205887,411775,823550,1647099,3294199,6588397,13176795,26353589,52707179,105414357,210828714,421657428,843314857,1686629713,3373259426,6746518852 seq $0,293342 ; Least integer k su...
; ; Invoke a GSX/GIOS function with 1 coordinate (2 values) in "ptsin" ; ; ; $Id: gios_1px_callee.asm $ ; SECTION code_clib PUBLIC gios_1px_callee PUBLIC _gios_1px_callee EXTERN gios EXTERN gios_ctl EXTERN gios_ptsin PUBLIC ASMDISP_GIOS_1PX gios_1px_callee: _gios_1px_callee: pop af pop hl pop bc pop de p...
#pragma once #include <b1/rodeos/callbacks/vm_types.hpp> namespace b1::rodeos { struct filter_callback_state { std::function<void(const char* data, uint64_t size)> push_data; }; template <typename Derived> struct filter_callbacks { Derived& derived() { return static_cast<Derived&>(*this); } void push_data...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r8 push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0xd8f4, %r12 nop nop nop nop xor $34238, %rdi vmovups (%r12), %ymm2 vextracti128 $1, %ymm2, %xmm2 vpextrq $1, %xmm2, %rbx nop inc %rdi lea addresses_A_ht+0x168f4, %rsi lea addresses_UC_ht...
; A064808: The (n+1)st (n+2)-gonal number. ; 1,3,9,22,45,81,133,204,297,415,561,738,949,1197,1485,1816,2193,2619,3097,3630,4221,4873,5589,6372,7225,8151,9153,10234,11397,12645,13981,15408,16929,18547,20265,22086,24013,26049,28197,30460,32841,35343,37969,40722,43605,46621,49773,53064,56497,60075,63801,67678,71709,75897,...
// // Created by 木子又欠 on 2021/1/27. // #include <iostream> #include <map> #include <iomanip> using namespace std; struct Polynomial{ int exp[2005]; float coe[2005]; }; int main(){ int M, N, count, min; Polynomial A, B, pro; cin >> M; for (int i = 0; i < M; i++) { cin >> A.exp[i] >> A...
Name: kart-apu.asm Type: file Size: 33825 Last-Modified: '1992-11-18T01:34:04Z' SHA-1: 51BE152C871C014D36AD708242749C815DC0E02C Description: null
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r15 push %rax push %rdx lea addresses_WT_ht+0x14321, %r10 nop add $53407, %rax mov $0x6162636465666768, %r15 movq %r15, %xmm2 and $0xffffffffffffffc0, %r10 vmovaps %ymm2, (%r10) add %rdx, %rdx pop %rdx pop %rax pop %r15 pop %r10 ret .global s_faulty_load...
CeruleanBadgeHouse_Object: db $c ; border block db 3 ; warps warp 2, 0, 9, -1 warp 2, 7, 8, -1 warp 3, 7, 8, -1 db 0 ; signs db 1 ; objects object SPRITE_FAT_BALD_GUY, 5, 3, STAY, RIGHT, 1 ; person ; warp-to warp_to 2, 0, CERULEAN_BADGE_HOUSE_WIDTH warp_to 2, 7, CERULEAN_BADGE_HOUSE_WIDTH warp_to 3, 7, ...
; A123219: Expansion of -x*(x^4 + 52*x^3 - 122*x^2 - 28*x + 1) / ((x-1)*(x^2 - 34*x + 1)*(x^2 + 6*x + 1)). ; 1,1,81,2401,83521,2825761,96059601,3262808641,110841719041,3765342321601,127910874833361,4345203949621921,147609026049038401,5014361666349715681,170340687719412376401,5786569020271612560001,196573006004558194713...
$NOMOD51 ;to suppress the pre-defined addresses by keil $include (C8051F020.INC) ; to declare the device peripherals with it's addresses ORG 0H ; to start writing the code from the base 0 ;diable the watch dog MOV WDTCN,#11011110B ;0DEH MOV WDTCN,#10101101B ;0ADH ; config of clock MOV OSCICN , #14...
; A021949: Decimal expansion of 1/945. ; 0,0,1,0,5,8,2,0,1,0,5,8,2,0,1,0,5,8,2,0,1,0,5,8,2,0,1,0,5,8,2,0,1,0,5,8,2,0,1,0,5,8,2,0,1,0,5,8,2,0,1,0,5,8,2,0,1,0,5,8,2,0,1,0,5,8,2,0,1,0,5,8,2,0,1,0,5,8,2,0,1,0,5,8,2,0,1,0,5,8,2,0,1,0,5,8,2,0,1 add $0,1 mov $1,10 pow $1,$0 mul $1,2 div $1,1890 mod $1,10 mov $0,$1
tsx lda {m1} sta STACK_BASE+{c1},x lda {m1}+1 sta STACK_BASE+{c1}+1,x
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1989 -- All Rights Reserved PROJECT: PC GEOS MODULE: VM Managment FILE: vmemLow.asm AUTHOR: Adam de Boor, Dec 4, 1989 ROUTINES: Name Description ---- ----------- INT VMEnforceHandleLimit...
// Time: O(n) // Space: O(n) class Solution { public: /* * @param numbers : An array of Integer * @param target : target = numbers[index1] + numbers[index2] * @return : [index1+1, index2+1] (index1 < index2) */ vector<int> twoSum(vector<int> &nums, int target) { unordered_map<int, ...
db "DRILL@" ; species name db "From holes in its" next "palms, it fires" next "out GEODUDE. Its" page "carapace can" next "withstand volcanic" next "eruptions.@"
;================================================================================================== ; Fixes songs in certain scenes to allow for various song learning function to properly play ; through their scripts. ;================================================================================================== su...
/* Copyright 2005-2008 Intel Corporation. All Rights Reserved. This file is part of Threading Building Blocks. Threading Building Blocks is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundat...
; A169070: Number of reduced words of length n in Coxeter group on 9 generators S_i with relations (S_i)^2 = (S_i S_j)^25 = I. ; 1,9,72,576,4608,36864,294912,2359296,18874368,150994944,1207959552,9663676416,77309411328,618475290624,4947802324992,39582418599936,316659348799488,2533274790395904,20266198323167232,16212958...
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // /////////////////////////////////////////////////////////////////////////////////////////////////// #include <gtest/gtest.h> #include "api/memory.hpp" #include <api/input_layout.hpp> #include "api/select.hpp" #include <api/topology....
#include "core.h" #include "wbpegetname.h" #include "configmanager.h" WBPEGetName::WBPEGetName() : m_UniqueName( false ) { } WBPEGetName::~WBPEGetName() { } /*virtual*/ void WBPEGetName::InitializeFromDefinition( const SimpleString& DefinitionName ) { WBPEUnaryOp::InitializeFromDefinition( DefinitionName ); MAKEH...
; A010874: a(n) = n mod 5. ; 0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4 mod $0,5
; A211013: Second 13-gonal numbers: a(n) = n*(11*n+9)/2. ; 0,10,31,63,106,160,225,301,388,486,595,715,846,988,1141,1305,1480,1666,1863,2071,2290,2520,2761,3013,3276,3550,3835,4131,4438,4756,5085,5425,5776,6138,6511,6895,7290,7696,8113,8541,8980,9430,9891,10363,10846,11340,11845,12361,12888,13426,13975,14535,15106,15688...
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r9 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x8c89, %rdi xor %rsi, %rsi movups (%rdi), %xmm1 vpextrq $1, %xmm1, %r9 nop nop nop nop nop sub %rax, %rax lea addresses_WC_ht+0x9efd, %rdi nop nop nop sub $49842, %rbx mov $0x6...
kernel: file format elf32-i386 Disassembly of section .text: 80100000 <multiboot_header>: 80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh 80100006: 00 00 add %al,(%eax) 80100008: fe 4f 52 decb 0x52(%edi) 8010000b: e4 .byte 0xe4 8010000c <entry>: # E...
; void *heap_calloc(void *heap, size_t nmemb, size_t size) INCLUDE "clib_cfg.asm" SECTION code_clib SECTION code_alloc_malloc ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; IF __CLIB_OPT_MULTITHREAD & $01 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; PUBLIC heap_calloc_callee EXTERN asm_heap_calloc heap_calloc_callee: pop af pop bc ...
; A011856: a(n) = floor(binomial(n,10)/10). ; 0,0,0,0,0,0,0,0,0,0,0,1,6,28,100,300,800,1944,4375,9237,18475,35271,64664,114406,196125,326876,531173,843628,1312311,2003001,3004501,4435216,6451224,9256104,13112814,18357939,25418685,34833013,47273375,63574539,84766052,112109940,147144297,191733478,248125677,319018728,4076...
#include<cstdlib> #include<iostream> #include<string> #include<vector> #include<ctime> #include<numeric> #include<cmath> #include<sstream> #include<thread> #include<chrono> #include<ctime> #include<mutex> #include<stack> #include <condition_variable> bool flag[65]; int index[65]; std::mutex mu[65], mu2[65]; std::cond...
; A078789: Expansion of (1-4*x+2*x^2)/(1-7*x+13*x^2-4*x^3). ; 1,3,10,35,127,474,1807,6995,27370,107883,427351,1698458,6765175,26985675,107746282,430470899,1720537327,6878624730,27505271455,109996928003,439924466026,1759532283963,7037695641415,28149647662490,112595619434887,450374698997499,1801478430978922,7205860407624...
; ; jdcolor.asm - colorspace conversion (MMX) ; ; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB ; Copyright 2009 D. R. Commander ; ; Based on ; x86 SIMD extension for IJG JPEG library ; Copyright (C) 1999-2006, MIYASAKA Masaru. ; For conditions of distribution and use, see copyright notice in jsimdext.i...
#include "RenderPath_BindLua.h" using namespace std; const char RenderPath_BindLua::className[] = "RenderPath"; Luna<RenderPath_BindLua>::FunctionType RenderPath_BindLua::methods[] = { lunamethod(RenderPath_BindLua, Initialize), lunamethod(RenderPath_BindLua, OnStart), lunamethod(RenderPath_BindLua, OnStop), lun...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2017 The PIVX developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-li...
/* ID: apiv2002 PROG: palsquare LANG: C++ */ #include <bits/stdc++.h> using namespace std; int n; int baset; string answer = ""; string answerB = ""; bool check() { for (int i = 0; i < answer.size(); i++) { if (answer[i] != answer[answer.size() - i - 1]) return 0; } return 1; } void ...
#fn add1(value) => xxxx + 1 #d8 add1(0) ; error: failed / error:_:1: unknown #d8 add1(-2) ; error: failed / error:_:1: unknown #d8 add1(2) ; error: failed / error:_:1: unknown #d8 add1(0xffff) ; error: failed / error:_:1: unknown
#include <cstdio> #include <algorithm> #include <iostream> #include <cmath> #include <vector> #include <limits.h> #include <stack> #include <queue> #include <set> #include <map> #include <assert.h> #include <iostream> #include <utility> #include <string.h> #include <cstring> #include <cstdlib> #include <cstdio> #def...
; A243980: Four times the sum of all divisors of all positive integers <= n. ; 4,16,32,60,84,132,164,224,276,348,396,508,564,660,756,880,952,1108,1188,1356,1484,1628,1724,1964,2088,2256,2416,2640,2760,3048,3176,3428,3620,3836,4028,4392,4544,4784,5008,5368,5536,5920,6096,6432,6744,7032,7224,7720,7948,8320,8608,9000,9216...
; A063896: a(n) = 2^Fibonacci(n) - 1. ; 0,1,1,3,7,31,255,8191,2097151,17179869183,36028797018963967,618970019642690137449562111,22300745198530623141535718272648361505980415,13803492693581127574869511724554050904902217944340773110325048447598591,307828173409331868845930000782371982852185463050511302093346042220669701339...
SECTION code_fp_mbf64 PUBLIC l_f64_gt EXTERN ___mbf64_setup_comparison EXTERN l_f64_yes EXTERN l_f64_no INCLUDE "mbf64.def" ; Stack > registers l_f64_gt: call ___mbf64_setup_comparison ; 0b00000000 = stack == register ; 0b00000001 = stack > register ; 0b11111111 = stack < register cp 1 jp z,l_f64_yes j...
// // Mango.cpp // KitkitSchool // // Created by HyeonGyu Yu on 3/7/18. // #include "Mango.hpp" #include "MangoShopNumberCard.hpp" namespace MangoShop { bool Mango::_isOtherMovingCard = false; const string kMangoBaseImageLandscape = "MangoShop/mango-shop_image_mango_horizontal_%02d.png"; const stri...
/* * Copyright 2012 The WebRTC Project Authors. All rights reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing ...
#include "duckdb/execution/expression_executor.hpp" #include "duckdb/function/aggregate/holistic_functions.hpp" #include "duckdb/planner/expression.hpp" #include "duckdb/common/operator/cast_operators.hpp" #include "duckdb/common/operator/abs.hpp" #include "duckdb/common/types/chunk_collection.hpp" #include "duckdb/com...
; name: REAL APP - Kenneth Falck bootloader ; code: "EA057C000031C08ED88EC088163D7CBE2C7CE80400F4E9FCFF8A044608C0740BB40EB700B307CD10E9EEFFC34c6f6164696e672e2e2e004572726f72000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
;=============================================================================== ; Copyright 2016-2020 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...
; A005460: a(n) = (3*n+4)*(n+3)!/24. ; Submitted by Jamie Morken(s4) ; 1,7,50,390,3360,31920,332640,3780000,46569600,618710400,8821612800,134399865600,2179457280000,37486665216000,681734237184000,13071512982528000,263564384219136000,5575400435404800000,123469776914964480000,2856835183101419520000,6893871130369327104000...
; SMS2 calendar tables v0.00  Mar 1988 J.R.Oakley QJUMP section calendar xdef cv_caltb xdef cv_calst xref cv_english xref cv_deutsch xref cv_francais xref cv_papal ;+++ ; Select calendar table ; ; d0 cr word table ...
.include "defaults_mod.asm" table_file_jp equ "exe4-utf8.tbl" table_file_en equ "bn4-utf8.tbl" game_code_len equ 3 game_code equ 0x4234574A // B4WJ game_code_2 equ 0x42345745 // B4WE game_code_3 equ 0x42345750 // B4WP card_type equ 1 card_id equ 47 card_no equ "047" card_sub equ "Mod Card 047" card_sub_x ...
; $Id: PAEToPAE.asm $ ;; @file ; VMM - World Switchers, PAE to PAE ; ; ; Copyright (C) 2006-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; ; you can redistribute it and/or modify it under the terms of the...
; A194511: Second coordinate of (2,5)-Lagrange pair for n. ; -1,0,1,0,1,0,1,0,1,2,1,2,1,2,1,2,3,2,3,2,3,2,3,4,3,4,3,4,3,4,5,4,5,4,5,4,5,6,5,6,5,6,5,6,7,6,7,6,7,6,7,8,7,8,7,8,7,8,9,8,9,8,9,8,9,10,9,10,9,10,9,10,11,10,11,10,11,10,11,12,11,12,11,12,11,12,13,12,13 mov $2,$0 add $2,1 cmp $2,1 mov $3,$0 add $3,7 sub $4,$2 m...
; A052558: a(n) = n! *((-1)^n + 2*n + 3)/4. ; 1,1,4,12,72,360,2880,20160,201600,1814400,21772800,239500800,3353011200,43589145600,697426329600,10461394944000,188305108992000,3201186852864000 mov $1,$0 div $0,2 gcd $2,$0 fac $1 mul $2,$1 add $1,$2
; ; Tape load routine ; ; Stefano 31/5/2010 ; ; int __CALLEE__ tape_load_block_callee(void *addr, size_t len, unsigned char type) ; PUBLIC tape_load_block_callee PUBLIC _tape_load_block_callee PUBLIC ASMDISP_TAPE_LOAD_BLOCK_CALLEE .tape_load_block_callee ._tape_load_block_callee pop ix pop bc pop d...
; vim: set ft=nasm et: %include "rtld.inc" %ifndef HASH_END_TYP %warning "W: HASH_END_TYP not defined, falling back to 16-bit!" %define HASH_END_TYP word %endif %define R10_BIAS (0x178) %ifdef ELF_TYPE [section .text.startup.smol] %else ; not defined -> debugging! [section .text] %endif %ifndef USE_DNLOAD_LOADER g...
; __ _______ __ ; \_|/\||_||/\|_/ ; // /||_||\ \\ ; /symetrie 256b\ ; intrrro by Rrrola ;rrrolaATgmailDOTcom ; greets to everyone with a six-letter name ; thanks to Pirx for rdtsc info ; use the keyboard to control speed ZOOM equ 66 org 100h ; assume si=100h bp=9??h dx=cs ;Initialization ...
section .init ; gcc will nicely put the contents of crtend.o's .init section here. popl ebp ret section .fini ; gcc will nicely put the contents of crtend.o's .fini section here. popl ebp ret
.model small .stack 100h .data .code main proc mov ah,2 mov dl,'?' int 21h mov ah,1 int 21h mov bl,al mov ah,2 mov dl,0DH int 21h mov dl,0AH int 21h mov ah,2 mov dl,bl int 21h ;return to dos mov ah,4ch int 21h main endp end main
; A171443: Expansion of (1+x)^8/(1-x). ; 1,9,37,93,163,219,247,255,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,256,2...
SilphCo3F_Object: db $2e ; border block def_warps warp 26, 0, 1, SILPH_CO_2F warp 24, 0, 0, SILPH_CO_4F warp 20, 0, 0, SILPH_CO_ELEVATOR warp 23, 11, 9, SILPH_CO_3F warp 3, 3, 5, SILPH_CO_5F warp 3, 15, 6, SILPH_CO_5F warp 27, 3, 3, SILPH_CO_2F warp 3, 11, 3, SILPH_CO_9F warp 11, 11, 4, SILPH_CO_7F ...
#include "DocxFactory/xml/StrToXMLCh.h" #include "DocxFactory/xml/XmlFunc.h" using namespace DocxFactory; using namespace std; StrToXMLCh::StrToXMLCh( const string& p_str ) { m_xmlCh = XmlFunc::strToXMLCh( p_str ); } // c'tor StrToXMLCh::operator XMLCh*() { return m_xmlCh; } // operator XMLCh* StrToXMLCh::~Str...