text
stringlengths
1
1.05M
Total: 6.66s ROUTINE ======================== main.(*Graph).buildAdjList 830ms 2.60s (flat, cum) 39.04% of Total . . 10ca200: MOVQ GS:0x30, CX ;graph.go:101 . . 10ca209: LEAQ -0x60(SP), AX . . 10ca20e: CMPQ 0x10(CX), AX ...
global _update segment .data blast db 255 segment .text _update: push ebx push edi push esi push ebp mov ebp,ecx mov ebx,eax mov ecx,784382 ulp: xor eax,eax mov eax,[ebx+ecx] add eax,[ebx+ecx+1024] add eax,[ebx+ecx+2048] add ah,al shr eax,8 add al,ah cmp al,3 setz byte [edx+ecx+1...
// File_Extractor 0.4.0. http://www.slack.net/~ant/ #define _CRT_SECURE_NO_WARNINGS #include "Data_Reader.h" #include "blargg_endian.h" #include <assert.h> #include <string.h> #include <stdio.h> /* Copyright (C) 2005-2006 Shay Green. This module is free software; you can redistribute it and/or modify it...
dnl IA-64 mpn_and_n, mpn_andn_n, mpn_nand_n, mpn_ior_n, mpn_iorn_n, dnl mpn_nior_n, mpn_xor_n, mpn_xnor_n -- mpn bitwise logical operations. dnl Copyright 2003, 2004, 2005 Free Software Foundation, Inc. dnl dnl This file is part of the GNU MP Library. dnl dnl The GNU MP Library is free software; you can redistrib...
; void wa_stack_clear(wa_stack_t *s) SECTION code_clib SECTION code_adt_wa_stack PUBLIC _wa_stack_clear EXTERN _w_array_clear defc _wa_stack_clear = _w_array_clear
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2011 Fabien Le Floc'h This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org/ QuantLib is free software: you can redistribute it an...
////////////////////////////////////////////////////////////////////////////// /// Copyright 2003 and onward LASMEA UMR 6602 CNRS/U.B.P Clermont-Ferrand /// Copyright 2009 and onward LRI UMR 8623 CNRS/Univ Paris Sud XI /// /// Distributed under the Boost Software License, Version 1.0 /// ...
# Test cases for MIPS 5-Stage pipeline .data .word 0,1,2,3,0x80000000,0x80000100,0x100,5,0 _start: add $t1, $0, $0 # $t1 = 0 0 j _test0 # 4 _test0: addi $t2, $0, 1 # $t2 = 1 8 addi $t2, $t2, 1 # $t2 = 2 12 add $t2, $t2, $t2 # $t2 = 4 16 addi $t2, $t2, -4 # $t2 = 0 20 ...
; A079962: Number of permutations satisfying -k <= p(i) - i <= r and p(i) - i not in I, i=1..n, with k=1, r=5, I={1,3}. ; 1,1,1,2,3,5,9,14,22,36,58,94,153,247,399,646,1045,1691,2737,4428,7164,11592,18756,30348,49105,79453,128557,208010,336567,544577,881145,1425722,2306866,3732588,6039454,9772042,15811497,25583539,41395...
SECTION code_clib SECTION code_fp_math48 PUBLIC _fmin_callee EXTERN cm48_sdccix_fmin_callee defc _fmin_callee = cm48_sdccix_fmin_callee
; A097708: Sum of prime length repunits; sum_k=1..n (r(p(k))), where r()= A002275 and p(k) is the k-th prime. ; Submitted by Jon Maiga ; 0,11,122,11233,1122344,11112233455,1122223344566,11112233334455677,1122223344445566788,11112233334455556677899,11111122223344445566667789010,1122222233334455556677778900121 lpb $0 ...
/* * Copyright (c) 2010-2012 OTClient <https://github.com/edubart/otclient> * * 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...
/** * @file methods/ann/loss_functions/mean_squared_logarithmic_error_impl.hpp * @author Saksham Rastogi * * Implementation of the mean squared logarithmic error function. * * mlpack is free software; you may redistribute it and/or modify it under the * terms of the 3-clause BSD license. You should have receive...
#include <iostream> #include <vector> #include <cassert> using namespace std; /// 416. Partition Equal Subset Sum /// https://leetcode.com/problems/partition-equal-subset-sum/description/ /// 记忆化搜索 /// 时间复杂度: O(len(nums) * O(sum(nums))) /// 空间复杂度: O(len(nums) * O(sum(nums))) class Solution { private: // memo[i][...
.data # Variables myMessage: .asciiz "Hello World\n" .text # Instructions li $v0, 4 la $a0, myMessage syscall
; A036781: a(n) = n + Sum_{k=0..n} k!. ; 1,3,6,13,38,159,880,5921,46242,409123,4037924,43954725,522956326,6749977127,93928268328,1401602636329,22324392524330,378011820620331,6780385526348332,128425485935180333,2561327494111820334,53652269665821260335,1177652997443428940336,27029669736328405580337,6474780714695678449403...
; A199211: 11*4^n+1. ; 12,45,177,705,2817,11265,45057,180225,720897,2883585,11534337,46137345,184549377,738197505,2952790017,11811160065,47244640257,188978561025,755914244097,3023656976385,12094627905537,48378511622145,193514046488577,774056185954305,3096224743817217,12384898975268865,49539595901075457,1981583836043018...
; A093719: a(n) = (n mod 2)^(n mod 3). ; 1,1,0,1,0,1,1,1,0,1,0,1,1,1,0,1,0,1,1,1,0,1,0,1,1,1,0,1,0,1,1,1,0,1,0,1,1,1,0,1,0,1,1,1,0,1,0,1,1,1,0,1,0,1,1,1,0,1,0,1,1,1,0,1,0,1,1,1,0,1,0,1,1,1,0,1,0,1,1,1,0,1,0,1,1,1,0,1,0,1,1,1,0,1,0,1,1,1,0,1,0,1,1,1,0,1,0,1,1,1,0,1,0,1,1,1,0,1,0,1,1,1,0,1,0,1,1,1,0,1,0,1,1,1,0,1,0,1,1,1...
;=============================================================================== ; Copyright 2015-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") co...
// Copyright (c) 2017 Taeguk Kwon // // SPDX-License-Identifier: BSL-1.0 // 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) #include <pika/init.hpp> #include <pika/modules/testing.hpp> #include <algorithm> #inclu...
OPT r34 ; :3 OPT r 360 ; Invalid OPT r ; Missing arg OPT r 2a ; Bad decimal ; Check that it has an effect OPT r 1 MACRO m m ENDM m
#include <fstream> #include <math.h> #include <uWS/uWS.h> #include <chrono> #include <iostream> #include <thread> #include <vector> #include "Eigen-3.3/Eigen/Core" #include "Eigen-3.3/Eigen/QR" #include <iostream> #include "map.h" #include "vehicle.h" #include "json.hpp" #include "spline.h" #include "Be...
#include <iostream> #include <stdio.h> #include <stdlib.h> #include <fstream> #include <sstream> #include <stdexcept> #include <map> #include <vector> #include <list> #include <filesystem> namespace fs = std::filesystem; #define GL_GLEXT_PROTOTYPES #include <GL/gl.h> #include <GL/glext.h> #include <GLFW/glfw3.h> #i...
copyright zengfr site:http://github.com/zengfr/romhack 0047B4 move.w D0, D2 [enemy+A5] 02522C move.b #$f, ($a5,A0) [enemy+AE] 025232 addq.b #2, ($29,A0) [enemy+A5] copyright zengfr site:http://github.com/zengfr/romhack
; Copyright (c) 2004, 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. The full text of the license may be found at ...
; Map 19 init lda #$58 sta Timer1 lda #$04 sta Timer2 rts
; A248178: Least k such that r - sum{1/F(n), h = 1..k} < 1/2^(n+1), where F(n) = A000045 (Fibonacci numbers) and r = sum{1/F(n), h = 1..infinity}. ; 6,7,9,10,12,13,15,16,18,19,20,22,23,25,26,28,29,31,32,33,35,36,38,39,41,42,44,45,46,48,49,51,52,54,55,56,58,59,61,62,64,65,67,68,69,71,72,74,75,77,78,80,81,82,84,85,87,88,...
/* * Copyright 2004 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 ...
TITLE MISC2 - Miscellanious routines for MS-DOS NAME MISC2 ;** MISC2.ASM - Miscellaneous useful routines ; ; StrCpy ; StrCmp ; StrLen ; DStrLen ; Idle ; TableDispatch ; FastInit ; DOS 4.0 ; FastRet ; DOS 4.0 ; NLS_OPEN ; DOS 4.0 ; NLS_LSEEK ; DOS 4.0 ; Fake_User_Stack ; DOS 4.0 ; ...
; A124861: Expansion of 1/(1-x-3x^2-4x^3-2x^4). ; Submitted by Jon Maiga ; 1,1,4,11,29,80,219,597,1632,4459,12181,33280,90923,248405,678656,1854123,5065557,13839360,37809835,103298389,282216448,771029675,2106492245,5755043840,15723072171,42956232021,117358608384 mov $3,1 lpb $0 sub $0,1 mov $2,$3 add $3,$1 mov...
// // EntityTree.cpp // libraries/entities/src // // Created by Brad Hefta-Gaub on 12/4/13. // Copyright 2013 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include "EntityTree.h" #include <Q...
#define __CLUCK2SESAME_PLATFORM_MCLRRESET_ASM #include "Platform.inc" #include "TailCalls.inc" #include "ResetFlags.inc" radix decimal extern initialiseAfterReset MclrReset code global initialiseAfterMclrReset initialiseAfterMclrReset: .safelySetBankFor PCON movlw (1 << NOT_BOR) | (1 << NOT_POR) movwf PC...
// Boost.Range library // // Copyright Thorsten Ottosen 2003-2004. Use, modification and // distribution is subject to 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) // // For more information, see http://www.boost.org/libs/rang...
; A169998: a(0)=1, a(1)=1; thereafter a(n) = -a(n-1) - 2*a(n-2). ; 1,1,-3,1,5,-7,-3,17,-11,-23,45,1,-91,89,93,-271,85,457,-627,-287,1541,-967,-2115,4049,181,-8279,7917,8641,-24475,7193,41757,-56143,-27371,139657,-84915,-194399,364229,24569,-753027,703889,802165,-2209943,605613,3814273,-5025499,-2603047 mov $1,2 mov $3...
; A053737: Sum of digits of (n written in base 4). ; 0,1,2,3,1,2,3,4,2,3,4,5,3,4,5,6,1,2,3,4,2,3,4,5,3,4,5,6,4,5,6,7,2,3,4,5,3,4,5,6,4,5,6,7,5,6,7,8,3,4,5,6,4,5,6,7,5,6,7,8,6,7,8,9,1,2,3,4,2,3,4,5,3,4,5,6,4,5,6,7,2,3,4,5,3,4,5,6,4,5,6,7,5,6,7,8,3,4,5,6,4,5,6,7,5,6,7,8,6,7,8,9,4,5,6,7,5,6,7,8,6,7,8,9,7,8,9,10,2,3,4,5,3,...
#include <torch/csrc/jit/frontend/ir_emitter.h> #include <torch/csrc/jit/jit_log.h> #include <torch/csrc/jit/passes/inliner.h> #include <torch/csrc/jit/runtime/operator.h> #include <torch/csrc/jit/runtime/symbolic_shape_registry.h> #include <unordered_map> namespace torch { namespace jit { namespace { std::mutex lock;...
SECTION code_fp_am9511 PUBLIC acos_fastcall EXTERN asm_am9511_acos_fastcall defc acos_fastcall = asm_am9511_acos_fastcall ; SDCC bridge for Classic IF __CLASSIC PUBLIC _acos_fastcall defc _acos_fastcall = asm_am9511_acos_fastcall ENDIF
#include "Renderer.h" Renderer::Renderer() { } Renderer::~Renderer() { for (auto mit = mSpriteCache.begin(); mit != mSpriteCache.end(); mit++) { delete mit->second; } mSpriteCache.clear(); } void Renderer::RenderSprite(GLTexture* texture, Camera& camera, float x, float y, float w, float h, float a) { Sprite2D*...
; A166781: Number of nX3 1..2 arrays containing at least one of each value, all equal values connected, and rows considered as a single number in nondecreasing order. ; 4,17,44,91,164,269,412,599,836,1129,1484,1907,2404,2981,3644,4399,5252,6209,7276,8459,9764,11197,12764,14471,16324,18329,20492,22819,25316,27989,30844,...
// Copyright (c) 2011-2013 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #if defined(HAVE_CONFIG_H) #include "config/fundin-config.h" #endif #include "optionsdialog.h" #include "ui_optionsdialog.h" ...
/* * DGSWriter.hpp * * Created on: 14.01.2014 * Author: cls */ #ifndef NETWORKIT_DYNAMICS_DGS_WRITER_HPP_ #define NETWORKIT_DYNAMICS_DGS_WRITER_HPP_ #include <string> #include <vector> #include <networkit/dynamics/GraphEvent.hpp> namespace NetworKit { /** * @ingroup dynamics */ class DGSWriter final {...
; $Id: bs3-cpu-instr-2-asm.asm 69222 2017-10-24 15:10:29Z vboxsync $ ;; @file ; BS3Kit - bs3-cpu-instr-2 ; ; ; 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; ; you can redistribute it a...
; A112232: Repeat each composite number in the sequence of natural numbers. ; 1,2,3,4,4,5,6,6,7,8,8,9,9,10,10,11,12,12,13,14,14,15,15,16,16,17,18,18,19,20,20,21,21,22,22,23,24,24,25,25,26,26,27,27,28,28,29,30,30,31,32,32,33,33,34,34,35,35,36,36,37,38,38,39,39,40,40,41,42,42,43,44,44,45 mov $2,$0 lpb $0 seq $0,230980...
; ; Kaypro II pseudo graphics routines ; ; Stefano Bodrato 2018 ; ; ; $Id: plot_end_83.asm $ ; SECTION code_graphics PUBLIC plot_end PUBLIC plot_decode EXTERN __gfx_coords .plot_decode ld (__gfx_coords),hl ld c,a ...
; A127216: a(n) = 2^n*tetranacci(n) or (2^n)*A001648(n). ; Submitted by Christian Krause ; 2,12,56,240,832,3264,12672,48896,187904,724992,2795520,10776576,41541632,160153600,617414656,2380201984,9175957504,35374497792,136373075968,525735034880,2026773676032,7813464064000,30121872326656,116123550875648,447670682386432,1...
<% import collections import pwnlib.abi import pwnlib.constants import pwnlib.shellcraft import six %> <%docstring>sigaltstack(ss, oss) -> str Invokes the syscall sigaltstack. See 'man 2 sigaltstack' for more information. Arguments: ss(sigaltstack*): ss oss(sigaltstack*): oss Returns: int </%docstring> <...
/*** * * Copyright (c) 1996-2001, Valve LLC. All rights reserved. * * This product contains software technology licensed from Id * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. * All Rights Reserved. * * Use, distribution, and modification of this source code and/or resulting * obje...
<% import collections import pwnlib.abi import pwnlib.constants import pwnlib.shellcraft import six %> <%docstring>lchown(file, owner, group) -> str Invokes the syscall lchown. See 'man 2 lchown' for more information. Arguments: file(char*): file owner(uid_t): owner group(gid_t): group Returns: int <...
; /***************************************************************************** ; * ugBASIC - an isomorphic BASIC language compiler for retrocomputers * ; ***************************************************************************** ; * Copyright 2021 Marco Spedaletti (asimov@mclink.it) ; * ; * Licensed un...
/* * Copyright (C) 2015 The Android Open Source Project * * 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 app...
// Copyright Glen Knowles 2018 - 2021. // Distributed under the Boost Software License, Version 1.0. // // fnxfrmlist.cpp - tismet func // // Functions that make changes within a single sample list #include "pch.h" #pragma hdrstop using namespace std; using namespace std::chrono; using namespace Dim; using namespace ...
and(1) cr0<1>UD cr0<0,1,0>UD 0xfffffb3fUD { align1 1N switch }; and(1) cr0<1>UD cr0<0,1,0>UD 0xffffff3fUD { align1 1N switch }; and(1) cr0<1>UD cr0<0,1,0>UD 0xfffffb7fUD { align1 1N switch }; and(1) cr0<1>UD cr0<0,1,0>UD 0xffffff7fUD ...
ORG 2000H MVI A, 82H OUT 83H MVI A, 00H L1: OUT 80H NOP NOP NOP NOP NOP CMA NOP NOP NOP NOP NOP JMP L1 END
; A157286: a(n) = 36*n^2 - n. ; 35,142,321,572,895,1290,1757,2296,2907,3590,4345,5172,6071,7042,8085,9200,10387,11646,12977,14380,15855,17402,19021,20712,22475,24310,26217,28196,30247,32370,34565,36832,39171,41582,44065,46620,49247,51946,54717,57560,60475,63462,66521,69652,72855,76130,79477,82896,86387,89950,93585,9729...
//================================================================================================= /*! // \file src/mathtest/svecdvecouter/VCaV5b.cpp // \brief Source file for the VCaV5b sparse vector/dense vector outer product math test // // Copyright (C) 2012-2020 Klaus Iglberger - All Rights Reserved // // Thi...
#ifndef PYFLIGHTGOGGLESCLIENT_HPP #define PYFLIGHTGOGGLESCLIENT_HPP #include "pybind11/pybind11.h" #include "pybind11/stl.h" #include "pybind11/eigen.h" #include "yaml-cpp/yaml.h" #include "FlightGogglesClient.hpp" typedef Eigen::Matrix<uchar, Eigen::Dynamic, 1> VectorXuc; typedef Eigen::Matrix<double, Eigen::Dynami...
assume cs:codesg codesg segment mov ax,0123H mov bx,0456H add ax,bx add ax,ax mov ax,4c00H int 21H codesg ends end
MODULE tms9918_generic_console SECTION code_clib EXTERN __tms9918_cls PUBLIC __tms9918_scrollup PUBLIC __tms9918_printc PUBLIC __tms9918_set_ink PUBLIC __tms9918_set_paper PUBLIC __tms9918_set_attribute EXTERN __tms9918_attribute EXTERN ...
; A040387: Continued fraction for sqrt(408). ; 20,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40 pow $0,4 mov $1,$0 trn $1,4 sub $1,4 gcd $0,$1 mul $0,5
sta {m1} lda #0 sta {m1}+1 sta {m1}+2 sta {m1}+3
; ; SD Card driver ; Taken from the OSCA Bootcode by Phil Ruston 2011 ; Port by Stefano Bodrato, 2012 ; ; Read card information details ; ; $Id: sd_read_csd.asm,v 1.2 2015/01/19 01:33:07 pauloscustodio Exp $ ; PUBLIC sd_read_csd EXTERN sector_buffer_loc EXTERN sd_send_command_null_args EXTERN sd_wait_data_tok...
; A044504: Numbers n such that string 3,3 occurs in the base 6 representation of n but not of n+1. ; 21,57,93,131,165,201,237,273,309,347,381,417,453,489,525,563,597,633,669,705,741,791,813,849,885,921,957,995,1029,1065,1101,1137,1173,1211,1245,1281,1317,1353,1389,1427,1461,1497,1533,1569,1605,1643,1677,1713 mov $2,$0...
/** * Copyright (c) 2017 Melown Technologies SE * * 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 f...
/* * hidl interface for wpa_supplicant daemon * Copyright (c) 2004-2016, Jouni Malinen <j@w1.fi> * Copyright (c) 2004-2016, Roshan Pius <rpius@google.com> * Copyright (C) 2017 Sony Mobile Communications Inc. * * This software may be distributed under the terms of the BSD license. * See README for more details. ...
dnl Pentium-4 mpn_copyi -- copy limb vector, incrementing. dnl Copyright 1999-2001 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 P...
.global s_prepare_buffers s_prepare_buffers: push %r15 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x735c, %rsi lea addresses_WC_ht+0xa170, %rdi sub $24867, %rbx mov $47, %rcx rep movsq nop nop add $45601, %rbp lea addresses_WC_ht+0x1d018, %rsi lea addresses_normal_ht+0x10568, %rdi no...
org #5CCB basic: dw #00,endB - startLine startLine: db #F9,#C0 ; RANDOMIZE USR db '23774' ; ADDR db #3A,#EA ; : REM db #0E,#00,#00 ; ADDR value dw code db #00 code: ; 23774 include "includes.asm" vars: db #0D display "Launch address: ",/A,code display "vars a...
// Copyright (c) 2017 Advanced Micro Devices, Inc. All rights reserved. // // 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 // t...
%ifndef MEMORY_ASM_ %define MEMORY_ASM_ %include "return.asm" %include "atomic.asm" memory: .init: ; first, check already initialized mov rdi, .initialized call atomic.trylock jc return.false ; check size of the installed memory call .calcsize ; if memory not enough, return cmp rdi, 2 * 1024 * 1024 ...
; A025169: a(n) = 2*Fibonacci(2*n+2). ; 2,6,16,42,110,288,754,1974,5168,13530,35422,92736,242786,635622,1664080,4356618,11405774,29860704,78176338,204668310,535828592,1402817466,3672623806,9615053952,25172538050,65902560198,172535142544,451702867434,1182573459758,3096017511840,8105479075762,21220419715446,5555578007057...
; A178226: Characteristic function of A154809 (numbers that are not binary palindromes) ; 0,0,1,0,1,0,1,0,1,0,1,1,1,1,1,0,1,0,1,1,1,0,1,1,1,1,1,0,1,1,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r9 push %rbx push %rdi push %rsi lea addresses_UC_ht+0x10fe9, %rbx nop nop nop nop xor %r10, %r10 mov $0x6162636465666768, %r12 movq %r12, (%rbx) nop nop nop and $10786, %r13 lea addresses_A_ht+0x14de9, %rdi nop add %r9, %r9 vmovups (%rdi)...
; A004632: Cubes written in base 2. ; 1,1000,11011,1000000,1111101,11011000,101010111,1000000000,1011011001,1111101000,10100110011,11011000000,100010010101,101010111000,110100101111,1000000000000,1001100110001,1011011001000,1101011001011,1111101000000,10010000101101,10100110011000,10111110000111,11011000000000,11110100...
; A183221: Complement of the 9-gonal numbers. ; 2,3,4,5,6,7,8,10,11,12,13,14,15,16,17,18,19,20,21,22,23,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,...
; A124678: Number of conjugacy classes in PSL_2(p), p = prime(n). ; 3,4,5,6,8,9,11,12,14,17,18,21,23,24,26,29,32,33,36,38,39,42,44,47,51,53,54,56,57,59,66,68,71,72,77,78,81,84,86,89,92,93,98,99,101,102,108,114,116,117,119,122,123,128,131,134,137,138,141,143,144,149,156,158,159,161,168,171,176,177,179,182,186,189,192,19...
; ; PC-6001 specific routines ; by Stefano Bodrato, Fall 2013 ; ; int set_psg(int reg, int val); ; ; Play a sound by PSG ; ; ; $Id: set_psg.asm,v 1.3 2016/06/10 21:13:58 dom Exp $ ; SECTION code_clib PUBLIC set_psg PUBLIC _set_psg EXTERN set_psg_callee EXTERN ASMDISP_SET_PSG_CALLEE set_psg: _set_psg: ...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright (c) 2012, 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 ...
#include "../examples/utils.hpp" #include <algorithm> #include <catch.hpp> #include <cmath> #include <delaunator.hpp> namespace { constexpr double EPSILON = std::numeric_limits<double>::epsilon(); inline void validate(const std::vector<double>& coords, const double e) { delaunator::Delaunator d(coords); // ...
; A099571: Sum C(n-k+3,k), k=0..floor(n/2). ; 1,1,5,6,17,23,50,73,138,211,370,581,979,1560,2575,4135,6755,10890,17700,28590,46356,74946,121380,196326,317797,514123,832025,1346148,2178293,3524441,5702870,9227311,14930334,24157645,39088150,63245795 lpb $0 mov $2,$0 sub $0,1 seq $2,54451 ; Third column of triangle ...
; ; Z88 Graphics Functions - Small C+ stubs ; ; Written around the Interlogic Standard Library ; ; Stubs Written by D Morris - 30/9/98 ; ; ----- void __CALLEE__ setpos(int x2, int y2) ; ; $Id: w_setpos_callee.asm $ ; SECTION code_graphics PUBLIC setpos_callee PUBLIC _setpos_callee PUBL...
;****************************************************************************** ;* x86-optimized horizontal line scaling functions ;* Copyright (c) 2011 Ronald S. Bultje <rsbultje@gmail.com> ;* ;* This file is part of FFmpeg. ;* ;* FFmpeg is free software; you can redistribute it and/or ;* modify it under the terms of ...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR> ; SPDX-License-Identifier: BSD-2-Clause-Patent ; ; Module Name: ; ; CompareMem.Asm ; ; Abstract: ; ; CompareMem function ; ; Notes: ; ; The following BaseMemor...
CUR_ROM_BANK equ $fffd SELECT_ROM_BANK equ $2000 OBP0 equ $ff48 OBP1 equ $ff49 BUTTON_A equ $01 BUTTON_B equ $02 BUTTON_SELECT equ $04 BU...
; A002057: Fourth convolution of Catalan numbers: 4*binomial(2n+3,n)/(n+4). ; 1,4,14,48,165,572,2002,7072,25194,90440,326876,1188640,4345965,15967980,58929450,218349120,811985790,3029594040,11338026180,42550029600,160094486370,603784920024,2282138106804,8643460269248,32798844771700,124680849918352,474746313150648,18105...
/* Copyright (c) 2021 PaddlePaddle 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...
// Copyright 2014 Ryuichi Ueda // Released under the MIT License. #include "ExeEachline.h" //#include "ArgCommand.h" //#include "InternalCommands.h" #include "Environment.h" #include "Script.h" #include "Arg.h" #include "Where.h" #include "DefFile.h" #include "DefStr.h" #include <stdlib.h> #include <unistd.h> #include ...
; A010013: a(0) = 1, a(n) = 23*n^2 + 2 for n>0. ; 1,25,94,209,370,577,830,1129,1474,1865,2302,2785,3314,3889,4510,5177,5890,6649,7454,8305,9202,10145,11134,12169,13250,14377,15550,16769,18034,19345,20702,22105,23554,25049,26590,28177,29810,31489,33214,34985,36802,38665,40574,42529,44530,46577,48670,50809,52994,55225,57...
;; ;; Copyright (c) 2012-2018, 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...
#include <arrow/api.h> #include <arrow/ipc/api.h> #include <arrow/io/api.h> #include <fletcher/api.h> #include <fletcher/common.h> #include <malloc.h> #include <unistd.h> #include <memory> #include <iostream> #include <bitset> #define AFU_GUID "5fcd29a3-1c65-4feb-907f-34c5ba4c8534"; #ifdef NDEBUG #define PLATFORM "...
sllv $5,$4,$3 subu $3,$3,$3 addiu $1,$5,17725 addu $5,$3,$3 sltiu $6,$1,-14985 slt $0,$0,$3 subu $4,$5,$3 lbu $5,7($0) srav $1,$3,$3 ori $3,$3,13639 xori $4,$4,63889 lw $1,4($0) srlv $4,$5,$3 addu $4,$5,$3 sh $1,16($0) sw $6,12($0) nor $4,$4,$3 sltu $5,$3,$3 srav $0,$4,$3 lbu $3,16($0) sllv $3,$4,$3 lw $3,16($0) slt $1...
;3 - 5 + 7 - 9 + 11 ;using even odd mov bx,11 mov cx,5 mov si,0 mov di,2 Series: mov ax,cx div di cmp dx,0 je cx_even jne cx_odd cx_even: sub si,bx sub bx,2 jmp exit cx_odd: add si,bx sub b...
[bits 32] ; declare the main symbol will be referenced at linking time [extern main] ; invoke the c function called main call main jmp $
#include <iostream> #include <string> #include <vector> #include <map> #include <set> #include <algorithm> #include <cmath> #include <climits> #include <math.h> #define X first #define Y second #define vsort(v) sort(v.begin(), v.end()) #define vrev(v) reverse(v.begin(), v.end()) #define P pair // stoi(s): string to i...
// Copyright (c) 2014 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #include "atom/browser/api/atom_api_web_contents.h" #include "atom/browser/atom_browser_context.h" #include "atom/common/api/api_messages.h" #include "atom/common/native_mate_converte...
; double nan(const char *tagp) SECTION code_fp_math48 PUBLIC am48_nan EXTERN am48_derror_einval_zc ; return nan ; ; enter : hl = char *tagp ; ; exit : AC' = 0 ; carry set, errno set ; ; note : math48 does not support nan ; ; uses : af, bc', de', hl' defc am48_nan = am48_de...
// Copyright (c) 2018-2019 AccelByte Inc. All Rights Reserved. // This is licensed software from AccelByte Inc, for limitations // and restrictions contact your company contract manager. #include "Blueprints/AccelByteWalletBlueprints.h" #include "Core/AccelByteSettings.h" #include "Api/AccelByteWalletApi.h" #include "...
.size 8000 .text@48 jp lstatint .text@100 jp lbegin .data@143 c0 .text@150 lbegin: ld a, 00 ldff(ff), a ld a, 30 ldff(00), a ld a, 01 ldff(4d), a stop, 00 ld a, ff ldff(45), a ld b, 91 call lwaitly_b ld hl, fe00 ld d, 10 ld a, d ld(hl++), a ld a, 08 ld(hl++), a inc l inc l ld a, d ld(hl++), ...
; A253213: a(n) = 10^n + 9. ; 10,19,109,1009,10009,100009,1000009,10000009,100000009,1000000009,10000000009,100000000009,1000000000009,10000000000009,100000000000009,1000000000000009,10000000000000009,100000000000000009,1000000000000000009,10000000000000000009 mov $1,10 pow $1,$0 add $1,9 mov $0,$1
; all of these should be legal and should just result in the offset portion foo equ 1:2 jmp far[foo] ; out: ff 2e 02 00 mov ax,[foo] ; out: a1 02 00 push dword [foo] ; out: 66 ff 36 02 00 mov ax,foo ; out: b8 02 00
/* * 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" fil...