text
stringlengths
1
1.05M
// smooth_feedback: Control theory on Lie groups // https://github.com/pettni/smooth_feedback // // Licensed under the MIT License <http://opensource.org/licenses/MIT>. // // Copyright (c) 2021 Petter Nilsson, John B. Mains // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this so...
Name: Gdefchr.asm Type: file Size: 7232 Last-Modified: '2016-05-13T04:52:57Z' SHA-1: 2E75E1ABE4F81FE9F42FD8D9BC62C397B4973D00 Description: null
cbit(8) g11<1>UD g10<4>UD { align16 1Q }; cbit(8) g5<1>UD g5<8,8,1>UD { align1 1Q }; cbit(16) g6<1>UD g8<8,8,1>UD { align1 1H };
#include "IntegrationTest.h" #include "core/fs/FileSystem.h" #include "core/fs/FileWriter.h" #include "core/fs/FileReader.h" #include "core/utils/Random.h" #include "core/utils/StringBuilder.h" #include "drivers/SdCard.h" #include <cstring> Random rng; class FileSystemTest : public IntegrationTest { public: F...
////////////////////////////////////////////////////////////////////////// // // This file is part of Iron's source files. // Iron is free software, licensed under the MIT/X11 License. // A copy of the license is provided with the library in the LICENSE file. // Copyright (c) 2016, 2017, Igor Dimitrijevic // /////////...
// Copyright (c) 2017 Sony Corporation. 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 ...
%include "../UltimaPatcher.asm" %include "include/uw2.asm" %include "include/uw2-eop.asm" defineAddress 39, 0x0A30, animateSlidingPanel %include "../uw1/call-eop-slidePanel.asm"
jmp $eabf
; int vopen_callee(const char *path, int oflag, void *arg) SECTION code_clib SECTION code_fcntl PUBLIC _vopen_callee, l0_vopen_callee EXTERN asm_vopen _vopen_callee: pop hl pop de pop bc ex (sp),hl l0_vopen_callee: push ix call asm_vopen pop ix ret
; Graphics library by Itay Gruden ; https://github.com/itay-grudev/assembly-dos-gx include libutil.asm gx_x dw ? gx_y dw ? gx_x1 dw ? gx_y1 dw ? gx_x2 dw ? gx_y2 dw ? gx_dx dw ? gx_dy dw ? gx_m dw ? gx_color db ? ; Sets the MS-DOS BIOS Video Mode gx_set_video_mode macro mode ...
; A105312: a(n) = Sum_{j=0..15} n^j. ; 1,16,65535,21523360,1431655765,38146972656,564221981491,5538821761600,40210710958665,231627523606480,1111111111111111,4594972986357216,16807659899548765,55451384098598320,167534872139182395,469172025408063616,1229782938247303441,3041324492229179280,7143501829211426575,160245229759...
; A197974: Ceiling((n+1/5)^n) ; Submitted by Christian Krause ; 2,5,33,312,3803,56801,1003062,20441409,472161364,12189944200,347854999335,10872213398723,369369563065820,13553043160362243,534138422146939894,22502990284669009820,1009214769013552542797,48004835269442445650151,2413922625560072092051195,12794619913284792609...
// (C) Copyright John Maddock 2006-7. // Use, modification and distribution are 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) #ifndef BOOST_MATH_TEST_RATIONAL_HPP #define BOOST_MATH_TEST_RATIONAL_HPP #inc...
/********************************************************************** * * GEOS - Geometry Engine Open Source * http://geos.osgeo.org * * Copyright (C) 2001-2002 Vivid Solutions Inc. * Copyright (C) 2005 Refractions Research Inc. * * This is free software; you can redistribute and/or modify it under * the ter...
; 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 ...
; A053179: Numbers ending in 3 which are not prime. ; Submitted by Jamie Morken(w2) ; 33,63,93,123,133,143,153,183,203,213,243,253,273,303,323,333,343,363,393,403,413,423,453,473,483,493,513,533,543,553,573,583,603,623,633,663,693,703,713,723,753,763,783,793,803,813,833,843,873,893,903,913 mov $2,$0 add $2,2 pow $2,2 ...
; Initialization push1 0x60 (#0x0) push1 0x40 (#0x2) mstore (#0x4) callvalue (#0x5) iszero (#0x6) push2 0x000c (#0x7) jumpi label1 (#0xa) throw (#0xb) :label1 jumpdest (#0xc) :label2 jumpdest (#0xd) push1 0x40 (#0xe) push1 0x40 (#0x10) mload (#0x12) swap1 (#0x13) dup2 (#0x14) add (#0x15) push1 0x40 (#0x16) mstore (#...
/* sdsl - succinct data structures library Copyright (C) 2011 Timo Beller, Simon Gog This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your o...
; A060546: a(n) = 2^ceiling(n/2). ; 1,2,2,4,4,8,8,16,16,32,32,64,64,128,128,256,256,512,512,1024,1024,2048,2048,4096,4096,8192,8192,16384,16384,32768,32768,65536,65536,131072,131072,262144,262144,524288,524288,1048576,1048576,2097152,2097152,4194304,4194304,8388608,8388608,16777216,16777216,33554432,33554432,67108864,6...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x505d, %rsi lea addresses_UC_ht+0x4ffd, %rdi nop nop inc %rbp mov $41, %rcx rep movsl nop nop nop inc %rbx lea addresses_normal_ht+0xd6ac, %rdx nop sub $19413, %rsi movups (%rdx), %xmm...
///////////////////////////////////////////////////////////////////////////// // Name: src/gtk/window.cpp // Purpose: wxWindowGTK implementation // Author: Robert Roebling // Copyright: (c) 1998 Robert Roebling, Julian Smart // Licence: wxWindows licence ///////////////////////////////////////////...
C x86_64/fat/cpuid.asm ifelse(< Copyright (C) 2015 Niels Möller This file is part of GNU Nettle. GNU Nettle is free software: you can redistribute it and/or modify it under the terms of either: * the GNU Lesser General Public License as published by the Free Software Foundation; either versi...
; $Id: macros.asm,v 1.4 1995/09/27 09:26:54 james Exp $ ; ; Copyright (c) RenderMorphics Ltd. 1993, 1994 ; Version 1.0beta2 ; ; All rights reserved. ; ; This file contains private, unpublished information and may not be ; copied in part or in whole without express permission of ; RenderMorphics Ltd. ; ; ;th...
//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (c) 2008-2018 Ryo Suzuki // Copyright (c) 2016-2018 OpenSiv3D Project // // Licensed under the MIT License. // //----------------------------------------------- # include <Siv3D/Platform.hpp> # if defined(SI...
; A246142: Limiting block extension of A004539 (base-2 representation of sqrt(2)) with first term as initial block. ; 1,1,1,0,0,1,1,0,1,0,0,1,1,0,1,1,0,0,1,0,1,1,0,0 mov $1,8 add $1,$0 pow $1,8 add $1,6 div $1,7 trn $1,16777222 gcd $1,3 mul $1,2 div $1,4 mov $0,$1
TrainerDataPointers: dw YoungsterData dw BugCatcherData dw LassData dw SailorData dw JrTrainerMData dw JrTrainerFData dw PokemaniacData dw SuperNerdData dw HikerData dw BikerData dw BurglarData dw EngineerData dw SwimmerFData dw FisherData dw SwimmerData dw CueBallData dw GamblerData dw BeautyData dw...
; A119690: n! mod n*(n+1)/2. ; Submitted by Jamie Morken(s3) ; 0,2,0,4,0,6,0,0,0,10,0,12,0,0,0,16,0,18,0,0,0,22,0,0,0,0,0,28,0,30,0,0,0,0,0,36,0,0,0,40,0,42,0,0,0,46,0,0,0,0,0,52,0,0,0,0,0,58,0,60,0,0,0,0,0,66,0,0,0,70,0,72,0,0,0,0,0,78,0,0,0,82,0,0,0,0,0,88,0,0,0,0,0,0 mov $1,$0 add $1,1 seq $1,10051 ; Characteristic...
// Copyright (c) 2019-2021, Lawrence Livermore National Security, LLC and // other Serac Project Developers. See the top-level LICENSE file for // details. // // SPDX-License-Identifier: (BSD-3-Clause) /** * @file variant.hpp * * @brief This file contains the declaration of a two-element variant type * * This is ...
; ; ; ; This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. ; ; Copyright 2007-2019 Broadcom Inc. All rights reserved. ; ; ; This is the default program for the (16 port) BCM56700 SDKs. ; To start it, use the following commands from BCM: ...
SECTION code_clib SECTION code_fp_math48 PUBLIC expm1 EXTERN cm48_sccz80_expm1 defc expm1 = cm48_sccz80_expm1
; A096748: Expansion of (1+x)^2/(1-x^2-x^4). ; 1,2,2,2,3,4,5,6,8,10,13,16,21,26,34,42,55,68,89,110,144,178,233,288,377,466,610,754,987,1220,1597,1974,2584,3194,4181,5168,6765,8362,10946,13530,17711,21892,28657,35422,46368,57314,75025,92736,121393,150050,196418,242786,317811,392836,514229,635622,832040,1028458,1346269,1...
; ; Small C z88 File functions ; Written by Dominic Morris <djm@jb.man.ac.uk> ; 22 August 1998 ** UNTESTED ** ; ; 11/3/99 Revised to allow input from stdin ; ; *** THIS IS A Z88 SPECIFIC ROUTINE!!! *** ; ; Is this better now garry?!?! djm 1/4/2000 ; ; Now goes back to the correct print position ; ; ; $Id: gets.asm,v 1....
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2020 The YieldStakingWallet developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/m...
; A077896: Expansion of (1-x)^(-1)/(1+x-2*x^2-2*x^3). ; 1,0,3,0,7,0,15,0,31,0,63,0,127,0,255,0,511,0,1023,0,2047,0,4095,0,8191,0,16383,0,32767,0,65535,0,131071,0,262143,0,524287,0,1048575,0,2097151,0,4194303,0,8388607,0,16777215,0,33554431,0,67108863,0,134217727,0,268435455,0,536870911,0,1073741823,0,2147483647,0,42949...
// Copyright (c) 2016 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 "amount.h" #include "policy/feerate.h" #include "test/test_autx.h" #include <boost/test/unit_test.hpp> BOOST_FIXTURE_TE...
// Copyright (c) 2008-2020 Intel Corporation // // 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,...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; cpm_00_output_punch ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; ; The punch device is written via bdos function 4. ; ; ;;;;;;;;;;;;;;;;;;;; ; DRIVER CLASS DIAGRAM ; ;;;;;;;;;;;;;;;;;;;; ; ...
/*============================================================================= Copyright (c) 2001-2014 Joel de Guzman Copyright (c) 2001-2011 Hartmut Kaiser 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...
#ifndef CAFFE_MULTIBOX_LOSS_LAYER_HPP_CENTERNET_OBJECT_ #define CAFFE_MULTIBOX_LOSS_LAYER_HPP_CENTERNET_OBJECT_ #include <map> #include <utility> #include <vector> #include "caffe/blob.hpp" #include "caffe/layer.hpp" #include "caffe/proto/caffe.pb.h" #include "caffe/util/bbox_util.hpp" #include "caffe/util/center_bbo...
/****************************************************************************** Author: Matthew Nolan Clockwork Crossplatform Framework Date: April, 2001 [Crossplatform] License: MIT License Permission is hereby granted, free of charge, to any pers...
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --function-signature --include-generated-funcs --replace-value-regex "__omp_offloading_[0-9a-z]+_[0-9a-z]+" "reduction_size[.].+[.]" "pl_cond[.].+[.|,]" --prefix-filecheck-ir-name _ // RUN: %clang_cc1 -DCHECK -verify -fopenmp -x c++...
SECTION code_clib SECTION code_fp_math48 PUBLIC cm48_sccz80_m482d EXTERN l_ret ; convert math48 double to sccz80_float ; ; enter : AC' = math48 double ; ; exit : AC' = sccz80 double defc cm48_sccz80_m482d = l_ret
.data .text multdiv: mult $3,$6 mfhi $8 mflo $9 div $6,$3 mfhi $8 mflo $9 mthi $1 mfhi $8 mtlo $3 mflo $9 disp:lui $28,0xFFFF ori $28,$28,0xF000 lw $3,LED($zero) srl $4,$3,16 sw $3,0x0C60($28) sw $4,0x0C62($28) lw $5,MASK($zero) xor $3,$3,$5 sw $3,LED($zero) jal dely dely: lw $29,DELAY($zero) dlop: addi $29,$29,-1 bne...
// Copyright Aleksey Gurtovoy 2000-2004 // // 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) // // See http://www.boost.org/libs/mpl for documentation. // $Id: deque.cpp 49268 2008-10-11 06:26:17Z agur...
; int zx_setint(char *variable, int value) ; CALLER linkage for function pointers SECTION code_clib PUBLIC zx_setint PUBLIC _zx_setint EXTERN zx_setint_callee EXTERN ASMDISP_ZX_SETINT_CALLEE .zx_setint ._zx_setint pop bc pop de pop hl push hl push de push bc jp zx_setint_callee + ASMDISP_ZX...
*= $0801 .byte $4c,$16,$08,$00,$97,$32 .byte $2c,$30,$3a,$9e,$32,$30 .byte $37,$30,$00,$00,$00,$a9 .byte $01,$85,$02 jsr print .byte 13 .text "(up)lseiy" .byte 0 lda #%00011011 sta db lda #%11000110 s...
; A120694: Sequence demonstrating the Pythagorean theorem. ; 1,25,1201,58825,2882401,141237625,6920643601,339111536425,16616465284801,814206798955225,39896133148806001,1954910524291494025,95790615690283207201,4693740168823877152825,229993268272369980488401,11269670145346129043931625 mov $1,49 pow $1,$0 div $1,2 add $1...
; A286045: Positions of 0 in A286044; complement of A003157. ; 1,2,4,5,6,7,9,10,12,13,15,16,17,18,20,21,22,23,25,26,27,28,30,31,33,34,36,37,38,39,41,42,44,45,47,48,49,50,52,53,55,56,58,59,60,61,63,64,65,66,68,69,70,71,73,74,76,77,79,80,81,82,84,85,86,87,89,90,91,92,94,95,97,98,100,101,102,103,105,106,107,108,110,111,11...
;***************************************************************************** ;* x86inc.asm: x86 abstraction layer ;***************************************************************************** ;* Copyright (C) 2005-2022 x264 project ;* ;* Authors: Loren Merritt <lorenm@u.washington.edu> ;* Henrik Gramner <he...
; A055562: a(n) = least number greater than a(n-1) not the sum of an earlier pair of consecutive terms, a(0) = 2. ; 2,3,4,6,8,9,11,12,13,15,16,18,19,21,22,24,26,27,29,30,32,33,35,36,38,39,41,42,44,45,47,48,49,51,52,54,55,57,58,60,61,63,64,66,67,69,70,72,73,75,76,78,79,81,82,84,85,87,88,90,91,93,94,96,98,99,101,102,104,...
//================================================================================================= /*! // \file src/mathtest/svecdvecmult/VCaV6b.cpp // \brief Source file for the VCaV6b sparse vector/dense vector multiplication math test // // Copyright (C) 2012-2019 Klaus Iglberger - All Rights Reserved // // Thi...
;ProgramStruct : ; ; dw pnum ; times ? db name, 0 ; db priority ; dd entryPoint ; dd stackLocation ; dd stackSize (memory usage!) ; dw wNum (if applicable) ; ;EX: ; dw 0x0000 ; db "iConsole", 0 ; db 0x05 (five times normal priority (00 = disabled)) ; dd console.init ; dd 0xf0c00000 ; dd 0x00000082 ; dw 0...
62_Header: sHeaderInit ; Z80 offset is $C7F6 sHeaderPatch 62_Patches sHeaderTick $01 sHeaderCh $04 sHeaderSFX $80, $02, 62_FM3, $10, $00 sHeaderSFX $80, $04, 62_FM4, $00, $00 sHeaderSFX $80, $05, 62_FM5, $10, $00 sHeaderSFX $80, $C0, 62_PSG3, $0C, $00 62_FM3: sPan spRight dc.b nRst, $02 sJump 62_FM4 ...
<% import collections import pwnlib.abi import pwnlib.constants import pwnlib.shellcraft import six %> <%docstring>setgid32(vararg_0, vararg_1, vararg_2, vararg_3, vararg_4) -> str Invokes the syscall setgid32. See 'man 2 setgid32' for more information. Arguments: vararg(int): vararg Returns: long </%docstri...
; A052969: Expansion of (1-x)/(1-x-2x^2+x^4). ; Submitted by Jon Maiga ; 1,0,2,2,5,9,17,33,62,119,226,431,821,1564,2980,5677,10816,20606,39258,74793,142493,271473,517201,985354,1877263,3576498,6813823,12981465,24731848,47118280,89768153,171023248,325827706,620755922,1182643181 mov $2,1 lpb $0 sub $0,1 add $1,$3 ...
; A168510: Products across consecutive rows of the denominators of the Leibniz harmonic triangle (A003506). ; Submitted by Simon Strandgaard ; 1,4,54,2304,300000,116640000,133413966000,444110104166400,4267295479315169280,117595223746560000000000,9245836018244425723200000000,2065215715357207851951980544000000 add $0,1 ...
;*********************************************************** ; Version 2.40.00 ;*********************************************************** ; Function: convol ; Processor: C55xx ; Description: Implements real convolution algorithm using ; single-MAC app...
.loadtable "m12-give-strings/m12-give-table.tbl" .str "@\calive tried to add\n \csender's \citem\n to \creceiver's stuff,\prompt@but there was no room for it."
; A132732: Row sums of triangle A132731. ; 1,2,4,10,24,54,116,242,496,1006,2028,4074,8168,16358,32740,65506,131040,262110,524252,1048538,2097112,4194262,8388564,16777170,33554384,67108814,134217676,268435402,536870856,1073741766,2147483588,4294967234,8589934528 lpb $0,1 mov $1,2 pow $1,$0 add $1,2 sub $1,$0 ...
; Demonstrate reference parameters (ArrayFill.asm) ; This program fills an array with 16-bit randomly generated integers. INCLUDE Irvine32.inc .data count = 100 array WORD count DUP(?) .code main PROC push OFFSET array push COUNT call ArrayFill exit main ENDP ArrayFill PROC push ebp mov ebp,esp push...
/** * @file IncrementalRootFinder.tpp * @ingroup rootfinder * @author Gereon Kremer <gereon.kremer@cs.rwth-aachen.de> */ #pragma once #include "../../util/debug.h" #include "../logging.h" #include "AbstractRootFinder.h" #include "RootFinder.h" #include "EigenWrapper.h" namespace carl { namespace rootfinder { t...
; A182462: a(n) = 3a(n-1) - 2a(n-2) with a(0)=20 and a(1)=50. ; 20,50,110,230,470,950,1910,3830,7670,15350,30710,61430,122870,245750,491510,983030,1966070,3932150,7864310,15728630,31457270,62914550,125829110,251658230,503316470,1006632950,2013265910,4026531830,8053063670,16106127350,32212254710,64424509430,128849018870...
; A038687: Concatenate i >= 1 and j >= 1, then sort. ; 11,12,13,14,15,16,17,18,19,21,22,23,24,25,26,27,28,29,31,32,33,34,35,36,37,38,39,41,42,43,44,45,46,47,48,49,51,52,53,54,55,56,57,58,59,61,62,63,64,65,66,67,68,69 mul $0,10 mov $1,$0 div $1,9 add $1,11
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright(c) 2011-2016 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...
; ************************************************** ; SMSlib - C programming library for the SMS/GG ; ( part of devkitSMS - github.com/sverx/devkitSMS ) ; ************************************************** INCLUDE "SMSlib_private.inc" SECTION code_clib SECTION code_SMSlib PUBLIC asm_SMSlib_getMDKeysReleased EXTERN...
; This file contains currently deprecated and unused subroutines detect_v86: push bp mov bp, sp mov dx, v86_debug call printstr smsw ax and eax,1 ; CR0.PE = 1 = V86 MODE (and is in protected mode...). pop bp ret _detect: push bp mov bp, sp pushf ; Push the original flags pop ax ; mov cx, a...
; A134931: a(n) = (5*3^n-3)/2. ; 1,6,21,66,201,606,1821,5466,16401,49206,147621,442866,1328601,3985806,11957421,35872266,107616801,322850406,968551221,2905653666,8716961001,26150883006,78452649021,235357947066,706073841201,2118221523606,6354664570821,19063993712466,57191981137401,171575943412206,514727830236621,1544183...
/*========================================================================= Program: Visualization Toolkit Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is distributed WITHOUT ANY WARRAN...
; A172511: a(n) = a(n-1) * (11*a(n-1) - a(n-2)) / (a(n-1) + 4*a(n-2)), with a(0) = a(1) = 1. ; 1,1,2,7,35,210,1365,9165,62322,425867,2915551,19974626,136884937,938162617,6430103330,44072167855,302074043195,2070443441970,14191023001437,97266699113157,666675822475026,4569463931720051 cal $0,32908 ; One of four 3rd-order...
; A172043: a(n) = 5*n^2 - n + 1. ; 1,5,19,43,77,121,175,239,313,397,491,595,709,833,967,1111,1265,1429,1603,1787,1981,2185,2399,2623,2857,3101,3355,3619,3893,4177,4471,4775,5089,5413,5747,6091,6445,6809,7183,7567,7961,8365,8779,9203,9637,10081,10535,10999,11473,11957,12451,12955,13469,13993,14527,15071,15625,16189,1676...
<% from pwnlib.shellcraft.mips.linux import syscall %> <%page args="rgid, egid"/> <%docstring> Invokes the syscall setregid. See 'man 2 setregid' for more information. Arguments: rgid(gid_t): rgid egid(gid_t): egid </%docstring> ${syscall('SYS_setregid', rgid, egid)}
; A238538: A fourth-order linear divisibility sequence: a(n) = (2^n + 1)*(2^(3*n) - 1)/ ( (2 + 1)*(2^3 - 1) ). ; Submitted by Jamie Morken(s1) ; 1,15,219,3315,51491,811395,12882499,205321155,3278747331,52408827075,838132189379,13406842675395,214483303960771,3431523432591555,54902699475185859,878429788032676035,14054769...
; ; Copyright (C) 2021 by Intel Corporation ; ; Permission to use, copy, modify, and/or distribute this software for any ; purpose with or without fee is hereby granted. ; ; THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH ; REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHA...
INCLUDE "defines.asm" SECTION "Rst $00", ROM0[$00] NULL:: ; This traps jumps to $0000, which is a common "default" pointer ; $FFFF is another one, but reads rIE as the instruction byte ; Thus, we put two `nop`s that may serve as operands, before soft-crashing ; The operand will always be 0, so even jumps will wo...
<% from pwnlib.shellcraft import mips %> <%page args="string, sock = 1"/> <%docstring>Writes a string to a file descriptor</%docstring> ${mips.pushstr(string, append_null = False)} ${mips.linux.syscall('SYS_write', sock, '$sp', len(string))}
; A335865: Moduli a(n) = v(n) for the simple difference sets of Singer type of order m(n) (v(n), m(n)+1, 1) in the additive group modulo v(n) = m(n)^2 + m(n) + 1, with m(n) = A000961(n). ; Submitted by Christian Krause ; 3,7,13,21,31,57,73,91,133,183,273,307,381,553,651,757,871,993,1057,1407,1723,1893,2257,2451,2863,35...
; Executable name : polym ; Designed OS : Linux (32-bit) ; Author : wetw0rk ; Version : 1.0 ; Created Following : SLAE ; Description : An example of execve via polymorphism ; ; Build using these commands: ; nasm -f elf32 -o polym.o polym.asm ; ld -o polym polym.o...
; char *gets(char *s) INCLUDE "clib_cfg.asm" SECTION code_stdio ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; IF __CLIB_OPT_MULTITHREAD & $02 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; PUBLIC _gets EXTERN asm_gets _gets: pop af pop hl push hl push af jp asm_gets ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ELSE ;;;;;;;;;;;;;;;;...
// Copyright (c) 2012-2018 The Syscoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <compressor.h> #include <util.h> #include <test/test_syscoin.h> #include <stdint.h> #include <boost/test/unit_test...
#include <omnibazaar_fee_type.hpp> #include <listing_object.hpp> #include <graphene/chain/account_object.hpp> #include <graphene/chain/database.hpp> namespace omnibazaar { bool omnibazaar_fee_type::is_enough(const omnibazaar_fee_type& reference_fee)const { try { if(reference_fee.omn...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_WC_ht+0x5c28, %rsi lea addresses_WT_ht+0x1d5b8, %rdi clflush (%rdi) nop nop nop nop cmp %rax, %rax mov $27, %rcx rep movsl nop nop nop dec %r11 lea addresses_D_ht+0x4788, %r9 nop nop...
#include<cstdio> #include<cstdlib> #include<iostream> #include<string> using namespace std; class Student { public: int id; std::string name; Student(int id, string name) { this->id = id; this->name.assign(name); } }; int main() { int list_length[2] = {0}; scanf("%d", &list_l...
; A156841: 529n^2 - 312n + 46. ; 46,263,1538,3871,7262,11711,17218,23783,31406,40087,49826,60623,72478,85391,99362,114391,130478,147623,165826,185087,205406,226783,249218,272711,297262,322871,349538,377263,406046,435887,466786,498743,531758,565831,600962,637151,674398,712703,752066,792487,833966,876503,920098,964751,10...
############################################################################### # 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...
; A118658: a(n) = 2*F(n-1) = L(n) - F(n), where F(n) and L(n) are Fibonacci and Lucas numbers respectively. ; 2,0,2,2,4,6,10,16,26,42,68,110,178,288,466,754,1220,1974,3194,5168,8362,13530,21892,35422,57314,92736,150050,242786,392836,635622,1028458,1664080,2692538,4356618,7049156,11405774,18454930,29860704,48315634,7817...
// 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...
; void *obstack_blank_fast(struct obstack *ob, int size) SECTION code_alloc_obstack PUBLIC obstack_blank_fast EXTERN asm_obstack_blank_fast obstack_blank_fast: pop af pop bc pop hl push hl push bc push af jp asm_obstack_blank_fast
/* * 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 ...
_SafariZoneEntranceText1:: text "Welcome to the" line "SAFARI ZONE!" done SafariZoneEntranceText_9e6e4:: text "For just ¥500," line "you can catch all" cont "the #MON you" cont "want in the park!" para "Would you like to" line "join the hunt?@" text_end SafariZoneEntranceText_9e747:: text "That'll be ¥500...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
SECTION "ROM Bank 00", ROM0[$00] RST_0000: jp toc_01_2872 db $00, $00, $FF, $FF, $FF RST_0008: rst $38 rst $38 rst $38 rst $38 rst $38 rst $38 rst $38 rst $38 RST_0010: rst $38 rst $38 rst $38 rst $38 rst $38 rst $38 rst $38 ...
/* Copyright 2019 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 ...
; A055843: Expansion of (1+3*x)/(1-x)^10. ; 1,13,85,385,1375,4147,11011,26455,58630,121550,238238,445094,797810,1379210,2309450,3759074,5965487,9253475,14060475,20967375,30735705,44352165,63081525,88529025,122713500,168152556,227961228,305965660,406833460,536222500,700950052,909184276,1170660205,1496922505,1901597425,2...
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include <Atom/RPI.Reflect/Buffer/BufferAssetCreator.h> #include <Atom/RPI.Reflect/Model/ModelAsse...
; A108969: Numbers n such that 43*n + 41 is prime. ; Submitted by Christian Krause ; 0,2,12,14,42,44,60,62,66,72,86,90,104,114,132,150,152,170,174,182,186,192,200,212,222,230,234,264,276,284,290,300,312,336,342,350,354,356,362,380,384,390,402,416,432,446,450,452,464,476,480,486,494,504,506 mov $1,42 mov $2,$0 add $2,2...
; A096014: a(n) = (smallest prime factor of n) * (least prime that is not a factor of n), with a(1)=2. ; Submitted by Jon Maiga ; 2,6,6,6,10,10,14,6,6,6,22,10,26,6,6,6,34,10,38,6,6,6,46,10,10,6,6,6,58,14,62,6,6,6,10,10,74,6,6,6,82,10,86,6,6,6,94,10,14,6,6,6,106,10,10,6,6,6,118,14,122,6,6,6,10,10,134,6,6,6,142,10,146,6,...
callMemcpy: movq ; Move arguments into place movq movl subq movl call memcpy addq jmp
; General IO utility: fetch byte V2.00  1988 Tony Tebby section gen_util xdef gu_fbyte xref gu_iow include 'dev8_keys_qdos_io' ;+++ ; This routine does simple fetch byte ; ; d1 r byte fetched ; a0 c p channel ID ; a1 p ; error returns stand...
// Copyright (c) 2014-2018, The Monero Project // // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, this list o...
; generate_CAPTURES generates all pseudo-legal captures and queen ; promotions. Returns a pointer to the end of the move list. calign 16 Gen_Captures: ; in: rbp address of position ; rbx address of state ; io: rdi address to write moves push rsi r12 r13 r14 r15 mov r14, qword[rbp+Pos.type...