text stringlengths 1 1.05M |
|---|
; A075105: Numerator of n/floor(log_2(n)); denominator is A075106(n).
; 2,3,2,5,3,7,8,3,10,11,4,13,14,5,4,17,9,19,5,21,11,23,6,25,13,27,7,29,15,31,32,33,34,7,36,37,38,39,8,41,42,43,44,9,46,47,48,49,10,51,52,53,54,11,56,57,58,59,12,61,62,63,32,65,11,67,34,23,35,71,12,73,37,25,38,77,13,79,40,27,41,83,14,85,43,29,44,89,15... |
push ebp
mov ebp,esp
push ecx
call dword ptr ds:[16D1BCh]
mov ecx,dword ptr [dev]
and eax,3Fh
shl eax,0Ch
or eax,ecx
mov dword ptr [dev],eax
mov esp,ebp
pop ebp
ret |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: trSmallGState.asm
AUTHOR: John Wedgwood, Feb 25, 1992
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date ... |
CLO ; Close unwanted windows.
MOV BL,C0
Input:
IN 00 ; Wait for key press - Store it in AL.
MOV [BL],AL
CMP BL,FF
JZ Clear
INC BL
CMP AL,0D ; Was it the Enter key? (ASCII 0D)
JNZ Input ; No - jump back. Yes - end.
Clear:
CALL 30
MOV BL,C0
JMP Input
; Clear display
ORG 30
PUSHF
PUSH BL
MOV BL,C0... |
; A060494: a(n) = floor(n^4/64).
; 0,0,0,1,4,9,20,37,64,102,156,228,324,446,600,791,1024,1305,1640,2036,2500,3038,3660,4372,5184,6103,7140,8303,9604,11051,12656,14430,16384,18530,20880,23447,26244,29283,32580,36147,40000,44152,48620,53418,58564,64072,69960,76245,82944,90075,97656,105706,114244,123288,132860,142978,1536... |
mov ecx,dword ptr ds:[1072A88]
lea eax,dword ptr ss:[ebp-18]
push eax
call aok hd.AE26F0
mov dword ptr ss:[ebp-4],4
mov eax,dword ptr ds:[eax]
mov dword ptr ss:[ebp-14],8
cmp dword ptr ds:[eax+380],0
jne aok hd.C2547C
mov eax,dword ptr ds:[ebx+64]
mov byte ptr ss:[ebp-D],1
cmp dword ptr ds:[eax+A20],1
jne a... |
/*=========================================================================
*
* Copyright NumFOCUS
*
* 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.or... |
; A167484: For n people on one side of a river, the number of ways they can all travel to the opposite side following the pattern of 2 sent, 1 returns, 2 sent, 1 returns, ..., 2 sent.
; Submitted by Jon Maiga
; 1,1,6,108,4320,324000,40824000,8001504000,2304433152000,933295426560000,513312484608000000,372664863825408000... |
.model small
.stack
.data
.code
.startup
;mov ax,5h
;mov bl,2h
;div bl
mov dx, WORD PTR 244h
mov ax, WORD PTR 259h
mov bl,8h
div bl
end
|
;------------------------------------------------------------------------------
;*
;* Copyright (c) 2020 - 2021, Intel Corporation. All rights reserved.<BR>
;* SPDX-License-Identifier: BSD-2-Clause-Patent
;*
;*
;------------------------------------------------------------------------------
DEFAULT REL
SECTION... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r14
push %rax
push %rbx
push %rdi
lea addresses_UC_ht+0x147a6, %r12
nop
sub %r14, %r14
mov (%r12), %r13w
nop
nop
sub %rbx, %rbx
lea addresses_A_ht+0x1b51e, %rdi
nop
cmp %r11, %r11
mov $0x6162636465666768, %rax
movq %rax, %xmm0
and $0xfffff... |
#include "Z80Word.h"
//@formatter:off
Z80Word::Z80Word(int wordValue) : highByte{(wordValue & 0xFF00) >> 8}, lowByte{(wordValue & 0xFF)} {} // NOLINT
//@formatter:on
//@formatter:off
Z80Word::Z80Word(unsigned long wordValue) : highByte{(wordValue & 0xFF00) >> 8}, lowByte{(wordValue & 0xFF)} {} // NOLINT
//@formatter:... |
/*
* Copyright (c) 2021 Grant Erickson
* 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
*
... |
; A109340: Expansion of x^2*(1+x+4*x^2)/((1+x+x^2)*(1-x)^3).
; 0,0,1,3,9,16,24,36,49,63,81,100,120,144,169,195,225,256,288,324,361,399,441,484,528,576,625,675,729,784,840,900,961,1023,1089,1156,1224,1296,1369,1443,1521,1600,1680,1764,1849,1935,2025,2116,2208,2304,2401
lpb $0,1
sub $0,1
add $1,$4
trn $1,$2
sub ... |
////////////////////////////////////////////////////////////////////////////////
// SbCamera.cpp
#include "ApConfig.h"
#include "BtTime.h"
#include "MtMatrix3.h"
#include "ShTouch.h"
#include "UiKeyboard.h"
#include "RsUtil.h"
#include "ShHMD.h"
#include "FsFile.h"
#include "HlKeyboard.h"
#include "HlModel.h"
#include... |
; A202565: Indices of decagonal numbers which are also pentagonal.
; Submitted by Jon Maiga
; 1,56,5451,534106,52336901,5128482156,502538914351,49243685124206,4825378603257801,472837859434140256,46333284845942487251,4540189077042929610306,444892196265361159322701,43594895044928350684014356,4271854822206713005874084151
... |
DATA SEGMENT
NUMBER DW 1210h
NUMB2 DW 9D4Bh
NUMB1 DD 5A829D4Bh
STRIN DB 'SOMETHING'
DATA ENDS
INITDS MACRO NUMBER
INC NUMBER
ENDM
CODE1 SEGMENT
INITDS AX
TEST_START:
SCASB
NUMB3 DD 5A829D4Bh
CMP BX, AX
JB WORKPLACE
DEC NUMB2
DEC WORD PTR [BX]
WORKPLACE:
AND NUMBE... |
; A278127: a(n) = 99*n + 71.
; 71,170,269,368,467,566,665,764,863,962,1061,1160,1259,1358,1457,1556,1655,1754,1853,1952,2051,2150,2249,2348,2447,2546,2645,2744,2843,2942,3041,3140,3239,3338,3437,3536,3635,3734,3833,3932,4031,4130,4229,4328,4427,4526
mul $0,99
add $0,71
|
; A049690: a(n) = Sum_{k=1..n} phi(2*k), where phi = Euler totient function, cf. A000010.
; 0,1,3,5,9,13,17,23,31,37,45,55,63,75,87,95,111,127,139,157,173,185,205,227,243,263,287,305,329,357,373,403,435,455,487,511,535,571,607,631,663,703,727,769,809,833,877,923,955,997,1037,1069,1117,1169,1205,1245,1293,1329,1385,1443... |
; A029716: Partial sums of Kempner numbers A002034.
; Submitted by Jon Maiga
; 1,3,6,10,15,18,25,29,35,40,51,55,68,75,80,86,103,109,128,133,140,151,174,178,188,201,210,217,246,251,282,290,301,318,325,331,368,387,400,405,446,453,496,507,513,536,583,589,603,613,630,643,696,705,716,723,742,771,830,835,896,927,934,942,955,... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r8
push %r9
lea addresses_WT_ht+0x18260, %r10
nop
nop
inc %r12
mov (%r10), %r8d
nop
nop
nop
inc %r9
pop %r9
pop %r8
pop %r12
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r14
push %r8
push %rbp
push %rbx
push %rdi
push %rdx
... |
db "WOOD GECKO@" ; species name
dw 108, 110 ; height, weight
db "It quickly scales"
next "even vertical"
next "walls. It senses"
page "humidity with its"
next "tail to predict"
next "the weather.@"
|
; A184009: n-1+ceiling((3/4)n^2); complement of A184008.
; 1,3,6,10,15,21,27,35,43,52,62,73,85,97,111,125,140,156,173,191,209,229,249,270,292,315,339,363,389,415,442,470,499,529,559,591,623,656,690,725,761,797,835,873,912,952,993,1035,1077,1121,1165,1210,1256,1303,1351,1399,1449,1499,1550,1602,1655,1709,1763,1819,1875,... |
; A075317: Pair the odd numbers such that the k-th pair is (r, r+2k) where r is the smallest odd number not included earlier: (1,3),(5,9),(7,13),(11,19),(15,25),(17,29),(21,35),(23,39),(27,45),... This is the sequence of the first member of pairs.
; Submitted by Christian Krause
; 1,5,7,11,15,17,21,23,27,31,33,37,41,43... |
; A141032: a(n) = 4*(16^n-1)/15.
; 0,4,68,1092,17476,279620,4473924,71582788,1145324612,18325193796,293203100740,4691249611844,75059993789508,1200959900632132,19215358410114116,307445734561825860,4919131752989213764,78706108047827420228,1259297728765238723652,20148763660243819578436,322380218563901113254980,51580834970... |
.MODEL SMALL
.STACK 100H
.CODE
MAIN PROC
; display user prompt
MOV AH,2
MOV DL,'?'
INT 21H
;initialize character count
XOR CX , CX
;read character
MOV AH , 1
INT 21H
;while character is not a carriage return do
WHILE_:
CMP AL ,0DH
JE END_WHILE
PUSH AX
INC CX
INT 21H
JMP WHILE_
END_WHILE:
MOV AH , ... |
INCLUDE "constants/hardware.inc"
INCLUDE "constants/other-hardware.inc"
INCLUDE "constants/game-select.inc"
INCLUDE "constants/actors.inc"
INCLUDE "constants/sfx.inc"
INCLUDE "constants/transition.inc"
INCLUDE "constants/screens.inc"
SECTION UNION "Game Variables", HRAM
hCurrentSelection:
DS 1
SECTION "Game Sele... |
; A131963: Expansion of f(x, x^2) * f(x^4, x^12) in powers of x where f(, ) is Ramanujan's general theta function.
; Submitted by Jon Maiga
; 1,1,1,0,1,2,1,1,0,1,0,1,2,1,1,1,1,1,0,2,0,0,1,0,2,1,3,1,0,1,1,1,0,0,1,1,1,0,1,2,2,1,1,0,1,1,1,2,0,0,1,1,2,0,0,2,0,1,0,1,1,2,2,1,1,1,1,1,0,1,1,0,1,0,1,3,0,1,0,0,1,2,2,0,1,1,2,0,0,... |
#include "../precomp.hpp"
#if defined(ENABLE_TORCH_IMPORTER) && ENABLE_TORCH_IMPORTER
#include "THFile.h"
#include "THFilePrivate.h"
namespace TH {
#define IMPLEMENT_THFILE_RW(TYPEC, TYPE) \
long THFile_read##TYPEC##Raw(THFile *self, TYPE *data, long n) \
{ ... |
/*
* Copyright (c) 2013-, Stephen Miller
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
*
* 1. Redistributions of source code must retain the
* above copyright notice, this list o... |
; A232423: a(n) = ceiling(sqrt(n^4 - n^3 - n^2 + n + 1))^2 - (n^4 - n^3 - n^2 + n + 1).
; 0,0,2,0,15,3,38,8,71,15,114,24,167,35,230,48,303,63,386,80,479,99,582,120,695,143,818,168,951,195,1094,224,1247,255,1410,288,1583,323,1766,360,1959,399,2162,440,2375,483,2598,528,2831,575,3074,624,3327,675
mov $3,$0
mov $5,2
lpb ... |
LD A, A
LD A, B
LD A, C
LD A, D
LD A, E
LD A, H
LD A, L
LD A, I
LD A, R
LD B, A
LD B, B
LD B, C
LD B, D
LD B, E
LD B, H
LD B, L
LD C, A
LD C, B
LD C, C
LD C, D
LD C, E
LD C, H
LD C, L
LD D, A
LD D, B
LD D, C
LD D, D
LD D, E
LD D, H
LD D, L
LD E, A
LD E, B
LD E, C
LD E, D
LD E, E
LD E, H
LD H, A
LD H, B
LD H, C
LD H, D
... |
; A216134: Numbers n such that T_n and 2*T_n + 1 are triangular.
; Submitted by Jamie Morken(s2)
; 0,1,4,9,26,55,154,323,900,1885,5248,10989,30590,64051,178294,373319,1039176,2175865,6056764,12681873,35301410,73915375,205751698,430810379,1199208780,2510946901,6989500984,14634871029,40737797126,85298279275,237437281774,... |
.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, 02
ld d, 03
lbegin_waitm2:
ldff a, (c)
and a, d
cmp a, b
jrnz lbegin_waitm2
ld a, 08
ldff(c), a
ld a, 02
ldff(ff), a
ei
ld ... |
// Copyright (c) 2016-2019 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/
#ifndef TAO_PEGTL_INTERNAL_REQUIRE_HPP
#define TAO_PEGTL_INTERNAL_REQUIRE_HPP
#include "../config.hpp"
#include "skip_control.hpp"
#include "trivial.hpp"
#include "../analysis/gene... |
; A047310: Numbers that are congruent to {0, 1, 3, 4, 5, 6} mod 7.
; 0,1,3,4,5,6,7,8,10,11,12,13,14,15,17,18,19,20,21,22,24,25,26,27,28,29,31,32,33,34,35,36,38,39,40,41,42,43,45,46,47,48,49,50,52,53,54,55,56,57,59,60,61,62,63,64,66,67,68,69,70,71,73,74,75,76,77,78
mov $1,$0
mul $1,7
add $1,4
div $1,6
|
; $Id: ASMAtomicUoDecU32.asm 69111 2017-10-17 14:26:02Z vboxsync $
;; @file
; IPRT - ASMAtomicUoDecU32().
;
;
; Copyright (C) 2014-2017 Oracle Corporation
;
; This file is part of VirtualBox Open Source Edition (OSE), as
; available from http://www.virtualbox.org. This file is free software;
; you can redistribute it ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x10c4a, %rbx
nop
nop
nop
xor %r8, %r8
mov (%rbx), %r10w
nop
nop
nop
nop
and $3683, %rax
lea addresses_WT_ht+0x14b1, %r12
clflush (%r12)
nop
nop
nop
cmp $41066, %r10
mov $0... |
INCLUDE<P16F84A.INC>
#DEFINE BOTAO0 PORTA,0 ;define o pino 0 de A como o botao 0. SOMA
#DEFINE BOTAO1 PORTA,1 ;define o pino 1 de A como o botao 1. SUBTRAI
TEMP EQU 0X2C ;registrador temporario
ORG 0X00
GOTO INICIO
;--- A CONTÉM 2 BOTÕES, ... |
#include "./time.hpp"
#include <chrono> // chrono::system_clock
#include <ctime> // localtime
#include <sstream> // stringstream
#include <iomanip> // put_time
namespace Utils::Time
{
std::string getCurrentTimestamp(const char *format)
{
auto now = std::chrono::system_clock::now();
auto in_time_... |
; A074796: Number of numbers k <= n such that tau(k) == 2 (mod 3) where tau(k) = A000005(k) is the number of divisors of k.
; 0,1,2,2,3,3,4,4,4,4,5,5,6,6,6,7,8,8,9,9,9,9,10,11,11,11,11,11,12,13,14,14,14,14,14,14,15,15,15,16,17,18,19,19,19,19,20,20,20,20,20,20,21,22,22,23,23,23,24,24,25,25,25,25,25,26,27,27,27,28,29,29,... |
#include "signverifymessagedialog.h"
#include "ui_signverifymessagedialog.h"
#include "addressbookpage.h"
#include "base58.h"
#include "guiutil.h"
#include "init.h"
#include "main.h"
#include "optionsmodel.h"
#include "walletmodel.h"
#include "wallet.h"
#include <string>
#include <vector>
#include <QClipboard>
Sign... |
JoeyPhoneCalleeScript:
gettrainername STRING_BUFFER_3, YOUNGSTER, JOEY1
checkflag ENGINE_JOEY
iftrue .WantsBattle
farscall PhoneScript_AnswerPhone_Male
checkflag ENGINE_JOEY_MONDAY_AFTERNOON
iftrue .NotMonday
readvar VAR_WEEKDAY
ifnotequal MONDAY, .NotMonday
checktime DAY
iftrue JoeyMondayAfternoon
.NotMonda... |
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
//
#include "stdafx.h"
#include "CNTKLibrary.h"
#include "Utils.h"
#include "TensorView.h"
#include "Matrix.h"
#include <algorithm>
#include "TensorShape.h"
usin... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
; Module Name:
;
; ZeroMem.Asm
;
; Abstract:
;
; ZeroMem function
;
; Notes:
;
;---------------------------------------... |
/*************************************************************************/
/* shader_language.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... |
; MapGroupRoofs values; Roofs indexes
const_def
const ROOF_NEW_BARK ; 0
const ROOF_VIOLET ; 1
const ROOF_AZALEA ; 2
const ROOF_OLIVINE ; 3
const ROOF_GOLDENROD ; 4
MapGroupRoofs:
; entries correspond to map groups
; values are indexes for Roofs (see below)
db -1 ; 0
db ROOF_NEW_BARK ; 1... |
/*
MIT License
Copyright(c) 2020 Evgeny Pereguda
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, publish, ... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distribution. Th... |
#if defined PLAT_PC
#ifndef WINDOWS_APPLICATION_HPP
#define WINDOWS_APPLICATION_HPP
//////////////////////////////////////////////////////
// INCLUDES
//////////////////////////////////////////////////////
#include <windows.h>
//////////////////////////////////////////////////////
// CLASSES
///////////////////////... |
; A131844: 3*A131821 - 2*A000012.
; Submitted by Simon Strandgaard
; 1,4,4,7,1,7,10,1,1,10,13,1,1,1,13,16,1,1,1,1,16,19,1,1,1,1,1,19,22,1,1,1,1,1,1,22,25,1,1,1,1,1,1,1,25,28,1,1,1,1,1,1,1,1,28
lpb $0
add $1,1
sub $0,$1
mov $2,$1
lpe
bin $1,$0
pow $1,2
div $2,$1
mov $0,$2
mul $0,3
add $0,1
|
; A063657: Numbers with property that truncated square root is unequal to rounded square root.
; 3,7,8,13,14,15,21,22,23,24,31,32,33,34,35,43,44,45,46,47,48,57,58,59,60,61,62,63,73,74,75,76,77,78,79,80,91,92,93,94,95,96,97,98,99,111,112,113,114,115,116,117,118,119,120,133,134,135,136,137,138,139,140,141,142,143,157,158... |
;******************************************************************************
;* VP9 Intra prediction SIMD optimizations
;*
;* Copyright (c) 2015 Ronald S. Bultje <rsbultje gmail com>
;* Copyright (c) 2015 Henrik Gramner <henrik gramner com>
;*
;* This file is part of FFmpeg.
;*
;* FFmpeg is free software; you can re... |
.size 8000
.text@40
ret
nop
nop
nop
nop
nop
nop
nop
jp l1000
.text@100
jp lbegin
.data@143
80
.text@150
lbegin:
ld a, ff
ldff(45), a
ld b, 8d
call lwaitly_b
ld a, 40
ldff(41), a
ld a, 02
ldff(ff), a
ei
ld a, b
inc a
inc a
ldff(45), a
ld c, 0f
xor a, a
ldff(0f), a
ld b, 03
ld a, b
ldff(... |
; A061205: a(n) = n times R(n) where R(n) (A004086) is the digit reversal of n.
; 0,1,4,9,16,25,36,49,64,81,10,121,252,403,574,765,976,1207,1458,1729,40,252,484,736,1008,1300,1612,1944,2296,2668,90,403,736,1089,1462,1855,2268,2701,3154,3627,160,574,1008,1462,1936,2430,2944,3478,4032,4606,250,765,1300,1855,2430,3025,364... |
; A020130: Ceiling of GAMMA(n+1/5)/GAMMA(1/5).
; Submitted by Jon Maiga
; 1,1,1,1,2,8,37,229,1648,13508,124269,1267543,14196478,173197025,2286200719,32464050200,493453563030,7993947721072,137495900802424,2502425394604114,48046567576398987,970540665043259526
mov $2,1
mov $3,$0
mul $3,5
lpb $3
sub $3,4
mov $5,$3
m... |
; A170174: Number of reduced words of length n in Coxeter group on 21 generators S_i with relations (S_i)^2 = (S_i S_j)^39 = I.
; Submitted by Jamie Morken(s1)
; 1,21,420,8400,168000,3360000,67200000,1344000000,26880000000,537600000000,10752000000000,215040000000000,4300800000000000,86016000000000000,172032000000000000... |
; A183190: Triangle T(n,k), read by rows, given by (1, 1, 0, 0, 0, 0, 0, 0, 0, ...) DELTA (0, 1, 0, 0, 0, 0, 0, 0, 0, ...) where DELTA is the operator defined in A084938.
; Submitted by Christian Krause
; 1,1,0,2,1,0,4,4,1,0,8,12,6,1,0,16,32,24,8,1,0,32,80,80,40,10,1,0,64,192,240,160,60,12,1,0,128,448,672,560,280,84,14... |
; A033380: a(n) = floor(60/n).
; 60,30,20,15,12,10,8,7,6,6,5,5,4,4,4,3,3,3,3,3,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
add $0,1
mov $1,60
div $1,$0
mov $0,$1
|
; A054623: Number of ways to color vertices of a 9-gon using <= n colors, allowing only rotations.
; 0,1,60,2195,29144,217045,1119796,4483815,14913200,43046889,111111340,261994491,573309320,1178278205,2295672484,4271485135,7635498336,13176431825,22039922460,35854190179,56888890680,88253340581,134141026580,200128076215,... |
[extern isr_handler]
[extern irq_handler]
[extern signal_handler]
; Common ISR code
isr_common_stub:
; 1. Save CPU state
pusha ; Pushes edi,esi,ebp,esp,ebx,edx,ecx,eax
push ds
push es
push fs
push gs
mov ax, 0x10 ; kernel data segment descriptor
mov ds, ax
mov es, ax
mov fs, a... |
; Licensed to the .NET Foundation under one or more agreements.
; The .NET Foundation licenses this file to you under the MIT license.
; See the LICENSE file in the project root for more information.
; ==++==
;
;
; ==--==
#include "ksarm.h"
#include "asmconstants.h"
#include "asmmacros.h"
IMPORT FixContextHand... |
// Copyright Catch2 Authors
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)
// SPDX-License-Identifier: BSL-1.0
/** \file
* This is a special TU that combines what would otherwise be a v... |
; A143938: The Wiener index of a benzenoid consisting of a linear chain of n hexagons.
; 27,109,279,569,1011,1637,2479,3569,4939,6621,8647,11049,13859,17109,20831,25057,29819,35149,41079,47641,54867,62789,71439,80849,91051,102077,113959,126729,140419,155061,170687,187329,205019,223789,243671,264697,286899,310309,334959... |
/* 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... |
//===- TestConvertCallOp.cpp - Test LLVM Conversion of Func CallOp --------===//
//
// 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
//
//===---------------------------... |
.file "example.cpp"
__SREG__ = 0x3f
__SP_H__ = 0x3e
__SP_L__ = 0x3d
__CCP__ = 0x34
__tmp_reg__ = 0
__zero_reg__ = 1
.stabs "/compiler-explorer/",100,0,4,.Ltext0
.stabs "/tmp/compiler-explorer-compiler116922-97-ldr5x6/example.cpp",100,0,4,.Ltext0
.text
.Ltext0:
.stabs "gcc2_c... |
namespace hx {
unsigned char __res_4[] = {
0x80, 0x00, 0x00, 0x80,
137,80,78,71,13,10,26,10,0,0,
0,13,73,72,68,82,0,0,0,16,
0,0,0,16,8,3,0,0,0,40,
45,15,83,0,0,0,32,99,72,82,
77,0,0,122,37,0,0,128,131,0,
0,249,255,0,0,128,233,0,0,117,
48,0,0,234,96,0,0,58,152,0,
0,23,111,146,95,197,70,0,0,3,
0,80,76,84,69,0,0,0,62,62,
... |
LMHeart7 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, 0x0f, 0xf8, 0xfc, 0x00, 0x01, 0x1d, 0xc0
db 0x01, 0x0f, 0xf8, 0xfc, 0x00, 0x01, 0x37, 0x60
db 0x01, 0x0c, 0x18, 0xfc, 0x00, 0x01, 0x2a, 0xa0
db 0x01, 0x0c, 0x38, 0x... |
; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
; klib.asm
; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
; Forrest Yu, 2005
; ++++++++++++++++++++++++++++++++++++++++++++++++++++++... |
; A192305: 0-sequence of reduction of (2n) by x^2 -> x+1.
; Submitted by Jon Maiga
; 2,2,8,16,36,72,142,270,504,924,1672,2992,5306,9338,16328,28392,49132,84664,145350,248710,424312,721972,1225488,2075616,3508466,5919602,9970952,16768960,28161204,47229864,79112062,132362622,221216376,369341388,616061848,1026669712,17095... |
#pragma once
#include <nano/lib/locks.hpp>
#include <nano/lib/rate_limiting.hpp>
#include <nano/lib/stats.hpp>
#include <nano/node/common.hpp>
#include <nano/node/socket.hpp>
namespace nano
{
class bandwidth_limiter final
{
public:
// initialize with limit 0 = unbounded
bandwidth_limiter (const double, const size_t... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r15
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xc7b6, %rsi
lea addresses_WT_ht+0x3bb6, %rdi
nop
nop
nop
nop
nop
xor $37018, %r10
mov $6, %rcx
rep movsq
nop
and $30951, %r11
lea addresses_WT_ht+0x11736, %rsi
lea addresses_W... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %rax
push %rbp
push %rcx
push %rsi
lea addresses_normal_ht+0x39cd, %r14
nop
nop
nop
nop
nop
inc %r15
mov (%r14), %r12
nop
nop
nop
nop
nop
xor %rcx, %rcx
lea addresses_WT_ht+0x282d, %rsi
and %rbp, %rbp
mov (%rsi), %r12
nop
nop
nop
nop
nop
su... |
;============================================
;::MRENDER_SCOREBOARD
;============================================
macro MRENDER_SCOREBOARD
LD de, MWORK.CAMERA_SCREEN
CALL RENDER_LIVES
CALL TRATE_HI_SCORE
LD de, MWORK.CAMERA_SCREEN+24
LD HL, MWORK.PLAYER_POINTS
CAL... |
//==================================================================================================
/*!
@file
@copyright 2016 NumScale SAS
@copyright 2016 J.T.Lapreste
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*... |
enter_key equ 0
bspace equ 0
tab equ 0
ctrl_key equ 0
lshift equ 0
rshift equ 0
prnscr equ 0
alt_key equ 0
caps equ 0
f1 equ 0
f2 equ 0
f3 equ 0
f4 equ 0
f5 equ 0
f6 equ 0
f7 equ 0
f8 equ 0
f9 equ 0
f10 equ 0
f11 equ 0
f12 ... |
; A312892: Coordination sequence Gal.5.50.4 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,4,9,13,17,21,25,29,33,38,42,46,51,55,59,63,67,71,75,80,84,88,93,97,101,105,109,113,117,122,126,130,135,139,143,147,151,155,159,164,168,172,... |
;; contextSwitch [System]
;; Triggers a context switch early. This will transfer control from your thread to
;; another and eventaully return to yours with interrupts enabled.
contextSwitch:
di
push af
push bc
push de
push hl
push ix
push iy
exx
ex af, af'
push af
push bc
... |
#-- INPUT N
START: PRINT @S0[PROGRAM_END+0]
N[MEMORY_CONTEXT+0] = READ
#-- LET F = 1
F[MEMORY_CONTEXT+8] = 1
#-- FOR I=2 TO N LET F = (F*I) NEXT I
I[MEMORY_CONTEXT+16] = 2
L1: @T1[MEMORY_CONTEXT+24] = (I[MEMORY_... |
#ifndef STAN_MATH_PRIM_PROB_GAMMA_LCDF_HPP
#define STAN_MATH_PRIM_PROB_GAMMA_LCDF_HPP
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/err.hpp>
#include <stan/math/prim/fun/constants.hpp>
#include <stan/math/prim/fun/digamma.hpp>
#include <stan/math/prim/fun/exp.hpp>
#include <stan/math/prim/fun/gamma_p.hpp... |
ViridianGymScript:
ld hl, Gym8CityName
ld de, Gym8LeaderName
call LoadGymLeaderAndCityName
call EnableAutoTextBoxDrawing
ld hl, ViridianGymTrainerHeaders
ld de, ViridianGymScriptPointers
ld a, [wViridianGymCurScript]
call ExecuteCurMapScriptInTable
ld [wViridianGymCurScript], a
ret
Gym8CityName:
db "VIRIDIA... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r15
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0xa08b, %rsi
lea addresses_WC_ht+0x1bb8b, %rdi
clflush (%rdi)
nop
nop
nop
nop
nop
and $60932, %r14
mov $28, %rcx
rep movsb
and $57821, %rbp
lea addresses_UC_ht+0x14287, %r15
no... |
; A139289: (2^(2p - 1)/2)-1, where p is prime.
; Submitted by Jamie Morken(r1)
; 3,15,255,4095,1048575,16777215,4294967295,68719476735,17592186044415,72057594037927935,1152921504606846975,4722366482869645213695,1208925819614629174706175,19342813113834066795298815,4951760157141521099596496895,202824096036516704239472512... |
#pragma once
#include <bts/bitname/bitname_block.hpp>
namespace bts { namespace bitname {
/**
* Defines the call back methods when a name is found.
*/
class name_miner_delegate
{
public:
virtual ~name_miner_delegate(){}
/**
* Called with a block that sat... |
;; Copyright (C) 2020, Vi Grey
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions
;; are met:
;;
;; 1. Redistributions of source code must retain the above copyright
;; notice, this list of conditions ... |
<%
from pwnlib.shellcraft.arm.linux import syscall
%>
<%page args="request, vararg"/>
<%docstring>
Invokes the syscall ptrace. See 'man 2 ptrace' for more information.
Arguments:
request(ptrace_request): request
vararg(int): vararg
</%docstring>
${syscall('SYS_ptrace', request, vararg)}
|
/*
* Copyright (C) 2012 The Android Open Source Project
*
* 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 app... |
ORG 32768
; === b e g i n ===
ld (Stop+1), SP ; 4:20 init storing the original SP value when the "bye" word is used
ld L, 0x1A ; 2:7 init Upper screen
call 0x1605 ; 3:17 init Open channel
ld HL, 60000 ; 3:10 init Init Return address s... |
; A231104: Number of n X 4 0..3 arrays x(i,j) with each element horizontally or antidiagonally next to at least one element with value (x(i,j)+1) mod 4, no adjacent elements equal, and upper left element zero.
; 0,6,48,438,3936,35430,318864,2869782,25828032,232452294,2092070640,18828635766,169457721888,1525119496998,13... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>ftime(timebuf) -> str
Invokes the syscall ftime.
See 'man 2 ftime' for more information.
Arguments:
timebuf(timeb*): timebuf
Returns:
int
</%docstring>
<%page args="timebuf=0"/>
<%
abi = pwn... |
;------------------------------------------------------------------------------
; @file
; Sets the CR3 register for 64-bit paging
;
; Copyright (c) 2008 - 2013, Intel Corporation. All rights reserved.<BR>
; Copyright (c) 2019, Citrix Systems, Inc.
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
;----------------------... |
/*
* All Video Processing kernels
* Copyright © <2010>, Intel Corporation.
*
* This program is licensed under the terms and conditions of the
* Eclipse Public License (EPL), version 1.0. The full text of the EPL is at
* http://www.opensource.org/licenses/eclipse-1.0.php.
*
* Authors:
* Halley Zhao <halley... |
; ff3_rand.asm
;
; description:
; small patch for pseudorandom generator for battle
;
; version:
; 0.01 (2006-10-12)
;
;======================================================================================================
ff3_rand_begin:
.bank $3f
.org $fc27
initBattleRandom:
.org $fc37
adc #RANDO... |
/*******************************************************************************
CREATED: 29.05.2019, by Vana Radek
DESCRIPTION:
Inspired by https://github.com/canton7/StateMechanic
But much lighter version unlike original I do not use names in constreuctor - need to save RAM
targetted for IAR compilled V850 Extende... |
;
; jccolor.asm - colorspace conversion (MMX)
;
; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
; Copyright (C) 2009, 2016, D. R. Commander.
;
; Based on the x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribution and use, see copyright notice... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Specific Screen Saver -- Circles
FILE: circles.asm
AUTHOR: Gene, Mar 25, 1992
REVISION HISTORY:
Name Date Description
---- ---- ---------... |
[org 0x0100]
push _str
push substr2
call findSubstr
mov ax, 0x4c00
int 21h
findSubstr:
push bp
mov bp,sp
push ax
push bx
push cx
push dx
push si
push di
push es
sub sp, 2
push word [bp+4]
call strlen
pop dx
sub sp, 2
push word [bp+6]
call strlen
pop cx
sub ... |
<%
from pwnlib.shellcraft.powerpc.linux import syscall
%>
<%page args="addr, length, advice"/>
<%docstring>
Invokes the syscall madvise. See 'man 2 madvise' for more information.
Arguments:
addr(void): addr
len(size_t): len
advice(int): advice
</%docstring>
${syscall('SYS_madvise', addr, length,... |
; A070489: a(n) = n^3 mod 27.
; 0,1,8,0,10,17,0,19,26,0,1,8,0,10,17,0,19,26,0,1,8,0,10,17,0,19,26,0,1,8,0,10,17,0,19,26,0,1,8,0,10,17,0,19,26,0,1,8,0,10,17,0,19,26,0,1,8,0,10,17,0,19,26,0,1,8,0,10,17,0,19,26,0,1,8,0,10,17,0,19,26,0,1,8,0,10,17,0,19,26,0,1,8,0,10,17,0,19,26,0,1,8,0,10,17,0,19,26,0,1,8,0,10,17,0,19,26,0,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.