text
stringlengths
1
1.05M
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r9 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x168f, %rsi lea addresses_normal_ht+0x20c, %rdi nop nop nop nop nop add %rdx, %rdx mov $98, %rcx rep movsw nop nop nop nop add %r11, %r11 lea addresses_UC_ht+0x1250c, %r9 nop ...
<% from pwnlib.shellcraft.powerpc.linux import syscall %> <%page args="path, buf, length"/> <%docstring> Invokes the syscall readlink. See 'man 2 readlink' for more information. Arguments: path(char): path buf(char): buf len(size_t): len </%docstring> ${syscall('SYS_readlink', path, buf, length)...
//============================================================================== // Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // ...
; MSX C stub ; ; Stefano Bodrato - Apr. 2001 ; ; $Id: msx_crt0.asm,v 1.35 2015/10/20 16:51:33 stefano Exp $ ; ; There are a couple of #pragma commands which affect ; this file: ; ; #pragma output nostreams - No stdio disc files ; #pragma output nofileio - No fileio at all, use in conjunction to...
[bits 16] switch_to_pm: cli lgdt [gdt_descriptor] mov eax, cr0 or eax, 0x1 mov cr0, eax jmp CODE_SEG:init_pm [bits 32] init_pm: mov ax, DATA_SEG mov ds, ax mov ss, ax mov es, ax mov fs, ax mov gs, ax mov ebp, 0x90000 mov esp, ebp call BEGIN_PM
;****************************************************************************** ;* Copyright (c) 2012 Michael Niedermayer ;* ;* This file is part of FFmpeg. ;* ;* FFmpeg 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 Sof...
SECTION .text global is_uppercase is_uppercase: cld mov rsi,rdi mov cx,'az' ; range of lower case letters jmp .next .loop: cmp al,cl jb .next cmp al,ch ja .next xor rax,rax ; found a lower case letter -> false ret .next: lodsb ; next char from the...
FILE_BOTH_DIRECTORY_INFORMATION struc NextEntryOffset dd ? Unknown dd ? CreationTime dq ? LastAccessTime dq ? LastWriteTime dq ? ChangeTime dq ? EndOfFile dq ? AllocationSize dq ? FileAttributes dd ? FileNameLength dd ? EaInformationLength dd ? AlternateNameLength db ? _DummyAlign...
//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (c) 2008-2021 Ryo Suzuki // Copyright (c) 2016-2021 OpenSiv3D Project // // Licensed under the MIT License. // //----------------------------------------------- # pragma once # include "Common.hpp" # include...
format binary use16 org $7c00 jmp short init nop bpb: bpb_oem: db "liteboot" bpb_bps: dw 512 bpb_spc: db 1 bpb_res: dw 1 bpb_nfat: db 1 bpb_ndir: dw 224 bpb_nsec: dw 2880 bpb_mtype: db 0xf0 bpb_spf: dw 9 bpb_spt: dw 18 bpb_nhead: dw 2 bpb_nhide: dq 0 bpb_lsec: dq 0 ebr: ebr_drv: db 0 ebr_flags: db 0...
; A236313: Recurrence: a(2n) = 3a(n)-1, a(2n+1) = 1. ; 1,2,1,5,1,2,1,14,1,2,1,5,1,2,1,41,1,2,1,5,1,2,1,14,1,2,1,5,1,2,1,122,1,2,1,5,1,2,1,14,1,2,1,5,1,2,1,41,1,2,1,5,1,2,1,14,1,2,1,5,1,2,1,365,1,2,1,5,1,2,1,14,1,2,1,5,1,2,1,41,1,2,1,5,1,2,1,14,1,2,1,5,1,2,1,122,1,2,1,5,1,2,1,14,1,2,1,5,1,2,1,41,1,2,1,5,1,2,1,14,1,2,1,5...
; A077998: Expansion of (1-x)/(1-2*x-x^2+x^3). ; 1,1,3,6,14,31,70,157,353,793,1782,4004,8997,20216,45425,102069,229347,515338,1157954,2601899,5846414,13136773,29518061,66326481,149034250,334876920,752461609,1690765888,3799116465,8536537209,19181424995,43100270734,96845429254,217609704247,488964567014,1098693409021,2468...
; A180598: Digital root of 8n. ; 0,8,7,6,5,4,3,2,1,9,8,7,6,5,4,3,2,1,9,8,7,6,5,4,3,2,1,9,8,7,6,5,4,3,2,1,9,8,7,6,5,4,3,2,1,9,8,7,6,5,4,3,2,1,9,8,7,6,5,4,3,2,1,9,8,7,6,5,4,3,2,1,9,8,7,6,5,4,3,2,1,9,8,7,6,5,4,3,2,1,9,8,7,6,5,4,3,2,1,9 mul $0,8 sub $0,1 mod $0,9 add $0,1
.macro padded_string string, max 1: .ascii "\string" 2: .ifle \max - (2b - 1b) .error "String too long" .endif .ifgt \max - (2b - 1b) .zero \max - (2b - 1b) .endif .endm
COMMENT @----------------------------------------------------------------------- Copyright (c) GeoWorks 1988 -- All Rights Reserved PROJECT: PC GEOS MODULE: CommonUI/CWin (common code for several specific ui's) FILE: winDisplayControlClass.asm ROUTINES: Name Description ---- ----------- GLB OL...
* Pointer version error message v0.00  Jun 1988 J.R.Oakley QJUMP * include 'dev8_mac_text' * section language * mktext pver,{Pointer Interface too old\} * end
; TEXT: Helmet names ($064354) ; HelmetNames: print "TEXT: Helmet names ($064354) -- is at $",pc db "*Steel Helm*" db "**Moon Helm*" db "*Apollo Helm"
; void clearerr_fastcall(FILE *stream) INCLUDE "clib_cfg.asm" SECTION code_stdio ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; IF __CLIB_OPT_MULTITHREAD & $02 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; PUBLIC _clearerr_fastcall EXTERN asm_clearerr _clearerr_fastcall: pop af pop ix push hl push af jp asm_clearerr ...
;PreGRUB syntaxe NASM [BITS 16] ;mode réel [ORG 0x0] ;=== tout ce programme sera d'abord logé à 07C00h, mais on va le déplacer =====; mov ax,0x07c0 ;initialisation segments de données mov ds,ax mov ax,0x0060 ;par convention, l'adresse pour déplace...
/* * Hedgewars, a free turn based strategy game * Copyright (c) 2004-2014 Andrey Korotaev <unC0Rr@gmail.com> * * 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; version 2 of the License * ...
; A220021: Number of cyclotomic cosets of 11 mod 10^n. ; 10,27,65,119,189,275,377,495,629,779,945,1127,1325,1539,1769,2015,2277,2555,2849,3159,3485,3827,4185,4559,4949,5355,5777,6215,6669,7139,7625,8127,8645,9179,9729,10295,10877,11475,12089,12719,13365,14027,14705,15399,16109,16835,17577,18335,19109,19899 mul $0,2 mo...
SECTION code_driver SECTION code_driver_terminal_output PUBLIC console_01_output_fzx_proc_linefeed PUBLIC console_01_output_fzx_proc_linefeed_check_scroll EXTERN __fzx_puts_newline, __fzx_puts_newline_set_y EXTERN console_01_output_fzx_proc_line_spacing EXTERN console_01_output_fzx_proc_check_scroll console_01_out...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r15 push %r8 push %rax push %rcx push %rdi push %rsi lea addresses_normal_ht+0xb32c, %r11 nop nop nop sub $9224, %r12 mov (%r11), %r8d add $640, %r8 lea addresses_A_ht+0x103cc, %rsi lea addresses_WC_ht+0x173cc, %rdi clflush (%rsi) nop inc %r15 mov $...
; A036296: Denominator of Sum i/2^i, i=1..n. ; 1,2,1,8,8,32,8,128,128,512,256,2048,2048,8192,1024,32768,32768,131072,65536,524288,524288,2097152,524288,8388608,8388608,33554432,16777216,134217728,134217728,536870912,33554432,2147483648,2147483648,8589934592,4294967296,34359738368,34359738368,137438953472,34359738368,54...
;; ;; Copyright (c) 2017-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...
; A022117: Fibonacci sequence beginning 2, 15. ; 2,15,17,32,49,81,130,211,341,552,893,1445,2338,3783,6121,9904,16025,25929,41954,67883,109837,177720,287557,465277,752834,1218111,1970945,3189056,5160001,8349057,13509058,21858115,35367173,57225288,92592461,149817749,242410210,392227959,634638169,1026866128,1661504297,268...
.intel_syntax noprefix .file 1 "Tests/IO/Func.e" #1 "Tests/IO/Func.e" .file 2 "Tests/IO/../../STD/STD.e" #2 "Tests/IO/../../STD/STD.e" .file 3 "Tests/IO/../../STD/Types.e" #3 "Tests/IO/../../STD/Types.e" .file 4 "Tests/IO/../../STD/Memory.e" #4 "Tests/IO/../../STD/Memory.e" .file 5 "Tests/IO/../../STD/List.e" ...
/* * polynomial_splines.cpp * * Created on: Mar 7, 2017 * Author: Dario Bellicoso */ // curves #include "curves/polynomial_splines_traits.hpp" namespace curves { namespace spline_traits { template <typename Core_, int SplineOrder_> constexpr unsigned int spline_rep<Core_, SplineOrder_>::numCoefficients; ...
;;;;; ; blsvdp_dma(void *dest, void *src, unsigned int len); ; Send data to VRAM using DMA blsvdp_dma_regs ; Commands to set VDP registers dw $9300 ; R19 : DMA length LSB dw $9400 ; R20 : DMA length MSB dw $9500 ; R21 : DMA source MSB ...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: Graphical Setup FILE: setupVideo.asm AUTHOR: Adam de Boor, Oct 6, 1990 ROUTINES: Name Description ---- ----------- SetupDrawCornerArrows...
<% from pwnlib.shellcraft.aarch64.linux import syscall %> <%page args="sockfd, level, optname, optval, optlen"/> <%docstring> Invokes the syscall setsockopt. See 'man 2 setsockopt' for more information. Arguments: sockfd(int): sockfd level(int): level optname(int): optname optval(void): optval ...
; ---------------------------------------------------------------- ; Z88DK INTERFACE LIBRARY FOR NIRVANA+ ENGINE - by Einar Saukas ; ; See "nirvana+.h" for further details ; ---------------------------------------------------------------- ; void NIRVANAP_wides(unsigned char *addr) SECTION code_clib SECTION code_nirva...
/*************************************************************** * * Copyright (C) 1990-2010, Condor Team, Computer Sciences Department, * University of Wisconsin-Madison, WI. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. Y...
; A015534: Expansion of x/(1 - 4*x - 11*x^2). ; Submitted by Jon Maiga ; 0,1,4,27,152,905,5292,31123,182704,1073169,6302420,37014539,217384776,1276699033,7498028668,44035804035,258621531488,1518879970337,8920356727716,52389106584571,307680350343160,1807001573802921,10612490148986444,62326977907777907,366045303269962512...
; A133610: Partial sums of pyramidal sequence A053616. ; 0,0,1,1,2,3,3,4,6,7,7,8,10,12,13,13,14,16,19,21,22,22,23,25,28,31,33,34,34,35,37,40,44,47,49,50,50,51,53,56,60,64,67,69,70,70,71,73,76,80,85,89,92,94,95,95,96,98,101,105,110,115,119,122,124,125,125,126,128,131,135,140,146,151,155,158,160,161,161,162,164,167,171,1...
/* * Copyright 2010-2017 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...
; sp1_ValUpdateStruct ; 03.2006 aralbrec, Sprite Pack v3.0 ; sinclair zx version SECTION code_clib SECTION code_temp_sp1 PUBLIC sp1_ValUpdateStruct EXTERN asm_sp1_ValUpdateStruct defc sp1_ValUpdateStruct = asm_sp1_ValUpdateStruct
; A047327: Numbers that are congruent to {3, 5, 6} mod 7. ; 3,5,6,10,12,13,17,19,20,24,26,27,31,33,34,38,40,41,45,47,48,52,54,55,59,61,62,66,68,69,73,75,76,80,82,83,87,89,90,94,96,97,101,103,104,108,110,111,115,117,118,122,124,125,129,131,132,136,138,139,143 mov $2,$0 add $0,1 mov $1,$2 lpb $0,1 add $0,2 add $1,$0...
txa
jump 75 0 push1 0 push1 10 push1 33 push1 103 push1 110 push1 105 push1 107 push1 114 push1 111 push1 119 push1 32 push1 116 push1 111 push1 110 push1 32 push1 115 push1 105 push1 32 push1 112 push1 109 push1 117 push1 106 push1 32 push1 58 push1 114 push1 111 push1 114 push1 114 push1 69 ...
; A107872: Column 1 of triangle A107870; a(n) = C(n*(n+1)/2 + n+2, n). ; 1,4,21,165,1820,26334,475020,10295472,260932815,7575968400,247994680648,9036996468045,362827605867363,15913388077274800,757000487505568680,38819452599736372800,2134712294190092847615,125308416229978665995064,7820410059188152111703325,5170660449201...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; 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...
; A206906: n+[ns/r]+[nt/r], where []=floor, r=1/3, s=sqrt(3), t=1/s. ; 7,15,23,30,38,47,55,62,70,78,87,94,102,110,117,126,134,142,149,157,166,174,181,189,197,206,213,221,229,236,245,253,261,268,276,285,293,300,308,316,325,332,340,348,355,364,372,380,387,395,404,412,419 mov $1,$0 div $0,5 mov $2,$1 sub $2,$0 add $0,5 d...
; A094728: Triangle read by rows: T(n,k) = n^2 - k^2, 0<=k<n. ; Submitted by Jon Maiga ; 1,4,3,9,8,5,16,15,12,7,25,24,21,16,9,36,35,32,27,20,11,49,48,45,40,33,24,13,64,63,60,55,48,39,28,15,81,80,77,72,65,56,45,32,17,100,99,96,91,84,75,64,51,36,19,121,120,117,112,105,96,85,72,57,40,21,144 mov $2,$0 lpb $2 sub $1,1 ...
_grep: file format elf32-i386 Disassembly of section .text: 00000000 <main>: } } 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) a: 55 push %ebp b:...
; A124678: Number of conjugacy classes in PSL_2(p), p = prime(n). ; Submitted by Jamie Morken(w4) ; 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,17...
// Sends out log messages over an unreliable transport // Author: Max Schwarz <max.schwarz@uni-bonn.de> #include <rosgraph_msgs/Log.h> #include <boost/circular_buffer.hpp> #include <ros/init.h> #include <ros/node_handle.h> #include <ros/timer.h> #include <random> #include <nimbro_log_transport/LogMsg.h> #include <ni...
[map all] ; Memory below 0800h is reserved for the BIOS and the MBR BSS_START equ 0800h ; PXELINUX needs lots of BSS, so it relocates itself on startup ;%if IS_PXELINUX TEXT_START equ 9000h ;%else ;TEXT_START equ 7C00h ;%endif ; ; The various sections and their relationship ; org TEXT_START times 0x1...
; A022381: Fibonacci sequence beginning 3, 15. ; 3,15,18,33,51,84,135,219,354,573,927,1500,2427,3927,6354,10281,16635,26916,43551,70467,114018,184485,298503,482988,781491,1264479,2045970,3310449,5356419,8666868,14023287,22690155,36713442,59403597,96117039,155520636,251637675,407158311,658795986,1065954297,1724750283,27...
Route9_Object: db $2c ; border block db 0 ; warps db 1 ; signs sign 25, 7, 11 ; Route9Text11 db 10 ; objects object SPRITE_LASS, 13, 10, STAY, LEFT, 1, OPP_JR_TRAINER_F, 5 object SPRITE_BLACK_HAIR_BOY_1, 24, 7, STAY, LEFT, 2, OPP_JR_TRAINER_M, 7 object SPRITE_BLACK_HAIR_BOY_1, 31, 7, STAY, RIGHT, 3, OPP_JR_T...
; A120777: One half of denominators of partial sums of a series for sqrt(2). ; 1,4,8,64,128,512,1024,16384,32768,131072,262144,2097152,4194304,16777216,33554432,1073741824,2147483648,8589934592,17179869184,137438953472,274877906944,1099511627776,2199023255552,35184372088832,70368744177664,281474976710656,56294995342131...
;----------------------------------------------- ; Arquitectura de Computadores I ; ; Calculadora en Postfijo ;----------------------------------------------- ; + los dos valores al tope de la pila, los retira y luego apila el resultado. ; - resta los valores al tope de la pila ; * multiplica los valores ; / divide ...
BITS 32 ;TEST_FILE_META_BEGIN ;TEST_TYPE=TEST_F ;TEST_IGNOREFLAGS= ;TEST_FILE_META_END ; Adc32RR mov eax, 0x1234abcd mov edx, 0x2345bcde ;TEST_BEGIN_RECORDING adc eax, edx ;TEST_END_RECORDING
; A133632: a(1)=1, a(n)=(p-1)*a(n-1), if n is even, else a(n)=p*a(n-2), where p=5. ; 1,4,5,20,25,100,125,500,625,2500,3125,12500,15625,62500,78125,312500,390625,1562500,1953125,7812500,9765625,39062500,48828125,195312500,244140625,976562500,1220703125,4882812500,6103515625,24414062500 add $0,6 mov $2,2 lpb $0 sub $0...
_grep: file format elf32-i386 Disassembly of section .text: 00000000 <main>: } } 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) a: 55 push %ebp b:...
/* +------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | http://www.mrpt.org/ | | | | Cop...
; A118216: Start with 1 and repeatedly reverse the digits and add 69 to get the next term. ; 1,70,76,136,700,76,136,700,76,136,700,76,136,700,76,136,700,76,136,700,76,136,700,76,136,700,76,136,700,76,136,700,76,136,700,76,136,700,76,136,700,76,136,700,76,136,700,76,136,700,76,136,700,76,136,700,76,136 mov $2,$0 mov $0...
123456789:
TreeMons: ; entries correspond to TREEMON_SET_* constants dw TreeMonSet_City dw TreeMonSet_Canyon dw TreeMonSet_Town dw TreeMonSet_Route dw TreeMonSet_Kanto dw TreeMonSet_Lake dw TreeMonSet_Forest dw TreeMonSet_Rock dw TreeMonSet_City ; Two tables each (common, rare). ; Structure: ; db %, species, level Tre...
; A023758: Numbers of the form 2^i - 2^j with i >= j. ; 0,1,2,3,4,6,7,8,12,14,15,16,24,28,30,31,32,48,56,60,62,63,64,96,112,120,124,126,127,128,192,224,240,248,252,254,255,256,384,448,480,496,504,508,510,511,512,768,896,960,992,1008,1016,1020,1022,1023,1024,1536,1792,1920,1984,2016,2032,2040,2044,2046,2047,2048,3072,35...
; A016035: a(n) = Sum_{j|n, 1 < j < n} phi(j). Also a(n) = n - phi(n) - 1 for n > 1. ; 0,0,0,1,0,3,0,3,2,5,0,7,0,7,6,7,0,11,0,11,8,11,0,15,4,13,8,15,0,21,0,15,12,17,10,23,0,19,14,23,0,29,0,23,20,23,0,31,6,29,18,27,0,35,14,31,20,29,0,43,0,31,26,31,16,45,0,35,24,45,0,47,0,37,34,39,16,53,0,47,26,41,0,59,20,43,30,47,0,65,1...
; A168388: First number in the n-th row of A172002. ; 1,3,5,13,21,39,57,89,121,171,221,293,365,463,561,689,817,979,1141,1341,1541,1783,2025,2313,2601,2939,3277,3669,4061,4511,4961,5473,5985,6563,7141,7789,8437,9159,9881,10681,11481,12363,13245,14213,15181,16239,17297,18449,19601,20851,22101,23453,24805,26263,27721,2928...
; A005059: a(n) = (5^n - 3^n)/2. ; 0,1,8,49,272,1441,7448,37969,192032,966721,4853288,24325489,121804592,609554401,3049366328,15251614609,76272421952,381405156481,1907154922568,9536162033329,47681972428112,238413348924961,1192077204978008,5960417405949649,29802181172927072,149011188294171841,745056788759468648,37252864...
; A255434: Product_{k=0..n} (k^4+1). ; 1,2,34,2788,716516,448539016,581755103752,1397375759212304,5725048485492809488,37567768161803815860256,375715249386199962418420256,5501222681512739849730509388352,114078854746529686263861573186255424 mov $2,1 lpb $0 mov $1,$0 sub $0,1 pow $1,4 add $1,1 mul $2,$1 lpe mov...
; ; Startup code for ZSock devices.. ; ; 25/1/2000 ; ; Errm, there is none!!! ; ; Device is loaded to 8192 ; ; Devices can't use any stdio routines ; (ZSock Kernel doesn't either) org 8192
; float fma(float x, float y, float z) __z88dk_callee SECTION code_clib SECTION code_fp_math48 PUBLIC cm48_sdccix_fma_callee EXTERN cm48_sdccixp_dcallee2, am48_dmul, cm48_sdccixp_m482d, cm48_sdccixp_d2m48, am48_dadd cm48_sdccix_fma_callee: call cm48_sdccixp_dcallee2 ; AC'= y ; AC = x ; stack = z, ret...
;________________________________________________________________________________________________________________________ ;o͜o╚═════ஜ۩-CALculatrice-۩ஜ═════╝o͜o ;| IUT METZ | ;| ...
ori $1, $0, 12 ori $2, $0, 15 ori $3, $0, 5 ori $4, $0, 12 sw $4, 0($0) sw $4, 4($0) sw $3, 8($0) sw $2, 12($0) sw $1, 16($0) sw $3, 20($0) sw $2, 24($0) sw $2, 28($0) sw $2, 32($0) sw $4, 36($0) sw $3, 40($0) sw $4, 44($0) sw $1, 48($0) sw $4, 52($0) sw $4, 56($0) sw $2, 60($0) sw $2, 64($0) sw $2...
// // Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com) // // 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) // // Official repository: https://github.com/boostorg/beast // #ifndef BOO...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r8 push %r9 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x14638, %rsi lea addresses_UC_ht+0x14678, %rdi nop nop cmp $3048, %rbx mov $63, %rcx rep movsl nop nop nop nop nop add $12048, %rdx lea addresses_normal_ht+0x11c08, %r11 nop no...
;------------------------------------------------------------------------------ ;* ;* Copyright (c) 2016, Intel Corporation. All rights reserved.<BR> ;* SPDX-License-Identifier: BSD-2-Clause-Patent ;* ;* CpuAsm.nasm ;* ;* Abstract: ;* ;---------------------------------------------------------------------------...
#pragma once #ifndef DT3_SCRIPTINGPARTICLEPOSITIONRANDOMIZER #define DT3_SCRIPTINGPARTICLEPOSITIONRANDOMIZER //============================================================================== /// /// File: ScriptingParticlePositionRandomizer.hpp /// /// Copyright (C) 2000-2014 by Smells Like Donkey Software Inc. A...
; A041115: Denominators of continued fraction convergents to sqrt(66). ; Submitted by Jamie Morken(s2) ; 1,8,129,1040,16769,135192,2179841,17573920,283362561,2284474408,36834953089,296964099120,4788260539009,38603048411192,622437035118081,5018099329355840,80912026304811521,652314309767848008,10517940982590379649,847958...
#include <iostream> #include <fstream> #include <iomanip> #include <vector> #include <string> #include <sstream> #include "dg/algorithm.h" #include "dg/file/file.h" #include "feltorShw/parameters.h" // #include "probes.h" int main( int argc, char* argv[]) { if( argc != 3) { std::cerr << "Usage: "<<ar...
; A114799: Septuple factorial, 7-factorial, n!7, n!!!!!!!, a(n) = n*a(n-7) if n > 1, else 1. ; 1,1,2,3,4,5,6,7,8,18,30,44,60,78,98,120,288,510,792,1140,1560,2058,2640,6624,12240,19800,29640,42120,57624,76560,198720,379440,633600,978120,1432080,2016840,2756160,7352640,14418720,24710400,39124800,58715280,84707280,1185148...
; A233326: a(n) = (7^(n+1) - 4) / 3. ; 1,15,113,799,5601,39215,274513,1921599,13451201,94158415,659108913,4613762399,32296336801,226074357615,1582520503313,11077643523199,77543504662401,542804532636815,3799631728457713,26597422099203999,186181954694428001,1303273682860996015,9122915780026972113,63860410460188804799,447...
.size 8000 .text@48 jp lstatint .text@100 jp lbegin .data@143 c0 .text@150 lbegin: ld a, 00 ldff(ff), a ld b, 91 call lwaitly_b ld a, b1 ldff(40), a ld a, 07 ldff(4b), a ld c, 41 ld b, 03 lbegin_waitm3: ldff a, (c) and a, b cmp a, b jrnz lbegin_waitm3 ld a, 20 ldff(c), a xor a, a ldff(0f), a l...
; A197711: Floor((n+1/n)^10) ; Submitted by Jon Maiga ; 1024,9536,169350,1922601,14455510,79525193,345716130,1253815679,3941971040,11046221254,28162516239,66354069277,146236468527,304356025989,602797997502,1143224193788,2086847748926,3682210047876,6303034667438,10498899284252,17061992477838,27113811835076,4221631637372...
; A044418: Numbers n such that string 8,6 occurs in the base 10 representation of n but not of n-1. ; Submitted by Jamie Morken(s4) ; 86,186,286,386,486,586,686,786,860,886,986,1086,1186,1286,1386,1486,1586,1686,1786,1860,1886,1986,2086,2186,2286,2386,2486,2586,2686,2786,2860,2886,2986,3086,3186,3286,3386,3486,3586 ad...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE122_Heap_Based_Buffer_Overflow__cpp_CWE193_wchar_t_ncpy_52c.cpp Label Definition File: CWE122_Heap_Based_Buffer_Overflow__cpp_CWE193.label.xml Template File: sources-sink-52c.tmpl.cpp */ /* * @description * CWE: 122 Heap Based Buffer Overflow * BadSource: Allocate me...
; A010872: a(n) = n mod 3. ; 0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0 mod $0,3
; A210673: a(n) = a(n-1)+a(n-2)+n-4, a(0)=0, a(1)=1. ; Submitted by Jon Maiga ; 0,1,-1,-1,-2,-2,-2,-1,1,5,12,24,44,77,131,219,362,594,970,1579,2565,4161,6744,10924,17688,28633,46343,74999,121366,196390,317782,514199,832009,1346237,2178276,3524544,5702852,9227429,14930315,24157779,39088130,63245946,102334114,165580099,2...
############################################################################### # Copyright 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") containe...
{{identifier}}_layer = new pico_cnn::naive::Softmax("{{name}}", 0, pico_cnn::op_type::Softmax);
; A133161: Indices of the triangular numbers which are also centered triangular number. ; 1,4,16,61,229,856,3196,11929,44521,166156,620104,2314261,8636941,32233504,120297076,448954801,1675522129,6253133716,23337012736,87094917229,325042656181,1213075707496,4527260173804,16895964987721 mov $1,1 mov $2,$0 lpb $2,1 add...
%include "../utils/printf32.asm" section .text extern printf global main main: ; input values (eax, edx): the 2 numbers to compute the gcd for mov eax, 49 mov edx, 28 push eax push edx gcd: neg eax je L3 L1: neg eax push eax push edx pop eax pop edx L2: sub eax,...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x117e3, %rsi lea addresses_D_ht+0xf534, %rdi nop nop inc %r10 mov $49, %rcx rep movsl nop and %rbx, %rbx pop %rsi pop %rdi pop %rcx pop %rbx pop %r10 ret .global s_faulty_load s_faulty_load: push %r1...
SFX_Noise_Instrument19_3_Ch8: noise_note 0, 6, 1, 34 sound_ret
; void adt_HeapSiftDown(uint start, void **array, uint n, void *compare) ; 03.2003, 08.2005 aralbrec SECTION code_clib PUBLIC ADTHeapSiftDown EXTERN l_jpix ; enter: DE = start index * 2 (offset into array in bytes) ; BC = array address ; IX = compare (de) < (hl)? set carry if true MUST PRESERVE BC,D...
; A059549: Beatty sequence for 1 + 1/log(10). ; 1,2,4,5,7,8,10,11,12,14,15,17,18,20,21,22,24,25,27,28,30,31,32,34,35,37,38,40,41,43,44,45,47,48,50,51,53,54,55,57,58,60,61,63,64,65,67,68,70,71,73,74,76,77,78,80,81,83,84,86,87,88,90,91,93,94,96,97,98,100,101,103,104,106,107,109,110,111,113,114,116,117,119,120,121,123,124...
;; rdtmain - main part of test program for RDX execution. ;; returns true (0) if its parameter equals the phrase "hello" ;; "hello" is stored in the library part, to complicate the ;; linkage. ;; assemble and link with the following commands: ;; nasm -f rdf rdtmain.asm ;; nasm -f rdf rdtlib.asm ;; ldrdf rdtmai...
*= $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)shsay" .byte 0 lda #%00011011 sta db lda #%11000110 s...
SECTION code_clib PUBLIC joystick PUBLIC _joystick EXTERN joystick_inkey joystick: _joystick: ld a,l cp 5 jp c,joystick_inkey ld hl,0 ret
//===- BranchProbabilityInfo.cpp - Branch Probability Analysis ------------===// // // 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 // //===---------------------------...
; Define PAGEOUT call address PUBLIC pageout EXTERN libspectranet .pageout jp 0x007C
; A068912: Number of n step walks (each step +/-1 starting from 0) which are never more than 3 or less than -3. ; Submitted by Jon Maiga ; 1,2,4,8,14,28,48,96,164,328,560,1120,1912,3824,6528,13056,22288,44576,76096,152192,259808,519616,887040,1774080,3028544,6057088,10340096,20680192,35303296,70606592,120532992,2410659...
bits 32 section .text ;;; ;;; Ports ;;; ;;; outByte(port:UInt16, val:UInt8) global outByte outByte: mov eax, [esp+8] ; val mov edx, [esp+4] ; port out dx, al ret ;;; inByte(port:UInt16) UInt8 global inByte inByte: mov edx, [esp+4] ; port in al, dx re...
; A010878: a(n) = n mod 9. ; 0,1,2,3,4,5,6,7,8,0,1,2,3,4,5,6,7,8,0,1,2,3,4,5,6,7,8,0,1,2,3,4,5,6,7,8,0,1,2,3,4,5,6,7,8,0,1,2,3,4,5,6,7,8,0,1,2,3,4,5,6,7,8,0,1,2,3,4,5,6,7,8,0,1,2,3,4,5,6,7,8,0,1,2,3,4,5,6,7,8,0,1,2,3,4,5,6,7,8,0,1,2,3,4,5,6,7,8,0,1,2,3,4,5,6,7,8,0,1,2,3,4,5,6,7,8,0,1,2,3,4,5,6,7,8,0,1,2,3,4,5,6,7,8,0,1...
; Assembly for bsort-bytecode.bas ; compiled with mcbasic ; Equates for MC-10 MICROCOLOR BASIC 1.0 ; ; Direct page equates DP_LNUM .equ $E2 ; current line in BASIC DP_TABW .equ $E4 ; current tab width on console DP_LPOS .equ $E6 ; current line position on console DP_LWID .equ $E7 ; current line width of console ; ; ...
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtCore module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees...