text stringlengths 1 1.05M |
|---|
; A138890: Non-Padovan numbers.
; 6,8,10,11,13,14,15,17,18,19,20,22,23,24,25,26,27,29,30,31,32,33,34,35,36,38,39,40,41,42,43,44,45,46,47,48,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,66,67,68,69,70,71,72,73,74
mov $1,5
mov $2,$0
mul $2,2
mov $4,$0
add $4,3
lpb $2
add $3,$4
lpb $4
add $3,1
mov $4,$1
a... |
LMSpade9 label byte
word C_BLACK
Bitmap <71,100,BMC_PACKBITS,BMF_MONO>
db 0xf8, 0x00
db 0xf8, 0x00
db 0xf8, 0x00
db 0xf8, 0x00
db 0x01, 0x03, 0xe0, 0xfa, 0x00
db 0x01, 0x07, 0xf0, 0xfc, 0x00, 0x01, 0x04, 0x00
db 0x01, 0x0e, 0x38, 0xfc, 0x00, 0x01, 0x0e, 0x00
db 0x01, 0x0c, 0x18, 0xfc, 0x00, 0x01, 0x... |
; GOLD Card Ketrow (called from pointer routines)
section kbd
xdef kbd_keyrow
include 'dev8_keys_qdos_sms'
;+++
; Internal keyrow call for pointer interface
; Called with d1 = row number
;---
kbd_keyrow
move.l a3,-(sp)
lsl.w #8,d1
add.w #%10,d1
move.w d1,-(sp)
clr.l -(sp)
move.w #$0901,-(sp)
move.l sp,a3
... |
#pragma once
#include <sstream>
#include "common.hpp"
POLYBAR_NS
namespace string_util {
/**
* Hash type
*/
using hash_type = unsigned long;
bool contains(const string& haystack, const string& needle);
string upper(const string& s);
string lower(const string& s);
bool compare(const string& s1, co... |
/**
* Copyright (c) 2016-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <ABI31_0_0jschelpers/ABI31_0_0JSCWrapper.h>
#if defined(__APPLE__)
#include <mutex>
#include <objc/runtime.h>
// Crash the ... |
//
// $Id: myrimatchMPI.cpp 135 2012-11-29 20:35:34Z chambm $
//
// 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 ... |
; ---------------------------------------------------------------------------
; Sprite mappings - pinball bumper (SYZ)
; ---------------------------------------------------------------------------
dc.w byte_EB06-Map_obj47
dc.w byte_EB11-Map_obj47
dc.w byte_EB1C-Map_obj47
byte_EB06: dc.b 2
dc.b $F0, 7, 0,... |
#include "systemdwatchdog.h"
#if QT_CONFIG(systemd_watchdog)
#include <systemd/sd-daemon.h>
#endif
class SystemdWatchDog::Private
{
public:
bool enabled = false;
};
SystemdWatchDog::SystemdWatchDog(QObject *parent)
: QObject(parent)
, d(new Private)
{
#if !QT_CONFIG(systemd_watchdog)
qWarning("System... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x97b3, %r14
clflush (%r14)
cmp $63369, %r13
mov (%r14), %bp
nop
nop
nop
nop
sub $31940, %rbp
lea addresses_UC_ht+0x112db, %rsi
lea addresses_WC_ht+0x1e603, %rdi
clflush (%rsi)
nop
nop
nop
nop
no... |
; A034936: Numbers k such that 3*k + 4 is prime.
; Submitted by Jon Maiga
; 1,3,5,9,11,13,19,21,23,25,31,33,35,41,45,49,51,53,59,63,65,69,73,75,79,89,91,93,101,103,109,111,115,121,123,125,131,135,139,143,145,151,153,161,165,173,179,181,189,191,199,201,203,205,209,213,219,223,229,235,241,243,245,249,251,255,261,269,273,... |
; A213492: Number of (w,x,y) with all terms in {0,...,n} and w != min(|w-x|,|x-y|,|y-w|).
; 0,4,18,48,98,178,290,442,640,890,1196,1568,2008,2524,3122,3808,4586,5466,6450,7546,8760,10098,11564,13168,14912,16804,18850,21056,23426,25970,28690,31594,34688,37978,41468,45168,49080,53212,57570
mov $1,$0
mov $2,$0
mov $5,$0
l... |
; Top-hole Golf
; Copyright 2020-2021 Matthew Clarke
caddie_c_BEGIN = *
; *****************
; *** CONSTANTS ***
; *****************
; *****************
; *** VARIABLES ***
; *****************
; *******************
; ****** MACROS *****
; *******************
; *******************
; *** SUBROUTINES ***
; ******... |
<%
from pwnlib.shellcraft.aarch64.linux import syscall
%>
<%page args="fd"/>
<%docstring>
Invokes the syscall fsync. See 'man 2 fsync' for more information.
Arguments:
fd(int): fd
</%docstring>
${syscall('SYS_fsync', fd)}
|
/*=============================================================================
Boost.Wave: A Standard compliant C++ preprocessor library
Sample: List include dependencies of a given source file
http://www.boost.org/
Copyright (c) 2001-2009 Hartmut Kaiser. Distributed under the Boost
Software Li... |
bits 64
section .text
; all global labels define functions following the SystemV AMD64 ABI
global xact_atomic_store_u64_single
; (uint64_t *target, uint64_t value) -> void
xact_atomic_store_u64_single:
mov [rdi], rsi
mfence
xor rax, rax
ret
global xact_atomic_load_u64_single
... |
Stack_Top: equ 0x0000 ; Stack at top of RAM
IM2_Table: equ 0xFE00 ; 256 byte page (+ 1 byte) for IM2
IM2_JP: equ 0xFDFD ; 3 bytes for JP routine under IM2 table
Interrupt: equ 0xFD00
Initialise_Interrupt:
di
ld de, IM2_Table ;... |
.outfile "snake.prg"
.require "platform/c64_0.oph"
.require "platform/c64kernal.oph"
.require "head.asm"
main:
.scope
`init
jsr getchar ; 等待输入任意字符开始游戏
jsr erasehint ; 游戏开始,清空提示
* clc
jsr judgeout ; 判断是否出界
bcc +
jsr printfail
jsr getchar
rts
* clc
lda #0
sta eat
jsr judgefood ; 判断是否吃到食物
bcc +
inc c ; 蛇长加一... |
;
; OPN FM on SFG driver
;
; The FM part is common to all chips in the OPN family.
;
OPNFMOnSFG_CLOCK: equ 3579545
OPNFMOnSFG: MACRO
super: Driver Device_noName, OPNFMOnSFG_CLOCK, OPNFMOnSFG_PrintInfoImpl
sfgDriver:
dw 0
frequencyMSBs:
ds 8
rlFBConnects:
ds 8
; e = register
; d = value
SafeWriteRegister:... |
; A184102: n+floor(4*sqrt(n)); complement of A184103.
; 5,7,9,12,13,15,17,19,21,22,24,25,27,28,30,32,33,34,36,37,39,40,42,43,45,46,47,49,50,51,53,54,55,57,58,60,61,62,63,65,66,67,69,70,71,73,74,75,77,78,79,80,82,83,84,85,87,88,89,90,92,93,94,96,97,98,99,100,102,103,104,105,107,108,109,110,112,113,114,115,117,118,119,12... |
; ===============================================================
; Dec 2013
; ===============================================================
;
; void *realloc_unlocked(void *p, size_t size)
;
; Reallocation occurs from the thread's default heap.
;
; Resize the memory block p to size bytes. If this cannot
; be done... |
//! ----------------------------------------------------------------------------
//! Copyright Edgecast Inc.
//!
//! \file: TODO
//! \details: TODO
//!
//! Licensed under the terms of the Apache 2.0 open source license.
//! Please refer to the LICENSE file in the project root for the terms.
//! ---------------------... |
.MODEL FLAT, C
.CODE
PUBLIC zero
zero PROC
xor eax, eax
ret 0
zero ENDP
END
|
/*
* Copyright (c) 2017-2019 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
* 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
* ri... |
#include "ofMain.h"
#include "ofApp.h"
//========================================================================
int main( ){
ofSetupOpenGL(1024,768,OF_WINDOW); // <-------- setup the GL context
// this kicks off the running of my app
// can be OF_WINDOW or OF_FULLSCREEN
// pass in width and height t... |
; A080023: log_phi(n) is closer to an integer than is log_phi(m) for any m with 2<=m<n, where phi=(1+sqrt(5))/2 is the golden ratio.
; 2,3,4,7,11,18,29,47,76,123,199,322,521,843,1364,2207,3571,5778,9349,15127,24476,39603,64079,103682,167761,271443,439204,710647,1149851,1860498,3010349,4870847,7881196,12752043,20633239,... |
; A083579: Generalized Jacobsthal numbers.
; 0,1,1,4,8,19,39,82,166,337,677,1360,2724,5455,10915,21838,43682,87373,174753,349516,699040,1398091,2796191,5592394,11184798,22369609,44739229,89478472,178956956,357913927,715827867,1431655750,2863311514,5726623045,11453246105,22906492228,45812984472,91625968963,183251937943,... |
; A139487: Numbers k such that 8k + 7 is prime.
; 0,2,3,5,8,9,12,15,18,20,23,24,27,29,32,33,38,44,45,47,53,54,57,59,60,62,74,75,78,80,89,90,92,93,102,104,107,110,113,114,120,122,123,128,129,132,135,137,143,152,153,159,162,164,165,170,174,177,179,180,183,185,188,192,194,195,197,200,207,219,222,227,228,230,233,234,243,24... |
;====================================================================================================================================
; Phase 2 of COAL Project
; Submitted by :
; 1. Aleezeh Usman 18I-0529
; 2. Areesha Tahir 18I-1655
; 3. Zarak Jehan 18I-0256
... |
; A136324: Interleaving of A002450(n), A002450(n) + 1.
; 0,1,1,2,5,6,21,22,85,86,341,342,1365,1366,5461,5462,21845,21846,87381,87382,349525,349526,1398101,1398102,5592405,5592406,22369621,22369622,89478485,89478486,357913941,357913942,1431655765,1431655766,5726623061,5726623062,22906492245,22906492246,91625968981,91625... |
; A001783: n-phi-torial, or phi-torial of n: Product k, 1 <= k <= n, k relatively prime to n.
; Submitted by Jon Maiga
; 1,1,2,3,24,5,720,105,2240,189,3628800,385,479001600,19305,896896,2027025,20922789888000,85085,6402373705728000,8729721,47297536000,1249937325,1124000727777607680000,37182145,41363226782215962624,6081... |
; A049236: a(n) is the number of distinct prime factors of prime(n) + 2.
; 1,1,1,1,1,2,1,2,1,1,2,2,1,2,1,2,1,2,2,1,2,1,2,2,2,1,3,1,2,2,2,2,1,2,1,2,2,3,1,2,1,2,1,3,1,2,2,2,1,3,2,1,1,2,2,2,1,3,2,1,3,2,2,1,3,2,2,2,1,2,2,1,2,2,2,3,2,3,2,2,1,2,1,3,2,2,2,2,1,3,2,2,2,2,2,2,2,1,3,2
seq $0,175216 ; The first nonprimes after th... |
/*
* Copyright 2017 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkSVGPattern.h"
#include "SkPictureRecorder.h"
#include "SkShader.h"
#include "SkSVGRenderContext.h"
#include "SkSVGValue.h"
SkSVGPattern::SkSVGPattern() : INHERIT... |
; void *obstack_int_grow(struct obstack *ob, int data)
SECTION code_clib
SECTION code_alloc_obstack
PUBLIC obstack_int_grow
EXTERN asm_obstack_int_grow
obstack_int_grow:
pop af
pop bc
pop hl
push hl
push bc
push af
jp asm_obstack_int_grow
|
; A048495: a(n) = (n-1)*2^n + 2.
; 1,2,6,18,50,130,322,770,1794,4098,9218,20482,45058,98306,212994,458754,983042,2097154,4456450,9437186,19922946,41943042,88080386,184549378,385875970,805306370,1677721602,3489660930,7247757314,15032385538,31138512898,64424509442,133143986178,274877906946,566935683074,1168231104514,2405... |
;------------------------------------------------------------------------------ ;
; 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 distributi... |
; A309372: a(n) = n^2 - n^3 + n^4.
; 0,1,12,63,208,525,1116,2107,3648,5913,9100,13431,19152,26533,35868,47475,61696,78897,99468,123823,152400,185661,224092,268203,318528,375625,440076,512487,593488,683733,783900,894691,1016832,1151073,1298188,1458975,1634256,1824877,2031708,2255643,2497600,2758521,3039372,3341143,36648... |
;;; sequence
dw _ptn0
dw _ptn0
dw _ptn0
dw _ptn0
dw _ptn1
dw _ptn1
dw _ptn1
dw _ptn1
dw _ptn2
dw _ptn2
dw _ptn2a
dw _ptn2a
dw _ptn2b
dw _ptn2b
dw _ptn2c
dw _ptn2d
_loop
dw _ptn3
dw _ptn3x
dw _ptn3a
dw _ptn3a
dw _ptn3b
dw _ptn3bx
... |
// Boost.Geometry (aka GGL, Generic Geometry Library)
// QuickBook Example
// Copyright (c) 2011-2012 Barend Gehrels, Amsterdam, the Netherlands.
// Use, modification and distribution is subject to the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LI... |
;;;;;;;;;;;;;;;;
; test bitwise logic
;;;;;;;;;;;;;;;;
.org $8000
JMP entry_point ; skip to entry point
; small convenience subroutine for left-shifting memory contents
set_and_asl:
STA $00 ; write acc to first byte of memory
ASL $00 ; shift first byte of memory left, should produce 0b000... |
// Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include <atomic>
#include <cstring>
#include <deque>
#include <iostream>
#include <map>
#include <memory>
#include <mutex>
#include <set>
#include <string>
#include <tuple>
#include <typeindex>
#include <unordered_map... |
.686
.model flat
.xmm
.data
___unnamed_float_0 dd 040000000h
public ___unnamed_float_0
___unnamed_float_1 dd 03f800000h
public ___unnamed_float_1
___unnamed_float_2 dd 040400000h
public ___unnamed_float_2
___unnamed_float_3 dd 040800000h
public ___unnamed_flo... |
vxcall add r1, r2
|
; A141259: a(n) == {0,1,3,4,5,7,9,11} mod 12; n>0.
; 1,3,4,5,7,9,11,12,13,15,16,17,19,21,23,24,25,27,28,29,31,33,35,36,37,39,40,41,43,45,47,48,49,51,52,53,55,57,59,60,61,63,64,65,67,69,71,72,73,75,76,77,79,81,83,84,85,87,88,89,91,93,95,96,97,99,100,101,103,105,107,108,109,111,112,113,115,117,119,120,121,123,124,125,127... |
//
// Copyright (c) 2014 The ANGLE 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.
//
// DisplayImpl.cpp: Implementation methods of egl::Display
#include "libANGLE/renderer/DisplayImpl.h"
#include "libANGLE/Display.h"
#incl... |
; A194402: Numbers m such that Sum_{k=1..m} (<1/2 + k*r> - <k*r>) = 0, where r=(1+sqrt(5))/2 and < > denotes fractional part.
; 2,4,6,8,10,12,14,16,18,20,26,28,34,36,38,40,42,44,46,48,50,52,54,60,62,68,70,72,74,76,78,80,82,84,86,88,90,92,98,100,106,108,110,112,114,116,118,120,122,124,126,132,134,140,142,144,146,148,150... |
; A061995: Number of ways to place 2 nonattacking kings on an n X n board.
; 0,0,0,16,78,228,520,1020,1806,2968,4608,6840,9790,13596,18408,24388,31710,40560,51136,63648,78318,95380,115080,137676,163438,192648,225600,262600,303966,350028,401128,457620,519870,588256,663168,745008,834190,931140,1036296,1150108,1273038,140... |
// SPDX-License-Identifier: MIT
// Copyright (c) 2021 Manuel Stoiber, German Aerospace Center (DLR)
#include "opt_evaluator.h"
int main() {
// Directories
std::string dataset_directory{"/your/path/to/the/opt/dataset/"};
// Dataset configuration
std::vector<std::string> body_names{"soda", "chest", "ironman",... |
; A040205: Continued fraction for sqrt(220).
; 14,1,4,1,28,1,4,1,28,1,4,1,28,1,4,1,28,1,4,1,28,1,4,1,28,1,4,1,28,1,4,1,28,1,4,1,28,1,4,1,28,1,4,1,28,1,4,1,28,1,4,1,28,1,4,1,28,1,4,1,28,1,4,1,28,1,4,1,28,1,4,1,28,1,4,1,28,1,4,1,28,1,4,1
pow $0,2
mov $5,$0
mul $5,4
add $0,$5
mov $1,32
mov $2,4
mov $3,8
mov $4,$5
lpb $0,... |
; A172047: n*(n+1)*(15*n^2-n-8)/12.
; 0,1,25,124,380,905,1841,3360,5664,8985,13585,19756,27820,38129,51065,67040,86496,109905,137769,170620,209020,253561,304865,363584,430400,506025,591201,686700,793324,911905,1043305,1188416,1348160,1523489,1715385,1924860,2152956,2400745,2669329,2959840,3273440,3611321,3974705,436484... |
// Copyright (C) 2019-2020 Zilliz. 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 l... |
; A270444: Expansion of 2*(1+2*x) / (1-8*x+4*x^2).
; 2,20,152,1136,8480,63296,472448,3526400,26321408,196465664,1466439680,10945654784,81699479552,609813217280,4551707820032,33974409691136,253588446248960,1892809931227136,14128125664821248,105453765593661440,787117622090006528,5875125914345406464,43852536826403225600,3... |
aci -128 ; CE 80
aci 127 ; CE 7F
aci 255 ; CE FF
adc (hl) ; 8E
adc (ix) ; DD 8E 00
adc (ix+127) ; DD 8E 7F
adc (ix-128) ; DD 8E 80
adc (iy) ; ... |
// Copyright (c) 2011-2016 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/bitcore-config.h"
#endif
#include "bitcoregui.h"
#include "chainparams.h"
#incl... |
/**
* Copyright (c) 2017 Melown Technologies SE
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the f... |
; A113867: a(n) = a(n-1) + 2^(A047258(n)) for n>1, a(1)=1.
; 1,17,49,113,1137,3185,7281,72817,203889,466033,4660337,13048945,29826161,298261617,835132529,1908874353,19088743537,53448481905,122167958641,1221679586417,3420702841969,7818749353073,78187493530737,218924981886065,500399958596721,5003999585967217
mov $2,$0
a... |
#pragma once
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/REDhash.hpp>
#include <RED4ext/Types/generated/Vector3.hpp>
#include <RED4ext/Types/generated/world/Node.hpp>
namespace RED4ext
{
namespace world {
struct StaticVectorFieldNode :... |
#include "DXUT.h"
#include "Transform.h"
#include "Image.h"
Image::Image(wstring path)
{
texture = new Texture(path);
}
void Image::Update(float dt)
{
}
void Image::Render()
{
Global::Instance()->GetSprite()->Begin(NULL);
D3DXMATRIXA16 worldMatrix = transform->Matrix();
DEVICE->SetTransform(D3DTS_WORLD, &worl... |
SFX_Cry09_1_Ch1:
dutycycle 240
unknownsfx0x20 15, 247, 160, 7
unknownsfx0x20 6, 230, 163, 7
unknownsfx0x20 10, 244, 160, 7
dutycycle 165
unknownsfx0x20 10, 246, 216, 7
unknownsfx0x20 4, 227, 215, 7
unknownsfx0x20 15, 242, 216, 7
endchannel
SFX_Cry09_1_Ch2:
dutycycle 5
unknownsfx0x20 2, 8, 0, 0
unknownsfx0... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %r8
push %r9
push %rbx
push %rdx
push %rsi
lea addresses_D_ht+0x11f35, %r9
nop
and $18051, %rbx
mov (%r9), %r11
nop
nop
nop
add %rbx, %rbx
lea addresses_WT_ht+0x6a39, %rdx
nop
nop
nop
xor %r15, %r15
mov $0x6162636465666768, %r9
movq %r9, %xmm5
vmovup... |
Name: zel_enmy1.asm
Type: file
Size: 528130
Last-Modified: '2016-05-13T04:36:32Z'
SHA-1: 930BF7C46F237FC23379CAF4388CE6A1CDD780F6
Description: null
|
// Copyright (c) 2011-2018 The Bitcoin Core developers
// Copyright (c) 2017 The Raven Core developers
// Copyright (c) 2018 The Rito Core developers
// Copyright (c) 2020 The Ukcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses... |
; A057681: a(n) = Sum_{j=0..floor(n/3)} (-1)^j*binomial(n,3*j).
; 1,1,1,0,-3,-9,-18,-27,-27,0,81,243,486,729,729,0,-2187,-6561,-13122,-19683,-19683,0,59049,177147,354294,531441,531441,0,-1594323,-4782969,-9565938,-14348907,-14348907,0,43046721,129140163,258280326,387420489,387420489,0,-1162261467,-3486784401,-697356880... |
/*============================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center (DKFZ)
All rights reserved.
Use of this source code is governed by a 3-clause BSD license that can be
found in the LICENSE file.
=================... |
# $Id: 01_lc_1.asm,v 1.2 2001/03/22 00:39:02 ellard Exp $
#
# Copyright 1999-2000 by the President and Fellows of Harvard College.
# See LICENSE.txt for license information.
#
#@ tests lc
# OK
lc r15, 15
lc r14, 15
lc r13, 15
lc r12, 15
lc r11, 15
lc r10, 15
lc r9, 15
lc r8, 15
lc r7, 15
lc r6, 15
lc r5, 15... |
vp8_block_coeff EQU 8
vp8_block_zbin EQU 40
vp8_block_round EQU 56
vp8_block_quant EQU 16
vp8_block_quant_fast EQU 24
vp8_block_zbin_extra EQU 64
vp8_block_zrun_zbin_boost EQU 48
vp8_block_quant_shift EQU 32
vp8_blockd_qcoeff EQU 0
vp8_blockd_dequant EQU 24
vp8_blockd_dqcoeff EQU 8
vp8_blockd_eob EQU 40
vp8_block_base_... |
db DEX_TAUROS ; pokedex id
db 75, 100, 95, 110, 70
; hp atk def spd spc
db SOUND, SOUND ; type
db 45 ; catch rate
db 211 ; base exp
INCBIN "gfx/pokemon/front/tauros.pic", 0, 1 ; sprite dimensions
dw TaurosPicFront, TaurosPicBack
db RAGE, TAIL_WHIP, NO_MOVE, NO_MOVE ; level 1 learnset
db GROWTH_SL... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x14667, %rsi
lea addresses_normal_ht+0xcb2d, %rdi
nop
nop
cmp $42135, %rax
mov $14, %rcx
rep movsw
nop
nop
cmp %rax, %rax
lea addresses_WT_ht+0x1bf25, %r8
nop
nop
nop
nop
nop
cmp $40513,... |
; ***********************************************************************************
;
; An RPN calculator made with a 4x4 KeyPad and an LCD display
;
; The MIT License (MIT)
;
; Copyright (c) 2022 Igor Mikolic-Torreira
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; o... |
#include "FWCore/Framework/interface/stream/EDProducer.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#... |
//------------------------------------------------------------------------------
// UvGateLobby.cpp
// (C) 2016 n.lee
//------------------------------------------------------------------------------
#include "UvGateLobby.h"
#include "../tcp/uvgate/UvGateConnFactory.h"
#include "../tcp/uvgate/UvGateServer.h"
... |
; Copyright (C) 2008 - 2011 by John Cronin
;
; 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, p... |
; ======================================
; CryEd - cry editor for Pokémon Crystal
; ======================================
; Defines
include "Defines.asm"
; =============
; Reset vectors
; =============
section "Reset $00",rom0[$00]
CallHL: jp hl
section "Reset $08",rom0[$08]
FillRAM:: jp _FillRA... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
; Module Name:
;
; WriteGdtr.Asm
;
; Abstract:
;
; AsmWriteGdtr function
;
; Notes:
;
;--------------------------------... |
assume cs:code
data segment
db 0,0,0
data ends
code segment
start:
mov ax,data
mov ds,ax
mov bx,0
jmp word ptr [bx+1]
code ends
end start |
; A109128: Triangle read by rows: T(n,k) = T(n-1,k-1) + T(n-1,k) + 1 for 0<k<n, T(n,0) = T(n,n) = 1.
; 1,1,1,1,3,1,1,5,5,1,1,7,11,7,1,1,9,19,19,9,1,1,11,29,39,29,11,1,1,13,41,69,69,41,13,1,1,15,55,111,139,111,55,15,1,1,17,71,167,251,251,167,71,17,1,1,19,89,239,419,503,419,239,89,19,1,1,21,109,329,659,923,923,659,329,10... |
; A195531: Hypotenuses of Pythagorean triples in A195499 and A195503.
; 5,17,65,241,901,3361,12545,46817,174725,652081,2433601,9082321,33895685,126500417,472105985,1761923521,6575588101,24540428881,91586127425,341804080817,1275630195845,4760716702561,17767236614401,66308229755041
mov $12,$0
mov $14,$0
add $14,1
lpb $1... |
DOSSEG
.MODEL small
.CODE
jmp_addr DW ?
sp_save DW ?
ss_save DW ?
PUBLIC _cga_fire
_cga_fire PROC
ARG rand_arr:WORD
; al, ah, bl, bh, dl, dh: vals
; di: cga offset, bp: offset inc, cx: loop
push bp
mov bp, sp
push di
push si
push ds
mov ax, d... |
;++
;
; Copyright (c) Microsoft Corporation. All rights reserved.
;
; Licensed under the MIT License.
;
; Module Name:
;
; QgemmU8U8KernelAvx512BW.asm
;
; Abstract:
;
; This module implements the kernels for the quantized integer matrix/matrix
; multiply operation (QGEMM).
;
; This implementation uses AVX512BW ... |
; A051936: Truncated triangular numbers: a(n) = n*(n+1)/2 - 9.
; Submitted by Christian Krause
; 1,6,12,19,27,36,46,57,69,82,96,111,127,144,162,181,201,222,244,267,291,316,342,369,397,426,456,487,519,552,586,621,657,694,732,771,811,852,894,937,981,1026,1072,1119,1167,1216,1266,1317,1369,1422,1476,1531,1587,1644,1702,17... |
//
// buffer.cpp
// ~~~~~~~~~~
//
// Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under 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)
//
// Disable autolinking for unit tests... |
/* Copyright 2018 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... |
out .0
|
stk 16
org 0
txt "Hello"
psh 5
psh 6
psh 7
psh 8
psh 9
psh 10
psh 11
psh 12
psh 13
psh 14
psh 15
pop r5
pop r6
mod r5, r6
pop r6
add r5, r6
pop r6
add r5, r6
pop r6
add r5, r6
pop r6
add r5, r6
pop r6
add r5, r6
pop r6
add r5, r6
pop r6
add r5, r6
pop r6
add r5, r6
pop r6
add r5, r6
mod r5, 20
sub r5, 2
add r5, .0
o... |
#include "HyperCuts.h"
using namespace std;
using namespace TreeUtils;
void RemoveRedund(HyperCutsNode* node) {
RemoveRedund(node->classifier, node->bounds);
}
void RegionCompaction(HyperCutsNode* node) {
for (size_t d = 0; d < node->bounds.size(); d++) {
list<Point1d> f;
for (const Rule* r : node-... |
/*
* 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... |
/* -----------------------------------------------------------------------------------
*
* File CCScheduler.cpp
* Ported By Young-Hwan Mun
* Contact xmsoft77@gmail.com
*
* -----------------------------------------------------------------------------------
*
* Co... |
; =============================================================================
; Pure64 -- a 64-bit OS loader written in Assembly for x86-64 systems
; Copyright (C) 2008-2015 Return Infinity -- see LICENSE.TXT
;
; INIT PIC
; =============================================================================
init_pic:
; E... |
; A195198: Characteristic function of squares or three times squares.
; 1,1,0,1,1,0,0,0,0,1,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
lpb $0
dif $0,3
lpe
mov $1,1
lpb $0
sub $0,... |
; Original address was $B235
; Empty/unused
.word $0000 ; Alternate level layout
.word $0000 ; Alternate object layout
.byte LEVEL1_SIZE_09 | LEVEL1_YSTART_170
.byte LEVEL2_BGPAL_00 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18
.byte LEVEL3_TILESET_09 | LEVEL3_VSCROLL_FREE
.byte LEVEL4_BGBANK_INDEX(9) | LEVEL4_INITACT_NO... |
LIST p=18F4550 ;tell assembler what chip we are using
include "P18F4550.inc" ;include the defaults for the chip
;__config 0x3D18 ;sets the configuration settings
;(oscillator type etc.)
;config OSC=HS & WDT=OFF & _LVP_OFF & _PWRTE_ON & _CP_OFF
config FOSC = HS
;config LVP_OFF_4L & _PWRT_OFF_2L
cb... |
FillMemory::
; Fill bc bytes at hl with a.
push de
ld d, a
.loop
ld a, d
ld [hli], a
dec bc
ld a, b
or c
jr nz, .loop
pop de
ret
UncompressSpriteFromDE::
; Decompress pic at a:de.
ld hl, wSpriteInputPtr
ld [hl], e
inc hl
ld [hl], d
jp UncompressSpriteData
SaveScreenTilesToBuffer2::
hlcoord 0, 0
ld de... |
; this sample gets two numbers from the user,
; then it calculates the sum of these numbers,
; and prints it out.
name "calc"
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; these maros are copied from emu8086.inc ;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; this macro prints a string that is ... |
// Copyright 2021 The Khronos Group
// SPDX-License-Identifier: Apache-2.0
#include "DebugObject.h"
#include "DebugDevice.h"
namespace anari {
namespace debug_device {
void GenericDebugObject::unknown_parameter(ANARIDataType type, const char *subtype, const char *paramname, ANARIDataType paramtype) {
debugDevice->... |
; A059522: a(1) = 1, then a(n) = n*(n^(n-1)-1)*(n-2)!/(n-1).
; Submitted by Jamie Morken(w1)
; 1,2,12,168,4680,223920,16470720,1725655680,244074902400,44799999955200,10353389902732800,2941340482417075200,1007483754568427136000,409436080665631065446400,194769597399609368328192000,107210375103315036907081728000,676100554... |
%macro PUSHAQ 0
push r15
push r14
push r13
push r12
push r11
push r10
push r9
push r8
push rbp
push rsi
push rdi
push rdx
push rcx
push rbx
push rax
%endmacro
%macro POPAQ 0
pop rax
pop rbx
pop rcx
pop rdx
pop rdi
pop rsi
pop rbp
pop r8
pop r9
pop r10
pop r11
p... |
;TogekissBaseStats: ; 38582 (e:4582)
db DEX_TOGEKISS ; pokedex id
db 85 ; base hp
db 50 ; base attack
db 95 ; base defense
db 80 ; base speed
db 120 ; base special
db FAIRY ; species type 1
db FLYING ; species type 2
db 34 ; catch rate
db 220 ; base exp yield
INCBIN "pic/ymon/togekiss.pic",0,1 ; 55, sprite dimensions
d... |
#include "gl_shader_base.hxx"
#include "gl_check.hxx"
#include "gl_inline_functions.hxx"
#include "resources/file_source.hxx"
using namespace dreco;
gl_shader_base::gl_shader_base(const gl_shader_info& _info, resource_manager* _rm)
{
const char* shader_source;
size_t shader_size;
_rm->GetFileSource(_info.vertex_... |
#include "drape_frontend/user_mark_shapes.hpp"
#include "drape_frontend/colored_symbol_shape.hpp"
#include "drape_frontend/line_shape.hpp"
#include "drape_frontend/map_shape.hpp"
#include "drape_frontend/poi_symbol_shape.hpp"
#include "drape_frontend/shape_view_params.hpp"
#include "drape_frontend/text_layout.hpp"
#in... |
SECTION code_driver
SECTION code_driver_terminal_output
PUBLIC console_01_output_char_stdio_msg_ictl
PUBLIC console_01_output_char_stdio_msg_ictl_0
EXTERN OTERM_MSG_CLS
EXTERN asm_vioctl_driver, l_jpix, l_offset_ix_de
EXTERN error_einval_zc, __stdio_nextarg_bc, __stdio_nextarg_hl
EXTERN console_01_output_char_proc_... |
TITLE LLCOM3 - Communications Interface for DOS 3
PAGE 56,132
;***
; LLCOM3.ASM - GW-BASIC Communications Interface for DOS 3
;
; Copyright <C> 1986, Microsoft Corporation
;
;Purpose:
; This module supports the initialization/open, read, write, line
; status check, termination and interrupt/monitor service for
; co... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.