text stringlengths 1 1.05M |
|---|
; A313975: Coordination sequence Gal.4.145.3 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; 1,5,10,17,22,27,32,37,44,49,54,59,64,71,76,81,86,91,98,103,108,113,118,125,130,135,140,145,152,157,162,167,172,179,184,189,194,199,206,211,2... |
bits 64
je .l
resb 128
.l:
|
;
; Copyright (c) 2014 The WebM 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 proje... |
<%
from pwnlib.shellcraft.powerpc.linux import syscall
%>
<%page args="which, who, prio"/>
<%docstring>
Invokes the syscall setpriority. See 'man 2 setpriority' for more information.
Arguments:
which(priority_which_t): which
who(id_t): who
prio(int): prio
</%docstring>
${syscall('SYS_setpriority'... |
;;
;; Upcaste Performance Libraries
;; Copyright (C) 2012-2013 Jesse W. Towner
;;
;; 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 limitatio... |
; A120326: Cumulative sum of the remainders when dividing primes by 3.
; Submitted by Jon Maiga
; 2,2,4,5,7,8,10,11,13,15,16,17,19,20,22,24,26,27,28,30,31,32,34,36,37,39,40,42,43,45,46,48,50,51,53,54,55,56,58,60,62,63,65,66,68,69,70,71,73,74,76,78,79,81,83,85,87,88,89,91,92,94,95,97,98,100,101,102,104,105,107,109,110,1... |
;
; Copyright (c) 2014 The WebM 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 proje... |
.model small
.stack 100h
.data
str db 50 dup(0)
y db 'Yes$'
n db 'No$'
a db 0
s db 0
m db 0
crlf db 0dh, 0ah, '$'
.code
printStr MACRO strAddr
push dx
push ax
lea dx, strAddr
mov ah, 9
int 21h
pop ax
pop dx
ENDM
findAsm proc
.IF m == 1
... |
;Rutinas de operaciones basicas con numeros de 16,24 y 32 bits.
VAR1 .EQU 090h
VAR2 .equ 094h
Inicio: LD HL,VAR1 ;Cargamos la direcion del primer numero en HL
;LD DE,VAR2 ;Cargamos la direcion del segundo numero en DE
CALL CPL16 ;Hacemos la resta (VAR1)=(DE)-(HL)
HALT
JP FIN
;////////////////////////... |
;
; Z88dk Generic Floating Point Math Library
;
; Normalise 48bit number in c ix de b
; current exponent in fa+5
; Result -> fa +5
;
; $Id: norm_noaf.asm,v 1.1 2012/04/17 16:37:46 stefano Exp $:
XLIB norm
LIB pack
LIB norm4
LIB afswap
XREF fa
.NORM LD L,B
LD H,E
... |
; A136690: Final nonzero digit of n! in base 3.
; 1,1,2,2,2,1,2,2,1,1,1,2,2,2,1,2,2,1,2,2,1,1,1,2,1,1,2,2,2,1,1,1,2,1,1,2,2,2,1,1,1,2,1,1,2,1,1,2,2,2,1,2,2,1,2,2,1,1,1,2,1,1,2,2,2,1,1,1,2,1,1,2,1,1,2,2,2,1,2,2,1,1,1,2,2,2,1,2,2,1,1,1,2,2,2,1,2,2,1,2,2,1,1,1,2
lpb $0
add $1,$0
div $0,3
sub $1,$0
div $1,2
mod ... |
; A025966: Expansion of 1/((1-2x)(1-4x)(1-6x)(1-8x)).
; Submitted by Jon Maiga
; 1,20,260,2800,27216,248640,2182720,18656000,156544256,1296655360,10641146880,86744985600,703688298496,5688011079680,45855653642240,368956766617600,2964331947687936,23790756829593600
mov $1,$0
mov $0,2
pow $0,$1
seq $1,453 ; Stirling numbe... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1b4b9, %r14
nop
cmp %r10, %r10
movw $0x6162, (%r14)
nop
nop
nop
nop
dec %r10
lea addresses_normal_ht+0x3ca1, %rsi
lea addresses_WC_ht+0x14cb9, %rdi
clflush (%rdi)
nop
nop
no... |
;
; jiss2flt.asm - floating-point IDCT (SSE & SSE2)
;
; x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribution and use, see copyright notice in jsimdext.inc
;
; This file should be assembled with NASM (Netwide Assembler),
; can *not* be assembled with Micros... |
// MEGA65 DMA test using memset
// Appendix J in https://mega.scryptos.com/sharefolder-link/MEGA/MEGA65+filehost/Docs/MEGA65-Book_draft.pdf
/// @file
/// Functions for using the F018 DMA for very fast copying or filling of memory
/// @file
/// MEGA65 Registers and Constants
/// @file
/// The MOS 6526 Complex Interface ... |
.file "floats_punned.c"
.section .tdata
REG_BANK:
.dword 0
.dword 0
.dword 0
.dword 0
.dword 0
.dword 0
.dword 0
.dword 0
.text
.section .rodata
.align 3
.LC3:
.string "Floating ops"
.align 3
.LC4:
.string "Addition: %lu\n"
.align 3
.LC5:
... |
CONFIG_SCREEN_EXTRA_BANK_NUMBER = CURRENT_BANK_NUMBER
#include "game/logic/game_states/config_screen_extra_bank.built.asm"
|
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_Heap_Based_Buffer_Overflow__cpp_CWE805_char_ncat_73a.cpp
Label Definition File: CWE122_Heap_Based_Buffer_Overflow__cpp_CWE805.string.label.xml
Template File: sources-sink-73a.tmpl.cpp
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: ... |
// push constant 111
@111
D=A
@SP
A=M
M=D
@SP
M=M+1
// push constant 333
@333
D=A
@SP
A=M
M=D
@SP
M=M+1
// push constant 888
@888
D=A
@SP
A=M
M=D
@SP
M=M+1
// pop static 8
@SP
AM=M-1
D=M
@StaticTest.8
M=D
// pop static 3
@SP
AM=M-1
D=M
@StaticTest.3
M=D
// pop static 1
@SP
AM=M-1
D=M
@StaticTest.1
M=D
// push static 3
... |
/*
* Copyright (c) David Connet. All Rights Reserved.
*
* License: See License.txt
*/
/**
* @file
* @brief Test string util functions
* @author David Connet
*
* Revision History
* 2018-12-16 Convert to fmt.
* 2017-11-09 Convert from UnitTest++ to Catch
* 2015-11-27 Remove WIN32 ifdef from tests.
* 2008-06... |
mov r1, .0
log r1
mul r1, .0
out r1
clr r1
log r1
add r1, .0
out r1
|
;
;
; ZX Maths Routines
;
; 11/03/08 - Stefano Bodrato
;
; $Id: pi.asm,v 1.3 2015/01/19 01:32:57 pauloscustodio Exp $
;
;double pi()
;Number in FA..
IF FORzx
INCLUDE "zxfp.def"
ELSE
INCLUDE "81fp.def"
ENDIF
PUBLIC pi
EXTERN stkequ
.pi
rst ZXFP_BEGIN_CAL... |
// Copyright 2015 Esri.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software... |
// Assembler: KickAssembler v4.19
BasicUpstart2(main)
.var irq_line_top = $10 - 1
//.var top_lines = $21
.var top_lines = $21
//.var irq_line_top = $20 - 1
//.var top_lines = $08
.var irq_line_bottom = 312 - 64
.var music = LoadSid("/home/methos/Music/HVSC69/MUSICIANS/0-9/20CC/van_Santen_Edwin/Blackmail_Tune_1.sid... |
#include "editaddressdialog.h"
#include "ui_editaddressdialog.h"
#include "addresstablemodel.h"
#include "dialogwindowflags.h"
#include "guiutil.h"
#include <QDataWidgetMapper>
#include <QMessageBox>
EditAddressDialog::EditAddressDialog(Mode mode, QWidget *parent) :
QDialog(parent, DIALOGWINDOWHINTS),
ui(new ... |
; A186416: a(n) = binomial(2n,n)^4/(n+1)^3.
; Submitted by Jon Maiga
; 1,2,48,2500,192080,18670176,2125170432,270968717448,37634544090000,5588044012339360,875419364366134016,143310129125665075392,24338673855047938317568,4264316875814353400000000,767401591466550107174400000,141345980472409642279275210000,265695056445878... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r15
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x68ed, %rsi
lea addresses_D_ht+0xc385, %rdi
nop
nop
nop
nop
nop
xor %r15, %r15
mov $13, %rcx
rep movsb
nop
nop
sub $34146, %r10
lea addresses_normal_ht+0x155e5, %rdx
inc %r15... |
; A072262: a(n) = 4*a(n-1) + 1, a(1)=11.
; 11,45,181,725,2901,11605,46421,185685,742741,2970965,11883861,47535445,190141781,760567125,3042268501,12169074005,48676296021,194705184085,778820736341,3115282945365,12461131781461,49844527125845
mov $1,4
pow $1,$0
div $1,3
mul $1,34
add $1,11
|
/*
* This file is part of the Camera Streaming Daemon
*
* Copyright (C) 2017 Intel 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://w... |
; LEDs.asm
; Runs on MSP432
; Capt Steven Beyer
; September 9, 2019
; Code to activate LED on P6.7. This code accompanies the Lab08_LED_Switchesmain.c
;
.thumb
.text
.align 2
.global LED_Init
.global LED_Off
.global LED_On
.global LED_Toggle
.global LED_Oscillate
; function to initial... |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/third_party/quiche/src/quic/core/quic_time.h"
#include <cinttypes>
#include <cstdlib>
#include <limits>
#include <string>
#include "ne... |
; void in_MouseKempSetPos(uint xcoord, uint ycoord)
; 09.2005 aralbrec
PUBLIC in_MouseKempSetPos
EXTERN in_MouseKempSetPos_callee
EXTERN CDISP_IN_MOUSEKEMPSETPOS_CALLEE
.in_MouseKempSetPos
pop de
pop bc
pop hl
push hl
push bc
push de
jp in_MouseKempSetPos_callee + CDISP_IN_MOUSEKEMPSETPOS_C... |
; Calculate string length
; Compile with: nasm -f elf strlem.asm
; Linked with (-m elf_i386 for x86_64): ld -m elf_i386 -o strlen strlen.o
section .data
hello_str db 'Xxxxx, xxxxx xxx xxxxx!', 0xa ; new line char. at the end
str4 db 'dupa!'
section .text
global _start
_start:
mov ebx, str4 ; move adress of str... |
%define ARCH_AARCH64 0
%define ARCH_ALPHA 0
%define ARCH_ARM 0
%define ARCH_AVR32 0
%define ARCH_AVR32_AP 0
%define ARCH_AVR32_UC 0
%define ARCH_BFIN 0
%define ARCH_IA64 0
%define ARCH_M68K 0
%define ARCH_MIPS 0
%define ARCH_MIPS64 0
%define ARCH_PARISC 0
%define ARCH_PPC 0
%define ARCH_PPC64 0
%define ARCH_S390 0
%def... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xbef2, %r9
nop
nop
nop
nop
nop
sub %r12, %r12
movw $0x6162, (%r9)
nop
nop
nop
nop
add %r12, %r12
lea addresses_D_ht+0x1b872, %rsi
lea addresses_normal_ht+0x15532, %rdi
nop
nop
nop
nop
sub $39330, ... |
;/*!
; @file
;
; @ingroup fapi
;
; @brief DosReallocHuge DOS wrapper
;
; (c) osFree Project 2018, <http://www.osFree.org>
; for licence see licence.txt in root directory, or project website
;
; This is Family API implementation for DOS, used with BIND tools
; to link required API
;
; @author Yuri Prokus... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1248a, %rbp
xor %rax, %rax
vmovups (%rbp), %ymm5
vextracti128 $1, %ymm5, %xmm5
vpextrq $1, %xmm5, %r9
and %rbp, %rbp
lea addresses_A_ht+0x17a1e, %rsi
lea addresses_UC_ht+0x1e4... |
; A130806: Period 6: 1,4,3,-1,-4,-3.
; 1,4,3,-1,-4,-3,1,4,3,-1,-4,-3,1,4,3,-1,-4,-3,1,4,3,-1,-4,-3,1,4,3,-1,-4,-3,1,4,3,-1,-4,-3,1,4,3,-1,-4,-3,1,4,3,-1,-4,-3,1,4,3
mov $1,1
mov $2,3
lpb $0
sub $0,1
add $1,$2
sub $2,$1
lpe
|
TITLE: hw6.asm
INCLUDE Irvine32.inc
ClearEAX textequ <mov eax, 0>
ClearEBX textequ <mov ebx, 0>
ClearECX textequ <mov ecx, 0>
ClearEDX textequ <mov edx, 0>
ClearESI textequ <mov esi, 0>
ClearEDI textequ <mov edi, 0>
maxLength = 51d
.data
phrase BYTE maxLength DUP(0)
phraseLength BYTE 0
phraseSet BYTE 0
phrasePrompt ... |
//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... |
; A152984: Absolute values of A152864.
; 1,2,3,3,5,3,7,4,7,5,11,1,13,7,9,5,17,2,19,3,13,11,23,5,21,13,17,5,29,5,31,6,21,17,25,11,37,19,25,3,41,5,43,9,17,23,47,19,43,12,33,11,53,5,41,1,37,29,59,37,61,31,27,7,49,5,67,15,45,3,71,40,73,37,31,17,61,5,79,17
cal $0,152864 ; Deficiency of n, plus the number of proper divisors... |
;
; CPC bank loader, after @iratahack
;
EXTERN __DATA_END_tail
EXTERN __BANK_0_END_tail
EXTERN __BANK_1_END_tail
EXTERN __BANK_2_END_tail
EXTERN __BANK_3_END_tail
EXTERN __BANK_4_END_tail
EXTERN __BANK_5_END_tail
EXTERN __BANK_6_END_tail
EXTERN __BANK_7_END_tail
; Tu... |
;
; Galaksija libraries
;
;--------------------------------------------------------------
; Text scrollup.
; Doesn't directly set the current cursor position
;--------------------------------------------------------------
;
; $Id: scrolluptxt.asm $
;
;--------------------------------------------------------... |
; A211958: Number of lower triangular n X n arrays colored with integers 0 upwards introduced in row major order, with no element equal to any diagonal or antidiagonal neighbor, and containing the value n(n+1)/2-2.
; 0,3,12,37,90,186,343,582,927,1405,2046,2883,3952,5292,6945,8956,11373,14247,17632,21585,26166,31438,374... |
/**********************************************************************
Audacity: A Digital Audio Editor
PrefsDialog.cpp
Joshua Haberman
James Crook
*******************************************************************//**
\class PrefsDialog
\brief Dialog that shows the current PrefsPanel in a tabbed divider... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1ce29, %rax
nop
nop
and $62005, %rcx
mov $0x6162636465666768, %r8
movq %r8, %xmm0
vmovups %ymm0, (%rax)
nop
nop
nop
nop
nop
and $8370, %r11
lea addresses_WC_ht+0x1a7b1, %rdi
n... |
;/*++
;
;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. The full text of the license may be foun... |
; A039599: Triangle formed from even-numbered columns of triangle of expansions of powers of x in terms of Chebyshev polynomials U_n(x).
; Submitted by Jon Maiga
; 1,1,1,2,3,1,5,9,5,1,14,28,20,7,1,42,90,75,35,9,1,132,297,275,154,54,11,1,429,1001,1001,637,273,77,13,1,1430,3432,3640,2548,1260,440,104,15,1,4862,11934,1326... |
; ************************************************************************************************************
; ************************************************************************************************************
;
; 1861 Display Routine
;
; ***********************************************************... |
# Copyright (C) 2000, 2001 Free Software Foundation, Inc.
# Written By Timothy Wall
#
# This file 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 2, or (at your option) any
# later version.
... |
;
; Sharp OZ family functions
;
; ported from the OZ-7xx SDK by by Alexander R. Pruss
; by Stefano Bodrato - Oct. 2003
;
;
; restore the page A000
;
;
; ------
; $Id: restore_a000.asm,v 1.1 2003/10/21 17:15:19 stefano Exp $
;
XLIB restore_a000
restore_a000:
ld a,7
out (3),a
ld ... |
GLOBAL _start
SECTION .data
_start:
jmp do_call
jmp_back:
xor eax, eax
add eax, 11
pop ebx
mov [ebx+7], byte ah
xor ecx, ecx
xor edx, edx
int 0x80
do_call:
call jmp_back
shell:
db '/bin/shN'
|
; A140675: a(n) = n*(3*n + 19)/2.
; 0,11,25,42,62,85,111,140,172,207,245,286,330,377,427,480,536,595,657,722,790,861,935,1012,1092,1175,1261,1350,1442,1537,1635,1736,1840,1947,2057,2170,2286,2405,2527,2652,2780,2911,3045,3182,3322,3465,3611,3760,3912,4067,4225,4386,4550,4717,4887,5060,5236,5415,5597,5782,5970,6161,6355... |
/*-------------------------------------------------------------------------
* OpenGL Conformance Test Suite
* -----------------------------
*
* Copyright (c) 2018 The Khronos Group Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the L... |
; A073675: Rearrangement of natural numbers such that a(n) is the smallest proper divisor of n not included earlier but if no such divisor exists then a(n) is the smallest proper multiple of n not included earlier, subject always to the condition that a(n) is not equal to n.
; Submitted by Jon Maiga
; 2,1,6,8,10,3,14,4... |
; A134449: Sum of even products minus sum of odd products of different pairs of numbers from 1 to n.
; 0,2,5,29,39,129,150,374,410,860,915,1707,1785,3059,3164,5084,5220,7974,8145,11945,12155,17237,17490,24114,24414,32864,33215,43799,44205,57255,57720,73592,74120,93194,93789,116469,117135,143849,144590,175790,176610,212... |
/*
* CIOTrace.cpp
*
* Created on: Jun 1, 2019
* Author: avner
*/
#include <string>
#include <memory>
#include <string.h>
#include <sstream>
#include "CIOTrace.h"
#include "CGetProcessInfo.h"
#include "constants.h"
#include "CStraceOutputParser.h"
using namespace std;
CIOTrace::CIOTrace(bool reportOnline, ... |
; A004232: a(n) = n^2 + prime(n).
; 3,7,14,23,36,49,66,83,104,129,152,181,210,239,272,309,348,385,428,471,514,563,612,665,722,777,832,891,950,1013,1088,1155,1226,1295,1374,1447,1526,1607,1688,1773,1860,1945,2040,2129,2222,2315,2420,2527,2628,2729
mov $9,$0
mov $11,2
mov $13,$0
lpb $11
mov $0,$9
sub $11,1
add $0,... |
#ifndef RESOURCE_SCOPE_HPP
#define RESOURCE_SCOPE_HPP
#include <vector>
#include <memory>
namespace ag {
template <typename D> class ResourceScope {
public:
using Texture1DHandle = typename D::Texture1DHandle;
using Texture2DHandle = typename D::Texture2DHandle;
using Texture3DHandle = typename D::Texture3DHand... |
;===============================================================================
;- Program:
;-
;- Filename: .asm
;- Version: 1.0.0
;- Autor: Benj Fassbind
;-
;- Purpose: uP-Schulung
;-
;- Description:
;-
;-
;-
;- Entwicklungsab... |
/**********************************************************************
Sneedacity: A Digital Audio Editor
EffectUI.cpp
Leland Lucius
Sneedacity is copyright (c) 1999-2008 Audacity Team,
copyright (c) 2021 Sneedacity Team.
License: GPL v2. See License.txt.
*******************************... |
; A350362: 2-tone chromatic number of an n-cycle.
; Submitted by Christian Krause
; 6,6,5,5,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5
mov $1,$0
div $0,2
cmp $1,4
pow $1,$0
mov $0,$1
add $0,5
|
/*
Ryan Zubery
CSCI 480
Assignment 2
*/
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <cmath>
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>
#include <GLUT/glut.h>
#include "pic.h"
int g_vMousePos[2] = {0, 0};
int g_iLeftMouseButton = 0; /* 1 if pressed, 0 if not */
typedef enum { ROT... |
include ksamd64.inc
include CallConv.inc
extern InstrumentationCallback:proc
EXTERNDEF __imp_RtlCaptureContext:QWORD
.code
InstrumentationCallbackProxy proc
push rsp ; Back-up RSP, R10, and RAX to preserve them
push r10
push rax
mov rax, 1 ; Set RAX to 1 for comparison
cmp gs:[2ech], rax... |
//
// detail/impl/reactive_serial_port_service.ipp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2017 Christopher M. Kohlhoff (chris at kohlhoff dot com)
// Copyright (c) 2008 Rep Invariant Systems, Inc. (info@repinvariant.com)
//
// Distributed under the Boost Software License, Version 1.0. ... |
// Rank of a String
#include<iostream>
using namespace std;
int factorial(int num) {
int answer = 1;
while(num > 0) {
answer *= num;
num--;
}
return answer;
}
int findRank(string str) {
int count = 0;
int answer = 0;
int fact = factorial(str.size());
... |
; A034266: Partial sums of A027818.
; 0,1,15,99,435,1485,4257,10725,24453,51480,101530,189618,338130,579462,959310,1540710,2408934,3677355,5494401,8051725,11593725,16428555,22940775,31605795,43006275,57850650,76993956,101461140,132473044,171475260,220170060,280551612,354944700,446047173,556976355,691319655,853189623,10... |
; A023522: Sum of exponents in prime-power factorization of p(n)*p(n-1) - 1.
; 1,2,2,3,2,4,3,3,4,2,3,3,2,4,4,3,3,4,4,2,4,4,3,5,4,3,5,5,3,5,3,4,2,4,3,5,4,4,6,4,3,3,3,4,3,4,5,4,4,3,3,3,4,4,5,4,4,3,5,2,3,5,3,4,6,3,4,3,3,4,3,5,8,3,4,6,8,3,6,3,3,5,3,4,3,3,5,4,2,5,5,5,3,5,4,4,7,3,5,5
seq $0,124669 ; Product of successive pr... |
#ifndef FM_STATE_PILOT_DISCONNECTING_HPP
#define FM_STATE_PILOT_DISCONNECTING_HPP
#include "state/IState.hpp"
namespace fm
{
namespace state
{
namespace pilot
{
/**
* Created by: Bartosz Nawrot
* Date: 2018-11-25
* Description:
*/
class Disconnecting : public IState
{
public:
Disconnecting(IState&);
S... |
setrepeat 2
frame 0, 16
frame 1, 16
frame 2, 16
frame 1, 16
dorepeat 1
endanim
|
title ASK6
ASSUME CS:KODIKAS, DS:DEDOMENA, SS:SOROS
KODIKAS SEGMENT PUBLIC
MAIN PROC NEAR
MOV AX, DEDOMENA
MOV DS, AX
MOV DI,OFFSET PIN
PUSH DI
MOV SI,10
PUSH SI
MOV BP,OFFSET TOTAL
PUSH BP
CALL SUM_PIN
LEA DX,MESS
MOV AH,9
INT 21H
MOV DI,TOTAL
PUS... |
;
; Z88dk Generic Floating Point Math Library
;
; Shift c ix de b right by a
;
; $Id: rshift.asm,v 1.5 2016-06-21 21:16:49 dom Exp $:
SECTION code_fp
PUBLIC rshift
PUBLIC rsh8
.rshift LD B,0
.RSH2 SUB 8
JR C,RSH4 ;c => 7 or fewer shifts remain
LD B,E ... |
; A186432: Triangle associated with the set S of squares {0,1,4,9,16,...}.
; Submitted by Christian Krause
; 1,1,1,1,12,1,1,30,30,1,1,56,140,56,1,1,90,420,420,90,1,1,132,990,1848,990,132,1,1,182,2002,6006,6006,2002,182,1,1,240,3640,16016,25740,16016,3640,240,1,1,306,6120,37128,87516,87516,37128,6120,306,1,1,380,9690,77... |
%ifdef CONFIG
{
"RegData": {
"RAX": "0x00000000C5727F5A",
"RBX": "0x00000000FAC690D7",
"RCX": "0x000000002AAF1F77",
"RDX": "0x00000000ADBE9F64",
"RSI": "0x00000000ADBE9F64",
"RDI": "0x00000000ADBE9F64"
}
}
%endif
; This is a clone of the F2_F1 crc32 test with manually coded crc32 with prefi... |
; A036153: a(n) = 2^n mod 179.
; 1,2,4,8,16,32,64,128,77,154,129,79,158,137,95,11,22,44,88,176,173,167,155,131,83,166,153,127,75,150,121,63,126,73,146,113,47,94,9,18,36,72,144,109,39,78,156,133,87,174,169,159,139,99,19,38,76,152,125,71,142,105,31,62,124,69,138,97,15,30,60,120,61,122,65,130,81,162,145,111,43,86,172,165,... |
; A038155: a(n) = (n!/2) * Sum_{k=0..n-2} 1/k!.
; 0,0,1,6,30,160,975,6846,54796,493200,4932045,54252550,651030666,8463398736,118487582395,1777313736030,28437019776600,483429336202336,8701728051642201,165332832981201990,3306656659624039990,69439789852104840000,1527675376746306480231,35136533665165049045566,8432768079639... |
;
;
;
; 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 White Knight 5670.
;
; To start it, use the following commands from BCM,
; wh... |
; A277823: a(n) = A048724(A065621(n)).
; 3,6,9,12,23,18,29,24,43,46,33,36,63,58,53,48,83,86,89,92,71,66,77,72,123,126,113,116,111,106,101,96,163,166,169,172,183,178,189,184,139,142,129,132,159,154,149,144,243,246,249,252,231,226,237,232,219,222,209,212,207,202,197,192,323,326,329,332,343,338,349,344,363,366,353,356,383... |
/**
* @file
* @brief Item creation routines.
**/
#include "AppHdr.h"
#include "makeitem.h"
#include <algorithm>
#include "art-enum.h" // unrand -> magic staff silliness
#include "artefact.h"
#include "colour.h"
#include "describe.h"
#include "dungeon.h"
#include "item-name.h"
#include "item-prop.h"
#include "item... |
; A184514: Lower s-Wythoff sequence, where s(n)=4n-1. Complement of A184515.
; 1,2,3,5,6,7,8,10,11,12,13,15,16,17,18,19,21,22,23,24,26,27,28,29,31,32,33,34,36,37,38,39,40,42,43,44,45,47,48,49,50,52,53,54,55,57,58,59,60,61,63,64,65,66,68,69,70,71,73,74,75,76,78,79,80,81,83,84,85,86,87,89,90,91,92,94,95,96,97,99,100,101... |
; --------------------------------------
; Traffic Lights
; --------------------------------------
MOV AL, 80 ; 1000 0000
Loop:
OUT 01 ; Send data to traffic lights
ROR AL ; Rotate the bits in AL to the right
JMP Loop
; --------------------------------------
END
; --------------------------------------
For m... |
; https://adventofcode.com/2020/day/1 (part 2)
OPT listoff : DEVICE ZXSPECTRUMNEXT : MMU 0 7, 0, $0000
valuesHit: ; byte table keeping notes about values hit in input
block 2020+1, 0
inputFile: ; load the input.txt into virtual device memory for processing
INCBIN "input.txt"
DB 10 ; fake <EOL>... |
; A295130: a(n) = 3*n*(64*n^2 + 1).
; 195,1542,5193,12300,24015,41490,65877,98328,139995,192030,255585,331812,421863,526890,648045,786480,943347,1119798,1316985,1536060,1778175,2044482,2336133,2654280,3000075,3374670,3779217,4214868,4682775,5184090,5719965,6291552,6900003,7546470,8232105,8958060,9725487,10535538,113893... |
/*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2015 Artem Pavlenko
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as p... |
; A022109: Fibonacci sequence beginning 1, 19.
; 1,19,20,39,59,98,157,255,412,667,1079,1746,2825,4571,7396,11967,19363,31330,50693,82023,132716,214739,347455,562194,909649,1471843,2381492,3853335,6234827,10088162,16322989
mov $1,1
mov $3,18
lpb $0,1
sub $0,1
mov $2,$3
mov $3,$1
add $1,$2
lpe
|
; A047883: Squares on unbounded chessboard for which the least number of knight's moves from corner (0,0) is n.
; 0,2,9,20,27,32,39,46,53,60,67,74,81,88,95,102,109,116,123,130,137,144,151,158,165,172,179,186,193,200,207,214,221,228,235
mov $2,$0
mov $4,$0
mov $5,3
mov $6,4
lpb $2
lpb $6
add $1,2
mul $6,2
... |
// Copyright (c) 2014-2017, The X12 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 of
// ... |
; A070344: a(n) = 3^n mod 29.
; 1,3,9,27,23,11,4,12,7,21,5,15,16,19,28,26,20,2,6,18,25,17,22,8,24,14,13,10,1,3,9,27,23,11,4,12,7,21,5,15,16,19,28,26,20,2,6,18,25,17,22,8,24,14,13,10,1,3,9,27,23,11,4,12,7,21,5,15,16,19,28,26,20,2,6,18,25,17,22,8,24,14,13,10,1,3,9,27,23,11,4,12,7,21,5,15,16,19,28,26,20,2,6,18,25,17,22,8,... |
title "Processor Type and Stepping Detection"
;++
;
; Copyright (c) 2000 Microsoft Corporation
;
; Module Name:
;
; cpu.asm
;
; Abstract:
;
; This module implements the code necessary to determine cpu information.
;
; Author:
;
; David N. Cutler (davec) 10-Jun-2000
;
; Environment:
... |
/*
* Copyright (c) 2020, NVIDIA CORPORATION.
*
* 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 ... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>adjtimex(ntx) -> str
Invokes the syscall adjtimex.
See 'man 2 adjtimex' for more information.
Arguments:
ntx(timex*): ntx
Returns:
int
</%docstring>
<%page args="ntx=0"/>
<%
abi = pwnlib.abi... |
; A001826: Number of divisors of n of form 4k+1.
; 1,1,1,1,2,1,1,1,2,2,1,1,2,1,2,1,2,2,1,2,2,1,1,1,3,2,2,1,2,2,1,1,2,2,2,2,2,1,2,2,2,2,1,1,4,1,1,1,2,3,2,2,2,2,2,1,2,2,1,2,2,1,3,1,4,2,1,2,2,2,1,2,2,2,3,1,2,2,1,2,3,2,1,2,4,1,2,1,2,4,2,1,2,1,2,1,2,2,3,3
mov $4,2
mov $6,$0
lpb $4
mov $0,$6
mov $3,0
sub $4,1
add $0... |
//
// Created by nova on 8/29/20.
//
int main(int argc, char* args[])
{
Acme::API acmeAPI(configs);
std::tuple<std::string, std::string, std::string> certsAndPrivateKey;
try {
certsAndPrivateKey = acmeAPI.issueCertificate();
} catch (Acme::IssueCertificateFailed& e) { exit(1); }
auto[endEntityCertPEM, issuerCer... |
// AUTO GENERATED by vnxcppcodegen
#include <mmx/contract/Data.hxx>
#include <mmx/contract/Data_calc_cost.hxx>
#include <mmx/contract/Data_calc_cost_return.hxx>
#include <mmx/contract/Data_calc_hash.hxx>
#include <mmx/contract/Data_calc_hash_return.hxx>
#include <mmx/contract/Data_get_dependency.hxx>
#include <mmx/co... |
; A173196: Partial sums of A002620.
; 0,0,1,3,7,13,22,34,50,70,95,125,161,203,252,308,372,444,525,615,715,825,946,1078,1222,1378,1547,1729,1925,2135,2360,2600,2856,3128,3417,3723,4047,4389,4750,5130,5530,5950,6391,6853,7337,7843,8372,8924,9500,10100,10725,11375,12051,12753,13482,14238,15022,15834,16675,17545,18445,1937... |
; A083345: Numerator of r(n) = Sum(e/p: n=Product(p^e)).
; Submitted by Jamie Morken(s2)
; 0,1,1,1,1,5,1,3,2,7,1,4,1,9,8,2,1,7,1,6,10,13,1,11,2,15,1,8,1,31,1,5,14,19,12,5,1,21,16,17,1,41,1,12,13,25,1,7,2,9,20,14,1,3,16,23,22,31,1,23,1,33,17,3,18,61,1,18,26,59,1,13,1,39,11,20,18,71,1,11,4,43,1,31,22,45,32,35,1,41,20,24,... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x7808, %r13
nop
nop
nop
xor %rbx, %rbx
movw $0x6162, (%r13)
nop
nop
nop
cmp %r13, %r13
lea addresses_D_ht+0x1a238, %rsi
lea addresses_D_ht+0x1b278, %rdi
nop
add %r9, %r9
mov $49, %rcx
r... |
or r12, [rsp+0x1e08] |
; A011001: Binomial coefficient C(n,48).
; 1,49,1225,20825,270725,2869685,25827165,202927725,1420494075,8996462475,52179482355,279871768995,1399358844975,6566222272575,29078984349975,122131734269895,488526937079580,1867897112363100,6848956078664700,24151581961607100,82115378669464140,269807672771096460,8584789588171251... |
db DEX_WOOPER ; pokedex id
db 55 ; base hp
db 45 ; base attack
db 45 ; base defense
db 15 ; base speed
db 25 ; base special
db WATER ; species type 1
db GROUND ; species type 2
db 190 ; catch rate
db 210 ; base exp yield
INCBIN "pic/ymon/wooper.pic",0,1 ; 77, sprite dimensions
dw WooperPicFront
dw WooperPicBack
; attac... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.