text stringlengths 1 1.05M |
|---|
; A313738: Coordination sequence Gal.6.158.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.
; Submitted by Jamie Morken(s3)
; 1,5,10,15,20,25,31,36,41,46,51,56,61,66,71,76,81,87,92,97,102,107,112,117,122,127,132,137,143,148,153,158,16... |
; -----------------------------------------
; Boot sector
; TingOS Hobbyist Kernel
; SWITCH MODULE FOR PM
;
; chia_jason96@live.com
; -----------------------------------------
[bits 16]
SWITCH_PM: ; Switch to protected mode
cli ; We must switch of interrupts until we have
; set -up the ... |
; A052931: Expansion of 1/(1 - 3*x^2 - x^3).
; Submitted by Jon Maiga
; 1,0,3,1,9,6,28,27,90,109,297,417,1000,1548,3417,5644,11799,20349,41041,72846,143472,259579,503262,922209,1769365,3269889,6230304,11579032,21960801,40967400,77461435,144863001,273351705,512050438,964918116,1809503019,3406804786,6393427173,1202991737... |
adc (ix) ; Error
adc (ix+127) ; Error
adc (ix-128) ; Error
adc (iy) ; Error
adc (iy+127) ; Error
adc (iy-128) ; Error
adc a', (hl) ; Error
adc a', (ix) ; Error
... |
.include "myTiny13.h"
; switch between 250 nA / 8 mA
.equ LED,0
.equ TASTER,1
;irq Vector
.org 0x0000
rjmp Main
rjmp EXT_INT0 ; IRQ0 Handler
; IRQ routine -----------------
.org 0x0010
EXT_INT0:
; toggleLED
sbis PORTB,LED ; if LED = 1 then
rjmp setLED
cbi PORTB,LED ; LED := 0; return;
reti
setLED: ;... |
// (C) Copyright Edward Diener 2011-2015
// 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).
#include <libs/vmd/test/test_is_tuple.cxx>
|
; A122895: Characteristic function of natural numbers with number of divisors equal to a Fibonacci number.
; 1,1,1,1,1,0,1,0,1,0,1,0,1,0,0,1,1,0,1,0,0,0,1,1,1,0,0,0,1,1,1,0,0,0,0,0,1,0,0,1,1,1,1,0,0,0,1,0,1,0,0,0,1,1,0,1,0,0,1,0,1,0,0,0,0,1,1,0,0,1,1,0,1,0,0,0,0,1,1,0,1,0,1,0,0,0,0,1,1,0,0,0,0,0,0,0,1,0,0,0
seq $0,5 ;... |
; int wv_stack_shrink_to_fit(wv_stack_t *s)
SECTION code_clib
SECTION code_adt_wv_stack
PUBLIC wv_stack_shrink_to_fit
EXTERN asm_wv_stack_shrink_to_fit
defc wv_stack_shrink_to_fit = asm_wv_stack_shrink_to_fit
|
; A294885: a(n) = A004125(n) mod n = [Sum_{i=1..n} (n mod i)] mod n.
; 0,0,1,1,4,3,1,0,3,3,0,5,2,3,6,4,0,11,7,1,7,11,6,13,3,8,17,12,6,18,12,7,19,27,8,18,11,20,35,18,10,32,24,20,24,36,27,38,22,20,41,38,28,6,34,16,40,56,45,46,35,52,0,53,23,65,53,51,12,65,52,60,47,68,6,4,48,22,7,46,73,15,82,11,58,83,35,15,87,17,71,71,20,4... |
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r14
push %r9
push %rax
push %rbx
push %rcx
push %rdi
// Load
lea addresses_WT+0xf18d, %rax
nop
nop
nop
add $17814, %r9
movb (%rax), %r14b
and $58249, %rdi
// Load
lea addresses_A+0x16fd5, %rdi
nop
nop
nop
nop
no... |
/**
* \file imperative/src/impl/op_trait.cpp
* MegEngine is Licensed under the Apache License, Version 2.0 (the "License")
*
* Copyright (c) 2014-2021 Megvii Inc. All rights reserved.
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1d475, %rsi
lea addresses_WT_ht+0x14f15, %rdi
cmp $64895, %rbp
mov $12, %rcx
rep movsb
nop
inc %r8
lea addresses_D_ht+0x1855, %rdi
nop
nop
nop
dec %r15
mov $0x6162636465666768, %r8... |
kernel/kernel: 文件格式 elf64-littleriscv
Disassembly of section .text:
0000000080000000 <_entry>:
80000000: 00009117 auipc sp,0x9
80000004: 86013103 ld sp,-1952(sp) # 80008860 <_GLOBAL_OFFSET_TABLE_+0x8>
80000008: 6505 lui a0,0x1
8000000a: f14025f3 csrr... |
SECTION "Test", ROM0
assert STRIN("foo bar baz", "bar") == STRRIN("foo bar baz", "bar")
assert STRIN("foo bar bargain", "bar") == 5
assert STRRIN("foo bar bargain", "bar") == 9
assert STRIN("foo bar", "qux") == 0
assert STRRIN("foo bar", "qux") == 0
assert STRIN("foo", "foobar") == 0
assert STRRIN("foo", "fo... |
#pragma once
#include "./AbstractSequentialList.hpp"
class JObjectArray;
namespace java::io
{
class ObjectInputStream;
}
namespace java::io
{
class ObjectOutputStream;
}
class JObject;
class JString;
namespace java::util
{
class LinkedList : public java::util::AbstractSequentialList
{
public:
// Fields
/... |
; This corresponds to Cry_Unused_Ch5, Cry_Unused_Ch6, and Cry_Unused_Ch8 in pokegold and pokecrystal.
SFX_UnusedCry_3_Ch5: ; unreferenced
duty_cycle_pattern 3, 3, 0, 0
square_note 15, 14, 0, 1920
square_note 15, 15, 0, 1924
square_note 15, 12, 3, 1504
square_note 15, 12, 4, 1536
square_note 10, 6, -4, 1920
squar... |
title fpreset - floating point package reset routine
;---------------------------------------------------------------------------
;
; Copyright (C) Microsoft Corp. 1985
;
;---------------------------------------------------------------------------
include version.inc
.xlist
include cmacros.inc
;[1] include os2supp.... |
/***************************************************************************
* Copyright ESIEE Paris (2018) *
* *
* Contributor(s) : Benjamin Perret *
* ... |
; A194767: Denominator of the fourth increasing diagonal of the autosequence of second kind from (-1)^n / (n+1).
; 2,2,12,20,10,42,56,24,90,110,44,156,182,70,240,272,102,342,380,140,462,506,184,600,650,234,756,812,290,930,992,352,1122,1190
add $0,1
mov $2,$0
add $2,1
mul $0,$2
mov $1,$0
gcd $2,3
div $1,$2
lpb $0,1
m... |
#include "checkforupdatesdialog.h"
#include "common.h"
#ifdef Q_OS_WIN
#include "autoupdatedialog.h"
#endif
#include <QVBoxLayout>
#include <QStackedLayout>
#include <QLabel>
#include <QPushButton>
#include <QProgressBar>
CheckForUpdatesDialog::CheckForUpdatesDialog(const LatestReleaseChecker::Release *release, QWi... |
;------------------------------------------------------------------------------ ;
; Copyright (c) 2016 - 2018, 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 distri... |
start_def ASM, prompt, "prompt"
call .b
.a: db 27, "[32;1m ok ", 27, "[0m"
.b: pop rax
pushthing rax
pushthing .b - .a
call code_type
end_def prompt
start_def ASM, err, "err"
call .b
.a: db 27, "[31;1m ? ", 27, "[0m"
.b: pop rax
pushthing rax
pushthing .b - .a
call code_type
end_def err
start_def ASM, unde... |
/*
Qt4xHb - Bindings libraries for Harbour/xHarbour and Qt Framework 4
Copyright (C) 2021 Marcos Antonio Gambeta <marcosgambeta AT outlook DOT com>
*/
/*
DO NOT EDIT THIS FILE - the content was created using a source code generator
*/
|
; A012265: x - x^3/3! + x^5/5! - ... + (-1)^n*x^(2n+1)/(2n+1)! has 2a(n)+1 real roots.
; 0,1,0,1,2,1,2,3,2,3,2,3,4,3,4,3,4,5,4,5,6,5,6,5,6,7,6,7,8,7,8,7,8,9,8,9,8,9,10,9,10,11,10,11,10,11,12,11,12,11,12,13,12,13,14,13,14,13,14,15,14,15,16
add $0,5
cal $0,339765 ; a(n) = 2*floor(n*phi) - 3*n, where phi = (1+sqrt(5))/2.... |
; A017139: a(n) = (8*n + 6)^3.
; 216,2744,10648,27000,54872,97336,157464,238328,343000,474552,636056,830584,1061208,1331000,1643032,2000376,2406104,2863288,3375000,3944312,4574296,5268024,6028568,6859000,7762392,8741816,9800344,10941048,12167000,13481272,14886936,16387064,17984728,19683000,21484952,23393656,25412184,27... |
; A147536: A counting vertex substitution vector matrix Markov 2x2 with characteristic polynomial:12 - 7 x + x=^2
; 5,16,52,172,580,1996,7012,25132,91780,340876,1284772,4902892,18902980,73486156,287567332,1131137452,4467154180,17696429836,70269158692,279526952812,1113458765380
mov $1,4
mov $2,4
pow $2,$0
lpb $0
sub ... |
; TITLE BBC BASIC (C) R.T.RUSSELL 1984
;
;PATCH FOR BBC BASIC TO CP/M 2.2 & 3.0
;* PLAIN VANILLA CP/M VERSION *
;(C) COPYRIGHT R.T.RUSSELL, 25-12-1986
;
;** NEW TO THIS VERSION
;
restart equ $0000 ; CP/M restart vector
;bdos equ $0005 ; BDOS invocation vector
include "constants.inc"
PUBLIC OSINIT
PUBLIC ... |
.global s_prepare_buffers
s_prepare_buffers:
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x17cc5, %rsi
lea addresses_UC_ht+0x16dbf, %rdi
nop
nop
nop
nop
nop
xor %rbp, %rbp
mov $106, %rcx
rep movsw
nop
nop
and %rbx, %rbx
lea addresses_WC_ht+0x5491, %rax
nop
nop
nop
nop
x... |
.byte $01 ; Unknown purpose
.byte OBJ_PARATROOPAGREENHOP, $0C, $19
.byte OBJ_PARATROOPAGREENHOP, $12, $19
.byte OBJ_REDTROOPA, $19, $06
.byte OBJ_REDTROOPA, $1C, $03
.byte OBJ_BOBOMB, $25, $19
.byte OBJ_BOBOMB, $27, $19
.byte OBJ_BOBOMB, $29, $19
.byte OBJ_GREENTROOPA, $38, $19
.byte OBJ_GREENTROOPA, $3A, $1... |
_forktest: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
printf(1, "fork test OK\n");
}
int
main(void)
{
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... |
#ifndef __DSTRING_HPP__
#define __DSTRING_HPP__
#include "base.hpp"
#include <vector>
#include <string>
#include <gd.h>
#define FONT_PATH (char*)"/usr/share/fonts/truetype/IPAFont/ipagp.ttf"
typedef enum {
HLEFT, HCENTER, HRIGHT,
VTOP, VCENTER, VBOTTOM
} STR_ALIGN;
typedef struct {
std::string text;
int width_... |
// PHZ
// 2018-6-10
#include "RtspConnection.h"
#include "RtspServer.h"
#include "MediaSession.h"
#include "MediaSource.h"
#include "net/SocketUtil.h"
#define USER_AGENT "-_-"
#define RTSP_DEBUG 0
#define MAX_RTSP_MESSAGE_SIZE 2048
using namespace xop;
using namespace std;
RtspConnection::RtspConne... |
; A127779: Triangle read by rows: A004736 * A127773.
; Submitted by Jon Maiga
; 1,2,3,3,6,6,4,9,12,10,5,12,18,20,15,6,15,24,30,30,21,7,18,30,40,45,42,28,8,21,36,50,60,63,56,36,9,24,42,60,75,84,84,72,45
lpb $0
add $1,1
sub $0,$1
lpe
sub $1,$0
add $0,2
bin $0,2
add $1,1
mul $1,$0
mov $0,$1
|
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1991
; * All Rights Reserved.
; */
;
;OVERVIEW
;
; This module actually contains the initial entry point for the
;program. It detemines if the program has been loaded in a UMB, and
;i... |
; A315704: Coordination sequence Gal.4.137.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,6,12,17,23,29,34,40,46,52,58,63,69,75,80,86,92,98,104,109,115,121,126,132,138,144,150,155,161,167,172,178,184,190,196,201,207,213,218,224,... |
; A039734: a(n)=the prime q<prime(n) for which (prime(n) mod q) is maximal.
; 2,3,5,7,7,11,11,13,17,17,19,23,23,29,29,31,31,37,37,37,41,43,47,53,53,53,59,59,59,67,67,71,71,79,79,79,83,89,89,97,97,97,97,101,101,107,113,127,127,127,127,127,127,131,137,137,137,139,149,149,149,157,157,157,163,167,173,179,179,179,181,191,19... |
#!/usr/local/bin/zasm -o original/
; –––––––––––––––––––––––––––––––––––––––––––––––––
; zasm test file
; –––––––––––––––––––––––––––––––––––––––––––––––––
;
; 2014-10-29 kio
; 2014-12-25 kio
; 2014-12-26 kio
; 2014-12-27 kio
; 2014-12-31 kio: jp(hl) for 8080 allowed, removed 8080regs
; tests selector... |
; A024000: a(n) = 1 - n.
; 1,0,-1,-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12,-13,-14,-15,-16,-17,-18,-19,-20,-21,-22,-23,-24,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-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,-7... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r13
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x1290, %rbx
nop
nop
inc %r10
movb $0x61, (%rbx)
nop
nop
nop
nop
and %r10, %r10
lea addresses_normal_ht+0x1895, %r12
nop
dec %rsi
vmovups (%r12), %ymm6
vextracti128 $... |
Music_MobileAdapterMenu:
musicheader 3, 1, Music_MobileAdapterMenu_Ch1
musicheader 1, 2, Music_MobileAdapterMenu_Ch2
musicheader 1, 3, Music_MobileAdapterMenu_Ch3
Music_MobileAdapterMenu_Ch1:
tempo 168
volume $77
tone $0001
stereopanning $f
dutycycle $2
notetype $c, $66
note __, 2
Music_MobileAdapterMenu_bra... |
; @Author: Piyush Mehta
; @Date: 2018-06-13 20:08:54
; @Last Modified by: Rohit Nagraj
; @Last Modified time: 2019-02-21 08:45:01
assume cs:code,ds:data
data segment
x db 5,1,2,3,4
n dw n-x
data ends
code segment
start:
mov ax,data
mov ds,ax
mov cx,n
dec cx
next_pass:
... |
xor a
ld hl, basescradr + #082f
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
ld hl, basescradr + #08ad
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
ld hl, basescradr + #08d6
ld (hl), a
... |
; A163655: a(n) = n*(2*n^2 + 5*n + 13)/2.
; 0,10,31,69,130,220,345,511,724,990,1315,1705,2166,2704,3325,4035,4840,5746,6759,7885,9130,10500,12001,13639,15420,17350,19435,21681,24094,26680,29445,32395,35536,38874,42415,46165,50130,54316,58729,63375,68260,73390,78771,84409,90310,96480,102925,109651,116664,123970,131575,1... |
;
; Copyright (c) 2010 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... |
;
; Copyright (c) 2013 Sirius Corporation
; Nelson Sapalo da Siva Cole
; Lubango, 29 de Julho de 2019 - Hora: 02h32
; File Name: crt032.asm
;
; Inicializar um UEFI_Loader IA32 (i386)
; Handoff State:
; ESP + 8 – EFI_SYSTEM_TABLE*
; ESP + 4 – EFI_HANDLE
; ESP - <return address>
bits 32
section .text
global _start
... |
; Executable name : xor-decoder2
; Designed OS : Linux (32-bit)
; Author : wetw0rk
; Version : 1.0
; Created Following : SLAE
; Description : An example of xor encoded shellcode
; without static counter. 36 bytes vs 39
;
SECTION .text
global _start
_start:
jmp short... |
; A020332: Numbers whose base-4 representation is the juxtaposition of two identical strings.
; 5,10,15,68,85,102,119,136,153,170,187,204,221,238,255,1040,1105,1170,1235,1300,1365,1430,1495,1560,1625,1690,1755,1820,1885,1950,2015,2080,2145,2210,2275,2340,2405,2470,2535,2600,2665,2730,2795,2860,2925,2990
mov $11,$0
mov... |
; QL Arithmetic Square Root V2.01 1990 Tony Tebby QJUMP
section qa
xdef qa_sqrt
include 'dev8_keys_err'
;+++
; QL Arithmetic: Square Root
;
; This routine takes the square root of TOS. Algorithm TT
;
; d0 r error return 0 or ERR.IEXP
; a1 c p pointer to arithmet... |
#pragma once
#include <eosio/chain/types.hpp>
#include <eosio/chain/config.hpp>
#include "multi_index_includes.hpp"
namespace eosio { namespace chain {
/**
* This class accumulates an average value taking periodic inputs.
*
* The average value returns to 0 after WindowMS without any updates and
... |
_usertests: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
return randstate;
}
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 ... |
; A028121: Expansion of 1/((1-4x)(1-5x)(1-8x)(1-10x)).
; Submitted by Christian Krause
; 1,27,467,6615,83811,990927,11193547,122534775,1311833171,13818932127,143838758427,1483810444935,15202640928931,154948536206127,1572891821232107,15916318178611095,160663127276015091,1618634582657172927,16282391104356326587,163592367... |
; A017160: a(n) = (8*n + 7)^12.
; 13841287201,129746337890625,21914624432020321,787662783788549761,12381557655576425121,116191483108948578241,766217865410400390625,3909188328478827879681,16409682740640811134241,59091511031674153381441,188031682201497672618081,540360087662636962890625,1425760886846178945447841,349845059... |
dnl SPARC v9 mpn_lshift
dnl Copyright 1996, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU Lesser General Public License as published
dnl by the F... |
; A085270: Integer part of the conversion from miles to kilometers.
; 0,1,3,4,6,8,9,11,12,14,16,17,19,20,22,24,25,27,28,30,32,33,35,37,38,40,41,43,45,46,48,49,51,53,54,56,57,59,61,62,64,65,67,69,70,72,74,75,77,78,80,82,83,85,86,88,90,91,93,94,96,98,99,101,102,104,106,107,109,111
mov $1,399
mul $1,$0
div $1,248
|
// Copyright 2015 Google Inc. All rights reserved.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "packager/media/formats/webm/webm_muxer.h"
#include "packager/media/base/fourccs.h"
#inc... |
; A048492: a(n) = ( 8*(2^n) - n^2 - 3*n - 6 )/2.
; 1,3,8,20,47,105,226,474,977,1991,4028,8112,16291,32661,65414,130934,261989,524115,1048384,2096940,4194071,8388353,16776938,33554130,67108537,134217375,268435076,536870504,1073741387,2147483181,4294966798,8589934062,17179868621,34359737771,68719476104,137438952804,27487... |
; void p_forward_list_alt_clear(p_forward_list_alt_t *list)
SECTION code_adt_p_forward_list_alt
PUBLIC _p_forward_list_alt_clear
EXTERN _p_forward_list_alt_init
defc _p_forward_list_alt_clear = _p_forward_list_alt_init
|
; find minimum and maximum of 16 unsigned bytes, and write them to memmory.
;------------
; stack segment :
STSEG SEGMENT
DB 64 DUP (?)
STSEG ENDS
;------------
; data segment :
DTSEG SEGMENT
; place program data here
array DB 73H, 82H, 10H, 7FH, 0D0H, 20H, 0B3H, 01DH, 94H, 0A2H, 71H, 50H, 11H, 0B0H, 17H, 99H
O... |
;
; feilipu, 2020 June
;
; This Source Code Form is subject to the terms of the Mozilla Public
; License, v. 2.0. If a copy of the MPL was not distributed with this
; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;
;-------------------------------------------------------------------------
; Coefficients ... |
;*****************************************************************************
;* x86inc.asm: x264asm abstraction layer
;*****************************************************************************
;* Copyright (C) 2005-2016 x264 project
;*
;* Authors: Loren Merritt <lorenm@u.washington.edu>
;* Anton Mitrofan... |
SECTION data_clib
PUBLIC __pc88_mode
PUBLIC __pc88_ink
PUBLIC __pc88_paper
__pc88_mode: defb 0
__pc88_ink: defb 7
__pc88_paper: defb 0
|
/* Copyright 2016 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... |
// 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 "gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h"
#include <algorithm>
#include "base/basictypes.h"
#include "gpu/command_buff... |
; A171900: Backwards van Eck transform of A010060.
; 0,0,1,3,2,2,1,3,1,3,1,3,2,2,1,3,2,2,1,3,2,2,1,3,1,3,1,3,2,2,1,3,1,3,1,3,2,2,1,3,1,3,1,3,2,2,1,3,2,2,1,3,2,2,1,3,1,3,1,3,2,2,1,3,2,2,1,3,2,2,1,3,1,3,1,3,2,2,1,3,2,2,1,3,2,2,1,3,1,3,1,3,2,2,1,3,1,3,1,3,2,2,1,3,1
mov $3,2
mov $9,$0
lpb $3
mov $0,$9
sub $3,1
add $... |
.8086
.model small
.data
s1 db 10h, 12h, 08h, 02h, 04h, 0Ah, 0Dh, 06h, 14h, 15h
.code
start:
mov ax, @data
mov ds, ax
mov cl, 0Ah
mov ch, 0Ah
lea si, s1
back1: mov al, [si]
mov ah, [si+1]
cmp al, [si+1]
jnc back2
jc back3
back2: mov [si], ah
mov [si+1], al
back3: dec cl
... |
; A169964: Numbers whose decimal expansion contains only 0's and 5's.
; 0,5,50,55,500,505,550,555,5000,5005,5050,5055,5500,5505,5550,5555,50000,50005,50050,50055,50500,50505,50550,50555,55000,55005,55050,55055,55500,55505,55550,55555,500000,500005,500050,500055,500500,500505,500550,500555,505000,505005,505050,505055,50... |
db DEX_RAPIDASH ; pokedex id
db 65 ; base hp
db 100 ; base attack
db 70 ; base defense
db 105 ; base speed
db 80 ; base special
db FAIRY ; species type 1
db PSYCHIC ; species type 2
db FULL_HEAL ; catch rate
db 192 ; base exp yield
INCBIN "pic/ymon/rapidash.pic",0,1 ; 77, sprite dimensions
dw RapidashPicFront
dw Rapida... |
;------------------------------------------------------------------------------
; @file
; Provide the functions to check whether SEV and SEV-ES is enabled.
;
; Copyright (c) 2017 - 2021, Advanced Micro Devices, Inc. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
;----------------------... |
. model small
display macro msg
lea dx,msg
mov ah,09h
int 21h
endm
.data
list db 01h, 05h, 07h, 10h, 12h, 14h
number equ ($-list)
key db 10h
msg1 0dh,0ah, "Element found in the list....$"
msg2 0dh,0ah, "Search failed! Element not found in the list $"
.code
start: mov ax,@data
mov ds,ax
mov ch, n... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
; Module Name:
;
; WriteMm3.Asm
;
; Abstract:
;
; AsmWriteMm3 function
;
; Notes:
;
;-------------------... |
object_const_def ; object_event constants
const OAKSLAB_OAK
const OAKSLAB_SCIENTIST1
const OAKSLAB_SCIENTIST2
const OAKSLAB_SCIENTIST3
const OAKSLAB_POKEBALL
const OAKSLAB_POKEDEX1
const OAKSLAB_POKEDEX2
const OAKSLAB_RED
OaksLab_MapScripts:
db 4 ; scene scripts
scene_script .MeetOak ; SCENE_OAKSLAB_INTRO... |
#include "pac_exception.h"
#include "pac_id.h"
#include "pac_output.h"
#include "pac_utils.h"
#include "pac_dataptr.h"
DataPtr::DataPtr(Env* env, const ID* id, const int offset)
: id_(id), offset_(offset)
{
if ( id_ )
{
if ( ! env->Evaluated(id_) )
throw ExceptionIDNotEvaluated(id_);
if ( offset_ == 0 )
... |
; A108035: Triangle read by rows: n-th row is n-th nonzero Fibonacci number repeated n times.
; 1,2,2,3,3,3,5,5,5,5,8,8,8,8,8,13,13,13,13,13,13,21,21,21,21,21,21,21,34,34,34,34,34,34,34,34,55,55,55,55,55,55,55,55,55,89,89,89,89,89,89,89,89,89,89,144,144,144,144,144,144,144,144,144,144,144,233,233,233,233,233,233,233,23... |
//===-- lldb-vscode.cpp -----------------------------------------*- C++ -*-===//
//
// 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
//
//===---------------------------... |
; A159508: Numerator of Hermite(n, 3/14).
; Submitted by Simon Strandgaard
; 1,3,-89,-855,23601,405963,-10346601,-269746047,6288530145,230346491283,-4855444114041,-240305893799463,4513251073537809,296139484328781915,-4861463414700822921,-420887762743191256143,5883687931380635925441,677603075775465797408547,-77694148663... |
; slbb0_checkindex
; 08.2009 aralbrec
PUBLIC slbb0_checkindex
; check if an index value points to data within the buffer
;
; enter : hl = & struct slbb
; a = index
; exit : carry set = in bounds index
; carry reset = out of bounds index
; z set = one past end of data in buffer
; 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... |
;
; z88dk RS232 Function
;
; OSCA version
;
; unsigned char rs232_params(unsigned char param, unsigned char parity)
;
; Specify the serial interface parameters
;
; $Id: rs232_params.asm,v 1.2 2015/01/22 12:09:57 stefano Exp $
PUBLIC rs232_params
INCLUDE "osca.def"
... |
; A265078: Partial sums of A072154.
; 1,4,9,16,25,37,52,69,88,109,133,160,189,220,253,289,328,369,412,457,505,556,609,664,721,781,844,909,976,1045,1117,1192,1269,1348,1429,1513,1600,1689,1780,1873,1969,2068,2169,2272,2377,2485,2596,2709,2824,2941,3061,3184,3309,3436,3565,3697,3832,3969,4108,4249,4393,4540,4689,4840,499... |
; Super Mario Bros. 3 Full Disassembly by Southbird 2012
; For more info, see http://www.sonicepoch.com/sm3mix/
;
; PLEASE INCLUDE A CREDIT TO THE SOUTHBIRD DISASSEMBLY
; AND THE ABOVE LINK SOMEWHERE IN YOUR WORKS :)
;
; Original disassembler source generated by DCC6502 version v1.4
; (With labels, comments, and some s... |
;
; ANSI Video handling for the Epson PX4
; By Stefano Bodrato - Nov 2014
;
; BEL - chr(7) Beep it out
;
;
; $Id: f_ansi_bel.asm,v 1.2 2016-06-12 16:06:43 dom Exp $
;
SECTION code_clib
PUBLIC ansi_BEL
.ansi_BEL
ld c,7 ; BEL
jp $eb0c ; CONOUT
|
; A052648: Expansion of e.g.f. 5*x/(1-x).
; 0,5,10,30,120,600,3600,25200,201600,1814400,18144000,199584000,2395008000,31135104000,435891456000,6538371840000,104613949440000,1778437140480000,32011868528640000,608225502044160000
lpb $0
add $1,1
lpb $0
mul $1,$0
sub $0,1
lpe
lpe
mul $1,5
mov $0,$1
|
; A111284: Number of permutations of [n] avoiding the patterns {2143, 2341, 2413, 2431, 3142, 3241, 3412, 3421, 4123, 4213, 4231, 4321, 4132, 4312}; number of strong sorting classes based on 2143.
; 1,2,6,10,14,18,22,26,30,34,38,42,46,50,54,58,62,66,70,74,78,82,86,90,94,98,102,106,110,114,118,122,126,130,134,138,142,14... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x151fb, %rsi
lea addresses_WT_ht+0x1dc7b, %rdi
nop
nop
nop
nop
nop
and $28067, %rax
mov $121, %rcx
rep movsq
nop
nop
and %r13, %r13
lea addresses_A_ht+0x13baf, %r12
cmp %r11, ... |
#include "Arduino.h"
#include "binary_sensor.h"
BinarySensor::BinarySensor(){}
BinarySensor::BinarySensor(String sensorName, int pin, void *pin_mode, String deviceClass, String mqttDiscoveryPrefix, String mqtt_node, PubSubClient *mqttClient)
{
_sensorName = sensorName;
_mqttSensorName = sensorName;
_mqtt... |
; fib.asm calculates the first 9 fibbonachi nunbers
.386
.model flat,stdcall
.stack 4096
ExitProcess proto,dwExitCode:dword
.data
fib BYTE ?
.code
main proc
mov esi, OFFSET fib
mov ecx, 9
mov ax, 0
mov bx, 1
add [esi], ax
add [esi]+1, bx
add esi,2
L1: add [esi], bx
add [esi], ax
mov ax, b... |
; A170230: Number of reduced words of length n in Coxeter group on 29 generators S_i with relations (S_i)^2 = (S_i S_j)^40 = I.
; 1,29,812,22736,636608,17825024,499100672,13974818816,391294926848,10956257951744,306775222648832,8589706234167296,240511774556684288,6734329687587160064,188561231252440481792,527971447506833... |
ifdef _X86AMD64_
include ..\amd64\amd64s.asm
endif
END
|
; A024493: a(n) = C(n,0) + C(n,3) + ... + C(n,3[n/3]).
; 1,1,1,2,5,11,22,43,85,170,341,683,1366,2731,5461,10922,21845,43691,87382,174763,349525,699050,1398101,2796203,5592406,11184811,22369621,44739242,89478485,178956971,357913942,715827883,1431655765,2863311530,5726623061,11453246123,22906492246,45812984491,9162596898... |
;/*!
; @file
;
; @ingroup fapi
;
; @brief DosUnlockSeg DOS wrapper
;
; (c) osFree Project 2022, <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 Prokushe... |
song050restored_pri equ 0
song050restored_rev equ 0
song050restored_mvl equ 127
song050restored_key equ 0
song050restored_tbs equ 1
song050restored_exg equ 0
song050restored_cmp equ 1
.align 4
;**************** Track 1 (Midi-Chn.1) ****************;
@song050restored_1:
.byte TEMPO , 60
.byte KEYSH , song... |
// Ceres Solver - A fast non-linear least squares minimizer
// Copyright 2015 Google Inc. All rights reserved.
// http://ceres-solver.org/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of so... |
;******************************************************************************
;* MMX/SSE2-optimized functions for the VP3 decoder
;* Copyright (c) 2007 Aurelien Jacobs <aurel@gnuage.org>
;*
;* This file is part of FFmpeg.
;*
;* FFmpeg is free software; you can redistribute it and/or
;* modify it under the terms of th... |
; A225126: Central terms of the triangle in A048152.
; 0,1,4,2,7,3,10,4,13,5,16,6,19,7,22,8,25,9,28,10,31,11,34,12,37,13,40,14,43,15,46,16,49,17,52,18,55,19,58,20,61,21,64,22,67,23,70,24,73,25,76,26,79,27,82,28,85,29,88,30,91,31,94,32,97,33,100,34,103,35,106,36,109,37,112,38,115,39,118,40,121,41,124,42,127,43,130,44,13... |
#include <matplot/matplot.h>
int main() {
using namespace matplot;
std::vector<std::vector<double>> data = {
{45, 60, 32}, {43, 54, 76}, {32, 94, 68}, {23, 95, 58}};
heatmap(data);
title("T-Shirt Orders");
auto ax = gca();
ax->x_axis().ticklabels({"Small", "Medium", "Large"});
ax->... |
; A263687: b(n) in (sqrt(2))_n = b(n) + c(n)*sqrt(2), where (x)_n is the Pochhammer symbol, b(n) and c(n) are integers.
; Submitted by Jon Maiga
; 1,0,2,6,26,140,896,6636,55804,525168,5468008,62403880,774616696,10390122288,149757486368,2308301709840,37887797229968,659770432834688,12148923787132832,235858218326093664,48... |
#include "export_helpers.h"
#include <util/string/builder.h>
#include <util/string/cast.h>
static TString FloatToStringWithSuffix(float value, bool addFloatingSuffix) {
TString str = FloatToString(value, PREC_NDIGITS, 9);
if (addFloatingSuffix) {
if (int value; TryFromString<int>(str, value)) {
... |
; A158656: a(n) = 54*n^2 - 1.
; Submitted by Christian Krause
; 53,215,485,863,1349,1943,2645,3455,4373,5399,6533,7775,9125,10583,12149,13823,15605,17495,19493,21599,23813,26135,28565,31103,33749,36503,39365,42335,45413,48599,51893,55295,58805,62423,66149,69983,73925,77975,82133,86399,90773,95255,99845,104543,109349,11... |
; A168094: a(n) = number of natural numbers m such that n - 4 <= m <= n + 4.
; 4,5,6,7,8,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9
mov $1,$0
trn $0,5
sub $1,$0
add $1,4
|
// MIT License
// Copyright (c) 2021 eraft dev group
// 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,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.