text
stringlengths
1
1.05M
; A045995: Rows of Fibonacci-Pascal triangle. ; 1,1,1,1,1,1,1,2,2,1,1,3,8,3,1,1,5,55,55,5,1,1,8,610,6765,610,8,1,1,13,10946,9227465,9227465,10946,13,1,1,21,317811,225851433717,190392490709135,225851433717,317811,21,1,1,34,14930352,160500643816367088,96151855463018422468774568,96151855463018422468774568,1605006438163670...
[org 0x0100] jmp start trap_bool: DW 0 flag: db 0 oldISR: dd 0 strStk:db 'Stack' strFlg:db 'Flags' stkInd:db '+0+2+4+6' myName: db 'Hafiz Muhammad Hamza',' L12-4013 ','Copyrights 2013 HaZa','All Rights Reserved ' cmd: db 'CMD > ' strline: db '________________________________________________________________...
;RaTol Symbolinen konekieli: Harjoitus 2, tehtävä 3 ;Tero Kukka IY96A ;Tiedosto: summaa1.asm ;Luotu 25.2.1998 ;Aliohjelma _Summaa1 ;Yhteenlaskettavat luvut ovat rekistereissä BL ja DH. ;Aliohjelmien esittely: public _Summaa1 .model small ;m...
; A022379: Fibonacci sequence beginning 3, 9. ; 3,9,12,21,33,54,87,141,228,369,597,966,1563,2529,4092,6621,10713,17334,28047,45381,73428,118809,192237,311046,503283,814329,1317612,2131941,3449553,5581494,9031047,14612541,23643588,38256129,61899717,100155846,162055563,262211409 mov $1,3 mov $3,6 lpb $0,1 sub $0,1 m...
;=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-; ; ; Name: PixelAddr16 ; ; Function: Determine buffer address of pixel in 160x200 16-color mode ; ; Caller: al = y-coordinate (0-99) ; bl = x-coordinate (0-159) ; ; Returns: AH = bit mask ; BX = by...
/* * Copyright (c) 2010, Michael Lehn * * 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,...
#include <iostream> #include <vector> #include "openglu.hpp" #include <GLFW/glfw3.h> #include <glm/gtc/type_ptr.hpp> #include <glm/gtx/string_cast.hpp> #include "imgui/imgui_impl_glfw.h" #include "imgui/imgui_impl_opengl3.h" bool firstMouse = true; bool escaped = false; double lastX = 0.0f; double lastY = 0.0f; ogl...
.text addi $t0, $zero, 3 # A = 3 addi $t1, $zero, 2 # B = 2 addi $t2, $zero, 1 # C = 1 slt $t3, $t0, $t1 beq $t3, $zero, elseif addi $t5, $zero, 3 j endif elseif: slt $t3, $t1, $t2 # B < C = C > B beq $t3, $zero, else # condition # code addi $t5, $zero, 1 # end code j endif else: # code addi $t5...
; A074280: Duplicate of A000523. ; 0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5 add $0,1 lpb $0,$0 div $0,2 add $2,1 lpe mov $1,$2
; A094204: Duplicate of A078584. ; 1,2,2,2,6,6,2,6,2,4,6,6,4,4,4,4,2,2,6,6,2,2,2,12,2,6,10,6,2,4,10,4,4,6 mul $0,2 cal $0,100803 ; A100802(m) where A100802(m) > A100802(m-1). mov $1,$0 div $1,2 add $1,1
<% from pwnlib.shellcraft.powerpc.linux import syscall %> <%page args="clock_id, flags, req, rem"/> <%docstring> Invokes the syscall clock_nanosleep. See 'man 2 clock_nanosleep' for more information. Arguments: clock_id(clockid_t): clock_id flags(int): flags req(timespec): req rem(timespec): rem <...
section .data msg : db 'Enter an alphabet :' l : equ $-msg ans1 : db 'Capslock is On',10 l1 : equ $-ans1 ans2 :db 'Capslock is Off',10 l2 : equ $-ans2 ans3 : db 'Error , pressed some other key ',10 l3 equ $-ans3 section .bss d1 : resb 1 section .text global _start: _start: mov eax, 4 mov ebx, 1 mov ecx, msg mo...
; CRT0 for the Sharp X1 - ; ; Karl Von Dyson (for X1s.org) ; ; $Id: x1_crt0.asm,v 1.17 2016-07-20 05:45:02 stefano Exp $ ; IF !DEFINED_CRT_ORG_CODE defc CRT_ORG_CODE = 0x8000 ENDIF defc TAR__register_sp = 0xFDFF INCLUDE "crt/classic/crt_rules.inc" org CRT_ORG_CODE if (CRT_ORG_CODE < ...
db 0 ; species ID placeholder db 75, 100, 95, 110, 40, 70 ; hp atk def spd sat sdf db NORMAL, NORMAL ; type db 45 ; catch rate db 211 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F0 ; gender ratio db 100 ; unknown 1 db 20 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/tauros/fr...
; A127595: a(n) = F(4n) - 2F(2n) where F(n) = Fibonacci numbers A000045. ; Submitted by Jamie Morken(s1) ; 0,1,15,128,945,6655,46080,317057,2176335,14925184,102320625,701373311,4807434240,32951037313,225850798095,1548007091840,10610205501105,72723448842367,498453982018560,3416454544730369,23416728143799375,160500643280...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r15 push %r9 push %rbp push %rbx push %rcx push %rdi lea addresses_UC_ht+0x22e1, %rcx nop nop dec %rbp movb $0x61, (%rcx) nop nop nop nop nop xor %r15, %r15 lea addresses_normal_ht+0xe93e, %r11 nop and $3420, %rdi mov (%r11), %rbx nop nop nop xor $43631, %r9 ...
; A061347: Period 3: repeat [1, 1, -2]. ; 1,1,-2,1,1,-2,1,1,-2,1,1,-2,1,1,-2,1,1,-2,1,1,-2,1,1,-2,1,1,-2,1,1,-2,1,1,-2,1,1,-2,1,1,-2,1,1,-2,1,1,-2,1,1,-2,1,1,-2,1,1,-2,1,1,-2,1,1,-2,1,1,-2,1,1,-2,1,1,-2,1,1,-2,1,1,-2,1,1,-2,1,1,-2,1,1,-2,1,1,-2,1,1,-2,1,1,-2,1,1,-2,1,1,-2,1,1,-2,1,1,-2,1,1,-2 mod $0,3 pow $0,$0 mov $1...
#pragma once #include "myparser_ast_spec.hpp" namespace myparser { template <> class Pass<PASS_REPR>: public PassProto<PASS_REPR> { private: const bool optionV; const bool optionC; protected: std::ostream &out; size_t indent; virtual void putName(const std::string &) {} virtual void putInd...
//===--- StringOptimization.cpp - Optimize string operations --------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
<% from pwnlib.shellcraft.i386.linux import syscall %> <%page args="mqdes, notification"/> <%docstring> Invokes the syscall mq_notify. See 'man 2 mq_notify' for more information. Arguments: mqdes(mqd_t): mqdes notification(sigevent): notification </%docstring> ${syscall('SYS_mq_notify', mqdes, notif...
.size 8000 .data@0 01 .text@48 jp ff81 .data@9c 02 03 04 05 .text@100 jp lbegin .data@143 c0 .text@150 lbegin: ld hl, ff81 ld a, 0e ld(hl++), a ld a, 27 ld(hl++), a ld a, 3e ld(hl++), a ld a, 80 ld(hl++), a ld a, e0 ld(hl++), a ld a, 46 ld(hl++), a ld a, 0d ld(hl++), a ld a, 20 ld(hl++), a ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r15 push %r8 push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x94ed, %r15 nop nop nop nop nop inc %r8 movb $0x61, (%r15) nop inc %r8 lea addresses_A_ht+0x1b6e9, %rsi lea addresses_UC_ht+0x159ed, %rdi xor $3511, %r12 mov $100, %rcx rep mov...
; A135416: a(n) = A036987(n)*(n+1)/2. ; 1,0,2,0,0,0,4,0,0,0,0,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0...
; A010009: a(0) = 1, a(n) = 19*n^2 + 2 for n>0. ; 1,21,78,173,306,477,686,933,1218,1541,1902,2301,2738,3213,3726,4277,4866,5493,6158,6861,7602,8381,9198,10053,10946,11877,12846,13853,14898,15981,17102,18261,19458,20693,21966,23277,24626,26013,27438,28901,30402,31941,33518,35133,36786,38477,40206,41973,43778,45621,47502...
; ; Old School Computer Architecture - SD Card driver ; Taken from the OSCA Bootcode by Phil Ruston 2011 ; ; Ported by Stefano Bodrato, 2012 ; ; Short delay to sync communications with card ; ; $Id: pause_4ms.asm,v 1.4 2012/09/26 14:15:25 stefano Exp $ ; XLIB pause_4ms INCLUDE "flos.def" pause_4ms: xor a jp...
#pragma once #include <vector> #include <fstream> #include <string> #include "Data/GLTexture.hpp" #include "External/picoPNG.h" #include "Debug.hpp" namespace Engine { extern bool ReadFileToBuffer(std::string filePath, std::vector<unsigned char> &buffer); extern GLTexture LoadPNGToGLTexture(std::string filePath, ...
; A098600: a(n) = Fibonacci(n-1) + Fibonacci(n+1) - (-1)^n. ; 1,2,2,5,6,12,17,30,46,77,122,200,321,522,842,1365,2206,3572,5777,9350,15126,24477,39602,64080,103681,167762,271442,439205,710646,1149852,1860497,3010350,4870846,7881197,12752042,20633240,33385281,54018522,87403802,141422325,228826126,370248452,599074577,9693...
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All right reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of th...
; A076389: Sum of squares of numbers that cannot be written as t*n + u*(n+1) for nonnegative integers t,u. ; 0,1,30,220,950,3045,8036,18480,38340,73425,131890,224796,366730,576485,877800,1300160,1879656,2659905,3693030,5040700,6775230,8980741,11754380,15207600,19467500,24678225,31002426,38622780,47743570 mov $2,$0 bin...
; A165758: a(n) = (12-7*6^n)/5. ; 1,-6,-48,-300,-1812,-10884,-65316,-391908,-2351460,-14108772,-84652644,-507915876,-3047495268,-18284971620,-109709829732,-658258978404,-3949553870436,-23697323222628,-142183939335780,-853103636014692,-5118621816088164 mov $2,6 pow $2,$0 sub $1,$2 div $1,5 mul $1,7 add $1,1
//----------------------------------*-C++-*----------------------------------// /** * @file WGDiffusionLossOperator.hh * @brief WGDiffusionLossOperator class definition * @note Copyright(C) 2012-2013 Jeremy Roberts */ //---------------------------------------------------------------------------// #ifndef detr...
%ifdef CONFIG { "RegData": { "MM0": ["0x6162414263644344", "0x0"], "MM1": ["0x6162414263644344", "0x0"], "MM2": ["0x6162636465666768", "0x0"] }, "MemoryRegions": { "0x100000000": "4096" } } %endif mov rdx, 0xe0000000 mov rax, 0x4142434445464748 mov [rdx + 8 * 0], rax mov rax, 0x515253545556575...
; A071122: a(n) = a(n-1) + sum of decimal digits of 2^n. ; 2,6,14,21,26,36,47,60,68,75,89,108,128,150,176,201,215,234,263,294,320,345,386,423,452,492,527,570,611,648,695,753,815,876,935,999,1055,1122,1193,1254,1304,1350,1406,1464,1526,1596,1664,1737,1802,1878,1958 mov $9,$0 mov $11,$0 add $11,1 lpb $11,1 clr $0,9 ...
; Z88 Small C+ Run Time Library ; Long functions ; PUBLIC l_long_neg ; deHL = -deHL .l_long_neg ld a,l cpl ld l,a ld a,h cpl ld h,a ld a,e cpl ld e,a ld a,d cpl ld d,a inc l ret nz inc h ret nz inc de ret ; call l_long_com ; inc...
// // GenerateModelsFromLabels // Usage: GenerateModelsFromLabels InputVolume Startlabel Endlabel // where // InputVolume is a meta file containing a 3 volume of // discrete labels. // StartLabel is the first label to be processed // EndLabel is the last label to be proc...
; A085037: Smallest square divisible by the n-th triangular number (n(n+1)/2). ; 1,9,36,100,225,441,196,36,225,3025,4356,6084,8281,11025,3600,4624,2601,3249,36100,44100,53361,64009,19044,900,4225,13689,15876,164836,189225,216225,15376,17424,314721,354025,44100,49284,494209,549081,152100,168100,741321,815409,894916,1089...
scoreboard: ; db " " db "X: O: " db 0
; char* strset(char *s, int c) SECTION code_string PUBLIC _strset EXTERN asm_strset _strset: pop af pop hl pop de push de push hl push af jp asm_strset
; A121636: Number of 2-cell columns starting at level 0 in all of deco polyominoes of height n. A deco polyomino is a directed column-convex polyomino in which the height, measured along the diagonal, is attained only in the last column. ; Submitted by Jon Maiga ; 0,1,5,23,122,754,5364,43308,391824,3929616,43287840,519...
; A076453: a(n+2) = abs(a(n+1)) - a(n), a(0)=1, a(1)=0. ; Submitted by Jamie Morken(s3) ; 1,0,-1,1,2,1,-1,0,1,1,0,-1,1,2,1,-1,0,1,1,0,-1,1,2,1,-1,0,1,1,0,-1,1,2,1,-1,0,1,1,0,-1,1,2,1,-1,0,1,1,0,-1,1,2,1,-1,0,1,1,0,-1,1,2,1,-1,0,1,1,0,-1,1,2,1,-1,0,1,1,0,-1,1,2,1,-1,0,1,1,0,-1,1,2,1,-1,0,1,1,0,-1,1,2,1,-1,0,1,1 mov $1,...
; $Id: bit_fx3_mwr.asm,v 1.3 2016-04-23 21:06:32 dom Exp $ ; ; 1 bit sound library - version for "memory write" I/O architectures ; sound effects module. ; Alternate sound library by Stefano Bodrato ; SECTION code_clib PUBLIC bit_fx3 PUBLIC _bit_fx3 INCLUDE "games/ga...
COMMENT @---------------------------------------------------------------------- Copyright (c) GeoWorks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: Cards library FILE: hand.asm REVISION HISTORY: Name Date Description ---- ---- ----------- Jon 6/90 Initial Version DESCRIPTION: This fi...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r14 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x9247, %rsi lea addresses_A_ht+0x74bf, %rdi clflush (%rsi) sub %r14, %r14 mov $53, %rcx rep movsl nop dec %r13 lea addresses_UC_ht+0x122bf, %r11 nop nop nop inc %r9 movups (%r1...
############################################################################## # Program : MindReader Programmer: Chaoran Li, Jiaer JIang, Xue Cheng, Pengfei Tong # Due Date: 12/05/19 Last Modified:11/08/19 # Course: CS3340 Section:501 ############################################################################# # Desc...
; A034721: a(n) = (10*n^3 - 9*n^2 + 2*n)/3 + 1. ; 1,2,17,66,169,346,617,1002,1521,2194,3041,4082,5337,6826,8569,10586,12897,15522,18481,21794,25481,29562,34057,38986,44369,50226,56577,63442,70841,78794,87321,96442,106177,116546,127569,139266,151657,164762,178601,193194,208561,224722,241697,259506,278169,297706,318137,3...
; void *w_vector_size(w_vector_t *v) SECTION code_adt_w_vector PUBLIC w_vector_size defc w_vector_size = asm_w_vector_size INCLUDE "adt/w_vector/z80/asm_w_vector_size.asm"
; A260918: Number of squares of all sizes in polyominoes obtained by union of two pyramidal figures (A092498) with intersection equals A002623. ; 0,1,5,15,33,60,100,154,224,313,423,555,713,898,1112,1358,1638,1953,2307,2701,3137,3618,4146,4722,5350,6031,6767,7561,8415,9330,10310,11356,12470,13655,14913,16245,17655,19144...
; A021805: Decimal expansion of 1/801. ; Submitted by Jon Maiga ; 0,0,1,2,4,8,4,3,9,4,5,0,6,8,6,6,4,1,6,9,7,8,7,7,6,5,2,9,3,3,8,3,2,7,0,9,1,1,3,6,0,7,9,9,0,0,1,2,4,8,4,3,9,4,5,0,6,8,6,6,4,1,6,9,7,8,7,7,6,5,2,9,3,3,8,3,2,7,0,9,1,1,3,6,0,7,9,9,0,0,1,2,4,8,4,3,9,4,5 seq $0,42 ; Unary representation of natural numbers. di...
; A004970: a(n) = ceiling(n*phi^15), where phi is the golden ratio, A001622. ; 0,1365,2729,4093,5457,6821,8185,9549,10913,12277,13641,15005,16369,17733,19097,20461,21825,23189,24553,25917,27281,28645,30009,31373,32737,34101,35465,36829,38193 mov $1,$0 trn $1,1 mov $2,$0 sub $0,$1 lpb $2 add $0,1364 sub $2,1 lpe
; A169642: a(n) = A005408(n) * A022998(n). ; 0,3,20,21,72,55,156,105,272,171,420,253,600,351,812,465,1056,595,1332,741,1640,903,1980,1081,2352,1275,2756,1485,3192,1711,3660,1953,4160,2211,4692,2485,5256,2775,5852,3081,6480,3403,7140,3741,7832,4095,8556,4465,9312,4851,10100,5253,10920,5671,11772,6105,12656,6555,13572,70...
; ; jdcolor.asm - colorspace conversion (SSE2) ; ; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB ; Copyright (C) 2009, D. R. Commander. ; ; Based on the x86 SIMD extension for IJG JPEG library ; Copyright (C) 1999-2006, MIYASAKA Masaru. ; For conditions of distribution and use, see copyright notice in j...
;=============================================================================== ; Copyright 2015-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...
<% from pwnlib.shellcraft.arm.linux import syscall %> <%page args="level"/> <%docstring> Invokes the syscall iopl. See 'man 2 iopl' for more information. Arguments: level(int): level </%docstring> ${syscall('SYS_iopl', level)}
#include "renderer.hpp" #include "camera.hpp" #include "gl/shaderUtils.hpp" #include "light/light.hpp" #include "material/material.hpp" #include "model.hpp" #include "renderTarget.hpp" #include "renderEffects/auraCompositing.hpp" #include <GL/glew.h> #include <iostream> constexpr GLuint GL_MAJOR = 3; constexpr GLui...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r8 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_D_ht+0x6fc6, %r9 nop add $16708, %rsi movl $0x61626364, (%r9) nop nop and %r9, %r9 lea addresses_UC_ht+0x75cc, %rsi lea addresses_WT_ht+0x12efb, %rdi nop add $51929, %rax mov $63, %rc...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x153e2, %rsi lea addresses_WT_ht+0x64cb, %rdi nop nop nop and %r13, %r13 mov $95, %rcx rep movsw and %r10, %r10 lea addresses_UC_ht+0xdce2, %r12 nop nop nop dec %rdi mov $0x61626364656...
StatModifierRatios: ; first byte is numerator, second byte is denominator db 25, 100 ; 0.25 db 28, 100 ; 0.28 db 33, 100 ; 0.33 db 40, 100 ; 0.40 db 50, 100 ; 0.50 db 66, 100 ; 0.66 db 1, 1 ; 1.00 db 15, 10 ; 1.50 db 2, 1 ; 2.00 db 25, 10 ; 2.50 db 3, 1 ; 3.00 db 35, 10 ; 3.50 db 4...
; A183978: 1/4 the number of (n+1) X 2 binary arrays with all 2 X 2 subblock sums the same. ; 4,6,9,15,25,45,81,153,289,561,1089,2145,4225,8385,16641,33153,66049,131841,263169,525825,1050625,2100225,4198401,8394753,16785409,33566721,67125249,134242305,268468225,536920065,1073807361,2147581953,4295098369 mov $1,1 mov $...
#pragma once #include <stdint.h> #include <stdlib.h> #include <unistd.h> #include <inttypes.h> #include <signal.h> #include <rte_eal.h> #include <rte_ethdev.h> #include <rte_cycles.h> #include <rte_lcore.h> #include <rte_mbuf.h> #include <rte_log.h> #include <rte_ether.h> #include <rte_ip.h> #include <rte_tcp.h> #inclu...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %r14 push %r15 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x82ac, %r13 add %rbx, %rbx mov $0x6162636465666768, %r12 movq %r12, %xmm1 movups %xmm1, (%r13) nop nop nop nop dec %r13 lea addresses_D_ht+0x1afac, %rbx ad...
; A186350: Adjusted joint rank sequence of (f(i)) and (g(j)) with f(i) before g(j) when f(i)=g(j), where f and g are the odd numbers and the triangular numbers. Complement of A186351. ; 1,3,5,7,8,10,11,12,14,15,16,18,19,20,22,23,24,25,27,28,29,30,31,33,34,35,36,37,39,40,41,42,43,45,46,47,48,49,50,52,53,54,55,56,57,58,...
<% import collections import pwnlib.abi import pwnlib.constants import pwnlib.shellcraft %> <%docstring>add_key(type, description, payload, plen, keyring) -> str Invokes the syscall add_key. See 'man 2 add_key' for more information. Arguments: type(char*): type description(char*): description payload(voi...
#include "Associativity.h" #include "AutoScheduleUtils.h" #include "Bounds.h" #include "CPlusPlusMangle.h" #include "CSE.h" #include "CodeGen_C.h" #include "CodeGen_PyTorch.h" #include "CodeGen_X86.h" #include "Deinterleave.h" #include "Func.h" #include "Generator.h" #include "IR.h" #include "IREquality.h" #include "IR...
; A002055: Number of diagonal dissections of a convex n-gon into n-4 regions. ; 1,9,56,300,1485,7007,32032,143208,629850,2735810,11767536,50220040,212952285,898198875,3771484800,15775723920,65770848990,273420862110,1133802618000,4691140763400,19371432850770,79850555673174,328627887379776,1350540667070000,55430047664173...
Name: ys_w25.asm Type: file Size: 21980 Last-Modified: '2016-05-13T04:51:15Z' SHA-1: 5B2DA954BD88EC94AA327515E8EA9E3A44075AF6 Description: null
; A318876: Sum of divisors d of n for which 2*phi(d) > d. ; 1,1,4,1,6,4,8,1,13,6,12,4,14,8,24,1,18,13,20,6,32,12,24,4,31,14,40,8,30,24,32,1,48,18,48,13,38,20,56,6,42,32,44,12,78,24,48,4,57,31,72,14,54,40,72,8,80,30,60,24,62,32,104,1,84,48,68,18,96,48,72,13,74,38,124,20,96,56,80,6,121,42,84,32,108,44,120,12,90,78,112,24...
; A004756: Binary expansion starts 100. ; 4,8,9,16,17,18,19,32,33,34,35,36,37,38,39,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,...
// 1655. 가운데를 말해요 // 2019.09.26 // 힙 #include<iostream> #include<queue> #include<algorithm> using namespace std; priority_queue<int, vector<int>, less<int>> maxHeap; // 최대 힙 priority_queue<int, vector<int>, greater<int>> minHeap; // 최소 힙 int main() { ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); int n, num; ...
#ifndef STAN_MATH_PRIM_MAT_FUN_DIAG_POST_MULTIPLY_HPP #define STAN_MATH_PRIM_MAT_FUN_DIAG_POST_MULTIPLY_HPP #include <stan/math/prim/mat/err/check_vector.hpp> #include <stan/math/prim/scal/err/check_size_match.hpp> #include <stan/math/prim/mat/fun/Eigen.hpp> namespace stan { namespace math { template <typename T1, t...
#include "CppUnitTest.h" #include "resourcemanager.hpp" using namespace Microsoft::VisualStudio::CppUnitTestFramework; namespace GardenVexor_unittest { TEST_CLASS(UnitTest1) { public: TEST_METHOD(TestMethod1) { ResourceManager::initialize(); } }; }
asr(8) g13<1>.xD g5.4<0>.zD g5.4<0>.wUD { align16 1Q }; asr(8) g57<1>.xD g38<4>.xD 0x00000001UD { align16 1Q }; asr(8) g3<1>D g2<0,1,0>D g2.1<0,1,0>UD { align1 1Q }; asr(16) g3<1>D g2<0,1,0>D g2.1<0,1,0>UD { align1 1H }; as...
; unsigned char ulap_attr_from_pentp_penti(unsigned char pentp,unsigned char penti) SECTION code_clib SECTION code_arch PUBLIC asm_ulap_attr_from_pentp_penti asm_ulap_attr_from_pentp_penti: ; enter : l = unsigned char pentp ; h = unsigned char penti ; ; exit : l = attribute value ; ; uses...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR> ; This program and the accompanying materials ; are licensed and made available under the terms and conditions of the BSD License ; which accompanies this distribution...
; encoding: utf-8 ; ff3_field_window_renderer.asm ; ; description: ; replaces field::draw_window_box($3f:ed02) related codes. ; this file implements 'renderer'-like logics, ; which renders window's content given by the callers by driving ppu. ; these logics are originally placed around $f40a-$f700. ; version:...
; A118263: a(3n) = 2^n, a(3n+1) = 3^n, a(3n+2) = 4^n. ; 1,1,1,2,3,4,4,9,16,8,27,64,16,81,256,32,243,1024,64,729,4096,128,2187,16384,256,6561,65536,512,19683,262144,1024,59049,1048576,2048,177147,4194304,4096,531441,16777216,8192,1594323,67108864,16384,4782969,268435456,32768,14348907,1073741824,65536,43046721,429496729...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Om developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "assert.h" #include "chainparams.h" #include "core.h" #include "protocol.h" #inclu...
/* 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 law or a...
.global s_prepare_buffers s_prepare_buffers: push %r15 push %r9 push %rbp push %rbx push %rdi push %rdx push %rsi lea addresses_A_ht+0x1601e, %rbx clflush (%rbx) nop nop nop nop sub %rdx, %rdx mov $0x6162636465666768, %rbp movq %rbp, %xmm1 movups %xmm1, (%rbx) nop nop nop dec %r15 lea addresses_UC_ht+0x1524a, %r9 nop n...
// Copyright 2013 The Goma 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 "directive_filter.h" #include <string.h> #include <memory> #include <vector> #include "absl/strings/ascii.h" #include "absl/strings/match.h" #inc...
; A284777: Positions of 1 in A284775; complement of A284776. ; 2,5,6,8,10,13,14,17,18,20,23,24,26,29,30,32,34,37,38,41,42,44,46,49,50,53,54,56,59,60,62,64,67,68,71,72,74,77,78,80,82,85,86,89,90,92,95,96,98,101,102,104,106,109,110,113,114,116,118,121,122,125,126,128,131,132,134,137,138,140,142,145,146,149,150,152,154,15...
; A050271: Numbers n such that n = floor(sqrt(n)*ceiling(sqrt(n))). ; 1,2,3,4,7,8,9,14,15,16,23,24,25,34,35,36,47,48,49,62,63,64,79,80,81,98,99,100,119,120,121,142,143,144,167,168,169,194,195,196,223,224,225,254,255,256,287,288,289,322,323,324,359,360,361,398,399,400,439,440,441,482,483,484,527,528,529,574,575,576,623,...
; char *strcat(char * restrict s1, const char * restrict s2) SECTION code_string PUBLIC _strcat EXTERN asm_strcat _strcat: pop af pop de pop hl push hl push de push af jp asm_strcat
<% from pwnlib.shellcraft.powerpc.linux import syscall %> <%page args="ss, oss"/> <%docstring> Invokes the syscall sigaltstack. See 'man 2 sigaltstack' for more information. Arguments: ss(sigaltstack): ss oss(sigaltstack): oss </%docstring> ${syscall('SYS_sigaltstack', ss, oss)}
.data input_h: .word 80 input_w: .word 80 input_bmi: .word 80 prompt_h: .asciiz "high: " prompt_w: .asciiz "weigh: " prompt_bmi: .asciiz "bmi:" output: .asciiz "echo: " .text input_h_d: la $a0, prompt_h li $v0, 4 syscall li $v0, 6 syscall mov.s $f2, $f0 input_w_d: ...
kb_Data:=$F50010 init: ld iy,ti.flags call ti.HomeUp call ti.RunIndicOff call libload_load jr z,main_init ld iy,ti.flags call ti.ClrLCDFull call ti.HomeUp call ti.DrawStatusBar ld hl,.needlibload call ti.PutS xor a,a ld (ti.curCol),a inc a ld (ti.curRow),a call ti.PutS .GetCSC: call ti.GetCSC or a,a...
; A079498: Numbers whose sum of digits in base b gives 0 (mod b), for b = 3. ; Submitted by Jamie Morken(w1) ; 0,5,7,11,13,15,19,21,26,29,31,33,37,39,44,45,50,52,55,57,62,63,68,70,74,76,78,83,85,87,91,93,98,99,104,106,109,111,116,117,122,124,128,130,132,135,140,142,146,148,150,154,156,161,163,165,170,171,176,178,182,18...
global isr0 global isr1 global isr2 global isr3 global isr4 global isr5 global isr6 global isr7 global isr8 global isr9 global isr10 global isr11 global isr12 global isr13 global isr14 global isr15 global isr16 global isr17 global isr18 global isr19 global isr20 global isr21 global isr22 global isr23 global isr24 glob...
; A045319: Primes congruent to {1, 2, 3, 4} mod 5. ; 2,3,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,37...
dnl ARM mpn_invert_limb -- Invert a normalized limb. dnl Copyright 2001, 2009, 2011, 2012 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 Ge...
; JSR $9034 ; 012DD0:FF UNDEFINED ; 04:ADC0:FF UNDEFINED .org $ADC0 LDA $0008 AND #$40 BEQ _2x2_LETTER ; 如果是大字就跳 (24x24) _LARGE_LETTER: LDA $0008 CLC SBC #$40 ; 后面的代码没改过 JMP $90A0 _2x2_LETTER: LDA $0008 ASL ; A <<= 2 (字符 * 4) ASL AND #$7F TAY ; Y = A ; A = (a ...
; ; enterTCHelper - MSVC Edition ; ; This helper routine is written in assembly to take care of the details ; when transferring control between jitted code and the translator. ; ; Note that this is only used when compiling under MSVC. The .S version ; of this file is used by everything else. ; ; The columns are registe...
; DFS/ADFS Disk op routines ; helpful for streaming, faster loading to SWR etc. ; http://chrisacorns.computinghistory.org.uk/docs/Acorn/Manuals/Acorn_DiscSystemUGI2.pdf ; Our SWR loader is 60% faster than *SRLOAD disksys_loadto_addr = &3000 .beeb_disksys_start \*------------------------------- \* DISKSYS OSFILE PAR...
; 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,...
bits 32 dd 0x1BADB002 dd 0x0 dd - 0x1BADB002 extern kmain global _start _start: cli call kmain jmp $
; BOOT CRITICAL ; Stage2 Required Includes ; ; %include "../boot/betterRealMode.asm" ; %include "../boot/IDTmain.asm" %include "../Drivers/PS2/PS_2.asm" ; init should be dealt with in kernel, not s2! ; BootCritical Signature ; stage2_minloadSig : dd 0xDEADF154 ; KERNEL CRITICAL ; Memory Check Include...
#include "IMU.h" IMU * imu_pointer; IMU::IMU() { } IMU::~IMU() { } int IMU::init(u32 com_port, u32 baudrate) { imu_pointer = this; EKF = false; // Settings u8 temp_string[20] = {0}; u8 enable = 1; u8 data_stream_format_descriptors[10]; u16 data_stream_format_decimation[10]; u8 data_stream_format_num_en...
#include "iarduino_I2C_Matrix_8x8.h" // // // Инициализация дисплея: // Возвращаемое значение: результат инициализации. bool iarduino_I2C_Matrix_8x8::begin (void){ // Параметр: отсутствует uint8_t tmpImage[8]; ...
; A011942: [ n(n-1)(n-2)(n-3)/32 ]. ; 0,0,0,0,0,3,11,26,52,94,157,247,371,536,750,1023,1365,1785,2295,2907,3633,4488,5486,6641,7969,9487,11212,13162,15356,17813,20553,23598,26970,30690,34782,39270,44178 bin $0,4 mul $0,24 div $0,32
; Troy's HBC-56 - LCD Tilemap tests ; ; Copyright (c) 2021 Troy Schrapel ; ; This code is licensed under the MIT license ; ; https://github.com/visrealm/hbc-56 ; !src "hbc56kernel.inc" !align 255, 0 c64FontData: !bin "lcd/fonts/c64-font-ascii.bin" ; ------------------------------------------------------------------...
/************************************************************************** Copyright (c) 2017 sewenew 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/licen...