text
stringlengths
1
1.05M
#include "hv.h" #include "hmain.h" #include "iniparser.h" typedef struct conf_ctx_s { IniParser* parser; int loglevel; int worker_processes; int worker_threads; int port; } conf_ctx_t; conf_ctx_t g_conf_ctx; inline void conf_ctx_init(conf_ctx_t* ctx) { ctx->parser = new IniParser; ctx->log...
copyright zengfr site:http://github.com/zengfr/romhack 03D434 clr.b ($a9,A6) 03D438 clr.b ($a0,A6) 0408CC move.b #$1, ($94,A6) [boss+A9] copyright zengfr site:http://github.com/zengfr/romhack
; A210375: Number of 2 X 2 matrices with all terms in {0,1,...,n} and (sum of terms) = n + 3. ; 0,1,16,44,80,125,180,246,324,415,520,640,776,929,1100,1290,1500,1731,1984,2260,2560,2885,3236,3614,4020,4455,4920,5416,5944,6505,7100,7730,8396,9099,9840,10620,11440,12301,13204,14150,15140,16175,17256,18384,19560 mov $12,$...
; A210958: Decimal expansion of 1 - (Pi/4). ; Submitted by Jon Maiga ; 2,1,4,6,0,1,8,3,6,6,0,2,5,5,1,6,9,0,3,8,4,3,3,9,1,5,4,1,8,0,1,2,4,2,7,8,9,5,0,7,0,7,6,5,0,1,5,6,2,2,3,5,4,4,7,5,6,2,6,3,8,5,1,9,2,3,0,4,5,8,9,8,4,2,8,4,4,7,7,5,0,3,4,2,9,9,1 add $0,1 mov $2,1 mov $3,$0 mul $3,5 lpb $3 mul $1,$3 mov $5,$3 mul ...
cpx #0 beq !e+ !: asl {m1} rol {m1}+1 dex bne !- !e:
; A165678: Sixth right hand column of triangle A165674 ; 1764,8028,24552,60216,127860,245004,434568,725592,1153956,1763100,2604744,3739608,5238132,7181196,9660840,12780984,16658148,21422172,27216936,34201080,42548724,52450188,64112712,77761176,93638820 lpb $0,1 mov $2,$0 cal $2,165677 ; Fifth right hand column of ...
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r15 push %r8 push %rax push %rcx push %rdi push %rsi lea addresses_WC_ht+0x16e0, %rsi lea addresses_WT_ht+0x3e3c, %rdi sub %r14, %r14 mov $111, %rcx rep movsb nop nop nop and $16819, %r14 lea addresses_D_ht+0x3c40, %r15 and %rdi, %rdi mov $0x6162636465666768,...
; Program 8.7 ; SSE4 - MASM (32-bit) ; Copyright (c) 2017 Hall & Slonka .686 .XMM .MODEL FLAT, C .STACK 4096 ExitProcess PROTO stdcall, dwExitCode:DWORD .data ALIGN 16 vectorA REAL4 1.2, 3.4, 5.6, 7.8 vectorB REAL4 7.8, 5.6, 3.4, 1.2 .code _main PROC movaps xmm0, vectorA ; move aligned packed vectorA to XMM0 rou...
[bits 32] dd VideoInfo.$FILE_END - VideoInfo.$FILE_START db "OrcaHLL Class", 0 db "VideoInfo", 0 VideoInfo.$FILE_START : VideoInfo._init: pop dword [VideoInfo._init.returnVal] push eax push ebx push edx mov ax, 0x0104 int 0x30 mov ecx, 0x7 ; System Constant push ecx mov ax, 0x0001 int 0x30 mov [VideoInfo._init.$loca...
// Copyright (c) 2014 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <crypto/ripemd160.h> #include <crypto/common.h> #include <string.h> // Internal implementation code. namespace { /// I...
;Suma elemente vector in care se evita un salt conditionat (jz...in locul lui a fost pus jnz et1; si jmp final) mai mare de 127 sau -126 bytes .model small .data sum dw ? tab dw 2,7,15,20 .code start: mov ax,@data mov ds,ax xor ax,ax mov cx,4 mov si,ax test cx,cx jnz et1 jmp final et1...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006, 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 distribution. Th...
; A151542: Generalized pentagonal numbers: a(n) = 12*n + 3*n*(n-1)/2. ; 0,12,27,45,66,90,117,147,180,216,255,297,342,390,441,495,552,612,675,741,810,882,957,1035,1116,1200,1287,1377,1470,1566,1665,1767,1872,1980,2091,2205,2322,2442,2565,2691,2820,2952,3087,3225,3366,3510,3657,3807,3960,4116,4275,4437,4602,4770,4941,511...
/* --------------------------------------------------------------------------- Open Asset Import Library (assimp) --------------------------------------------------------------------------- Copyright (c) 2006-2018, assimp team All rights reserved. Redistribution and use of this software in source and binary forms,...
;************************************************************************* ;** INTEL Corporation Proprietary Information ;** ;** This listing is supplied under the terms of a license ;** agreement with INTEL Corporation and may not be copied ;** nor disclosed except in accordance with the terms of ;**...
; A139760: First quadrisection of A115451. ; 1,9,137,2185,34953,559241,8947849,143165577,2290649225,36650387593,586406201481,9382499223689,150119987579017,2401919801264265,38430716820228233,614891469123651721,9838263505978427529,157412216095654840457,2518595457530477447305,40297527320487639156873,6447604371278022265099...
.model small .data .code main proc mov dl, 3 inc dl ; the increment command increments the value inside the register by 1, it cannot increment more than by 1 ;dec dl would decrement the vaule of dl register by 1 add dl, 48 neg dl ; what we do where is we create a ne...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
#include "sat.hpp" #include <iostream> int main(int argc, char **argv) { using namespace collision2d; const Polygon<double> a{{0, 0}, {2, 0}, {2, 2}, {0, 2}}; const Polygon<double> b{{1, 1}, {3, 0}, {3, 5}, {1, 6}}; const Polygon<double> c{{0, 3}, {2, 3}, {2, 6}, {0, 7}}; std::cout << "intersect(a, b) ? "...
#include <string.h> #include <string> #include <vector> #include <mutex> #include <memory> #include <openssl/dh.h> #include <openssl/md5.h> #include <openssl/crypto.h> #include "TunnelBase.h" #include <openssl/ssl.h> #include "Crypto.h" #if LEGACY_OPENSSL #include "ChaCha20.h" #include "Poly1305.h" #endif #include "Ed2...
; A005418: Number of (n-1)-bead black-white reversible strings; also binary grids; also row sums of Losanitsch's triangle A034851; also number of caterpillar graphs on n nodes. ; Submitted by Jamie Morken(s1) ; 1,2,3,6,10,20,36,72,136,272,528,1056,2080,4160,8256,16512,32896,65792,131328,262656,524800,1049600,2098176,41...
; void *tshc_aaddr2saddr(void *aaddr) SECTION code_clib SECTION code_arch PUBLIC _tshc_aaddr2saddr EXTERN asm_tshc_aaddr2saddr _tshc_aaddr2saddr: pop af pop hl push hl push af jp asm_tshc_aaddr2saddr
//+--------------------------------------------------------------------------- // // Microsoft Forms // Copyright (C) Microsoft Corporation, 1996 // // File: jsprot.cxx // // Contents: Implementation of the javascript: protocol // // History: 01-14-97 AnandRa Created // //-------------...
MOV R0, #0; // initialize result to 0 MOV R1, #1; // constant 1 for incrementing result MOV R2, 4; // get data memory location 4 JMPZ R2, lab1; // if zero, skip next instruction ADD R0, R0, R1; // not zero, so increment result lab1: MOV R2, 5; // get data memory location 5 JMPZ R2, lab2; // if zero, skip next instructi...
; A152031: a(n) = n^5 + n^4 + n^3 + n^2 + n. ; 0,5,62,363,1364,3905,9330,19607,37448,66429,111110,177155,271452,402233,579194,813615,1118480,1508597,2000718,2613659,3368420,4288305,5399042,6728903,8308824,10172525,12356630,14900787,17847788,21243689,25137930,29583455,34636832,40358373,46812254,54066635,62193780,7127017...
; ****************************************************** ; * move ; ***************************************************** move_player: push ax push dx ; load data mov dx, [player_pos] mov al, [key_pressed] cmp al, MOVE_LEFT_KEY je .left cmp al, MOVE_RIGHT_KEY je .right cmp al, SHOOT_KEY je .sh...
#include "pch.h" #include "NavMenuListView.h" using namespace Platform; using namespace Windows::Foundation; using namespace Windows::Foundation::Collections; using namespace Windows::System; using namespace Windows::UI::Core; using namespace Windows::UI::Xaml; using namespace Windows::UI::Xaml::Controls; us...
#include "selfdrive/ui/qt/widgets/cameraview.h" #ifdef __APPLE__ #include <OpenGL/gl3.h> #else #include <GLES3/gl3.h> #endif #include <QOpenGLBuffer> #include <QOffscreenSurface> namespace { const char frame_vertex_shader[] = #ifdef __APPLE__ "#version 150 core\n" #else "#version 300 es\n" #endif "in vec4 aPo...
global load_page_directory load_page_directory: push ebp mov ebp, esp mov eax, [esp + 8] mov cr3, eax mov esp, ebp pop ebp ret global enable_paging enable_paging: push ebp mov ebp, esp mov eax, cr0 or eax, 0x80000000 mov cr0, eax mov esp, ebp pop ebp ret
; A189021: Apostol's second order Möbius (or Moebius) function mu_2(n). ; 1,1,1,-1,1,1,1,0,-1,1,1,-1,1,1,1,0,1,-1,1,-1,1,1,1,0,-1,1,0,-1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,1,-1,-1,1,1,0,-1,-1,1,-1,1,0,1,0,1,1,1,-1,1,1,-1,0,1,1,1,-1,1,1,1,0,1,1,-1,-1,1,1,1,0,0,1,1,-1,1,1,1,0,1,-1,1,-1,1,1,1,0,1,-1,-1,1 seq $0,336551 ; a(n) = ...
;code by unic0rn/Asm Force org 100h segment .code mov al,13h int 10h xor ax,ax mov dx,03C8h out dx,al inc dx xor bx,bx pal: mov al,bl shr al,2 mov cl,bl and cl,0Fh cmp cl,0Fh jne skip out dx,al out dx,al jmp cont skip...
#include<stdio.h> #define ROW 60 #define COL 29 void fillArray(int row, int col, char arr[][COL]) { for (col = 0; col < COL; col++) { for (row = 0; row < ROW; row++) arr[row][col] = { ' ' }; } } void dispArray(int row, int col, char arr[][COL]) { for (col = 0; col < COL; col++) { for (row = 0; row < ROW;...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: cbodyNotify.asm AUTHOR: Chris Boyke ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name Date Description ---- ---- -...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006, 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 distribution. Th...
; A084432: G.f.: 2/(1-x) + sum(k>=0, t^2(3-t)/(1+t)/(1-t)^2, t=x^2^k). ; 2,5,4,10,6,11,8,19,10,17,12,24,14,23,16,36,18,29,20,38,22,35,24,49,26,41,28,52,30,47,32,69,34,53,36,66,38,59,40,79,42,65,44,80,46,71,48,98,50,77,52,94,54,83,56,109,58,89,60,108,62,95,64,134,66,101 mov $2,$0 add $0,3 add $0,$2 lpb $0 add $0,1 ...
copyright zengfr site:http://github.com/zengfr/romhack 001974 sub.w ($4,A0), D0 [123p+ 9C, enemy+9C] 01A74C dbra D7, $1a74a 01A75E dbra D4, $1a75c 01AAAA move.w ($4,A0), ($9c,A0) [base+1AC] 01AAB0 move.w ($8,A0), ($9e,A0) [123p+ 9C] copyright zengfr site:http://github.com/zengfr/romhack
; ; Copyright (c) 2020 Phillip Stevens ; ; 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/. ; ; feilipu, August 2020 ; ;-----------------------------------------------...
; ; Copyright (c) 2006-2008 Advanced Micro Devices,Inc. ("AMD"). ; ; This library 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 Foundation; either version 2.1 of the ; License, or (at your option) any lat...
#ifndef TURI_ANNOTATIONS_UTILS_HPP #define TURI_ANNOTATIONS_UTILS_HPP #include "build/format/cpp/annotate.pb.h" #include "build/format/cpp/data.pb.h" #include "build/format/cpp/message.pb.h" #include "build/format/cpp/meta.pb.h" #include <toolkits/image_deep_feature_extractor/image_deep_feature_extractor_toolkit.hpp>...
// This file is part of fml which is released under the Boost Software // License, Version 1.0. See accompanying file LICENSE or copy at // https://www.boost.org/LICENSE_1_0.txt #ifndef FML_MPI_LINALG_XPOSE_H #define FML_MPI_LINALG_XPOSE_H #pragma once #include <stdexcept> #include "../../_internals/linalgutils.hh"...
; A020522: a(n) = 4^n - 2^n. ; 0,2,12,56,240,992,4032,16256,65280,261632,1047552,4192256,16773120,67100672,268419072,1073709056,4294901760,17179738112,68719214592,274877382656,1099510579200,4398044413952,17592181850112,70368735789056,281474959933440,1125899873288192,4503599560261632,18014398375264256,72057593769492480,...
_cd: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" #include "fcntl.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...
DATA SEGMENT DIR DB 30,?,30 DUP(?),0 VIC DB 'VICTORY',0DH,0AH,'$' FAI DB 'FAILURE',0DH,0AH,'$' DATA ENDS STACK SEGMENT STACK DW 100 DUP(?) STACK ENDS CODE SEGMENT ASSUME CS:CODE,SS:STACK,DS:DATA START: MOV AX,DATA MOV DS,AX MOV AH,0A...
; A131987: Representation of a dense para-sequence. ; 1,2,1,3,4,2,5,1,6,3,7,8,4,9,2,10,5,11,1,12,6,13,3,14,7,15,16,8,17,4,18,9,19,2,20,10,21,5,22,11,23,1,24,12,25,6,26,13,27,3,28,14,29,7,30,15,31,32,16,33,8,34,17,35,4,36,18,37,9,38,19,39,2,40,20,41,10,42,21,43,5,44,22,45,11,46,23,47,1,48,24,49,12,50,25,51,6,52,26,53 a...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. #include "precomp.h" #include "inc/CodepointWidthDetector.hpp" namespace { // used to store range data in CodepointWidthDetector's internal map struct UnicodeRange final { unsigned int lowerBound; unsign...
; =============================================================== ; Jan 2015 ; =============================================================== ; ; char *strnset(char *s, int c, size_t n) ; ; Write at most n chars c into s. ; ; =============================================================== SECTION code_clib SECTION ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "contrib_ops/cpu/cpu_contrib_kernels.h" #include "core/graph/constants.h" #include "core/mlas/inc/mlas.h" namespace onnxruntime { namespace contrib { class ONNX_OPERATOR_TYPED_KERNEL_CLASS_NAME(kCpuExecutionProvi...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %r14 push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x34b3, %rsi lea addresses_UC_ht+0x9bab, %rdi clflush (%rdi) nop nop nop xor %r13, %r13 mov $4, %rcx rep movsb nop nop nop and %r11, %r11 lea addresses_normal_ht+0x145f7, %r11...
; A221374: Number of n X 2 arrays of occupancy after each element stays put or moves to some horizontal, vertical or antidiagonal neighbor, with no occupancy greater than 2. ; 3,19,139,1035,7723,57643,430251,3211435,23970475,178918059,1335462571,9968028331,74402376363,555346897579,4145165675179,30939937811115,230938839...
; A263823: a(n) = n!*Sum_{k=0..n} Fibonacci(k-1)/k!, where Fibonacci(-1) = 1, Fibonacci(n) = A000045(n) for n>=0. ; Submitted by Jon Maiga ; 1,1,3,10,42,213,1283,8989,71925,647346,6473494,71208489,854501957,11108525585,155519358423,2332790376722,37324646028162,634518982479741,11421341684636935,217005492008104349,434010...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r14 push %r8 push %r9 lea addresses_A_ht+0x10845, %r10 nop nop nop nop inc %r14 mov (%r10), %r11 nop add %r9, %r9 lea addresses_UC_ht+0x9e45, %r8 nop sub %r10, %r10 movb $0x61, (%r8) nop nop and %r8, %r8 pop %r9 pop %r8 pop %r14 pop %r12 p...
; A336861: a(n) = ceiling((n-1-sqrt(n+1))/2). ; 0,0,0,1,1,2,2,2,3,3,4,4,5,5,5,6,6,7,7,8,8,9,9,9,10,10,11,11,12,12,13,13,14,14,14,15,15,16,16,17,17,18,18,19,19,20,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,27,28,28,29,29,30,30,31,31,32 mov $3,$0 mov $5,$0 lpb $5 mov $0,$3 sub $5,1 sub $0,$5 mov $2,$0 mul...
// Copyright (c) 2010, Lawrence Livermore National Security, LLC. Produced at // the Lawrence Livermore National Laboratory. LLNL-CODE-443211. All Rights // reserved. See file COPYRIGHT for details. // // This file is part of the MFEM library. For more information and source code // availability see http://mfem.org. //...
bits 64 default rel section .text global pal_execute_wbinvd pal_execute_wbinvd : wbinvd ret
/* * Villains' Utility Library - Thomas Martin Schmid, 2017. Public domain¹ * * This file describes an affine class, containing a matrix for the linear * part of an affine transformation and a vector describing the translation. * It also defines the application of the transformation on points and * vectors. * ...
include "constants.asm" IF SPANISH = 1 include "autogenerated/text-constants-es.asm" ELSE include "autogenerated/text-constants.asm" ENDIF ; the first time this is compiled, we need a few symbols to be defined ; to bootstrap the process. Comment the inclusion of trition.sym and Uncomment these ; constant...
; A028329: Twice central binomial coefficients. ; 2,4,12,40,140,504,1848,6864,25740,97240,369512,1410864,5408312,20801200,80233200,310235040,1202160780,4667212440,18150270600,70690527600,275693057640,1076515748880,4208197927440,16466861455200,64495207366200,252821212875504,991837065896208,3893878851296224,1529738120152...
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-2014 Facebook, Inc. (http://www.facebook.com) | +---------...
.segment "HEADER" .byte "NES", $1A ; iNES header identifier .byte 2 ; 2x 16KB PRG code .byte 1 ; 1x 8KB CHR data .byte $01, $00 ; mapper 0, vertical mirroring .segment "STARTUP" .segment "ZEROPAGE" ctrlOne: .res 1 ctrlTwo: .res 1 ballAngle: .res 1 ...
; A140226: Binomial transform of [1, 3, 3, 1, 1, -1, 1, -1, 1, ...]. ; 1,4,10,20,36,60,94,140,200,276,370,484,620,780,966,1180,1424,1700,2010,2356,2740,3164,3630,4140,4696,5300,5954,6660,7420,8236,9110,10044,11040,12100,13226,14420 mov $1,1 lpb $0 add $2,$0 sub $0,1 add $3,4 mov $1,$3 add $3,$2 lpe
; ------------------------------------------------------------------ ; Music keyboard -- Use the keyboard to play notes via the PC speaker ; Use Z key rightwards for an octave ; ------------------------------------------------------------------ BITS 16 %INCLUDE "arkdev.inc" ORG 32768 start: call os...
; A175926: Sum of divisors of cubes. ; Submitted by Christian Krause ; 1,15,40,127,156,600,400,1023,1093,2340,1464,5080,2380,6000,6240,8191,5220,16395,7240,19812,16000,21960,12720,40920,19531,35700,29524,50800,25260,93600,30784,65535,58560,78300,62400,138811,52060,108600,95200,159588,70644,240000,81400,185928,170508,19...
GLOBAL systemCall section .text systemCall: push rbp mov rbp, rsp push rbx push rcx push rdx push rbp push rdi push rsi push r8 push r9 push r10 push r11 push r12 push r13 push r14 push r15 int 80h pop r15 pop r14 pop r13 pop r12 pop r11 pop r10 pop r9 pop r8 ...
; A164657: Denominators of partial sums of Theta(5) = sum(1/(2*j-1)^5, j=1..infinity). ; Submitted by Christian Krause ; 1,243,759375,12762815625,3101364196875,499477805270915625,185452612752454075153125,185452612752454075153125,263316190384861185784690603125,651996955695764397260286617707209375,65199695569576439726028...
default rel %define XMMWORD %define YMMWORD %define ZMMWORD section .text code align=64 EXTERN OPENSSL_ia32cap_P ALIGN 64 $L$zero: DD 0,0,0,0 $L$one: DD 1,0,0,0 $L$inc: DD 0,1,2,3 $L$four: DD 4,4,4,4 $L$incy: DD 0,2,4,6,1,3,5,7 $L$eight: DD 8,8,8,8,8,8,8,8 $L$rot16: DB 0x2,0x3,0x0,0x1,0x6,0x7,0x4,0x5,0xa,0xb,0...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %r9 push %rcx push %rdi push %rsi lea addresses_normal_ht+0x9054, %rsi lea addresses_A_ht+0xa334, %rdi clflush (%rsi) nop nop nop dec %r11 mov $14, %rcx rep movsq nop nop nop nop add $35589, %r13 lea addresses_UC_ht+0xd5d4, %r13 nop nop nop...
bits 64 start: invlpga eax, ecx invlpga rax, ecx jecxz start jrcxz start loop start, ecx loop start, rcx loope start, ecx loope start, rcx loopz start, ecx loopz start, rcx loopne start, ecx loopne start, rcx loopnz start, ecx loopnz start, rcx clzero eax clzero rax movdir64b eax, [edi...
/* 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...
; A070350: a(n) = 2^n mod 45. ; 1,2,4,8,16,32,19,38,31,17,34,23,1,2,4,8,16,32,19,38,31,17,34,23,1,2,4,8,16,32,19,38,31,17,34,23,1,2,4,8,16,32,19,38,31,17,34,23,1,2,4,8,16,32,19,38,31,17,34,23,1,2,4,8,16,32,19,38,31,17,34,23,1,2,4,8,16,32,19,38,31,17,34,23,1,2,4,8,16,32,19,38,31,17,34,23,1,2,4,8,16,32,19,38,31,17,34,23,...
; A017181: (9n+1)^9. ; 1,1000000000,322687697779,10578455953408,129961739795077,922190162669056,4605366583984375,18014398509481984,58871586708267913,167619550409708032,427929800129788411,1000000000000000000 mul $0,9 add $0,1 pow $0,9
Route9WildMons: def_grass_wildmons 15 ; encounter rate db 22, MEOWTH db 22, MACHOP db 23, MEOWTH db 21, EKANS db 22, FARFETCHD db 23, SPEAROW db 22, MEOWTH db 26, GLOOM db 26, FEAROW db 27, GROWLITHE end_grass_wildmons def_water_wildmons 0 ; encounter rate end_water_wildmons
; A152548: Sum of squared terms in rows of triangle A152547: a(n) = Sum_{k=0..C(n,[n/2])-1} A152547(n,k)^2. ; Submitted by Jon Maiga ; 1,4,10,24,54,120,260,560,1190,2520,5292,11088,23100,48048,99528,205920,424710,875160,1798940,3695120,7574996,15519504,31744440,64899744,132503644,270415600,551231800,1123264800,22866462...
; A234041: a(n) = binomial(n+2,2)*gcd(n,3)/3, n >= 0. ; 1,1,2,10,5,7,28,12,15,55,22,26,91,35,40,136,51,57,190,70,77,253,92,100,325,117,126,406,145,155,496,176,187,595,210,222,703,247,260,820,287,301,946,330,345,1081,376,392,1225,425,442,1378,477,495,1540,532,551,1711,590,610,1891,651,672,2080,715,737,2278,782,805,2485,...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r8 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0x1a09e, %rsi dec %r8 movb (%rsi), %r10b nop nop cmp $65410, %r11 lea addresses_normal_ht+0x75b, %r9 nop nop nop nop and %r13, %r13 movups (%r9), %xmm6 vpextrq $1, %xm...
; A147568: a(n) = 2*A000695(n)+3. ; 3,5,11,13,35,37,43,45,131,133,139,141,163,165,171,173,515,517,523,525,547,549,555,557,643,645,651,653,675,677,683,685,2051,2053,2059,2061,2083,2085,2091,2093,2179,2181,2187,2189,2211,2213,2219,2221,2563,2565,2571 seq $0,98871 ; Sums of distinct powers of 4 plus 1. mul $0,2 add $0,1
;; ;; Copyright (c) 2020, 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 (C) 2020 THL A29 Limited, a Tencent company. All rights reserved. // // Licensed under the BSD 3-Clause License (the "License"); you may not use this // file except in compliance with the License. You may obtain a copy of the // License at // // https://opensource.org/licenses/BSD-3-Clause // // Unless req...
#include <QGuiApplication> #include <QQmlApplicationEngine> #include <QtQml> #include "conanhelper.h" int main(int argc, char *argv[]) { QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QGuiApplication app(argc, argv); qmlRegisterType<ConanHelper>("ConanHelperBinding", 1, 0, "ConanHelperBinding"); Q...
; CRT0 stub for 64k adam INCLUDE "target/coleco/def/eos.def" EXTERN msx_set_mode defc TAR__register_sp = 0xd390 defc TAR__clib_exit_stack_size = 32 defc TAR__fputc_cons_generic = 1 ; No interrupts registered defc TAR__crt_enable_rst = $0000 IFNDEF CRT_ENABLE_NMI ...
#include "prog3.h" #include <iostream> #include <string.h> // constructor Student::Student(char *sn,char *cn) { int n = strlen(sn); school_name = new char[n+1]; strcpy(school_name,sn); n = strlen(cn); class_name = new char[n+1]; strcpy(class_name,cn); } // 顯示 void Student::show() { std::cout << "\n學校名稱-...
object_const_def ; object_event constants const PLAYERSHOUSE1F_MOM1 const PLAYERSHOUSE1F_MOM2 const PLAYERSHOUSE1F_MOM3 const PLAYERSHOUSE1F_MOM4 const PLAYERSHOUSE1F_POKEFAN_F PlayersHouse1F_MapScripts: db 2 ; scene scripts scene_script .DummyScene0 ; SCENE_DEFAULT scene_script .DummyScene1 ; SCENE_FINISHED ...
#include <jawt_md.h> #include <X11/Xresource.h> #include <stdint.h> #include "jni_helpers.h" #include "SkSurface.h" #include "src/core/SkAutoMalloc.h" class SoftwareDevice { public: Display* display; Window window; GC gc; sk_sp<SkSurface> surface; unsigned int depth = 0; SkColorType colorSpace...
/* Copyright 2015 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 ...
; A101859: a(n) = 11 + (23*n)/2 + n^2/2. ; Submitted by Christian Krause ; 0,11,23,36,50,65,81,98,116,135,155,176,198,221,245,270,296,323,351,380,410,441,473,506,540,575,611,648,686,725,765,806,848,891,935,980,1026,1073,1121,1170,1220,1271,1323,1376,1430,1485,1541,1598,1656,1715,1775,1836 add $0,11 bin $0,2 sub $0,55
; A076565: Greatest prime divisor of 2n+1 (sum of two successive integers). ; 3,5,7,3,11,13,5,17,19,7,23,5,3,29,31,11,7,37,13,41,43,5,47,7,17,53,11,19,59,61,7,13,67,23,71,73,5,11,79,3,83,17,29,89,13,31,19,97,11,101,103,7,107,109,37,113,23,13,17,11,41,5,127,43,131,19,5,137,139,47,13,29,7,149,151,17,31,157,53,23,163,11,1...
#pragma once #define NOMINMAX #include "Plan.hpp" namespace operations_research { class PackingPlan : public Plan { public: PackingPlan() {}; PackingPlan(int ws_id, std::string order_guid, int unit_id, std::vector<int> component_ids) : Plan(ws_id), OrderGuid(order_guid), ComponentIds(component_ids), UnitId(u...
; Multiplication function for field elements (integers modulo 2^255 - 19) ; ; Author: Daan Sprenkels <hello@dsprenkels.com> %include "bench.asm" %include "fe12_mul.mac" extern crypto_scalarmult_curve13318_ref12_fe12x4_mul, extern crypto_scalarmult_curve13318_ref12_fe12x4_squeeze extern crypto_scalarmult_curve13318_re...
/* Copyright (c) 2010-2011 mbed.org, MIT License * * 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, pu...
StanleyPhoneCalleeScript: gettrainername STRING_BUFFER_3, BUG_CATCHER, STANLEY1 checkflag ENGINE_STANLEY iftrue .WantsBattle farscall PhoneScript_AnswerPhone_Male checkflag ENGINE_STANLEY_TUESDAY_NIGHT iftrue .NotTuesday checkflag ENGINE_STANLEY_HAS_ITEM iftrue .HasItem readvar VAR_WEEKDAY ifnotequal TUESDAY,...
MODULE kbhit SECTION code_clib PUBLIC kbhit PUBLIC _kbhit PUBLIC getch PUBLIC _getch EXTERN getk EXTERN fgetc_cons EXTERN CLIB_KBHIT_NOSTORE kbhit: _kbhit: IF __CPU_GBZ80__ ld hl,kbhit_key ld a,(hl+) ld h,(hl) ld l,a or h r...
; int w_array_empty_fastcall(b_array_t *a) SECTION code_adt_w_array PUBLIC _w_array_empty_fastcall defc _w_array_empty_fastcall = asm_w_array_empty INCLUDE "adt/w_array/z80/asm_w_array_empty.asm"
dnl ARM64 mpn_mod_34lsub1 -- remainder modulo 2^48-1. dnl Copyright 2012-2014 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 General Public...
;***************************************************************************** ;* dct-64.asm: x86_64 transform and zigzag ;***************************************************************************** ;* Copyright (C) 2003-2020 x264 project ;* ;* Authors: Loren Merritt <lorenm@u.washington.edu> ;* Holger Lubit...
; A001024: Powers of 15. ; 1,15,225,3375,50625,759375,11390625,170859375,2562890625,38443359375,576650390625,8649755859375,129746337890625,1946195068359375,29192926025390625,437893890380859375,6568408355712890625,98526125335693359375,1477891880035400390625,22168378200531005859375,332525673007965087890625,49878850951194...
;| This programm translate string of numbers (msg) into hex type ;|---------------------------------------------------------------------------------------------- .model tiny .code .386 org 100h VIDEOSEG equ 0b800h WFRAME equ 35 ; HFRAME equ 6 ...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/*============================================================================= Copyright (c) 2001-2011 Joel de Guzman Copyright (c) 2011 Thomas Bernard Distributed under 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...
; --------------------------------------------------------------------------- ; Animation script - geyser of lava (MZ) ; --------------------------------------------------------------------------- Ani_Geyser: dc.w @bubble1-Ani_Geyser dc.w @bubble2-Ani_Geyser dc.w @end-Ani_Geyser dc.w @bubble3-Ani_Geyser dc.w @b...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x1c68c, %rsi lea addresses_D_ht+0xcf8c, %rdi nop nop nop add $58879, %rax mov $115, %rcx rep movsq sub $48716, %rsi lea addresses_WT_ht+0x3d8c, %rbp inc %rax vmovups (%rbp), %ymm3 vextr...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE762_Mismatched_Memory_Management_Routines__delete_wchar_t_malloc_44.cpp Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete.label.xml Template File: sources-sinks-44.tmpl.cpp */ /* * @description * CWE: 762 Mismatched Memory Management Ro...