text stringlengths 1 1.05M |
|---|
#include <Storages/IStorage.h>
#include <Storages/ColumnsDescription.h>
#include <Storages/StorageValues.h>
#include <DataStreams/OneBlockInputStream.h>
namespace DB
{
StorageValues::StorageValues(const StorageID & table_id_, const ColumnsDescription & columns_, const Block & res_block_)
: IStorage(table_id_), r... |
COMMENT }%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1993 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Epson 24-pin printer driver
FILE: epson24zManager.asm
AUTHOR: Dave Durran
REVISION HISTORY:
Name Date Description
---- ---- ---------... |
_cat: file format elf32-i386
Disassembly of section .text:
00000000 <cat>:
char buf[512];
void
cat(int fd)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 ec 18 sub $0x18,%esp
int n;
while((n = read(fd, buf, sizeof(buf))) > 0)
6: eb 15 ... |
; A022282: a(n) = n*(25*n - 1)/2.
; 0,12,49,111,198,310,447,609,796,1008,1245,1507,1794,2106,2443,2805,3192,3604,4041,4503,4990,5502,6039,6601,7188,7800,8437,9099,9786,10498,11235,11997,12784,13596,14433,15295,16182,17094,18031,18993,19980,20992,22029,23091,24178,25290,26427,27589,28776,29988,31225,32487,33774,35086,36... |
.data
string: .asciiz "Xin chao"
.text
la $t1,string |
; A299646: a(n) = Sum_{k = n..2*n+1} k^2.
; Submitted by Jamie Morken(s1)
; 1,14,54,135,271,476,764,1149,1645,2266,3026,3939,5019,6280,7736,9401,11289,13414,15790,18431,21351,24564,28084,31925,36101,40626,45514,50779,56435,62496,68976,75889,83249,91070,99366,108151,117439,127244,137580,148461,159901,171914,184514,19771... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2017 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/bitcoin-config.h>
#endif
#include <i... |
#include "VM/Vars/Base.hpp"
namespace june {
VarBool::VarBool(const bool data, const size_t &srcId, const size_t &idx)
: VarBase(type_id<VarBool>(), srcId, idx, false, false), _data(data) {}
bool &VarBool::get() { return _data; }
VarBase *VarBool::copy(const size_t &srcId, const size_t &idx) {
return new VarBo... |
%ifdef CONFIG
{
"RegData": {
"XMM0": ["0x0", "0x0"],
"XMM1": ["0x0101010101010101", "0x0101010101010101"],
"XMM2": ["0x0101010101010101", "0x0101010101010101"],
"XMM3": ["0x0100010001010100", "0x0100010001010100"]
}
}
%endif
mov rdx, 0xe0000000
mov rax, 0x0000000000000000
mov [rdx + 8 * 0], rax
mo... |
; A155590: 7^n+2^n-1^n.
; 1,8,52,350,2416,16838,117712,823670,5765056,40354118,282476272,1977328790,13841291296,96889018598,678223089232,4747561542710,33232930635136,232630514118278,1628413598172592,11398895185897430
mov $1,7
pow $1,$0
mov $2,2
pow $2,$0
add $1,$2
mov $0,$1
sub $0,1
|
#include "s2smtp/network/base_channel.hpp"
#include "smtp/commands.hpp"
#include <boost/test/unit_test.hpp>
#include <chrono>
#include <string>
class mock_channel_t : public s2smtp::network::base_channel_t {
public:
void write(const std::string &data, s2smtp::network::duration_t timeout =
... |
; npctrade struct members (see data/events/npc_trades.asm)
NPCTRADE_DIALOG EQU 0 ; db
NPCTRADE_GIVEMON EQU 1 ; dw
NPCTRADE_GETMON EQU 3 ; dw
NPCTRADE_NICK EQU 5 ; ds MON_NAME_LENGTH
NPCTRADE_DVS EQU 16 ; dw
NPCTRADE_ITEM EQU 18 ; db
NPCTRADE_OT_ID EQU 19 ; dw
NPCTRADE_OT_NAME EQU 21 ; ds PLAYER_NAME_... |
; A184585: floor[(n+1/3)(1+r)], where r=sqrt(5); complement of A184584.
; 2,4,6,7,9,11,13,15,16,18,20,22,24,25,27,29,31,33,34,36,38,40,42,44,45,47,49,51,53,54,56,58,60,62,63,65,67,69,71,72,74,76,78,80,82,83,85,87,89,91,92,94,96,98,100,101,103,105,107,109,110,112,114,116,118,119,121,123,125,127,129,130,132,134,136,138,1... |
; A075839: Numbers k such that 11*k^2 - 2 is a square.
; Submitted by Jamie Morken(s1)
; 1,19,379,7561,150841,3009259,60034339,1197677521,23893516081,476672644099,9509559365899,189714514673881,3784780734111721,75505900167560539,1506333222617099059,30051158552174420641,599516837820871313761,11960285597865251854579,23860... |
; A165866: Totally multiplicative sequence with a(p) = 45.
; 1,45,45,2025,45,2025,45,91125,2025,2025,45,91125,45,2025,2025,4100625,45,91125,45,91125,2025,2025,45,4100625,2025,2025,91125,91125,45,91125,45,184528125,2025,2025,2025,4100625,45,2025,2025,4100625,45,91125,45,91125,91125,2025,45,184528125,2025,91125,2025,9112... |
// Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2018 The PIVX developers
// Copyright (c) 2018 The XIM developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-licen... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "primitives/transaction.h"
#include "hash.h"
#include "tinyformat.h"
#i... |
#include "NormalTraderAgent.h"
#include "../exchange/exchange_api/ExchangeApi.h"
#include "../exchange/exchange_api/TraderRecordInExchange.h"
using exchange::TraderStock;
void trader::NormalTraderAgent::choose_random_settings() {
auto get_norm_normal = [this]() {
return this->rng->next_f64_normal(0, 1, 0.5, 0.2);
... |
; c definition of memory mapped register
SECTION code_clib
PUBLIC _MM_FRAME1_CONTROL_REGISTER
EXTERN __MM_FRAME1_CONTROL_REGISTER
defc _MM_FRAME1_CONTROL_REGISTER = __MM_FRAME1_CONTROL_REGISTER
|
/*
* Copyright (c) 2017, Respective Authors.
*
* The MIT License
*
* 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 us... |
#include <iostream>
#include <memory>
#include "plot.hpp"
#include <unity/lib/visualization/process_wrapper.hpp>
#include <unity/lib/visualization/thread.hpp>
#include <unity/lib/visualization/transformation.hpp>
#include <unity/lib/visualization/vega_data.hpp>
#include <unity/lib/visualization/histogram.hpp>
#include... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r15
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x14f, %rsi
lea addresses_D_ht+0xfdf, %rdi
nop
sub $33797, %r10
mov $67, %rcx
rep movsb
and %rdi, %rdi
lea addresses_WT_ht+0x1a27f, %r15
nop
nop
xor %r14, %r14
mov $0x6162... |
// Generated by Haxe 4.1.5
#include <hxcpp.h>
#ifndef INCLUDED___ASSET__flixel_flixel_ui_img_plus_mark_png
#include <__ASSET__flixel_flixel_ui_img_plus_mark_png.h>
#endif
#ifndef INCLUDED_haxe_Resource
#include <haxe/Resource.h>
#endif
#ifndef INCLUDED_haxe_io_Bytes
#include <haxe/io/Bytes.h>
#endif
#ifndef INCLUDED_l... |
; A186421: Even numbers interleaved with repeated odd numbers.
; 0,1,2,1,4,3,6,3,8,5,10,5,12,7,14,7,16,9,18,9,20,11,22,11,24,13,26,13,28,15,30,15,32,17,34,17,36,19,38,19,40,21,42,21,44,23,46,23,48,25,50,25,52,27,54,27,56,29,58,29,60,31,62,31,64,33,66,33,68,35,70,35,72,37,74,37,76,39,78,39,80,41,82,41,84,43,86,43,88,45,... |
;//enables soft reset
enable_pad_reset:
lda #$AA
sta soft_reset+0
lda #$55
sta soft_reset+1
lda #$3c
sta soft_reset+2
rts
;#end
|
#include "Player.h"
#include "j1App.h"
#include "j1Render.h"
#include "j1Textures.h"
#include "j1Input.h"
#include "Fow.h"
#include "j1Window.h"
Player::Player() : j2Entity(ENTITY_TYPE::PLAYER)
{
}
Player::~Player()
{
}
bool Player::Start()
{
//App->win->GetWindowSize(win_width, win_height);
entity_rect = { 0,0,3... |
.proc iniEAX_ECX_WORD
mva :STACKORIGIN,x ecx
mva :STACKORIGIN+STACKWIDTH,x ecx+1
mva :STACKORIGIN-1,x eax
mva :STACKORIGIN-1+STACKWIDTH,x eax+1
mva #$00 ecx+2
sta ecx+3
sta eax+2
sta eax+3
rts
.endp
.proc iniEAX_ECX_CARD
mva :STACKORIGIN,x ecx
mva :STACKORIGIN+STACKWIDTH,x ecx+1
... |
// Copyright 2015 Google Inc. 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... |
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1991
; * All Rights Reserved.
; */
TITLE EXTENDED MEMORY RAMDRIVE
PAGE 58,132
; ---------------------------------------------------------------------------
; NOTE: Change volume crea... |
; DLL loader for Ninja
%include "inc/stackops.inc"
bits 32
extern LoadLibraryA
extern GetProcAddress
extern SetUnhandledExceptionFilter
extern Ninja
export DllMain
section .data
DLLhndl dd 0x0
_GetFaultReason dd GetFaultReason.init
_GetFirstStackTr... |
TxtOS464EN: db 'OS 464 EN',0
TxtOS464SP: db 'OS 464 SP',0
TxtOS464FR: db 'OS 464 FR',0
TxtOS664EN: db 'OS 664',0
TxtOS6128EN: db 'OS 6128 EN',0
TxtOS6128SP: db 'OS 6128 SP',0
TxtOS6128FR: db 'OS 6128 FR',0
TxtOSSch464SP: db 'OS 464 SCHNEIDER SP',0
TxtBASIC464EN: db '464 BASIC EN',0
TxtBASIC464SP: db '464 BASIC SP',0... |
; A023510: Greatest exponent in prime-power factorization of prime(n) + 1.
; 1,2,1,3,2,1,2,2,3,1,5,1,1,2,4,3,2,1,2,3,1,4,2,2,2,1,3,3,1,1,7,2,1,2,2,3,1,2,3,1,2,1,6,1,2,3,2,5,2,1,2,4,2,2,1,3,3,4,1,1,2,2,2,3,1,1,2,2,2,2,1,3,4,1,2,7,1,1,1,1,2,1,4,1,3,2,2,1,1,4,2,5,3,2,3,3,1,2,2,1
seq $0,6005 ; The odd prime numbers togeth... |
###############################################################################
# Copyright 2018 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... |
; A055014: Sum of 5th powers of digits of n.
; 0,1,32,243,1024,3125,7776,16807,32768,59049,1,2,33,244,1025,3126,7777,16808,32769,59050,32,33,64,275,1056,3157,7808,16839,32800,59081,243,244,275,486,1267,3368,8019,17050,33011,59292,1024,1025,1056,1267,2048,4149,8800,17831,33792,60073,3125,3126,3157,3368,4149,6250,10901,1... |
; A029747: Numbers of the form 2^k times 1, 3 or 5.
; 1,2,3,4,5,6,8,10,12,16,20,24,32,40,48,64,80,96,128,160,192,256,320,384,512,640,768,1024,1280,1536,2048,2560,3072,4096,5120,6144,8192,10240,12288,16384,20480,24576,32768,40960,49152,65536,81920,98304,131072,163840,196608,262144,327680,393216,524288,655360,786432,1048... |
; A327329: Twice the sum of all divisors of all positive integers <= n.
; 2,8,16,30,42,66,82,112,138,174,198,254,282,330,378,440,476,554,594,678,742,814,862,982,1044,1128,1208,1320,1380,1524,1588,1714,1810,1918,2014,2196,2272,2392,2504,2684,2768,2960,3048,3216,3372,3516,3612,3860,3974,4160,4304,4500,4608,4848,4992
add... |
; A217782: Expansion of (1-x)*(1-2x)*(1-3x)/((1-5x+5*x^2)*(1-3x+x^2)).
; Submitted by Jon Maiga
; 1,2,6,20,69,242,857,3054,10930,39236,141153,508598,1834641,6623450,23926334,86468052,312587197,1130277914,4087621545,14784539846,53478888618,193456813508,699850536281,2531866279710,9159810802849,33139021206962,119894215708... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0xe238, %r10
nop
and $9494, %r13
mov $0x6162636465666768, %rdi
movq %rdi, %xmm6
movups %xmm6, (%r10)
nop
nop
nop
nop
and %rsi, %rsi
lea addresses_UC_ht+0x32b3, %r13
dec %r9... |
//=================================================================================================
/*!
// \file src/mathtest/operations/dvecrepeat/VUb.cpp
// \brief Source file for the VUb dense vector repeat operation math test
//
// Copyright (C) 2012-2020 Klaus Iglberger - All Rights Reserved
//
// This file is... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1a479, %r8
clflush (%r8)
nop
nop
xor $43723, %r11
movw $0x6162, (%r8)
nop
nop
sub %rdi, %rdi
lea addresses_WT_ht+0xf797, %rsi
lea addresses_UC_ht+0x5077, %rdi
sub $55359,... |
; A086951: n3^n(4n-1)/9.
; 0,1,14,99,540,2565,11178,45927,180792,688905,2558790,9310059,33303636,117448461,409209570,1410975855,4821232752,16343405073,55013709438,184024732275,612124372620,2025821736981,6673705343514,21893519253879
mov $1,$0
mul $1,4
mov $2,$0
mov $3,2
lpb $2,1
lpb $4,1
mov $3,3
sub $4,3
l... |
L3: MVI A,00
L2: INR A
CPI 09
JZ L3
L1: MVI B,01
DCR B
JNZ L1
JMP L2
HLT
|
.text
.globl func
.def func; .scl 2; .type 32; .endef
.seh_proc func
func:
.seh_pushframe @code
subq $24, %rsp
.seh_stackalloc 24
movq %rsi, 16(%rsp)
.seh_savereg %rsi, 16
movups %xmm8, (%rsp)
.seh_savexmm %xmm8, 0
pushq %rbx
.seh_pushreg 3
mov %rsp, %rbx
.seh... |
_init: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
char *argv[] = { "sh", 0 };
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 %ebp
... |
; A325473: Number of compositions of n with no part divisible by 3 and an even number of parts congruent to 4 or 5 modulo 6.
; 1,1,2,3,5,8,13,22,38,67,120,217,395,722,1323,2428,4460,8197,15070,27711,50961,93724,172377,317042,583122,1072519,1972660,3628277,6673431,12274342,22576023,41523768,76374104,140473865,258371706,... |
;
; CPC Maths Routines
;
; August 2003 **_|warp6|_** <kbaccam /at/ free.fr>
;
; $Id: stkequcmp.asm,v 1.2 2007/07/21 21:28:22 dom Exp $
;
INCLUDE "#cpcfp.def"
XLIB stkequcmp
.stkequcmp
pop de ;return address
pop bc ;dump number..
pop bc
pop bc
... |
;
; File: ap_boot.asm
;
; Copyright (c) 2017-2018 Sydney Erickson, John Davis
;
; 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
... |
COMMENT @--------------------------------------------------------------------
Copyright (c) GeoWorks 1989 -- All Rights Reserved
PROJECT: PC/GEOS
MODULE: Kernel/Initfile
FILE: initfileLow.asm
AUTHOR: Cheng, 11/89
ROUTINES:
Name Description
---- -----------
Read:
INT LoadVarSegDS_PInitFil... |
/*
* Speck_Sce1_LinRAM.asm
*
* Created: 2015/9/17 14:26:45
* Author: Administrator
*/
.EQU INITV_NUM_BYTE = 8
.EQU PTEXT_NUM_BYTE = 128
.EQU MASTER_KEY_NUM_BYTE = 16
.EQU KEYS_NUM_BYTE = 108
.EQU KEY_SCHEDULE_ROUNDS = 26
.EQU ENC_DEC_ROUNDS = 27
.EQU BLOCK_SIZE = 16
#define KEYSCHEDULE
#define ENCRYP... |
; A268149: A double binomial sum involving absolute values.
; 0,24,1120,33264,823680,18475600,389398464,7862853600,153876579840,2940343837200,55138611528000,1018383898440480,18574619721465600,335240928272918304,5996573430996184960,106438123408375281600,1876607120325212706816,32891715945378106711440
mov $1,$0
mul $0,2
... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: GrObj
FILE: objectVisGuardian.asm
AUTHOR: Steve Scholl, Dec 6, 1991
ROUTINES:
Name Description
---- -----------
GrObjVisGuardi... |
#include "config_functions.h"
#if USE_H3
#include <Columns/ColumnsNumber.h>
#include <DataTypes/DataTypesNumber.h>
#include <Functions/FunctionFactory.h>
#include <Functions/IFunction.h>
#include <Common/typeid_cast.h>
#include <base/range.h>
#include <h3api.h>
namespace DB
{
namespace ErrorCodes
{
extern const in... |
; void *zx_saddrpright_callee(void *saddr, uint bitmask)
SECTION code_arch
PUBLIC _zx_saddrpright_callee
_zx_saddrpright_callee:
pop af
pop hl
pop de
push af
INCLUDE "arch/zx/display/z80/asm_zx_saddrpright.asm"
|
; A142072: Primes congruent to 19 mod 34.
; 19,53,223,257,359,461,563,631,733,937,971,1039,1277,1447,1481,1549,1583,1753,1787,1889,2161,2297,2399,2467,2671,2909,3011,3079,3181,3623,3691,3793,3929,4099,4133,4201,4337,4507,4643,4813,5051,5119,5153,5323,5527,5867,6037,6173,6343,6547,6581,7057,7159,7193,7499,7669,7703,7873... |
/*
Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed in the ... |
######## General Purpose Macros ########
# Print a string in memory --------------------
.macro print_string(%str_name)
li $v0, 4
la $a0, %str_name
syscall
.end_macro
.macro print_strings(%str1, %str2)
li $v0, 4
la $a0, %str1
syscall
la $a0, %str2
syscall
.end_macro
.macro print_strings(%str1, %str2, %str3)
... |
COMMENT }%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Lbp printer driver
FILE: lbpManager.asm
AUTHOR: Dave Durran
REVISION HISTORY:
Name Date Description
---- ---- -----------
Dave 2/90... |
; A090193: a(n) = A053838(n) + 1 modulo 3.
; 1,2,0,2,0,1,0,1,2,2,0,1,0,1,2,1,2,0,0,1,2,1,2,0,2,0,1,2,0,1,0,1,2,1,2,0,0,1,2,1,2,0,2,0,1,1,2,0,2,0,1,0,1,2,0,1,2,1,2,0,2,0,1,1,2,0,2,0,1,0,1,2,2,0,1,0,1,2,1,2,0,2,0,1,0,1,2,1,2,0,0,1,2,1,2,0,2,0,1,1,2,0,2,0,1,0,1,2,0,1,2,1,2,0,2,0,1,1,2,0,2,0,1,0,1,2,2,0,1,0,1,2,1,2,0,1,2,0... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r8
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xb336, %rsi
nop
nop
nop
nop
sub $48013, %r14
mov (%rsi), %rbp
nop
nop
nop
nop
nop
sub %r12, %r12
lea addresses_normal_ht+0x10d6e, %r8
nop
inc %rcx
movb (%r8), %bl
nop
and %r8, ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %r9
push %rax
push %rbx
push %rsi
lea addresses_normal_ht+0x55a9, %r9
nop
nop
and $537, %rsi
mov (%r9), %ebx
nop
nop
nop
nop
cmp $49685, %r9
lea addresses_A_ht+0x7d69, %r9
nop
nop
nop
nop
dec %rsi
mov (%r9), %r14w
nop
nop
nop
nop
nop
sub $6... |
#include "uritests.h"
#include "../guiutil.h"
#include "../walletmodel.h"
#include <QUrl>
void URITests::uriTests()
{
SendCoinsRecipient rv;
QUrl uri;
uri.setUrl(QString("businesstechnologycoin:LQDPC5rbjDB72fGFVHu4enYhxGAZuRiFh9?req-dontexist="));
QVERIFY(!GUIUtil::parseBitcoinURI(uri, &rv));
uri... |
#Loh Hao Bin 25461257 Prac 4 Task 1c
.data
m: .word 0
n: .word 0
a: .word 0
b: .word 0
c: .word 0
prompt: .asciiz "Please input an integer: "
output1: .asciiz "\na = "
output2: .asciiz "\nb = "
output3: .asciiz "\nc = "
msg: .asciiz "Please input only positive integers."
.text
la $a0, prompt #print prompt
addi $v0, ... |
/* |INCLUDES: QT| */
#include <QLayout>
#include <QToolBar>
#include <QStackedWidget>
#include <QProcess>
/* |INCLUDES: SQUARE| */
#include "square.h"
#include "square-Menu.h"
#include "square-Frame.h"
#include "square-TableFrame.h"
#include "square-JsonFrame.h"
#include "square-GraphFrame.h"
/* |INCLUDES: PROJECT|... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r15
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x12ac0, %rcx
nop
nop
nop
nop
nop
sub $5994, %rbx
movups (%rcx), %xmm0
vpextrq $1, %xmm0, %rdx
nop
nop
dec %rax
lea addresses_WT_ht+0x9dc0, %r14
add $320, %r10
movb (... |
Name: ys_w42.asm
Type: file
Size: 18446
Last-Modified: '2016-05-13T04:51:43Z'
SHA-1: C9377154D0852F144CBB272C26653261242527F0
Description: null
|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r15
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x9143, %r11
nop
nop
nop
cmp %r8, %r8
movb (%r11), %bl
nop
cmp $18050, %r11
lea addresses_A_ht+0x3043, %r8
nop
nop
cmp $36948, %r10
and $0xffffffffffffffc0, %r8
vmovaps (%r8), %... |
###############################################################################
# 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... |
#pragma once
#include <citro2d.h>
#include <3dstris/config.hpp>
#include <memory>
class State;
class Game {
public:
static Game& get() noexcept {
static Game game;
return game;
}
void update(double dt);
void draw();
bool isPressed(u32 kDown, Keybinds::Action action) const noexcept;
String translate(... |
//===- ModuleTranslation.cpp - MLIR to LLVM conversion --------------------===//
//
// Copyright 2019 The MLIR Authors.
//
// 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.... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x14cf6, %rsi
lea addresses_WT_ht+0x1b8f6, %rdi
nop
add $2616, %r13
mov $22, %rcx
rep movsl
nop
nop
nop
nop
nop
xor $26739, %r8
lea addresses_WT_ht+0x7616, %r9
nop
nop
sub %r15, ... |
; routines for loading libload libraries
; returns z if loaded, nz if not loaded
libload_load:
call libload_unload
jr .try
.inram:
call cesium.Arc_Unarc
.try:
ld hl,libload_name
call ti.Mov9ToOP1
call ti.ChkFindSym
jr c,.notfound
call ti.ChkInRam
jr z,.inram ; if in ram, archive LibLoad and search again
ld ... |
; A318159: Figurate numbers based on the small stellated dodecahedron: a(n) = n*(21*n^2 - 33*n + 14)/2.
; 1,32,156,436,935,1716,2842,4376,6381,8920,12056,15852,20371,25676,31830,38896,46937,56016,66196,77540,90111,103972,119186,135816,153925,173576,194832,217756,242411,268860,297166,327392,359601,393856,430220,468756,5... |
;
; ZX IF1 & Microdrive functions
;
; int i1_from_mdv()
;
; returns TRUE if the current program
; has been loaded from the microdrive
;
; $Id: if1_from_mdv.asm,v 1.1 2006/06/28 22:21:26 stefano Exp $
;
XLIB if1_from_mdv
if1_from_mdv:
ld de,($5c53) ; PROG :location of BASIC program
ld hl,($5c4b... |
; A182767: Beatty sequence for 1+e^2.
; Submitted by Jon Maiga
; 8,16,25,33,41,50,58,67,75,83,92,100,109,117,125,134,142,151,159,167,176,184,192,201,209,218,226,234,243,251,260,268,276,285,293,302,310,318,327,335,343,352,360,369,377,385,394,402,411,419,427
mov $2,$0
add $2,1
mul $2,151
div $2,18
mov $0,$2
|
; A154691: Expansion of (1+x+x^2) / ((1-x-x^2)*(1-x)).
; 1,3,7,13,23,39,65,107,175,285,463,751,1217,1971,3191,5165,8359,13527,21889,35419,57311,92733,150047,242783,392833,635619,1028455,1664077,2692535,4356615,7049153,11405771,18454927,29860701,48315631,78176335,126491969,204668307,331160279,535828589,866988871,1402817... |
DATA SEGMENT
OLD_OFF DW ?
OLD_SEG DW ?
MKBAK DB ?
DATA ENDS
CODE SEGMENT
ASSUME CS:CODE,DS:DATA
START PROC FAR
MOV AL,13H ;8259a初始化
OUT 20H,AL
MOV AL,8
OUT 21H,AL
MOV AL,8
OUT 21H,AL
MOV AX,DATA
MOV DS,AX
IN AL,21H
MOV MKBAK,AL
CLI
AND AL,11111101B
OUT 21H,AL
MOV AH,3... |
sll $4,$1,7
subu $4,$4,$3
and $0,$4,$3
lb $4,5($0)
ori $5,$0,29733
subu $3,$3,$3
sw $1,8($0)
lb $4,2($0)
slt $5,$5,$3
and $0,$6,$3
srlv $0,$0,$3
addu $3,$5,$3
addu $5,$4,$3
sltu $3,$2,$3
addiu $2,$2,-28465
addu $3,$6,$3
sh $5,6($0)
sltu $1,$1,$3
ori $3,$0,60363
sra $5,$3,30
sltu $1,$1,$3
ori $2,$2,13491
srlv $6,$3,$3
o... |
; fs for particle system demo
; different from the others in that it uses branching, and a .SAT modifier
; uniform inputs
; u0.x u_time
; u0.yzw u_centerPosition
; uniform constants
; u1.x 1.0
; u1.y -1000.0
; u1.z 0.0
; u1.w 40.0
; u2.x 0.5
; outputs
; t0 v_lifetime
; t1 position
; t2 pointsize
BRAN... |
; A005917: Rhombic dodecahedral numbers: a(n) = n^4 - (n - 1)^4.
; 1,15,65,175,369,671,1105,1695,2465,3439,4641,6095,7825,9855,12209,14911,17985,21455,25345,29679,34481,39775,45585,51935,58849,66351,74465,83215,92625,102719,113521,125055,137345,150415,164289,178991,194545,210975,228305,246559,265761,285935,307105,32929... |
//
// Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.16384
//
//
///
// Buffer Definitions:
//
// cbuffer cbMain
// {
//
// float4x4 g_mWorld; // Offset: 0 Size: 64 [unused]
// float4x4 g_mView; // Offset: 64 Size: 64 [unused]
// float4x4 g_mProjection; ... |
.size 8000
.text@48
jp lstatint
.text@100
jp lbegin
.data@143
c0
.text@150
lbegin:
ld b, 98
call lwaitly_b
ld a, 01
ldff(45), a
ld a, 40
ldff(41), a
ld a, 00
ld(8000), a
ld a, 01
ld(c000), a
ld a, c0
ldff(51), a
xor a, a
ldff(52), a
ldff(54), a
ld a, 80
ldff(53), a
xor a, a
ldff(0f), a
ld a, ... |
; A263807: Total number of ON (black) cells after n iterations of the "Rule 157" elementary cellular automaton starting with a single ON (black) cell.
; 1,3,6,11,17,25,34,45,57,71,86,103,121,141,162,185,209,235,262,291,321,353,386,421,457,495,534,575,617,661,706,753,801,851,902,955,1009,1065,1122,1181,1241,1303,1366,14... |
; A096191: a(n) = Sum_{k=1..n} C(n,k)^3 where C(n,k) is binomial(n,k).
; Submitted by Jon Maiga
; 1,9,55,345,2251,15183,104959,739161,5280931,38165259,278415919,2046924399,15148345759,112738423359,843126957055,6332299624281,47737325577619,361077477684435,2739270870994735,20836827035351595,158883473753259751,12141719976... |
; A167465: n^5 mod 16.
; 0,1,0,3,0,5,0,7,0,9,0,11,0,13,0,15,0,1,0,3,0,5,0,7,0,9,0,11,0,13,0,15,0,1,0,3,0,5,0,7,0,9,0,11,0,13,0,15,0,1,0,3,0,5,0,7,0,9,0,11,0,13,0,15,0,1,0,3,0,5,0,7,0,9,0,11,0,13,0,15,0,1,0,3,0,5,0,7,0,9,0,11,0,13,0,15,0,1,0,3,0,5,0,7,0,9,0,11,0,13,0,15,0,1,0,3,0,5,0,7,0,9,0,11,0,13,0,15,0,1,0,3,0,5,0,7... |
// Copyright (c) 2011 The Chromium OS 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 "metrics/timer.h"
#include <string>
#include "metrics/metrics_library.h"
namespace chromeos_metrics {
base::TimeTicks ClockWrapper::Ge... |
/*
Copyright (c) 2005-2015, University of Oxford.
All rights reserved.
University of Oxford means the Chancellor, Masters and Scholars of the
University of Oxford, having an administrative office at Wellington
Square, Oxford OX1 2JD, UK.
This file is part of Chaste.
Redistribution and use in source and binary forms... |
; A321404: Number of non-isomorphic self-dual set multipartitions (multisets of sets) of weight n with no singletons.
; Submitted by Jamie Morken(s1)
; 1,0,0,0,1,0,1,1,3,4,6
mov $1,$0
div $1,2
sub $0,$1
sub $1,2
mul $1,$0
trn $0,2
add $0,1
sub $1,$0
div $1,2
mov $0,$1
add $0,1
|
; A034677: Sum of cubes of unitary divisors of n.
; Submitted by Jon Maiga
; 1,9,28,65,126,252,344,513,730,1134,1332,1820,2198,3096,3528,4097,4914,6570,6860,8190,9632,11988,12168,14364,15626,19782,19684,22360,24390,31752,29792,32769,37296,44226,43344,47450,50654,61740,61544,64638,68922,86688,79508,86580,91980,109512,10... |
; ============================================================================
; Palette Utils
; ============================================================================
; R3 = index
; R4 = RGBx word
; Uses R0,R1
palette_set_colour:
adrl r1, palette_osword_block
strb r3, [r1, #0] ; logical colour
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xe825, %r12
clflush (%r12)
nop
nop
nop
nop
cmp %r8, %r8
movups (%r12), %xmm0
vpextrq $0, %xmm0, %r11
nop
nop
nop
nop
cmp $56541, %rsi
lea addresses_A_ht+0x2ed5, %rsi
lea a... |
; A126423: a(n) = n^4 - n - 1.
; -1,13,77,251,619,1289,2393,4087,6551,9989,14629,20723,28547,38401,50609,65519,83503,104957,130301,159979,194459,234233,279817,331751,390599,456949,531413,614627,707251,809969,923489,1048543,1185887,1336301,1500589,1679579,1874123,2085097,2313401,2559959,2825719,3111653,3418757,3748051,4... |
PokemonTower1_h:
db CEMETERY ; tileset
db POKEMONTOWER_1_HEIGHT, POKEMONTOWER_1_WIDTH ; dimensions (y, x)
dw PokemonTower1Blocks, PokemonTower1TextPointers, PokemonTower1Script ; blocks, texts, scripts
db $00 ; connections
dw PokemonTower1Object ; objects
|
/******************************************************************************
* Qwt Widget Library
* Copyright (C) 1997 Josef Wilgen
* Copyright (C) 2002 Uwe Rathmann
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the Qwt License, Version 1.0
**************... |
* Queue maintenance: put byte into a queue V2.00 Tony Tebby QJUMP
*
section ioq
*
xdef ioq_pbyt
*
xref ioq_nc
xref ioq_eof
*
include dev8_keys_qu
*
* d0 r error condition (0, eof or not complete)
* d1 c p next byte in queue (if d0=0)
* a2 c ... |
/* Copyright 2018-present Barefoot Networks, Inc.
*
* 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 la... |
; A008790: a(n) = n^(n+4).
; 0,1,64,2187,65536,1953125,60466176,1977326743,68719476736,2541865828329,100000000000000,4177248169415651,184884258895036416,8650415919381337933,426878854210636742656,22168378200531005859375,1208925819614629174706176,69091933913008732880827217,4130428534112329328517709824,2578296279453077272... |
; A102392: Odious numbers in odious places.
; 0,1,2,0,4,0,0,7,8,0,0,11,0,13,14,0,16,0,0,19,0,21,22,0,0,25,26,0,28,0,0,31,32,0,0,35,0,37,38,0,0,41,42,0,44,0,0,47,0,49,50,0,52,0,0,55,56,0,0,59,0,61,62,0,64,0,0,67,0,69,70,0,0,73,74,0,76,0,0,79,0,81,82,0,84,0,0,87,88,0,0,91,0,93,94,0,0,97,98,0,100,0,0,103,104,0,0,107,0,109... |
; A168605: Number of ways of partitioning the multiset {1,1,1,2,3,...,n-2} into exactly three nonempty parts.
; 1,2,8,30,104,342,1088,3390,10424,31782,96368,291150,877544,2640822,7938848,23849310,71613464,214971462,645176528,1936053870,5809210184,17429727702,52293377408,156888520830,470682339704,1412080573542,423630882... |
CLC
AddValue #$03, myWater, #$03, #$00
LDA myWater+2
CMP MyWater100
BCS +CheckTens
JMP +End
+CheckTens:
LDA myWater+1
CMP MyWater10
BCS +CheckOnes
JMP +End
+CheckOnes:
LDA myWater
CMP MyWater1
BCS +SetMax
JMP +End
+SetMax:
LDA MyWater100
STA myWater+2
LDA MyWater10
STA myWater+1
LDA MyWater1
... |
;
; Get the OSCA Architecture current bank
; by Stefano Bodrato, 2011
;
; int get_bank();
; Ask which of 15 32KB banks at Z80 address $8000-$FFFF is selected
;
; $Id: get_bank.asm,v 1.5 2016-06-22 22:13:09 dom Exp $
;
INCLUDE "target/osca/def/flos.def"
SECTION code_clib
PUBLIC get_bank
PUBLIC _get_ban... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.