text stringlengths 1 1.05M |
|---|
; A059028: Row sums of A059026: a(n) = sum( lcm(n,m)/n + lcm(n,m)/m - 1, m = 1..n ).
; Submitted by Jamie Morken(s1)
; 1,3,8,13,27,26,58,57,83,85,156,104,223,180,206,241,393,257,496,327,431,478,738,428,757,681,794,682,1191,632,1366,993,1133,1195,1320,971,1963,1506,1610,1315,2421,1313,2668,1788,1877,2236,3198,1748,3103
... |
; A172482: a(n) = (1+n)*(9 + 11*n + 4*n^2)/3.
; 3,16,47,104,195,328,511,752,1059,1440,1903,2456,3107,3864,4735,5728,6851,8112,9519,11080,12803,14696,16767,19024,21475,24128,26991,30072,33379,36920,40703,44736,49027,53584,58415,63528,68931,74632,80639,86960,93603,100576,107887,115544,123555,131928,140671,149792,159299,1... |
db PINSIR ; pokedex id
db 65 ; base hp
db 125 ; base attack
db 100 ; base defense
db 85 ; base speed
db 55 ; base special
db BUG ; species type 1
db BUG ; species type 2
db 45 ; catch rate
db 200 ; base exp yield
INCBIN "pic/gsmon/pinsir.pic",0,1 ; 77, sprite dimensions
dw PinsirPicFront
dw PinsirPicBack
; attacks know... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Epson 24-pin print drivers
FILE: printcomEpsonLQ1Cursor.asm
AUTHOR: Dave Durran, 14 March 1990
ROUTINES:
Name Description
---- ... |
; $Id: bs3-wc16-U8DQ.asm 69111 2017-10-17 14:26:02Z vboxsync $
;; @file
; BS3Kit - 16-bit Watcom C/C++, 64-bit unsigned integer division.
;
;
; Copyright (C) 2007-2017 Oracle Corporation
;
; This file is part of VirtualBox Open Source Edition (OSE), as
; available from http://www.virtualbox.org. This file is free soft... |
; A059542: Beatty sequence for 1 + 1/log(2).
; 2,4,7,9,12,14,17,19,21,24,26,29,31,34,36,39,41,43,46,48,51,53,56,58,61,63,65,68,70,73,75,78,80,83,85,87,90,92,95,97,100,102,105,107,109,112,114,117,119,122,124,127,129,131,134,136,139,141,144,146,149,151,153,156,158,161,163,166,168,170,173,175,178,180,183,185,188,190,192,1... |
C arm/fat/aes-decrypt-internal-2.asm
ifelse(<
Copyright (C) 2015 Niels Möller
This file is part of GNU Nettle.
GNU Nettle is free software: you can redistribute it and/or
modify it under the terms of either:
* the GNU Lesser General Public License as published by the Free
Software Foundatio... |
; A056520: a(n) = (n + 2)*(2*n^2 - n + 3)/6.
; 1,2,6,15,31,56,92,141,205,286,386,507,651,820,1016,1241,1497,1786,2110,2471,2871,3312,3796,4325,4901,5526,6202,6931,7715,8556,9456,10417,11441,12530,13686,14911,16207,17576,19020,20541,22141,23822,25586,27435,29371,31396,33512,35721,38025,40426,42926,45527,48231,51040,5395... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2015 Intel Corporation All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are met:
; * Redistributions of s... |
; A130815: Period 6: repeat [1, 5, 4, -1, -5, -4].
; 1,5,4,-1,-5,-4,1,5,4,-1,-5,-4,1,5,4,-1,-5,-4,1,5,4,-1,-5,-4,1,5,4,-1,-5,-4,1,5,4,-1,-5,-4,1,5,4,-1,-5,-4,1,5,4,-1,-5,-4,1,5,4,-1,-5,-4,1,5,4,-1,-5,-4,1,5,4,-1,-5,-4,1,5,4,-1,-5,-4
mov $1,1
mov $2,4
lpb $0,1
sub $0,1
add $1,$2
sub $2,$1
lpe
|
; A254030: a(n) = 1*4^n + 2*3^n + 3*2^n + 4*1^n.
; Submitted by Christian Krause
; 10,20,50,146,470,1610,5750,21146,79430,303050,1169750,4554746,17852390,70322090,278050550,1102537946,4381257350,17438542730,69495104150,277204002746,1106488342310,4418973508970,17654960746550,70557055701146,282039886115270,11275945847248... |
; A329844: Beatty sequence for (11+sqrt(61))/6.
; 3,6,9,12,15,18,21,25,28,31,34,37,40,43,47,50,53,56,59,62,65,68,72,75,78,81,84,87,90,94,97,100,103,106,109,112,115,119,122,125,128,131,134,137,141,144,147,150,153,156,159,163,166,169,172,175,178,181
mov $3,$0
mul $3,7
add $3,7
mov $1,$3
div $1,52
add $1,3
mov $2,$0
mul ... |
_wc: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
printf(1, "%d %d %d %s\n", l, w, c, name);
}
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: ... |
; A196789: Binomial coefficients C(2*n+10,10).
; 1,66,1001,8008,43758,184756,646646,1961256,5311735,13123110,30045015,64512240,131128140,254186856,472733756,847660528,1471442973,2481256778,4076350421,6540715896,10272278170,15820024220,23930713170,35607051480,52179482355,75394027566,107518933731,151473214816,21098054920... |
; A131066: Binomial transform of [1, 1, 6, 6, 6, ...].
; 1,2,9,28,71,162,349,728,1491,3022,6089,12228,24511,49082,98229,196528,393131,786342,1572769,3145628,6291351,12582802,25165709,50331528,100663171,201326462,402653049,805306228,1610612591,3221225322,6442450789,12884901728,25769803611,51539607382,103079214929,206158... |
// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include "WebServerClientTest.h"
#include <cstdio>
#include <fmt/format.h>
#include <wpi/SmallString.h>
#include <wpin... |
;==========================================================
; Branch Macros
;==========================================================
//allow branching to absolute file addresses
.macro b_a, addr
b (org() + addr - orga())
.endmacro
.macro beqz_a, reg1, addr
beqz reg1, (org() + addr - orga())
.endmacro
.macro b... |
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x8280, %rsi
lea addresses_UC_ht+0x1c840, %rdi
nop
nop
nop
xor $22766, %r14
mov $46, %rcx
rep movsw
nop
nop
nop
sub %r14, %r14
lea addresses_normal_ht+0xbae0, %r8
nop
nop
sub $29373, %rb... |
; ===============================================================
; Jan 2014
; ===============================================================
;
; int vfscanf_unlocked(FILE *stream, const char *format, void *arg)
;
; See C11 specification.
;
; ===============================================================
IFNDEF CL... |
; Program 5.2
; Looping - NASM (64-bit)
; Copyright (c) 2017 Hall & Slonka
SECTION .text
global _main
_main:
xor rax, rax
mov rcx, 5
myLoop:
inc rax
loop myLoop
mov rax, 60
xor rdi, rdi
syscall
|
; A336853: a(n) = A003961(n) - n, where A003961 is the prime shift towards larger primes.
; 0,1,2,5,2,9,4,19,16,11,2,33,4,19,20,65,2,57,4,43,34,17,6,111,24,25,98,71,2,75,6,211,32,23,42,189,4,31,46,149,2,123,4,73,130,41,6,357,72,97,44,101,6,321,36,241,58,35,2,255,6,49,212,665,54,129,4,103,76,161,2,603,6,49,170,131,66,17... |
_test_sleep: file format elf32-i386
Disassembly of section .text:
00001000 <main>:
int total;
}ttable;
void func(void *arg_ptr);
int main(int argc, char *argv[]){
1000: 55 push %ebp
1001: 89 e5 mov %esp,%ebp
1003: 83 e4 f0 and $0xfffffff0... |
; A138799: Values of T(j) corresponding to least possible T(k) with T(k)-T(j)=n, where T(i)>0 are the triangular numbers A000217.
; Submitted by Jamie Morken(s1.)
; 1,3,6,1,15,3,28,1,45,10,3,15,1,6,120,28,3,36,1,15,6,55,21,3,10,1,378,91,6,105,496,3,21,1,55,153,28,6,15,190,3,210,1,10,45,253,105,6,28,15,3,325,1,36,10,21,... |
title "Irql Processing"
;++
;
; Copyright (c) 1989 Microsoft Corporation
;
; Module Name:
;
; ixirql.asm
;
; Abstract:
;
; This module implements the code necessary to raise and lower i386
; Irql and dispatch software interrupts with the 8259 PIC.
;
; Author:
;
; Shie-Lin Tzong (sh... |
#include <iostream>
#include <string>
using namespace std;
int board[8][8] = {
{ 2,3,4,4,4,4,3,2 },
{ 3,4,6,6,6,6,4,3 },
{ 4,6,8,8,8,8,6,4 },
{ 4,6,8,8,8,8,6,4 },
{ 4,6,8,8,8,8,6,4 },
{ 4,6,8,8,8,8,6,4 },
{ 3,4,6,6,6,6,4,3 },
{ 2,3,4,4,4,4,3,2 } };
int main() {
int a;
string s;
cin >> a;
for (int i = 0; i... |
// Std. Includes
#include <string>
// GLEW
#define GLEW_STATIC
#include <GL/glew.h>
// GLFW
#include <GLFW/glfw3.h>
// GL includes
#include "Shader.h"
#include "Camera.h"
// GLM Mathemtics
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
// Other Libs
#include <SOIL/SO... |
; A111733: a(n) = a(n-1) + a(n-2) + 7 where a(0) = a(1) = 1.
; 1,1,9,17,33,57,97,161,265,433,705,1145,1857,3009,4873,7889,12769,20665,33441,54113,87561,141681,229249,370937,600193,971137,1571337,2542481,4113825,6656313,10770145,17426465,28196617,45623089,73819713,119442809
sub $0,1
mov $1,1
mov $2,1
lpb $0,1
sub $0,... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2007 - 2012, 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 distr... |
;*******************************************************************************
;memcpy.asm - contains memcpy and memmove routines
;
; Copyright (c) Microsoft Corporation. All rights reserved.
;
;Purpose:
; memcpy() copies a source memory buffer to a destination buffer.
; Overlapping buffers a... |
; A181134: Sum of 13th powers: a(n) = Sum_{j=0..n} j^13.
; Submitted by Christian Krause
; 0,1,8193,1602516,68711380,1289414505,14350108521,111239118928,660994932816,3202860761145,13202860761145,47725572905076,154718778284148,457593884876401,1251308658130545,3197503726489920,7701103353860416,17605681386766353,384286462... |
//
// Copyright 2020 gRPC 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.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... |
; A002802: a(n) = (2*n+3)!/(6*n!*(n+1)!).
; 1,10,70,420,2310,12012,60060,291720,1385670,6466460,29745716,135207800,608435100,2714556600,12021607800,52895074320,231415950150,1007340018300,4365140079300,18839025605400,81007810103220,347176329013800,1483389769422600,6320530321887600,26862253868022300,113895956400414552,48... |
// Copyright (C) 2002-2009 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#include "CMountPointReader.h"
#ifdef __IRR_COMPILE_WITH_MOUNT_ARCHIVE_LOADER_
#include "CReadFile.h"
#include "os.h"
namespace irr
{
... |
SFX_Push_Boulder_1_Ch1:
unknownnoise0x20 4, 162, 35
unknownnoise0x20 8, 241, 52
unknownnoise0x20 15, 0, 0
unknownnoise0x20 2, 247, 36
unknownnoise0x20 2, 247, 52
unknownnoise0x20 4, 247, 68
unknownnoise0x20 8, 244, 85
unknownnoise0x20 8, 241, 68
endchannel
|
; ===============================================================
; Dec 2013
; ===============================================================
;
; void *balloc_firstfit(unsigned char queue, unsigned char num)
;
; Allocate a block from the first queue in [queue, queue+num-1]
; that has a block available.
;
; =========... |
/*
* Copyright © 2013 Christian Persch
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This libra... |
.size 8000
.text@48
inc a
ldff(45), a
xor a, a
ldff(41), a
ldff(c), a
jp l1000
.text@100
jp lbegin
.data@143
80
.text@150
lbegin:
ld a, ff
ldff(45), a
ld b, 03
call lwaitly_b
ld c, 41
lbegin_waitm0:
ldff a, (c)
and a, b
jrnz lbegin_waitm0
ld a, 80
ldff(68), a
ld a, ff
ld c, 69
ldff(c), a
ldff(... |
/* 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... |
//
// LimitedNodeList.cpp
// libraries/networking/src
//
// Created by Stephen Birarda on 2/15/13.
// Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#include "LimitedNodeList.h"... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: bnfApplication.asm
AUTHOR: Adam de Boor, Oct 4, 1991
ROUTINES:
Name Description
---- -----------
METHOD_TA_BUILD_TASK_LIST
RE... |
.386p
page 58,132
;******************************************************************************
title ELIMFUNC - CEMM functions module
;******************************************************************************
;
; (C) Copyright MICROSOFT Corp. 1986-1991
; (C) Copyright COMPAQ Computer Corp. 1986-1991
;
; Ti... |
title "Trap Processing"
;++
;
; Copyright (c) 1989 Microsoft Corporation
;
; Module Name:
;
; int.asm
;
; Abstract:
;
; This module implements the code necessary to field and process i386
; interrupt.
;
; Author:
;
; Shie-Lin Tzong (shielint) 8-Jan-1990
;
; Environment:
;
; ... |
_kill: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.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 pushl -0x4(%ecx)
a: 55 ... |
/*
* @Author: Ning Xu
* @Email: nxu@umich.edu
* @Date: 2020-05-15 23:55:28
* @LastEditor: Ning Xu
* @Description: two loops comparison
*/
#include <iostream>
#include <vector>
int main() {
int i;
while (std::cin >> i) { /* ... */ }
for (int j; std::cin >> j;) { /* ... */ }
std::vector<int> iv(10, 1);
... |
SafariZoneRestHouse3_h:
db GATE ; tileset
db SAFARI_ZONE_REST_HOUSE_3_HEIGHT, SAFARI_ZONE_REST_HOUSE_3_WIDTH ; dimensions (y, x)
dw SafariZoneRestHouse3Blocks, SafariZoneRestHouse3TextPointers, SafariZoneRestHouse3Script ; blocks, texts, scripts
db $00 ; connections
dw SafariZoneRestHouse3Object ; objects
|
%ifdef CONFIG
{
"Mode": "32BIT"
}
%endif
mov edx, 0xe0000000
; Just to ensure execution
fldcw [edx]
hlt
|
// This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/04/Mult.asm
// Multiplies R0 and R1 and stores the result in R2.
// (R0, R1, R2 refer to RAM[0], RAM[1], and RAM[2], respectively.)
@2
M=0 ... |
/*
* Copyright 2018 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
; A098557: E.g.f. (1/2)*(1+x)*log((1+x)/(1-x)).
; 0,1,2,2,8,24,144,720,5760,40320,403200,3628800,43545600,479001600,6706022400,87178291200,1394852659200,20922789888000,376610217984000,6402373705728000
mov $2,$0
sub $2,2
lpb $2,1
div $0,2
mul $0,$2
mul $0,2
sub $2,1
lpe
mov $1,$0
|
; Partially based on code from https://plutiedev.com/vdp-setup
VdpCtrl: Equ $c00004 ; VDP control port
VdpData: Equ $c00000 ; VDP data port
HvCounter: Equ $c00008 ; H/V counter
VDPREG_MODE1: Equ $8... |
; Disassembly of file: kernel.o
; Mon Oct 30 00:51:00 2017
; Mode: 32 bits
; Syntax: YASM/NASM
; Instruction set: 80386
global kernel_main: function
extern term_writestring ; near
extern term_init ; near
SECTION .text align=16 ex... |
; A095822: Numerators of certain upper bounds for Euler's number e.
; Submitted by Simon Strandgaard
; 3,11,49,87,1631,11743,31967,876809,8877691,4697191,1193556233,2232105163,2222710781,3317652307271,53319412081141,303328210950491,2348085347268533,313262209859119579,42739099682215483
add $0,1
mov $1,1
lpb $0
mov $2... |
###############################################################################
# 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... |
Name: kart-enemy-p.asm
Type: file
Size: 25482
Last-Modified: '1992-08-06T06:37:38Z'
SHA-1: 518F79F6F50238F5FD30317AA82344E3213BA1DF
Description: null
|
#include "cleFlagExistingLabelsKernel.hpp"
#include "cleSetKernel.hpp"
namespace cle
{
FlagExistingLabelsKernel::FlagExistingLabelsKernel (std::shared_ptr<GPU> gpu) :
Kernel( gpu,
"flag_existing_labels",
{"dst" , "src"}
)
{
m_Sources.insert({this->m_KernelName + "", source});
} ... |
// Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include "openvino/op/op.hpp"
namespace ov {
namespace op {
namespace util {
///
/// \brief Base class for ScatterXXX operators.
///
class OPENVINO_API ScatterBase : public Op {
public:
OPENVINO_RTTI_DECLARAT... |
ORG 0x8000 : OUTPUT "all_fake.bin"
OPT reset --zxnext=cspect --syntax=f ; fakes warning ON
break ; CSpect emulator breakpoint (was used to verify all fakes below in debugger)
rl_bc rl bc
rl_de rl de
rl_hl rl hl
rr_bc rr bc
rr_de rr d... |
;name: wordbcd2bin.asm
;
;description: wordbcd2bin: packed bcd word to binary conversion.
;
;use:
;packed bcd: mov rdi,packedbcd
; call wordbcd2bin
;
;build: nasm -felf64 wordbcd2bin.asm -o wordbcd2bin.o
bits 64
global wordbcd2bin
section .text
wordbcd2bin:
;convert packed bcd in AX to ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0xb969, %rsi
lea addresses_normal_ht+0x3e7, %rdi
nop
nop
nop
nop
cmp $47772, %r12
mov $123, %rcx
rep movsl
nop
nop
nop
nop
nop
add %rdx, %rdx
lea addresses_D_ht+0x15827, %r12
n... |
#ifndef MALANG_VM_RUNTIME_STRING_HPP
#define MALANG_VM_RUNTIME_STRING_HPP
#include "primitive_types.hpp"
struct Type_Map;
struct Bound_Function_Map;
struct Malang_Buffer;
struct Malang_Object_Body;
namespace Malang_Runtime
{
void runtime_string_init(Bound_Function_Map&, Type_Map&);
void string_construct_inter... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xbe25, %rsi
lea addresses_D_ht+0xce42, %rdi
nop
nop
nop
nop
nop
and $44255, %r8
mov $1, %rcx
rep movsb
inc %r13
lea addresses_D_ht+0x3342, %r10
nop
cmp $195, %r12
movl $0x61626364, (%r10... |
// Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "intel_gpu/plugin/program.hpp"
#include "transformations/utils/utils.hpp"
#include "ngraph/op/tanh.hpp"
#include "ngraph/op/elu.hpp"
#include "ngraph/op/sigmoid.hpp"
#include "ngraph/op/relu.hpp"
#include "ngraph/op/prelu.... |
; A196289: n^9 - n.
; 0,0,510,19680,262140,1953120,10077690,40353600,134217720,387420480,999999990,2357947680,5159780340,10604499360,20661046770,38443359360,68719476720,118587876480,198359290350,322687697760,511999999980,794280046560,1207269217770,1801152661440,2641807540200,3814697265600,5429503678950,7625597484960,10... |
; uint in_KeyPressed(uint scancode)
SECTION code_clib
PUBLIC in_KeyPressed
PUBLIC _in_KeyPressed
; Determines if a key is pressed using the scan code
; returned by in_LookupKey.
; enter : l = scan row
; h = key mask
; exit : carry = key is pressed & HL = 1
; no carry = key not pressed & HL = 0
; use... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x12b17, %rsi
lea addresses_WC_ht+0x6797, %rdi
nop
nop
nop
nop
sub %r15, %r15
mov $74, %rcx
rep movsw
nop
nop
nop
nop
nop
sub $53833, %r11
lea addresses_normal_ht+0x17ca3, %rsi
lea addre... |
SECTION code_fcntl
PUBLIC zx_01_output_char_32_tty_z88dk_31_down
EXTERN console_01_output_char_proc_move_down
zx_01_output_char_32_tty_z88dk_31_down:
; move cursor down
ld d,(ix+15) ; d = y coord
ld b,(ix+19) ; b = window.height
call console_01_output_char_proc_move_d... |
/*
* This software is distributed under BSD 3-clause license (see LICENSE file).
*
* Authors: Wuwei Lin
*/
#include <gtest/gtest.h>
#include <shogun/base/some.h>
#include <shogun/distance/MahalanobisDistance.h>
#include <shogun/features/DenseFeatures.h>
#include <shogun/lib/common.h>
using namespace shogun;
TEST... |
ROUTE39FARMHOUSE_MILK_PRICE EQU 500
object_const_def ; object_event constants
const ROUTE39FARMHOUSE_POKEFAN_M
const ROUTE39FARMHOUSE_POKEFAN_F
Route39Farmhouse_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
PokefanM_DairyFarmer:
faceplayer
opentext
checkevent EVENT_HEALED_MOOMOO
iftrue FarmerMScript_Se... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright (C) 2022 Intel Corporation
;
; SPDX-License-Identifier: MIT
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
%include "reg_sizes.asm"
%include "lz0a_const.asm"
%include "data_struct2.asm"
%include "igzip_compar... |
obj/__user_badsegment.out: 文件格式 elf32-i386
Disassembly of section .text:
00800020 <__panic>:
#include <stdio.h>
#include <ulib.h>
#include <error.h>
void
__panic(const char *file, int line, const char *fmt, ...) {
800020: 55 push %ebp
800021: 89 e5 mov %esp,%ebp
80... |
; A184116: n + floor(5*sqrt(n)).
; 8,10,13,15,17,19,21,23,24,26,28,30,31,33,35,36,38,39,41,42,44,45,47,49,50,51,53,54,56,57,59,60,62,63,65,66,67,69,70,72,73,74,76,77,78,80,81,83,84,85,87,88,89,91,92,93,95,96,97,99,100,101,103,104,105,106,108,109,110,112,113,114,116,117,118,119,121,122,123,125,126,127,128,130,131,132,13... |
; A024065: a(n) = 6^n - n^3.
; 1,5,28,189,1232,7651,46440,279593,1679104,10076967,60465176,362795725,2176780608,13060691819,78364161352,470184981201,2821109903360,16926659439823,101559956662584,609359740003637,3656158440054976,21936950640368595,131621703842256488,789730223053590649,4738381338321603072,28430288029929685... |
#ifndef __MOJIE_SKILL_IMPL_HPP__
#define __MOJIE_SKILL_IMPL_HPP__
#include "skill/skillbase.hpp"
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
class MojieSkill70 : public SkillBase
{
public:
MojieSkill70() : Skill... |
; A119272: Product of numerator and denominator in Stern-Brocot tree.
; Submitted by Christian Krause
; 0,0,1,2,2,3,6,6,3,4,10,15,12,12,15,10,4,5,14,24,21,28,40,35,20,20,35,40,28,21,24,14,5,6,18,33,30,44,65,60,36,45,84,104,77,70,88,63,30,30,63,88,70,77,104,84,45,36,60,65,44,30,33,18,6,7,22,42,39,60,90,85,52,70,133,168,... |
; A161983: Irregular triangle read by rows: the group of 2n + 1 integers starting at A014105(n).
; 0,3,4,5,10,11,12,13,14,21,22,23,24,25,26,27,36,37,38,39,40,41,42,43,44,55,56,57,58,59,60,61,62,63,64,65,78,79,80,81,82,83,84,85,86,87,88,89,90,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,136,137
mov $1,$0... |
/* scheme/make_sob_fract.asm
* Takes two numbers, a numinator and a denuminator as arguments, and places the corresponding Scheme object in R0
*
* Programmer: Mayer Goldberg, 2010
*/
MAKE_SOB_FRACT:
PUSH(FP);
MOV(FP, SP);
PUSH(IMM(3));
CALL(MALLOC);
DROP(1);
MOV(IND(R0), T_FRACT);
MOV(INDD(R... |
section .text
align 4
global memset
; void *memset(void *addr, int c, size_t n);
; returns the input addr
memset:
; set up the stack frame
push ebp
mov ebp, esp
; save registers (we can only destroy EAX, ECX and EDX)
push ebx
push edi
; slosl: Fill (E)CX dwords at ES:[(E)DI] with EAX
; stosb: Fill (E)CX bytes... |
db 0 ; species ID placeholder
db 65, 100, 60, 105, 45, 80
; hp atk def spd sat sdf
db BUG, POISON ; type
db 45 ; catch rate
db 159 ; base exp
db NO_ITEM, POISON_BARB ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 15 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/beedr... |
; Exception handlers.
global exc_div0_handler
global exc_debug_handler
global exc_nmi_handler
global exc_breakpoint_handler
global exc_overflow_handler
global exc_bound_range_handler
global exc_inv_opcode_handler
global exc_no_dev_handler
global exc_double_fault_handler
global exc_inv_tss_handler
global exc_no_segment_... |
; void clearerr_fastcall(FILE *stream)
INCLUDE "config_private.inc"
SECTION code_clib
SECTION code_stdio
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF __CLIB_OPT_MULTITHREAD & $02
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PUBLIC _clearerr_fastcall
EXTERN asm_clearerr
_clearerr_fastcall:
pop af
pop ix
push hl
push af... |
BITS 16
section .text
foo:
mov [es:eax], dword 3
add edx, [ds:ebx]
xor ecx, [cs:4+eax]
push dword [dword es:4]
sub eax, [dword fs:foo]
and dword [dword gs:foo+edx], byte 3
|
; A343572: a(n) = ceiling((16^n)*Sum_{k=0..n+1} (4/(8k+1)-2/(8k+4)-1/(8k+5)-1/(8k+6))/16^k).
; Submitted by Christian Krause
; 4,51,805,12868,205888,3294199,52707179,843314857,13493037705,215888603273,3454217652358,55267482437723,884279719003556,14148475504056881,226375608064910089,3622009729038561422,57952155664616982... |
global StrToNum
global NumToStr
section .text
;transform string to number
;eax - that number
;string is placed in mass with length <= 20
;spoils eax, ebx, ecx, esi
;edi = array, edx = 19
StrToNum:
push ebp
mov ebp, esp
mov eax, 0
mov ecx, 0
mov esi, 0 ;esi - counter
.stn_lp:
mov eax, [edi+esi*4] ;ea... |
//===-test_convtranspose_1d_xnnpack.cc-----------------------------------------------------------===//
//
// Copyright (C) 2019-2020 Alibaba Group Holding Limited.
//
// 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 ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %r8
push %rax
push %rbx
push %rcx
lea addresses_WC_ht+0xc6ed, %r14
nop
nop
nop
sub %rcx, %rcx
mov $0x6162636465666768, %rax
movq %rax, (%r14)
nop
nop
nop
nop
nop
add $51112, %rbx
lea addresses_normal_ht+0xe725, %r10
nop
nop
xor %rax, %rax
m... |
song9_header:
.byte $04 ;4 streams
.byte MUSIC_SQ1 ;which stream
.byte $01 ;status byte (stream enabled)
.byte SQUARE_1 ;which channel
.byte $B0 ;initial duty (10)
.byte ve_short_staccato ;volume envelope
.word song9_square1 ;po... |
; A056976: Number of blocks of {0, 1, 0} in the binary expansion of n.
; 0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,1,1,0,0,0,0,1,0,0,0,0,0,0,0,1,0,1,1,0,0,1,1,2,1,0,0,0,0,0,0,1,0,1,1,0,0,0,0,1,0,0,0,0,0,0,0,1,0,1,1,0,0,1,1,2,1,0,0,0,0,1,1,2,1,2,2,1,1,0,0,1,0,0,0,0,0,0,0,1,0,1,1,0,0,1,1,2,1,0,0,0,0,0,0,1,0,1,1,0,0,0,0,1,0,0... |
; 05.2005 aralbrec
; iterative qsort, partition element taken from middle
SECTION code_clib
PUBLIC Lqsort
EXTERN l_jpix
; The ansi-C qsort function sorts an array of n-byte items.
; This is a 'little' version that sorts arrays of 2-byte items.
; Those 2-byte items can be integers or pointers to objects. The
; reason... |
; A017039: a(n) = (7*n + 4)^11.
; 4194304,285311670611,64268410079232,2384185791015625,36028797018963968,317475837322472439,1951354384207722496,9269035929372191597,36279705600000000000,122130132904968017083,364375289404334925824,984770902183611232881,2450808588882738675712,5688000922764599609375,12433743083946522728448... |
;;
;; MEG-OS Zero - Kernel
;;
;; Copyright (c) 2014-2017 MEG-OS project
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without modification,
;; are permitted provided that the following conditions are met:
;;
;; * Redistributions of source code must retain the above copyright n... |
; A135916: (n^4 - 10*n^2 + 15*n - 6)/2.
; Submitted by Christian Krause
; 0,0,15,75,222,510,1005,1785,2940,4572,6795,9735,13530,18330,24297,31605,40440,51000,63495,78147,95190,114870,137445,163185,192372,225300,262275,303615,349650,400722,457185,519405,587760,662640,744447,833595,930510
mov $1,$0
add $0,5
mul $0,$1
bi... |
; A010924: Pisot sequence E(8,55), a(n) = floor(a(n-1)^2/a(n-2) + 1/2).
; Submitted by Jon Maiga
; 8,55,378,2598,17856,122724,843480,5797224,39844224,273848688,1882157472,12936036960,88909166592,611071221312,4199882327424,28865721292416,198393621719040,1363556058068736,9371698078726656,64411524820772352,442699337396994... |
; A107659: a(n) = Sum_{k=0..n} 2^max(k, n-k).
; 1,4,10,24,52,112,232,480,976,1984,4000,8064,16192,32512,65152,130560,261376,523264,1047040,2095104,4191232,8384512,16771072,33546240,67096576,134201344,268410880,536838144,1073692672,2147418112
add $0,1
mov $2,$0
mov $3,$0
lpb $0
sub $0,1
mov $1,$2
mul $2,2
trn $... |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ClapTrap.cpp :+: :+: :+: ... |
;
; Z88 Graphics Functions - Small C+ stubs
;
; Written around the Interlogic Standard Library
;
; Stubs Written by D Morris - 15/10/98
;
;
; Page the graphics bank in/out - used by all gfx functions
; Simply does a swap...
;
; $Id: swapgfxbk.asm,v 1.8 2017/01/02 22:57:59 aralbrec Exp $
;... |
0x0000 (0x000000) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0001 (0x000002) 0x2919- f:00024 d: 281 | OR[281] = A
0x0002 (0x000004) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0003 (0x000006) 0x291A- f:00024 d: 282 | OR[282] = A
... |
;falta agregar signos
;imprime en binario ----------------------------------------------------
%macro PutBin 1
push eax
push ebx
push ecx
push edx
mov eax,%1
xor ecx, ecx
dec ecx
%%zero_loop:
inc ecx
rol eax,1
mov ebx, eax
and ebx, 00000001h
cmp ecx, 31 ;condicion de parada
jae %%end
cmp ebx,0
je %%... |
;
; CPC Maths Routines
;
; August 2003 **_|warp6|_** <kbaccam /at/ free.fr>
;
; $Id: cos.asm,v 1.4 2016-06-22 19:50:48 dom Exp $
;
SECTION code_fp
INCLUDE "target/cpc/def/cpcfirm.def"
INCLUDE "target/cpc/def/cpcfp.def"
PUBLIC cos
PUBLIC cosc
EXTERN get_para
.cos call ... |
;
; Generic graphics routines
; Self modifying code version
;
; Stefano Bodrato - 4/1/2007
;
;
; Invert pixel at (x,y) coordinate.
;
;
; $Id: xorpixl_smc.asm,v 1.2 2015/01/19 01:32:47 pauloscustodio Exp $
;
PUBLIC xorpixel
EXTERN pixel
EXTERN pixmode
.xorpixel push hl
ld hl,174 ; XOR (HL)... |
; A047590: Numbers that are congruent to {0, 6, 7} mod 8.
; 0,6,7,8,14,15,16,22,23,24,30,31,32,38,39,40,46,47,48,54,55,56,62,63,64,70,71,72,78,79,80,86,87,88,94,95,96,102,103,104,110,111,112,118,119,120,126,127,128,134,135,136,142,143,144,150,151,152,158,159
mov $1,$0
add $0,2
div $0,3
mul $0,5
add $0,$1
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.