text
stringlengths
1
1.05M
INCLUDE Irvine32.inc INCLUDE Macros.inc .data count DWORD 1 multiple DWORD 3 oddarray DWORD 32500 DUP(?) prime DWORD 6494 DUP(?) string1 BYTE " This program prints primess up to 65000",0 time DWORD ? .code main PROC mov ecx, [LENGTHOF oddarray]-1 mov esi, OFFSET oddarray mWriteString string1 c...
; A303304: Generalized 25-gonal (or icosipentagonal) numbers: m*(23*m - 21)/2 with m = 0, +1, -1, +2, -2, +3, -3, ... ; 0,1,22,25,67,72,135,142,226,235,340,351,477,490,637,652,820,837,1026,1045,1255,1276,1507,1530,1782,1807,2080,2107,2401,2430,2745,2776,3112,3145,3502,3537,3915,3952,4351,4390,4810,4851,5292,5335,5797,5...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR> ; This program and the accompanying materials ; are licensed and made available under the terms and conditions of the BSD License ; which accompanies this distributi...
# program1.asm # Nathalie Tate # Recursively computes the factorial of a number .data prompt: .asciiz "Enter a number: " result: .asciiz "The factorial is: " number: .word 4 answer: .word 4 .text main: li $v0, 4 #display prompt la $a0, prompt syscall li $v0, 5 #ask for input syscall ...
_ls: file format elf32-i386 Disassembly of section .text: 00001000 <main>: close(fd); } int main(int argc, char *argv[]) { 1000: 8d 4c 24 04 lea 0x4(%esp),%ecx 1004: 83 e4 f0 and $0xfffffff0,%esp 1007: ff 71 fc pushl -0x4(%ecx) 100a: 55 ...
#ifndef CAMERA_H #define CAMERA_H #include <glad/glad.h> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <vector> // Defines several possible options for camera movement. Used as abstraction to stay away from window-system specific input methods enum Camera_Movement { FORWARD, BACKWAR...
; A047672: Row 3 of square array defined in A047671. ; 1,10,37,94,193,346,565,862,1249,1738,2341,3070,3937,4954,6133,7486,9025,10762,12709,14878,17281,19930,22837,26014,29473,33226,37285,41662,46369,51418,56821,62590,68737,75274,82213,89566,97345 mov $2,$0 mul $2,$0 add $2,4 mov $1,$2 sub $1,3 mov $3,$0 mul $3,4 add $...
; A216676: Digital roots of squares of Fibonacci numbers. ; Submitted by Jamie Morken(s2) ; 1,1,4,9,7,1,7,9,4,1,1,9,1,1,4,9,7,1,7,9,4,1,1,9,1,1,4,9,7,1,7,9,4,1,1,9,1,1,4,9,7,1,7,9,4,1,1,9,1,1,4,9,7,1,7,9,4,1,1,9,1,1,4,9,7,1,7,9,4,1,1,9,1,1,4,9,7,1,7,9,4,1,1,9,1,1,4,9,7,1,7,9,4,1,1,9,1,1,4,9 seq $0,15456 ; Generalized ...
/* * Copyright 2019 Xilinx, Inc. * * 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 agreed to...
TITLE x86cpuid.asm IF @Version LT 800 ECHO MASM version 8.00 or later is strongly recommended. ENDIF .586 .MODEL FLAT OPTION DOTNAME IF @Version LT 800 .text$ SEGMENT PAGE 'CODE' ELSE .text$ SEGMENT ALIGN(64) 'CODE' ENDIF ALIGN 16 _OPENSSL_ia32_cpuid PROC PUBLIC $L_OPENSSL_ia32_cpuid_begin:: push ebp push ebx push e...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r9 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x1a0bb, %r11 nop nop nop nop xor $14565, %rbx mov (%r11), %r9 cmp $38032, %rsi lea addresses_WT_ht+0x1b6bb, %rsi lea addresses_UC_ht+0xae8b, %rdi clflush (%rsi) nop cmp $5856, ...
/* * Copyright 2018-2021 Mahdi Khanalizadeh * * 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 o...
// Copyright (c) 2012 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 "components/sync_driver/sync_prefs.h" #include "base/base64.h" #include "base/logging.h" #include "base/strings/string_number_conversions.h"...
SECTION code_fp_am9511 PUBLIC _sqr EXTERN cam32_sdcc_sqr defc _sqr = cam32_sdcc_sqr
; A174571: a(4n)=n, a(4n+1)=4, a(4n+2)=1, a(4n+3)=4. ; 0,4,1,4,1,4,1,4,2,4,1,4,3,4,1,4,4,4,1,4,5,4,1,4,6,4,1,4,7,4,1,4,8,4,1,4,9,4,1,4,10,4,1,4,11,4,1,4,12,4,1,4,13,4,1,4,14,4,1,4,15,4,1,4,16,4,1,4,17,4,1,4,18,4,1,4,19,4,1,4,20,4,1,4,21,4,1,4,22,4,1,4,23,4,1,4,24,4,1,4 mov $2,$0 seq $0,188134 ; a(4*n) = n, a(1+2*n) = ...
; =============================================================== ; 2008 Stefano Bodrato ; =============================================================== ; ; void bit_synth(int dur, int freq_1, int freq_2, int freq_3, int freq_4) ; ; This is a sort of "quad sound" routine. It is based on four ; separate counters and...
OPTION DOTNAME .text$ SEGMENT ALIGN(256) 'CODE' EXTERN OPENSSL_ia32cap_P:NEAR PUBLIC bn_mul_mont ALIGN 16 bn_mul_mont PROC PUBLIC mov QWORD PTR[8+rsp],rdi ;WIN64 prologue mov QWORD PTR[16+rsp],rsi mov rax,rsp $L$SEH_begin_bn_mul_mont:: mov rdi,rcx mov rsi,rdx mov rdx,r8 mov rcx,r9 mov r8,QWORD PTR[40+rsp] m...
; ; ; ZX Spectrum ZXMMC specific routines ; code by Alessandro Poppi ; ported to z88dk by Stefano Bodrato - Mar 2010 ; ; $Id: mmc_read_multidata.asm,v 1.3 2016/06/10 21:28:03 dom Exp $ ; ; extern int __LIB__ mmc_read_multidata(struct MMC mmc_descriptor, long card_address, unsigned char *address, int block_count); ;...
.size 8000 .text@48 ei 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, 90 lbegin_waitly90: ldff a, (c) cmp a, b jrnz lbegin_waitly90 ld a, 11 ldff(40), a ld hl, 8000 ld b, 08 lbegin_settile0data...
RedsHouse1F_Object: db $a ; border block def_warps warp 2, 7, 0, LAST_MAP ; exit1 warp 3, 7, 0, LAST_MAP ; exit2 warp 7, 1, 0, REDS_HOUSE_2F ; staircase def_signs sign 3, 1, 2 ; TV def_objects object SPRITE_MOM, 5, 4, STAY, LEFT, 1 ; Mom def_warps_to REDS_HOUSE_1F
SECTION code_fp_dai32 PUBLIC ___dai32_xfmul EXTERN xfmul defc ___dai32_xfmul = xfmul
#ruledef test { ld {x} => 0x55 @ x`8 } ld var ; = 0x5511 var = 0x11
Route16Gate2F_Object: db $a ; border block db 1 ; warps warp 7, 7, 8, ROUTE_16_GATE_1F db 2 ; signs sign 1, 2, 3 ; Route16GateUpstairsText3 sign 6, 2, 4 ; Route16GateUpstairsText4 db 2 ; objects object SPRITE_YOUNG_BOY, 4, 2, STAY, NONE, 1 ; person object SPRITE_LITTLE_GIRL, 2, 5, WALK, 2, 2 ; person ; wa...
; A213758: Antidiagonal sums of the convolution array A213756. ; 1,9,40,130,355,871,1994,4360,9245,19205,39356,79934,161415,324755,651870,1306596,2616609,5237265,10479280,20964090,41934571,83876479,167761330,335532160,671075045,1342162141,2684337764,5368690550,10737397775,21474813995,42949648326,85899319004,17179866250...
/* * Copyright 2014 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "GrMatrixConvolutionEffect.h" #include "GrTexture.h" #include "GrTextureProxy.h" #include "glsl/GrGLSLFragmentProcessor.h" #include "glsl/GrGLSLFragmentShaderBuilder....
#include "common.h" #include "mixedOperations.h" namespace matCUDA { // eig decomposition template <typename TElement> cublasStatus_t mixedOperations<TElement>::eig( Array<TElement> *A, Array<TElement> *eigvec ) { cusolverDnHandle_t handleCusolver; CUSOLVER_CALL( cusolverDnCreate(&handleCusolver) ); cubla...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x18ee8, %rdx sub $24792, %rbp mov $0x6162636465666768, %r14 movq %r14, %xmm2 movups %xmm2, (%rdx) nop nop nop nop nop dec %r13 lea addresses_D_ht+0x12268, %rsi nop nop nop sub...
ori $2,$0,0x1234 addu $1,$2,$0 beq $1,$2,exit1 ori $3,$0,0x1342 ori $3,$0,0x928e exit1: addu $4,$3,$0 beq $3,$4,exit2 ori $5,$0,0x1e42 ori $5,$0,0xff8e exit2: addu $6,$5,$0 nop beq $6,$5,exit3 ori $7,$0,0x1e54 ori $7,$0,0xfcae exit3: addu $8,$7,$0 nop beq $7,$8,exit4 ori $9,$0,0x2354 ori $9,$0,0xf22e exit4: addu $10,$9...
; A326933: Number of nonconstant irreducible polynomial divisors of the n-th polynomial given in A326926. ; Submitted by Christian Krause ; 0,1,2,2,1,5,1,3,4,3,1,8,1,3,5,4,1,9,1,5,5,3,1,11,2,3,6,5,1,11,1,5,5,3,3,14,1,3,5,7,1,11,1,5,9,3,1,14,2,5,5,5,1,13,3,7,5,3,1,17,1,3,9,6,3,11,1,5,5,7,1,19,1,3,8,5,3,11,1,9,8,3,1 add...
IndigoPlateau_h: db PLATEAU ; tileset db INDIGO_PLATEAU_HEIGHT, INDIGO_PLATEAU_WIDTH ; dimensions (y, x) dw IndigoPlateau_Blocks ; blocks dw IndigoPlateau_TextPointers ; texts dw IndigoPlateau_Script ; scripts db SOUTH ; connections SOUTH_MAP_CONNECTION INDIGO_PLATEAU, ROUTE_23, 0, 0, Route23_Blocks dw IndigoPl...
; ******************************************************************************************** ; ******************************************************************************************** ; ; Name : sprcor.asm ; Purpose : .. ; Created : 15th Nov 1991 ; Updated : 4th Jan 2021 ; Authors : Fred Bowen ; ; **...
; A044387: Numbers n such that string 5,5 occurs in the base 10 representation of n but not of n-1. ; 55,155,255,355,455,550,655,755,855,955,1055,1155,1255,1355,1455,1550,1655,1755,1855,1955,2055,2155,2255,2355,2455,2550,2655,2755,2855,2955,3055,3155,3255,3355,3455,3550,3655,3755,3855 mov $3,$0 add $0,5 mov $1,6 mov $...
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r11 push %r14 push %r8 push %rax push %rbp push %rbx push %rsi // Store lea addresses_A+0x1d511, %r14 nop nop nop nop nop and %rbp, %rbp movw $0x5152, (%r14) nop nop nop nop cmp $46706, %r14 // Store lea addresses_A+0x1ed...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1991 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: titleMessages.asm AUTHOR: Chris Boyke METHODS: Name Description ---- ----------- FUNCTIONS: Scope Name Description ----- ---- ---...
; A031911: a(n) = prime(7*n - 6). ; 2,19,47,79,109,151,191,229,269,311,353,397,439,479,523,577,617,659,709,757,811,857,907,953,1009,1049,1093,1151,1201,1249,1297,1361,1427,1459,1499,1559,1607,1657,1709,1759,1823,1877,1933,1997,2039,2089,2141,2213,2269,2311,2371,2411,2467,2543,2609,2663,2699,2741,2797,2851,2909,2969,303...
global start extern long_mode_start section .bss align 4096 p4_table: resb 4096 p3_table: resb 4096 p2_table: resb 4096 stack_bottom: resb 64 stack_top: section .rodata gdt64: dq 0 ; zero entry .code: equ $ - gdt64 dq (1<<43) | (1<<44) | (1<<47) | (1<<53) ; code segment .pointer: dw $ - gdt64 - 1 dq g...
; double __FASTCALL__ asinh(double x) SECTION code_clib SECTION code_fp_math48 PUBLIC cm48_sccz80_asinh EXTERN am48_asinh defc cm48_sccz80_asinh = am48_asinh
/* This file forms part of hpGEM. This package has been developed over a number of years by various people at the University of Twente and a full list of contributors can be found at http://hpgem.org/about-the-code/team This code is distributed using BSD 3-Clause License. A copy of which can found below. Copyr...
; A228484: a(n) = 2^n*(3*n)!/(n!*(2*n)!). ; 1,6,60,672,7920,96096,1188096,14883840,188280576,2399654400,30766095360,396363202560,5126871859200,66538909237248,866061993246720,11300615801536512,147773778404769792,1936073567335219200,25408660721789829120,333963051307735449600,4395467544519502725120,57922154192936443576320...
db 0 ; species ID placeholder db 75, 80, 85, 50, 100, 90 ; hp atk def spd sat sdf db GRASS, POISON ; type db 45 ; catch rate db 184 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 100 ; unknown 1 db 20 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/vileplume...
################################################################################ # Address: 0x801d4610 ################################################################################ b 0x4C
;=============================================================================== ; Copyright 2014-2019 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") co...
; A162260: a(n) = (n^3 + 4*n^2 - n)/2. ; 2,11,30,62,110,177,266,380,522,695,902,1146,1430,1757,2130,2552,3026,3555,4142,4790,5502,6281,7130,8052,9050,10127,11286,12530,13862,15285,16802,18416,20130,21947,23870,25902,28046,30305,32682,35180,37802,40551,43430,46442,49590,52877,56306,59880,63602,67475,71502,75686,80030,84...
dc.w word_4A122-Map_PachinkoInvisibleUnknown dc.w word_4A136-Map_PachinkoInvisibleUnknown dc.w word_4A14A-Map_PachinkoInvisibleUnknown dc.w word_4A15E-Map_PachinkoInvisibleUnknown dc.w word_4A172-Map_PachinkoInvisibleUnknown word_4A122: dc.w 3 ; DATA XREF: ROM:0004A118o dc.b $F8, 5, 0, 0, $FF, $80...
#pragma once #include <voilk/plugins/chain/chain_plugin.hpp> #include <voilk/plugins/json_rpc/json_rpc_plugin.hpp> #include <appbase/application.hpp> namespace voilk { namespace plugins { namespace database_api { using namespace appbase; #define VOILK_DATABASE_API_PLUGIN_NAME "database_api" class database_api_plug...
;================================================= ; Name: Adrian Harminto ; Email: aharm002@ucr.edu ; Lab: lab 9 ; Lab section: 24 ; TA: Bryan Marsh ;================================================= ; PS: User can only input single digit of 0-9, however the multiplication result may be 0-32K! (bc I reuse my ...
// Copyright 2021 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/objects/option-utils.h" #include "src/numbers/conversions.h" #include "src/objects/objects-inl.h" namespace v8 { namespace internal { /...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_D_ht+0xfba9, %rsi lea addresses_normal_ht+0x104dd, %rdi nop xor $8491, %r12 mov $33, %rcx rep movsb and %r11, %r11 lea addresses_D_ht+0x2fa9, %rsi lea addresses_UC_ht+0x1d329, %rdi nop xor %r1...
; epRISC development platform - BIOS debugging routines ; ; written by John C. Lemme, jclemme (at) proportionallabs (dot) com ; this file is part of the epRISC project, released under the epRISC license - see "license.txt" for details. ; ; These routines are for debugging. Will be retooled later. !zone dbg_routines :...
;;----------------------------------------------------------------------------;; ;; Hacks for overlay 2 for arm9 ;; Copyright 2014 Benito Palacios (aka pleonex) ;; ;; Licensed under the Apache License, Version 2.0 (the "License"); ;; you may not use this file except in compliance with the License. ;; You may obtai...
/* Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. NVIDIA CORPORATION and its licensors retain all intellectual property and proprietary rights in and to this software, related documentation and any modifications thereto. Any use, reproduction, disclosure or distribution of this software and related docum...
#include "MyForm.h" #include <Windows.h> #include <iostream> #include <stdio.h> using namespace System; using namespace System::Windows::Forms; [STAThread] int main(array<String^>^ args) { Application::EnableVisualStyles(); Application::SetCompatibleTextRenderingDefault(false); Project2::MyForm form; Applicat...
//-------------------------------------------------------------------------- // // Environment: // This software is part of the EvtGen package developed jointly // for the BaBar and CLEO collaborations. If you use all or part // of it, please give an appropriate acknowledgement. // // Copyright Informat...
; A116588: Array read by antidiagonals: T(n,k) = max(2^(n - k), 2^(k - n)). ; 1,2,2,4,1,4,8,2,2,8,16,4,1,4,16,32,8,2,2,8,32,64,16,4,1,4,16,64,128,32,8,2,2,8,32,128,256,64,16,4,1,4,16,64,256,512,128,32,8,2,2,8,32,128,512,1024,256,64,16,4,1,4,16,64,256,1024,2048,512,128 cal $0,143182 ; Triangle T(n,m) = 1 + abs(n-2*m), ...
; A153509: Period 9: repeat [6, 6, 6, 3, 3, 3, 0, 0, 0]. ; 6,6,6,3,3,3,0,0,0,6,6,6,3,3,3,0,0,0,6,6,6,3,3,3,0,0,0,6,6,6,3,3,3,0,0,0,6,6,6,3,3,3,0,0,0,6,6,6,3,3,3,0,0,0,6,6,6,3,3,3,0,0,0,6,6,6,3,3,3,0,0,0,6,6,6,3,3,3,0,0,0,6,6,6,3,3,3,0,0,0,6,6,6,3,3,3,0,0,0,6 div $0,-3 mod $0,3 add $0,2 mul $0,3
; Test ANC,ALR,ARR,XAA,LAS,AXS (0x*B opcodes, all with AND) in all addressing ; modes ; ; Expected Result: SP = $DE ; ; After the test the stack should look like this: ; ; 0 1 2 3 4 5 6 7 8 9 A B C D E F ; 01D0 FF ; 01E0 B4 4C 35 A0 A0 A0 B4 80 B5 FF 36 ...
_forktest: file format elf32-i386 Disassembly of section .text: 00000000 <main>: printf(1, "fork test OK\n"); } int main(void) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 e4 f0 and $0xfffffff0,%esp forktest(); 6: e8 35 00 00 00 c...
; A190727: Product of (digits of n each incremented by 1) - 2. ; 0,1,2,3,4,5,6,7,8,0,2,4,6,8,10,12,14,16,18,1,4,7,10,13,16,19,22,25,28,2,6,10,14,18,22,26,30,34,38,3,8,13,18,23,28,33,38,43,48,4,10,16,22,28,34,40,46,52,58,5,12,19,26,33,40,47,54,61,68,6,14,22,30,38,46,54,62 add $0,2 mov $2,$0 lpb $2,1 add $1,$2 add $...
// Copyright 2020 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/regexp/experimental/experimental-interpreter.h" #include "src/base/optional.h" #include "src/objects/fixed-array-inl.h" #include "src/obj...
%define System 0 %define Darwin 0 %define Linux 1 %define Windows 2 %define x86_64 0 %define arm64 1 %define Processor 1
CFG_CHILD_CONTROL_LAKE: .word 0x00000000 ; ID x y z xrot yrot zrot var Gossip_Actor: .halfword 0x01B9, 0xFCD5, 0xFB25, 0x1AD2, 0x0000, 0xF2DC, 0x0000, 0x8022 Hit_Gossip_Stone: addi sp, sp, -0x14 sw ra, 0x10(sp) ; If special flag is not se...
//===- HexagonLoopIdiomRecognition.cpp ------------------------------------===// // // 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 // //===---------------------------...
; A192877: Coefficient of x in the reduction by (x^2->x+1) of the polynomial p(n,x) given in Comments. ; Submitted by Christian Krause ; 0,1,4,14,47,152,496,1601,5192,16786,54351,175836,569100,1841513,5959484,19284934,62407951,201955408,653543000,2114907025,6843987040,22147600586,71671151919,231932702004,750550018452,2...
; ; MSX specific routines ; by Stefano Bodrato, 29/11/2007 ; ; int msx_color(int foreground, int background, int border ); ; ; Change the MSX color attributes ; ; $Id: msx_color.asm $ ; SECTION code_clib PUBLIC msx_color PUBLIC _msx_color EXTERN msxbios EXTERN __tms9918_attribute IF FORmsx INCLUD...
; A279891: Triangle read by rows, T(n,k) = 2*n, with n>=k>=0. ; 0,2,2,4,4,4,6,6,6,6,8,8,8,8,8,10,10,10,10,10,10,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,22,22,22,22 mul $0,2 mov $1,1 lpb $0 add $1,2 ...
SECTION code_clib SECTION code_fp_math48 PUBLIC ___fs2ulonglong_callee EXTERN cm48_sdccixp_ds2ulonglong_callee defc ___fs2ulonglong_callee = cm48_sdccixp_ds2ulonglong_callee
#include "loader.h" #include <fmt/format.h> #include <iostream> using namespace loader; extern "C" { CustomLibraryPtr the_python_library; } // note: intentially leaking the vector so that // dtors on the loaded libraries do not get called. // this module will unload after python so it is unsafe // for destruct...
/* * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
/* * X.509 Public Key * (C) 1999-2010 Jack Lloyd * * Botan is released under the Simplified BSD License (see license.txt) */ #include <botan/x509_key.h> #include <botan/data_src.h> #include <botan/ber_dec.h> #include <botan/pem.h> #include <botan/alg_id.h> #include <botan/pk_algs.h> namespace Botan { namespace X509 ...
; A100688: a(n) = prime(n) * 3^prime(n) - 1. ; 17,80,1214,15308,1948616,20726198,2195382770,22082967872,2165293113020,1990280943581606,19147875284802356,16660504517966902430,1495392851464002242522,14115049597965094337960,1249674274871002654525988,1027312020387041054530226318 seq $0,40 ; The prime numbers. mov $1,$0 lp...
; A158675: a(n) = 961*n^2 + 31. ; 31,992,3875,8680,15407,24056,34627,47120,61535,77872,96131,116312,138415,162440,188387,216256,246047,277760,311395,346952,384431,423832,465155,508400,553567,600656,649667,700600,753455,808232,864931,923552,984095,1046560,1110947,1177256,1245487,1315640,1387715,1461712,1537631,1615472,1...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r14 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_A_ht+0x181a5, %rsi nop cmp $47877, %r13 mov $0x6162636465666768, %rax movq %rax, (%rsi) nop nop nop nop nop sub $24603, %rax lea addresses_normal_ht+0x13e3c, %rsi lea addresses_UC_h...
SECTION code_driver PUBLIC ide_write_sector EXTERN __IO_IDE_SEC_CNT, __IO_IDE_COMMAND EXTERN __IDE_CMD_WRITE, __IDE_CMD_CACHE_FLUSH EXTERN ide_wait_ready, ide_wait_drq EXTERN ide_test_error, ide_setup_lba EXTERN ide_write_byte EXTERN ide_write_block ;--------------------------------------------------------------...
#include "IntrinsicModel.h" #include <iostream> #include <fstream> #include "Utility.h" #include "SparseMat.h" #include <cstdio> #include <boost/filesystem.hpp> float IMConfig::absLambda = 1000; float IMConfig::albedoLambda = 1; float IMConfig::shadeLambda = 1; float IMConfig::windowSize = 3; float IMConfig::chromThr...
BITS 64 ;TEST_FILE_META_BEGIN ;TEST_TYPE=TEST_F ;TEST_IGNOREFLAGS=FLAG_FPU_C1|FLAG_FPU_PE ;TEST_FILE_META_END ; set up st0 to be 3.141593 FLDPI FLD1 ;TEST_BEGIN_RECORDING lea rdi, [rsp-08] FSTP qword [rdi] FDIV qword [rdi] mov edi, 0 ;TEST_END_RECORDING
; A133885: Binomial(n+5,n) mod 5^2. ; 1,6,21,6,1,2,12,17,12,2,3,18,13,18,3,4,24,9,24,4,5,5,5,5,5,6,11,1,11,6,7,17,22,17,7,8,23,18,23,8,9,4,14,4,9,10,10,10,10,10,11,16,6,16,11,12,22,2,22,12,13,3,23,3,13,14,9,19,9,14,15,15,15,15,15,16,21,11,21,16,17 add $0,5 bin $0,5 mod $0,25 mov $1,$0
INCLUDE "clib_cfg.asm" SECTION code_clib SECTION code_l_sdcc PUBLIC __divslong EXTERN l_divs_32_32x32 __divslong: ; signed 32-bit division ; ; enter : stack = divisor (32-bit), dividend (32-bit), ret ; ; exit : dehl = quotient ; dehl'= remainder pop af exx pop hl pop de ...
;; ;; Copyright (c) 2012-2021, 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...
SECTION code_fp_mbf32 PUBLIC l_f32_div EXTERN ___mbf32_setup_arith EXTERN ___mbf32_DVBCDE EXTERN ___mbf32_return EXTERN msbios l_f32_div: call ___mbf32_setup_arith IF __CPU_INTEL__ call ___mbf32_DVBCDE ELSE ld ix,___mbf32_DVBCDE call msbios ENDIF jp ___mbf32_return
; A334091: a(1) = 0, then after the first differences of A329697. ; Submitted by Christian Krause ; 0,0,1,-1,1,0,1,-2,2,-1,1,-1,1,0,0,-2,1,1,1,-2,2,-1,1,-2,1,0,1,-1,1,-1,1,-3,3,-2,2,-1,1,0,0,-2,1,1,1,-2,1,0,1,-3,3,-2,0,0,1,0,0,-1,2,-1,1,-2,1,0,1,-4,3,0,1,-3,3,-1,1,-2,1,0,0,0,1,-1,1,-3,3,-2,1,0,-1,2,0,-2,1,0,1,-1,1,0,0,...
; A122657: a(n) = if n mod 2 = 1 then (n^2-1)*n^3/4 else n^5/4. ; 0,0,8,54,256,750,1944,4116,8192,14580,25000,39930,62208,92274,134456,189000,262144,353736,472392,617310,800000,1018710,1288408,1606044,1990656,2437500,2970344,3582306,4302592,5121690,6075000,7149840,8388608,9774864,11358856 mov $1,$0 pow $0,2 mul $1,$0 ...
// Copyright 2018 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/ui/webauthn/other_transports_menu_model.h" #include "base/numerics/safe_conversions.h" #include "chrome/browser/ui/webauthn/tran...
;/*! ; @file ; ; @brief BvsWrtNAttr DOS wrapper ; ; (c) osFree Project 2021, <http://www.osFree.org> ; for licence see licence.txt in root directory, or project website ; ; This is Family API implementation for DOS, used with BIND tools ; to link required API ; ; @author Yuri Prokushev (yuri.prokushev@gma...
/* * HDU-2126 * Hint: 01-knapsack, recording * */ #include<stdio.h> #include<memory.h> #include<algorithm> #include<math.h> using namespace std; const int maxm = 500+5; int dp[maxm][2], n, m, price[maxm]; int main(){ int kase; scanf("%d", &kase); while(kase--){ scanf("%d %d", &n, &m); f...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r15 push %r8 push %r9 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x16da3, %rbx and %r9, %r9 mov (%rbx), %r8 nop lfence lea addresses_D_ht+0x150cd, %r12 nop nop add %r8, %r8 mov (%r12), %ebp nop nop nop nop nop inc %rbp lea addresses_...
/*========================================================================= Library: CTK Copyright (c) Kitware Inc. 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.ap...
; A168067: n*(n^7+1)/2. ; 0,1,129,3282,32770,195315,839811,2882404,8388612,21523365,50000005,107179446,214990854,407865367,737894535,1281445320,2147483656,3487878729,5509980297,8491781530,12800000010,18911429691,27437936779,39155492652,55037657100,76293945325,104413532301,141214768254,188900999182,250123206495,32805000...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r15 push %rax push %rcx push %rdi push %rsi lea addresses_A_ht+0x1e431, %rdi clflush (%rdi) nop nop nop nop add $37115, %r12 mov (%rdi), %r15 nop nop nop add %r12, %r12 lea addresses_UC_ht+0xc31, %rsi lea addresses_WC_ht+0x1dded, %rdi nop and $19708...
; A110169: Triangle read by rows: T(n,k) (0<=k<=n) is the number of Delannoy paths of length n that start with exactly k (1,1) steps. ; Submitted by Jon Maiga ; 1,2,1,10,2,1,50,10,2,1,258,50,10,2,1,1362,258,50,10,2,1,7306,1362,258,50,10,2,1,39650,7306,1362,258,50,10,2,1,217090,39650,7306,1362,258,50,10,2,1,1196834,2170...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r8 push %r9 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x1916d, %r12 and %r8, %r8 mov (%r12), %r13 nop nop cmp $44934, %rbp lea addresses_normal_ht+0x13ead, %r10 nop nop nop nop nop sub %r9, %r9 movl $0x61626364, ...
#include <CQChartsExprModelFn.h> #include <CQChartsExprModel.h> #include <CQTclUtil.h> CQChartsExprModelFn:: CQChartsExprModelFn(CQChartsExprModel *model, const QString &name) : model_(model), name_(name) { qtcl_ = model->qtcl(); cmdId_ = qtcl()->createExprCommand(name_, (CQTcl::ObjCmdProc) &CQChart...
; A266936: Number of 3 X n binary arrays with rows lexicographically nondecreasing and columns lexicographically nondecreasing and row sums nondecreasing and column sums nonincreasing. ; 4,7,9,12,14,19,21,26,30,35,39,46,50,57,63,70,76,85,91,100,108,117,125,136,144,155,165,176,186,199,209,222,234,247,259,274,286,301,315...
db "MOUSE@" ; species name db "Adept at climbing" next "trees, it rolls" next "into a spiny ball," page "then attacks its" next "enemies from" next "above.@"
//============================================================================== c980c_custom_codes: push {r1-r2,lr} mov r1,r7 mov r2,r5 bl customcodes_parse ldr r1,[r6] // If 0, return [r6]+2; otherwise, return [r6]+r0 cmp r0,#0 beq @@next cmp r0,#0 bge @@continue //If -1, then set...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x197a4, %rsi lea addresses_WT_ht+0x12da4, %rdi nop nop nop nop inc %r11 mov $85, %rcx rep movsw nop nop nop nop nop add $46009, %rdi lea addresses_normal_ht+0x544, %r11 nop no...
GOLDENRODGAMECORNER_TM25_COINS EQU 5500 GOLDENRODGAMECORNER_TM14_COINS EQU 5500 GOLDENRODGAMECORNER_TM38_COINS EQU 5500 GOLDENRODGAMECORNER_ABRA_COINS EQU 100 GOLDENRODGAMECORNER_CUBONE_COINS EQU 800 GOLDENRODGAMECORNER_WOBBUFFET_COINS EQU 1500 object_const_def ; object_event constants const GOLDENRODGAMECOR...
############################################################################### # 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...
; A131422: (A000012 * A127773) + (A127773 * A000012) - A000012. ; 1,3,5,6,8,11,10,12,15,19,15,17,20,24,29,21,23,26,30,35,41,28,30,33,37,42,48,55,36,38,41,45,50,56,63,71,45,47,50,54,59,65,72,80,89,55,57,60,64,69,75,82,90,99,109 mov $3,$0 lpb $0 mov $2,$0 sub $0,1 add $1,1 trn $0,$1 bin $2,2 lpe add $2,4 add $...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright(c) 2011-2017 Intel Corporation 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 so...
; Copyright (c) 2009-2014, Berend-Jan "SkyLined" Wever <berendjanwever@gmail.com> ; and Peter Ferrie <peter.ferrie@gmail.com> ; Project homepage: http://code.google.com/p/win-exec-calc-shellcode/ ; All rights reserved. See COPYRIGHT.txt for details. ; Windows x86 null-free shellcode that executes calc.exe. ; Wor...