text stringlengths 1 1.05M |
|---|
; A122639: n_{2n+1}.
; 0,1,2,3,4,5,6,7,8,9,21,24,27,30,33,36,39,42,45,48,82,87,92,97,102,107,112,117,122,127,183,190,197,204,211,218,225,232,239,246,324,333,342,351,360,369,378,387,396,405,505,516,527,538,549,560,571,582,593,604,726,739
mov $3,$0
lpb $0
mov $1,$0
mov $0,1
mov $2,$1
sub $1,3
lpe
mul $1,2
sub $1... |
; BUFFER handling routines
; 2006.10.01 1.01 buffer test added (at buff_test) (BC)
;
; ax buffer length / buffer free
; al byte in / out
; bx base of buffer
;
buf_stt = 0 ; start of buffer
buf_end = 2 ; end of buffer
buf_put = 4 ; put pointer
buf_get = 6 ; get pointer
buf_start = 8 ; start... |
; int ungetc(int c, FILE *stream)
INCLUDE "config_private.inc"
SECTION code_clib
SECTION code_stdio
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF __CLIB_OPT_MULTITHREAD & $02
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PUBLIC _ungetc
EXTERN l0_ungetc_callee
_ungetc:
pop af
pop hl
pop bc
push bc
push hl
push af
... |
; A135528: 1, then repeat 1,0.
; Submitted by Christian Krause
; 1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1
trn $0,1
add $0,1
mod $0,2
|
; Test program used during MEGA65 keyboard development
;
; Prints the keyboard status register and the data register and additionally
; echos normal keys. "SPECIAL" in the text area, when a special key is pressed.
;
; Press CTRL+E to exit back to the monitor
;
; done by sy2002 in April 2020
.ORG 0x8000... |
#include "stl_implement_text_class.h"
void Text::AddStringEnd(const std::string & add_string_end) {
text_.push_back(add_string_end);
return;
}
void Text::InsertString(const std::string & insert_string) {
text_[GetRowNum_()].insert(GetColumeNum_(), insert_string);
return;
}
void Text::DeleteForward() ... |
; A028162: Expansion of 1/((1-4x)(1-9x)(1-10x)(1-12x)).
; Submitted by Christian Krause
; 1,35,783,14287,231959,3494127,49989031,689059679,9238060887,121247325199,1565149220999,19940086389951,251372353802935,3141956721674351,38999543432154087,481325752085244703,5912556766920852503,72347177535344895183,88240126403564441... |
// Copyright 2019 The Fuchsia 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 "as370-gpio.h"
#include <fbl/algorithm.h>
#include <lib/mock-function/mock-function.h>
#include <mock-mmio-reg/mock-mmio-reg.h>
#include <zxtest/... |
TITLE BdMgr.asm - Buffer Descriptor Management Routines
COMMENT \
--------- --- ---- -- ---------- ----
COPYRIGHT (C) 1985 BY MICROSOFT, INC.
--------- --- ---- -- ---------- ----
\
;============================================================================
; Module: BdMgr.asm - Buffer Descriptor Management Rout... |
ViridianHouseObject:
db $a ; border block
db $2 ; warps
db $7, $2, $3, $ff
db $7, $3, $3, $ff
db $0 ; signs
db $4 ; objects
object SPRITE_BALDING_GUY, $5, $3, STAY, NONE, $1 ; person
object SPRITE_LITTLE_GIRL, $1, $4, WALK, $1, $2 ; person
object SPRITE_BIRD, $5, $5, WALK, $2, $3 ; person
object SPRITE_CLI... |
; A035289: Number of ways to place a non-attacking white and black knight on n X n chessboard.
; Submitted by Jamie Morken(s3)
; 0,12,56,192,504,1100,2112,3696,6032,9324,13800,19712,27336,36972,48944,63600,81312,102476,127512,156864,191000,230412,275616,327152,385584,451500,525512,608256,700392,802604,915600,1040112,11... |
lda {m1}
sta $fe
lda {m1}+1
sta $ff
lda ($fe),y
cmp #<{c1}
iny
lda ($fe),y
sbc #>{c1}
bvc !+
eor #$80
!:
bmi {la1} |
; A216779: Number of derangements on n elements with an odd number of cycles.
; 0,0,1,2,6,24,135,930,7420,66752,667485,7342290,88107426,1145396472,16035550531,240533257874,3848532125880,65425046139840,1177650830516985,22375365779822562
mov $1,$0
cal $0,166 ; Subfactorial or rencontres numbers, or derangements: number ... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/dms/model/ResourceAlreadyExistsFault.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
... |
#include <mutex>
#include <Common/ThreadStatus.h>
#include <Processors/Transforms/buildPushingToViewsChain.h>
#include <Interpreters/Context.h>
#include <Interpreters/OpenTelemetrySpanLog.h>
#include <Interpreters/ProcessList.h>
#include <Interpreters/QueryThreadLog.h>
#include <Interpreters/QueryViewsLog.h>
#include ... |
; gpfix.asm - pointer validation routines
include gpfix.inc
include kernel.inc
include tdb.inc
include newexe.inc
sBegin GPFIX0
__GP label word
;gpbeg dw 0, 0, 0, 0 ; for use in handler
public __GP
sEnd GPFIX0
sBegin GPFIX1
gpend dw 0
sEnd GPFIX1
sBegin DATA
;this segment is page l... |
; A031343: a(n) = prime(10*n).
; Submitted by Simon Strandgaard
; 29,71,113,173,229,281,349,409,463,541,601,659,733,809,863,941,1013,1069,1151,1223,1291,1373,1451,1511,1583,1657,1733,1811,1889,1987,2053,2129,2213,2287,2357,2423,2531,2617,2687,2741,2819,2903,2999,3079,3181,3257,3331,3413,3511,3571,3643,3727,3821,3907,39... |
###############################################################################
# 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... |
;
; as per the System-V ABI, registers are allocated in the order:
; rdi, rsi, rdx, rcx, r8, r9
;
; just some stuff its nice to have globally
global sdl_rect_a
global sdl_rect_b
global screen
global screen_format
global draw_rect_a
global draw_rect_b
global draw_tree
global draw_stage
extern ticks
extern linearmap
... |
; WMAN colours basic procedures V1.04 2002 Marcel Kilgus
;
; 2003-05-27 1.01 Changed routines to always use sys_clnk to get WMAN vec (MK)
; Added WM_MOVEMODE (WL/MK)
; 2003-09-05 1.02 Fixed WM_BLOCK (GG/MK)
; 2013-04-28 1.03 Added WM_MOVEALPHA (wl)
; 2018-04-08 1.04 Mini-optimisations (mk)
sec... |
; A240115: Schoenheim lower bound L(n,4,2).
; Submitted by Jamie Morken(s3)
; 1,3,3,4,6,7,8,11,12,13,18,19,20,26,27,29,35,37,39,46,48,50,59,61,63,73,75,78,88,91,94,105,108,111,124,127,130,144,147,151,165,169,173,188,192,196,213,217,221,239,243,248,266,271,276,295,300,305,326,331,336,358,363,369,391,397,403,426,432,438,... |
retornaCursor:
CLR RS
CLR P1.7
CLR P1.6
CLR P1.5
CLR P1.4
SETB EN
CLR EN
CLR P1.7
CLR P1.6
SETB P1.5
SETB P1.4
SETB EN
CLR EN
CALL delay
RET
|
; A332757: Number of involutions (plus identity) in the n-fold iterated wreath product of C_2.
; Submitted by Christian Krause
; 1,2,6,44,2064,4292864,18430828806144,339695459704759501186924544,115393005344028056118476170527365821430429589033713664,13315545682326887517994506072805639054664915214679444711916992466809542... |
; A005430: Apéry numbers: n*C(2*n,n).
; 0,2,12,60,280,1260,5544,24024,102960,437580,1847560,7759752,32449872,135207800,561632400,2326762800,9617286240,39671305740,163352435400,671560012200,2756930576400,11303415363240,46290177201840,189368906734800,773942488394400,3160265160943800,12893881856650704,52567364492499024,21... |
!ifndef is_main !eof
.lvl1_start:
; insert player
!byte CHOR_OP_MUS, <m_seeking, >m_seeking
!byte CHOR_OP_SBG, t_square_id
!pet CHOR_OP_CHR, 4, 4, "l"
!pet CHOR_OP_SLP, $08
!pet CHOR_OP_CHR, 5, 4, "e"
!pet CHOR_OP_SLP, $08
!pet CHOR_OP_CHR, 6, 4, "v"
!pet CHOR_OP_SLP, $08
!pet CHOR_OP_CHR, 7, 4, "e"
!pet CHOR_OP_SLP, ... |
; CRT0 stub for the Old School Computer Architecture (FLOS)
;
; Stefano Bodrato - Jul. 2011
;
;
; EXTRA OPTIONS:
;
; At C source level:
; #pragma output osca_bank=(0..14) set the memory bank for locations > 32768 before loading program
; #pragma output osca_stack=<value> put the stack in a dif... |
; A266395: Number of orbits of Aut(Z^7) as function of the infinity norm n of the representative lattice point of the orbit, when the cardinality of the orbit is equal to 161280.
; 0,0,0,0,15,75,225,525,1050,1890,3150,4950,7425,10725,15015,20475,27300,35700,45900,58140,72675,89775,109725,132825,159390,189750,224250,263... |
lui $1,63234
ori $1,$1,53640
lui $2,40971
ori $2,$2,36928
lui $3,49388
ori $3,$3,28895
lui $4,27626
ori $4,$4,38375
lui $5,51700
ori $5,$5,31638
lui $6,18285
ori $6,$6,58539
mthi $1
mtlo $2
sec0:
nop
nop
nop
nor $0,$6,$6
sec1:
nop
nop
slt $6,$4,$1
nor $4,$6,$6
sec2:
nop
nop
lui $6,14615
nor $4,$6,$6
sec3:
... |
; A207436: Number of n X 2 0..1 arrays avoiding 0 0 1 and 0 1 0 horizontally and 0 0 1 and 1 0 0 vertically.
; 4,16,36,81,196,484,1225,3136,8100,21025,54756,142884,373321,976144,2553604,6682225,17489124,45778756,119836809,313714944,821280964,2150084161,5628900676,14736503236,38580423561,101004467344,264432492900,692292... |
/*
* Copyright (c) 2021, 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 ... |
; A203150: (n-1)-st elementary symmetric function of the first n terms of (1,2,1,2,1,2,1,2,1,2,...)=A000034.
; 1,3,5,12,16,36,44,96,112,240,272,576,640,1344,1472,3072,3328,6912,7424,15360,16384,33792,35840,73728,77824,159744,167936,344064,360448,737280,770048,1572864,1638400,3342336,3473408,7077888,7340032,14942208,154... |
// Copyright (C) 2002-2012 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#include "IrrCompileConfig.h"
#include "CSoftwareDriver.h"
#ifdef _IRR_COMPILE_WITH_SOFTWARE_
#include "CSoftwareTexture.h"
#include "CBl... |
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
/*
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any lat... |
/**
* Copyright 2017 National Chiao Tung University, Intelligent System and Control Integration Laboratory
* Author: Cheng-Hei Wu
* Maintainer : Howard Chen
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ob... |
; A087627: Count ...n,2n,2n...
; 1,2,2,2,4,4,3,6,6,4,8,8,5,10,10,6,12,12,7,14,14,8,16,16,9,18,18,10,20,20,11,22,22,12,24,24,13,26,26,14,28,28,15,30,30,16,32,32,17,34,34,18,36,36,19,38,38,20,40,40,21,42,42,22,44,44,23,46,46,24,48,48,25,50,50
mul $0,2
add $0,1
div $0,3
dif $0,2
add $0,1
|
// Copyright 2016 PDFium 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 "core/fpdfapi/page/cpdf_streamcontentparser.h"
#include "testing/gtest/include/gtest/gtest.h"
TEST(cpdf_streamcontentparser, PDF_FindKeyAbbreviation) ... |
; void *tshc_cxy2aaddr(uchar x, uchar y)
SECTION code_clib
SECTION code_arch
PUBLIC tshc_cxy2aaddr_callee
EXTERN asm_tshc_cxy2aaddr
tshc_cxy2aaddr_callee:
pop hl
ex (sp),hl
jp asm_tshc_cxy2aaddr
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _tshc_cxy2aaddr_callee
defc _tshc_cxy2aaddr_callee = tshc_cxy2a... |
/**
* MIT License
*
* Copyright (c) 2019 Arjun Gupta
*
* 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, cop... |
i2c_init:
cli
cbi DDRC, 4
cbi DDRC, 5
sbi PORTC, 4
sbi PORTC, 5
lds r16, PRR
andi r16, 0b01101111
sts PRR, r16
call delay1msec
; set TWSR(Two Wire Status Register) to 0 to put it in an idle state and 1* divisor
ldi r16, 0x0
sts TWSR, r16
; set TWBR(Two Wire Bit Rate) reg to 0 as this sets the clock t... |
#include "glfw_window.hpp"
#include <bnb/effect_player/utility.hpp>
#include <bnb/utils/defs.hpp>
#include <glad/glad.h>
using namespace bnb;
glfw_window::glfw_window(const std::string& title, GLFWwindow* share)
{
init();
try {
create_window(title, share);
glfwMakeContextCurrent(m_window);
... |
cCOMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: CommonUI/CSpec
FILE: cspecTextDisplay.asm
ROUTINES:
Name Description
---- -----------
GLB OLBuildTextDisplay Convert a text display to th... |
; A345980: a(n) = spum of a path P_n.
; Submitted by Christian Krause
; 5,7,9,12,15,19,22,23,26,27,30
lpb $0
sub $0,1
mov $1,10
sub $1,$4
add $3,$2
add $1,$3
sub $3,$2
add $1,$3
mod $1,3
mov $2,$3
add $4,1
mov $5,$4
add $4,$1
div $5,3
add $5,$4
mov $3,$5
lpe
mov $0,$3
add $0,5
|
/*
* Copyright (c) 2017, Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publi... |
.size 8000
.text@48
jp lstatint
.text@100
jp lbegin
.data@143
c0
.text@150
lbegin:
ld a, 00
ldff(ff), a
ld a, 30
ldff(00), a
ld a, 01
ldff(4d), a
stop, 00
ld a, ff
ldff(45), a
ld b, 8c
call lwaitly_b
ld a, 40
ldff(41), a
ld a, 02
ldff(ff), a
ld a, b
inc a
inc a
ldff(45), a
ld c, 0f
xor a, a
... |
; A195460: 2^(2*n+1) - 3*2^n - 1.
; 1,19,103,463,1951,7999,32383,130303,522751,2094079,8382463,33542143,134193151,536821759,2147385343,8589737983,34359345151,137438167039,549754241023,2199020109823,8796086730751,35184359505919,140737463189503,562949903089663,2251799713021951,9007199053414399
mov $1,2
pow $1,$0
mov $0,... |
; A204257: Matrix given by f(i,j)=1+[(i+2j) mod 3], by antidiagonals.
; 1,3,2,2,1,3,1,3,2,1,3,2,1,3,2,2,1,3,2,1,3,1,3,2,1,3,2,1,3,2,1,3,2,1,3,2,2,1,3,2,1,3,2,1,3,1,3,2,1,3,2,1,3,2,1,3,2,1,3,2,1,3,2,1,3,2,2,1,3,2,1,3,2,1,3,2,1,3,1,3,2,1,3,2,1,3,2,1,3,2,1,3,2,1,3,2,1,3,2
cal $0,294317 ; Triangle read by rows: T(n, k) = ... |
// Copyright 2013 The Flutter 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 "flutter/shell/platform/fuchsia/flutter/platform_view.h"
#include <fuchsia/ui/gfx/cpp/fidl.h>
#include <fuchsia/ui/scenic/cpp/fidl.h>
#include <f... |
BillsHouse_Script:
call EnableAutoTextBoxDrawing
ld a, [wBillsHouseCurScript]
ld hl, BillsHouse_ScriptPointers
jp CallFunctionInTable
BillsHouse_ScriptPointers:
dw BillsHouseScript0
dw BillsHouseScript1
dw BillsHouseScript2
dw BillsHouseScript3
dw BillsHouseScript4
dw BillsHouseScript5
BillsHouseScript0:
r... |
_lseek_test: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "types.h"
#include "stat.h"
#include "user.h"
#include "fcntl.h"
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 ... |
; size_t p_forward_list_alt_size(p_forward_list_alt_t *list)
SECTION code_clib
SECTION code_adt_p_forward_list_alt
PUBLIC p_forward_list_alt_size
EXTERN asm_p_forward_list_alt_size
defc p_forward_list_alt_size = asm_p_forward_list_alt_size
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _p_forward_list_alt_size
def... |
//===--- Types.cpp - Driver input & temporary type information ------------===//
//
// 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
//
//===---------------------------... |
dc.w word_2DC5C-Map_Results
dc.w word_2DC5E-Map_Results
dc.w word_2DC66-Map_Results
dc.w word_2DC6E-Map_Results
dc.w word_2DC76-Map_Results
dc.w word_2DC7E-Map_Results
dc.w word_2DC86-Map_Results
dc.w word_2DC8E-Map_Results
dc.w word_2DC96-Map_Results
dc.w word_2DC9E-Map_Results
dc.w word_2DCA6-Ma... |
// Initialize stack pointer to start at 256 (i.e. RAM[0] contains 256)
@256
D=A
@SP
M=D
// push constant 69
@69
D=A
@SP
A=M
M=D
@SP
M=M+1
// not:
// 69: 0000000001000101
// !69: 1111111110111010 (-70)
@SP
M=M-1
A=M
M=!M
@SP
M=M+1
|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xa224, %r13
nop
inc %rbx
mov $0x6162636465666768, %r10
movq %r10, %xmm6
movups %xmm6, (%r13)
and %rbp, %rbp
lea addresses_WC_ht+0xa7cb, %rsi
lea addresses_UC_ht+0x9a4, %rdi
no... |
#include <sirius.h>
#include <thread>
#ifdef __PAPI
#include <papi.h>
#endif
#include "kiss_fft.h"
using namespace sirius;
#define NOW std::chrono::high_resolution_clock::now()
#ifdef __PAPI
unsigned long int static thread_id(void)
{
return omp_get_thread_num();
}
#endif
void kernel_fractal(int size, double_com... |
_cat: 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: ... |
; A314898: Coordination sequence Gal.5.136.2 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,9,14,19,24,29,34,39,43,48,53,57,62,67,72,77,82,87,91,96,101,105,110,115,120,125,130,135,139,144,149,153,158,163,168,173,178,183,187,192,... |
/* Copyright 2015 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... |
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <string.h>
#include <openssl/err.h>
#include <openssl/rand.h>
#include <openssl/ssl.h>
#include <openssl/rsa.h>
#include <openssl_helpers.h>
#include <tpm20.h>
#include <tpm2_lib.h>
#inc... |
// Copyright 2014 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 "chromecast/browser/devtools/cast_devtools_manager_delegate.h"
#include "base/macros.h"
#include "build/build_config.h"
#include "chromecast/app... |
; Object Mappings Subtype Frame Arttile
dbglistobj Obj_Ring, Map_Ring, 0, 0, make_art_tile($6BC,1,1)
dbglistobj Obj_Monitor, Map_Monitor, 6, 0, make_art_tile($4C4,0,0)
dbglistobj Obj_PathSwap, Map_PathSwap, 9, 1, make_art_tile($6BC,1,0)
dbglistobj Obj_PathSwap, Map_PathSwap, $D, ... |
/** This is free and unencumbered software released into the public domain.
The authors of ISIS do not claim copyright on the contents of this file.
For more details about the LICENSE terms and the AUTHORS, you will
find files of those names at the top level of this repository. **/
/* SPDX-License-Identifier: CC0-1.0... |
db 0 ; species ID placeholder
db 70, 90, 70, 70, 60, 60
; hp atk def spd sat sdf
db DARK, DARK ; type
db 255 ; catch rate
db 128 ; base exp
db NO_ITEM, PSNCUREBERRY ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 15 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/mighty... |
; A340495: Records in first differences of A340494.
; Submitted by Jamie Morken(s2)
; 2,3,8,33,138,563,2268,9093,36398,145623,582528,2330153,9320658,37282683,149130788,596523213,2386092918,9544371743,38177487048,152709948273,610839793178,2443359172803
mov $2,1
lpb $0
sub $0,1
trn $1,1
add $1,$2
mul $2,4
add ... |
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================
#include "movieobjects/dmetransforminput.h"
#include "movieobjects_interfaces.h"
#include "datamodel/dmelementfactoryhelper.h"
// memdbgon mus... |
;
; 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... |
; uchar __FASTCALL__ *zx_aaddrcright(void *attraddr)
; aralbrec 06.2007
PUBLIC zx_aaddrcright
.zx_aaddrcright
; hl = valid attribute address
; hl = new attribute address right one character with line wrap
; carry if off screen
inc hl
ld a,$5a
cp h
ret
|
; A285184: a(n) = 2*a(n-1) + a(n-3) with initial terms 1,3,5.
; 1,3,5,11,25,55,121,267,589,1299,2865,6319,13937,30739,67797,149531,329801,727399,1604329,3538459,7804317,17212963,37964385,83733087,184679137,407322659,898378405,1981435947,4370194553,9638767511,21258970969,46888136491,103415040493,228089051955,50306624040... |
// Copyright (c) 2016 The Zcash developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "zcash/JoinSplit.hpp"
#include <iostream>
#include "crypto/common.h"
int main(int argc, char **argv)
{
if (init_and_check_... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright (C) 2022 Intel Corporation
;
; SPDX-License-Identifier: MIT
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
%ifndef STDMAC_ASM
%define STDMAC_ASM
;; internal macro used by push_all
;; push args L to R
%macro p... |
; A008346: a(n) = Fibonacci(n) + (-1)^n.
; 1,0,2,1,4,4,9,12,22,33,56,88,145,232,378,609,988,1596,2585,4180,6766,10945,17712,28656,46369,75024,121394,196417,317812,514228,832041,1346268,2178310,3524577,5702888,9227464,14930353,24157816,39088170,63245985,102334156,165580140,267914297,433494436,701408734,1134903169,183631... |
B8_Header:
sHeaderInit ; Z80 offset is $D7A4
sHeaderPatch B8_Patches
sHeaderTick $01
sHeaderCh $01
sHeaderSFX $80, $05, B8_FM5, $F0, $00
B8_FM5:
sPatFM $00
ssModZ80 $01, $01, $F7, $EA
B8_Loop1:
dc.b nAb5, $02, $03, nRst, $02
saVolFM $06
sLoop $00, $0E, B8_Loop1
sStop
B8_Patches:
; Patch $00
; $... |
; constants.asm
; Application
CoreMinVersion equ $3007 ; 3.00.07
DotBank1: equ 30
ResetWait equ 5
DisableScroll equ false
//NGetServer equ "192.168.1.3"
NGetServer equ "nget.nxtel.org"
; NextZXOS
IDE_BANK equ... |
.size 8000
.text@48
jp lstatint
.text@100
jp lbegin
.data@143
c0
.text@150
lbegin:
ld a, 00
ldff(ff), a
ld a, 30
ldff(00), a
ld a, 01
ldff(4d), a
stop, 00
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
ld a, 02
ldff(ff), a
ld a, 03
ldff(43... |
; A120145: a(1)=20; a(n)=floor((41+sum(a(1) to a(n-1)))/2).
; 20,30,45,68,102,153,229,344,516,774,1161,1741,2612,3918,5877,8815,13223,19834,29751,44627,66940,100410,150615,225923,338884,508326,762489,1143734,1715601,2573401,3860102,5790153,8685229,13027844
add $0,1
lpb $0
sub $0,1
add $2,$1
mov $1,11
add $1,$2... |
Name: ys_w41.asm
Type: file
Size: 19785
Last-Modified: '2016-05-13T04:50:34Z'
SHA-1: 968CBC06B8162D22563F75200EF24C264FDE2109
Description: null
|
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: uiDuplicateControl.asm
AUTHOR: Jon Witort
REVISION HISTORY:
Name Date Description
---- ---- -----------
jon 24 feb 1992 Initial version.
... |
//
// 1_3.cpp
// CPuzzleBook
//
// Created by masai on 2017/02/12.
// Copyright (c) 2017年 masai. All rights reserved.
//
#include "1_3.h"
#define PRINT(int) std::cout << int << std::endl
void func_1_3(){
std::cout << "======= 1.3" << std::endl;
int x, y, z;
x = 2; y = 1; z = 0;
x = x && y || z; P... |
; L0806.asm
; Generated 10.29.2000 by mlevel
; Modified 10.29.2000 by Abe Pralle
INCLUDE "Source/Defs.inc"
INCLUDE "Source/Levels.inc"
;---------------------------------------------------------------------
SECTION "Level0806Section",ROMX
;---------------------------------------------------------------------
L0806_C... |
; A256296: Apply the transformation 0 -> 1 -> 2 -> 3 -> 4 -> 5 -> 0 to the digits of n written in base 6, then convert back to base 10.
; Submitted by Simon Strandgaard
; 1,2,3,4,5,0,13,14,15,16,17,12,19,20,21,22,23,18,25,26,27,28,29,24,31,32,33,34,35,30,1,2,3,4,5,0,79,80,81,82,83,78,85,86,87,88,89,84,91,92,93,94,95,90... |
/* Copyright 2017 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... |
compressedDataPointer: dw 0
vProgram:
inc word[cs:compressedDataPointer]
mov es,[cs:compressedDataPointer]
mov al,[es:0x0]
mov [ss:w0+3],al
mov al,[es:0x3]
mov [ss:w1+3],al
mov al,[es:0x6]
mov [ss:w2+3],al
mov al,[es:0x9]
mov [ss:w3+3],al
mov ax,[es:0x1]
mov [ss:f0+2],ax
mov ax,[es:0x4... |
; Listing generated by Microsoft (R) Optimizing Compiler Version 16.00.40219.01
TITLE D:\Projects\TaintAnalysis\AntiTaint\Epilog\src\func-va.c
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB MSVCRT
INCLUDELIB OLDNAMES
_DATA SEGMENT
$SG3581 DB '%d ', 00H
$SG3582 DB '%s', 0aH, 00H
_DATA ENDS
... |
.data
base: .space 800
exp: .space 800
cnt: .word 0
$str0: .asciiz "Number is out of range."
$str1: .asciiz "Number is out of range."
$str2: .asciiz "="
$str3: .asciiz "*"
$str4: .asciiz "^"
$str5: .asciiz "Number is out of range."
$str6: .asciiz "Number is out of range."
$str7: .asciiz "Prime numbers:"
$str8: .asciiz ... |
runner_frame
ld a,3
dec a
jr nz,runner_skipframe
call runner_draw_currframe ; undraw
call runner_advance
call runner_draw_currframe
ld a,3
runner_skipframe
ld (runner_frame+1),a
ret
runner_advance
ld a,(runner_frameno+1)
inc a
cp 12
jr nz,runner_nowrap
xor a
runner_nowrap
ld (runner_frameno+1),a
jr ... |
MAC kp_setsongregister
dc.b {2},[$00 | [{1} << 2]]
ENDM
MAC kp_settrackregister
dc.b {2},[$01 | [{1} << 2]]
ENDM
MAC kp_setinstrument
dc.b {2},[$02 | [{1} << 2]]
ENDM
MAC kp_rewind
dc.b 0,[$03]
ENDM
MAC KP_OSCV
dc.b {1},[[{2} & $01] << 6] | [[{3} & $01] << 5] | [[{4} & $01] << 4] | [{5} & %00... |
; A032962: Numbers whose base-12 representation Sum_{i=0..m} d(i)*12^(m-i) has even d(i) for all odd i.
; 1,2,3,4,5,6,7,8,9,10,11,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110
mov $1,$0
trn $0,11
add $1,$0
add... |
###############################################################################
# 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... |
#include <iostream>
#include <vector>
#include <cmath>
#include <iomanip>
using namespace std;
/* Get the ownership relationship to a space on the board
arguments: board - a vector of ints representing the stacks
boardPosition - an int, which index of the board to examine
myPosition - an ... |
;--- Sample implementation of a MSX-UNAPI specification that installs in mapped RAM
; By Konamiman, 5-2019
;
; This code implements a sample mathematical specification, "SIMPLE_MATH",
; which has just two functions:
; Function 1: Returns HL = L + E
; Function 2: Returns HL = L * E
;
; Th... |
/**
******************************************************************************
* Xenia : Xbox 360 Emulator Research Project *
******************************************************************************
* Copyright 2014 Ben Vanik. All rights reserved. ... |
/*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2014 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person obta... |
; int esxdos_f_write(uchar handle, void *src, size_t nbyte)
SECTION code_clib
SECTION code_esxdos
PUBLIC esxdos_f_write
EXTERN asm_esxdos_f_write
esxdos_f_write:
pop af
pop bc
pop hl
pop de
push de
push hl
push bc
push af
ld a,e
jp asm_esxdos_f_write
|
; A130862: a(n) = (n-1)*(n+2)*(2*n+11)/2.
; 0,30,85,171,294,460,675,945,1276,1674,2145,2695,3330,4056,4879,5805,6840,7990,9261,10659,12190,13860,15675,17641,19764,22050,24505,27135,29946,32944,36135,39525,43120,46926,50949,55195,59670,64380,69331,74529,79980,85690,91665,97911,104434,111240,118335,125725,133416,141414,1... |
.global s_prepare_buffers
s_prepare_buffers:
push %r15
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x1a09a, %rsi
lea addresses_WC_ht+0x18e42, %rdi
clflush (%rdi)
nop
sub $61031, %r15
mov $49, %rcx
rep movsw
nop
nop
nop
add $62890, %rdx
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %r15
ret
.global s_fault... |
;Testname=warning; Arguments=-fbin -omacdef.bin -w+macro-defaults; Files=stdout stderr macdef.bin
;Testname=nonwarning; Arguments=-fbin -omacdef.bin -w-macro-defaults; Files=stdout stderr macdef.bin
%MACRO mmac_fix 1 a
; While defined to take one parameter, any invocation will
; see two, due to the default p... |
; int obstack_align_to(struct obstack *ob, size_t alignment)
SECTION code_clib
SECTION code_alloc_obstack
PUBLIC obstack_align_to
EXTERN asm_obstack_align_to
obstack_align_to:
pop af
pop bc
pop hl
push hl
push bc
push af
jp asm_obstack_align_to
|
#include "fontpreviewlabel.h"
#include <qdebug.h>
#include <QMouseEvent>
#include <qmenu.h>
#include <qaction.h>
FontPreviewLabel::FontPreviewLabel(QWidget *parent) :
QLabel(parent)
{
}
FontPreviewLabel::~FontPreviewLabel()
{
}
void FontPreviewLabel::mousePressEvent(QMouseEvent *ev)
{
// qDebug() << ev->p... |
ZERAR:
CLR A; 1
MOV R0, #99; 1
ROT:
MOV @R0, A; 1
NOP;1
DJNZ R0, ROT; 99* (2 + 2)
RET;2
; 1 + 1 +99(4) + 2 = 400
|
; A116483: Expansion of (1 + x) / (5*x^2 - 2*x + 1).
; 1,3,1,-13,-31,3,161,307,-191,-1917,-2879,3827,22049,24963,-60319,-245453,-189311,848643,2643841,1044467,-11130271,-27482877,685601,138785587,274143169,-145641597,-1661999039,-2595790093,3118415009,19215780483,22839485921,-50399930573,-214997290751,-177994928637,718... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.