text stringlengths 1 1.05M |
|---|
; A004575: Expansion of sqrt(7) in base 8.
; Submitted by Jamie Morken(s2)
; 2,5,1,2,4,7,7,6,5,1,6,4,5,7,4,3,5,1,5,5,7,0,7,1,6,5,1,7,6,3,0,3,7,6,0,6,7,5,0,4,0,6,5,2,4,5,1,6,7,7,7,4,7,5,5,7,0,2,0,2,5,6,7,7,4,4,3,4,3,2,2,4,6,7,7,5,0,7,0,5,5,7,6,2,2,5,1,1,6,2,6,6,4,0,2,1,4,4,7,1
mov $1,1
mov $2,1
mov $3,$0
add $3,2
mov $... |
; void *obstack_1grow(struct obstack *ob, char c)
SECTION code_clib
SECTION code_alloc_obstack
PUBLIC obstack_1grow
EXTERN asm_obstack_1grow
obstack_1grow:
pop af
pop bc
pop hl
push hl
push bc
push af
jp asm_obstack_1grow
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _obstack_1grow
d... |
/*
* MIT License
*
* Copyright (c) 2020 Ali AlSaibie
*
* 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, m... |
%include "source/boot/constants.asm"
[bits 32]
section .text
global checkCPUID:function (checkCPUID.end - checkCPUID)
checkCPUID:
extern earlyError;
; We will check if CPUID is supported by attempting to flip the ID
; bit (bit 21) in the FLAGS register.
; If we can flip it, CPUID is available.
... |
// Copyright (c) 2017-2020 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 <chainparams.h>
#include <index/txindex.h>
#include <script/standard.h>
#include <test/util/setup_common.h>
#include... |
;sequence
dw ptn8
dw ptn8
dw ptn9
dw ptna
loop
dw ptn1
dw ptn1
dw ptn2
dw ptn2
dw ptn1
dw ptn3
dw ptn4
dw ptn4
dw ptn5
dw ptn5
dw ptn6
dw ptn6
dw ptnd
dw ptnd
dw ptnb
dw ptne
dw 0
ptn1
dw #300,row0
dw #300,row1
dw #300,row2
dw #300,row3
dw #300,row4
dw #300,row5... |
; A187320: a(n) = floor((Pi-2)*n); complement of A186544.
; 0,1,2,3,4,5,6,7,9,10,11,12,13,14,15,17,18,19,20,21,22,23,25,26,27,28,29,30,31,33,34,35,36,37,38,39,41,42,43,44,45,46,47,49,50,51,52,53,54,55,57,58,59,60,61,62,63,65,66,67,68,69,70,71,73,74,75,76,77,78,79,81,82,83,84,85,86,87,89,90,91,92,93,94,95,97,98,99,100,1... |
;--------------------------------------------------------------
; This code comes from the 'HRG_Tool'
; by Matthias Swatosch
;--------------------------------------------------------------
;
; Fast CLS for hi-rez ZX81
;
; Stefano - Sept.2007
; This version works on the first 64 lines only
;
;
; $Id: clg.as... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 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 so... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x103b8, %r8
nop
inc %r10
movl $0x61626364, (%r8)
nop
nop
nop
cmp $31348, %rax
lea addresses_D_ht+0x6a98, %rbx
nop
nop
nop
dec %rdi
mov $0x6162636465666768, %r8
movq %r8, %xmm7... |
; A130490: a(n) = Sum_{k=0..n} (k mod 12) (Partial sums of A010881).
; 0,1,3,6,10,15,21,28,36,45,55,66,66,67,69,72,76,81,87,94,102,111,121,132,132,133,135,138,142,147,153,160,168,177,187,198,198,199,201,204,208,213,219,226,234,243,253,264,264,265,267,270,274,279,285,292,300,309,319,330,330,331,333,336,340,345,351,358,3... |
macro stat_bonus statbonus, s, x
; x = depths = depth^2
mov r9d, r13d
imul r9d, r13d ; r9d = x^2
imul r9d, 29
imul eax, r13d, 138 ; rax = 138*x
add r9d, eax
sub r9d, 134
mov statbonus, r9d
end macro
macro abs_bonus bonus, t
mov edx, bonus
sar edx, 31
mov t, edx
xor t, bonus
sub t, ed... |
;;----------------------------------------------------------------------------;;
;; Align the position of the textbox in the express mission menu.
;; Copyright 2015 Benito Palacios (aka pleonex)
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance w... |
; A082290: Expansion of (1+x+x^2)/((1+x^2)*(1+x)^4*(1-x)^5).
; 1,2,6,9,19,26,46,59,94,116,172,206,290,340,460,530,695,790,1010,1135,1421,1582,1946,2149,2604,2856,3416,3724,4404,4776,5592,6036,7005,7530,8670,9285,10615,11330,12870,13695,15466,16412,18436,19514,21814,23036
mov $5,$0
mov $7,$0
add $7,1
lpb $7,1
clr $0,... |
//===----------------------------------------------------------------------===//
//
// 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
//
//===---------------------------... |
; A002109: Hyperfactorials: Product_{k = 1..n} k^k.
; 1,1,4,108,27648,86400000,4031078400000,3319766398771200000,55696437941726556979200000,21577941222941856209168026828800000
lpb $0
mov $2,$0
sub $0,1
add $1,2
pow $2,$2
mul $1,$2
sub $1,2
lpe
div $1,2
add $1,1
mov $0,$1
|
; A021588: Decimal expansion of 1/584.
; Submitted by Jon Maiga
; 0,0,1,7,1,2,3,2,8,7,6,7,1,2,3,2,8,7,6,7,1,2,3,2,8,7,6,7,1,2,3,2,8,7,6,7,1,2,3,2,8,7,6,7,1,2,3,2,8,7,6,7,1,2,3,2,8,7,6,7,1,2,3,2,8,7,6,7,1,2,3,2,8,7,6,7,1,2,3,2,8,7,6,7,1,2,3,2,8,7,6,7,1,2,3,2,8,7,6
add $0,1
mov $2,10
pow $2,$0
div $2,584
mov $0,$2
mod $... |
/
/ Code Section
/
*0200
Main, cla cll / clear AC and Link
tad N / load N
cia / negate it
dca Count / deposit it to Count and clear AC
dca Index / zero out Index
dca Sum / zero out sum
Loop, isz Index / add 1 to Index
tad Sum ... |
%include "debug.asm"
section .text
global str_isalpha
str_isalpha:
mov eax, 1
.loop_start:
movzx ecx, byte [rdi]
or ecx, 32
sub ecx, 'a'
cmp ecx, 26
jae .return_false
add rdi, 1
cmp byte [rdi], 0
jne .loop_start
ret
.return_false:
xor eax, eax
ret
|
; Instructions are ordered in XOP databook order
; BITS=16 to minimize output length
[bits 16]
vfrczpd xmm1, xmm2 ; 8F E9 78 81 312
vfrczpd xmm1, [0] ; 8F E9 78 81 016 00 00
vfrczpd xmm1, dqword [0] ; 8F E9 78 81 016 00 00
vfrczpd ymm1, ymm2 ; 8F E9 7C 81 312
vfrczpd ymm1, [0] ; 8F E9 7C 81 016 00 00
vfrczpd y... |
; A140846: Primes of the form 210k + 31.
; Submitted by Christian Krause
; 31,241,661,1291,2131,2341,2551,2971,3181,3391,4021,4231,4441,4651,4861,5281,5701,6121,6961,7591,8011,8221,8431,8641,9901,10111,10321,10531,11161,12211,12421,12841,13681,14731,15361,15991,16411,16831,17041
mov $1,2
mov $2,$0
add $2,2
pow $2,2
lp... |
//
// Copyright 2012 Alin Dobra and Christopher Jermaine
//
// 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 b... |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.1
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do... |
; char __CALLEE__ *strrstr_callee(char *s, char *w)
; return ptr to last occurrence of string w in s
; 01.2007 aralbrec
SECTION code_clib
PUBLIC strrstr_callee
PUBLIC _strrstr_callee
PUBLIC ASMDISP_STRRSTR_CALLEE
EXTERN rcmx_cpir
.strrstr_callee
._strrstr_callee
pop hl
pop de
ex (sp),hl
; enter ... |
; Test for some corner cases
db v1
v1 = 1
db v1
v1 = v1 + 1
db v1
db %11'01'11'00
db 1'234
db #01'02
|
; A170687: Number of reduced words of length n in Coxeter group on 6 generators S_i with relations (S_i)^2 = (S_i S_j)^50 = I.
; 1,6,30,150,750,3750,18750,93750,468750,2343750,11718750,58593750,292968750,1464843750,7324218750,36621093750,183105468750,915527343750,4577636718750,22888183593750,114440917968750,57220458984... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x767, %rsi
lea addresses_D_ht+0x1279a, %rdi
nop
nop
inc %rbx
mov $82, %rcx
rep movsl
nop
and $40295, %rbp
lea addresses_normal_ht+0x33a7, %r11
nop
nop
nop
nop
nop
add %rcx, %... |
/*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... |
#include "lab4.hpp"
using namespace lab4;
std::mutex Log::mtx_;
Window::Window(std::string_view name) :
name_{ name.data() }
{
cv::namedWindow(name.data(), cv::WINDOW_NORMAL | cv::WINDOW_KEEPRATIO | cv::WINDOW_GUI_EXPANDED);
trckBarVals_.reserve(max_trckbar_num); // Reserve space for the maximum number o... |
/*
* SumAbundanceAccumulator-test.cpp
*
* Copyright (C) 2011 Marc Kirchner
*
* This file is part of the Mass Spectrometry Toolkit (MSTK).
*
* 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 S... |
/*=========================================================================
Program: ParaView
Module: pqSelectionAdaptor.cxx
Copyright (c) 2005-2008 Sandia Corporation, Kitware Inc.
All rights reserved.
ParaView is a free software; you can redistribute it and/or modify it
under the terms of the ... |
; A336483: Floor(n/10) + (5 times last digit of n).
; 0,5,10,15,20,25,30,35,40,45,1,6,11,16,21,26,31,36,41,46,2,7,12,17,22,27,32,37,42,47,3,8,13,18,23,28,33,38,43,48,4,9,14,19,24,29,34,39,44,49,5,10,15,20,25,30,35,40,45,50,6,11,16,21,26,31,36,41,46,51,7
add $0,366
mov $2,3
lpb $0
sub $0,1
mov $1,$0
sub $0,9
mu... |
copyright zengfr site:http://github.com/zengfr/romhack
001678 move.w A0, -(A4) [base+32E]
00167A move.w A4, ($32e,A5) [base+5A8, base+5AA, base+5AC, base+5AE]
009034 tst.b (A1) [base+5A8, base+5AA, base+5AC, base+5AE]
009184 tst.b (A1) [base+5A8, base+5AA, base+5AC, base+5AE]
0092BA tst.b (A1) [base+5A8, ... |
; A060226: a(n) = n^n - n*(n-1)^(n-1).
; 1,0,2,15,148,1845,27906,496951,10188872,236425545,6125795110,175311670611,5492360400924,186965800764925,6871755333266474,271213787997489135,11440441827615801616,513645612633274386705,24456083361342475820238,1230837902229679375190923,65289206886793728217520420,3640577418385982521... |
; A032169: Number of aperiodic necklaces of n beads of 2 colors, 11 of them black.
; 1,6,26,91,273,728,1768,3978,8398,16796,32065,58786,104006,178296,297160,482885,766935,1193010,1820910,2731365,4032015,5864749,8414640,11920740,16689036,23107896,31666376,42975796
add $0,11
mov $2,10
mov $3,$0
lpb $0
mov $0,7
mov $... |
_rm: 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 ... |
; $Id: VBoxVgaBiosAlternative.asm $
;; @file
; Auto Generated source file. Do not edit.
;
;
; Source file: vgarom.asm
;
; ============================================================================================
;
; Copyright (C) 2001,2002 the LGPL VGABios developers Team
;
; This library is free software... |
; A029837: Binary order of n: log_2(n) rounded up to next integer.
; 0,1,2,2,3,3,3,3,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7... |
; Stub for the TI 82 calculator
;
; Stefano Bodrato - Dec 2000
;
; $Id: ti82_crt0.asm,v 1.21 2009/06/22 21:20:05 dom Exp $
;
;-----------------------------------------------------
; Some general XDEFs and XREFs needed by the assembler
;-----------------------------------------------------
MODULE Ti82_crt0
XREF _ma... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x7e7f, %r11
nop
cmp $58720, %r9
movups (%r11), %xmm1
vpextrq $1, %xmm1, %r13
nop
nop
nop
nop
add %r15, %r15
lea addresses_D_ht+0x1cc24, %rdx
sub %r9, %r9
mov $0x61626... |
#pragma once
//! odbc implementation is based on dbc under MIT license.
//!
//! Copyright (C) 2013 lexicalunit <lexicalunit@lexicalunit.com>
//!
//! The MIT License
//!
//! Permission is hereby granted, free of charge, to any person obtaining a copy
//! of this software and associated documentation files (the "Softwa... |
/*
author: Susmoy Sen Gupta
email: susmoy.cse@gmail.com
github: github.com/SusmoySenGupta
Judge: Codeforces
problem no: 525B
problem name: Pasha and String
problem link: https://codeforces.com/problemset/problem/525/B
Status: __Accepted__
Solved at: Nov/06/2021 18:25
*/
#include <iostream>
#include <map>
#... |
SECTION code_fp_math16
PUBLIC _logf16_fastcall
EXTERN logf16
defc _logf16_fastcall = logf16
|
; A080531: Number of nucleons in longest known radioactive decay series ending with Lead 208 ("thorium series"), reversed.
; 208,208,212,212,216,220,224,224,228,228,232,236,240,244,248,252,252,256,260,264,268,272
mov $2,$0
lpb $2,1
sub $0,1
div $2,3
lpe
mov $1,$0
lpb $0,1
sub $0,8
sub $1,1
lpe
mul $1,4
add $1,... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>getresgid(rgid, egid, sgid) -> str
Invokes the syscall getresgid.
See 'man 2 getresgid' for more information.
Arguments:
rgid(gid_t*): rgid
egid(gid_t*): egid
sgid(gid_t*): sgid
Returns:
... |
;THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
;SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
;END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
;ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
;IN USING, DISPLAYI... |
; A046727: Related to Pythagorean triples: alternate terms of A001652 and A046090.
; 0,3,21,119,697,4059,23661,137903,803761,4684659,27304197,159140519,927538921,5406093003,31509019101,183648021599,1070379110497,6238626641379,36361380737781,211929657785303,1235216565974041,7199369738058939,41961001862379597,24456664143... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 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 so... |
; A080031: a(n) is taken to be the smallest positive integer not already present which is consistent with the condition "n is a member of the sequence if and only if a(n) is congruent to 2 mod 3".
; 1,2,5,4,8,11,7,14,17,10,20,23,13,26,29,16,32,35,19,38,41,22,44,47,25,50,53,28,56,59,31,62,65,34,68,71,37,74,77,40,80,83,4... |
; create a directory array
include win1_mac_oli
include win1_keys_hdr
include win1_keys_qdos_io
include win1_keys_qdos_ioa
section utility
xdef ut_dirar
;+++
; create a directory array
;
; Entry Exit
; d1.w file types (bits)
; bit 0 (1) data
; bit 1 (2) exec
; bit 2 (4) reloc
; bit 3 (8) loade... |
// Copyright (c) 2014-2019 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/
#ifndef TAO_PEGTL_CONTRIB_TRACER_HPP
#define TAO_PEGTL_CONTRIB_TRACER_HPP
#include <cassert>
#include <iomanip>
#include <iostream>
#include <utility>
#include <vector>
#include "..... |
; A033160: Begins with (2, 4); avoids 3-term arithmetic progressions.
; 2,4,5,7,11,13,14,16,29,31,32,34,38,40,41,43,83,85,86,88,92,94,95,97,110,112,113,115,119,121,122,124,245,247,248,250,254,256,257,259,272,274,275,277,281,283,284,286,326,328,329,331,335,337,338,340,353,355,356,358,362
cal $0,191106 ; Increasing sequ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %r8
push %rcx
push %rdi
push %rdx
lea addresses_WT_ht+0x16b20, %r8
nop
nop
nop
nop
nop
cmp %rdx, %rdx
movups (%r8), %xmm6
vpextrq $1, %xmm6, %r15
nop
nop
nop
xor %rcx, %rcx
lea addresses_WC_ht+0x1e90, %r8
add $18638, %rdi
vmovups (%r8), %ymm5
vextrac... |
; A097920: G.f.: (1+x^10)/((1-x)*(1-x^3)*(1-x^5)).
; 1,1,1,2,2,3,4,4,5,6,8,9,10,12,13,16,18,19,22,24,27,30,32,35,38,42,45,48,52,55,60,64,67,72,76,81,86,90,95,100,106,111,116,122,127,134,140,145,152,158,165,172,178,185,192,200,207,214,222,229,238,246,253,262,270,279,288,296,305,314,324,333,342,352,361,372,382,391,402,41... |
//
// Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.20714
//
//
///
// Buffer Definitions:
//
// cbuffer $Globals
// {
//
// row_major float4x4 mWorldViewProj; // Offset: 0 Size: 64
//
// }
//
//
// Resource Bindings:
//
// Name Type Format Dim Slot Elements... |
#include "clientmodel.h"
#include "guiconstants.h"
#include "optionsmodel.h"
#include "addresstablemodel.h"
#include "transactiontablemodel.h"
#include "main.h"
#include "init.h" // for pwalletMain
#include "ui_interface.h"
#include <QDateTime>
#include <QTimer>
static const int64 nClientStartupTime = GetTime();
Cl... |
; Set register XL to "11111111"
SET A, "1111"
SET B, "1111"
SHL
MOV_ALU_C_TO_AB A
SHL
MOV_ALU_C_TO_AB A
SHL
MOV_ALU_C_TO_AB A
SHL
MOV_ALU_C_TO_AB A
OR
MOV_ALU_OUT XL
; Set register XH to "11111111"
SET A, "1111"
SET B, "1111"
SHL
MOV_ALU_C_TO_AB A
SHL
MOV_ALU_C_TO_AB A
SHL
MOV_ALU_C_TO_AB A
SHL
MOV_ALU_C_TO_AB A
OR
MO... |
__sjasm_page_0_start:
; Test case:
rrca
rrca
ld (hl), a
rrca
rrca
rrca
ld (bc), a
loop:
jr loop
__sjasm_page_0_end:
|
_Route24Text_51510::
text "Congratulations!"
line "You beat our 5"
cont "contest trainers!@@"
_Route24Text_51515::
text ""
para "You just earned a"
line "fabulous prize!"
prompt
_Route24Text_5151a::
text "<PLAYER> received"
line "a @"
TX_RAM wcf4b
text "!@@"
_Route24Text_51521::
text "You don't have"
li... |
; A164592: a(n) = 10*a(n-1) - 17*a(n-2) for n > 1; a(0) = 1, a(1) = 8.
; Submitted by Christian Krause
; 1,8,63,494,3869,30292,237147,1856506,14533561,113775008,890679543,6972620294,54584650709,427311962092,3345180558867,26187502233106,205006952830321,1604881990340408,12563701705288623,98354023217099294,769957303181086... |
; A262184: a(n) = Fibonacci(n)^2 - Fibonacci(n) + 1.
; Submitted by Jamie Morken(w1)
; 1,1,1,3,7,21,57,157,421,1123,2971,7833,20593,54057,141753,371491,973183,2548813,6674473,17476581,45758461,119803971,313661811,821194993,2149945057,5628675601,14736139057,38579834307,101003513911,264430950213,692289729561,181243887409... |
charset
;same as ASCII
;> d 32 63
db $00, $00, $00, $00, $00, $00, $00, $00
db $08, $08, $08, $08, $00, $00, $08, $00
db $24, $24, $24, $00, $00, $00, $00, $00
db $24, $24, $7E, $24, $7E, $24, $24, $00
db $08, $1E, $28, $1C, $0A, $3C, $08, $00
db $00, $62, $64, $08, $10, $26, $46, $00
db $30, $48, $48, $30, $4A,... |
; A319610: a(n) is the minimal number of successive OFF cells that appears in n-th generation of rule-30 1D cellular automaton started from a single ON cell.
; 0,0,2,1,2,1,2,1,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,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,1,1,1,1,1,1,1,1,1,1,1,... |
;--------------------------------------------------------
; File Created by SDCC : FreeWare ANSI-C Compiler
; Version 2.3.1 Wed Sep 04 21:56:16 2019
;--------------------------------------------------------
.module isspace
;--------------------------------------------------------
; Public variables in this module
;... |
; A179942: Number of times n appears in a 1000 x 1000 multiplication table.
; 1,2,2,3,2,4,2,4,3,4,2,6,2,4,4,5,2,6,2,6,4,4,2,8,3,4,4,6,2,8,2,6,4,4,4,9,2,4,4,8,2,8,2,6,6,4,2,10,3,6,4,6,2,8,4,8,4,4,2,12,2,4,6,7,4,8,2,6,4,8,2,12,2,4,6,6,4,8,2,10,5,4,2,12,4,4,4,8,2,12,4,6,4,4,4,12,2,6,6,9,2,8,2,8,8,4,2,12,2,8,4,10,2,8,4,6,6... |
%define BPM 100
%include "../src/sointu.inc"
BEGIN_PATTERNS
PATTERN 64, HLD, HLD, HLD, HLD, HLD, HLD, HLD, 0, 0, 0, 0, 0, 0, 0, 0
END_PATTERNS
BEGIN_TRACKS
TRACK VOICES(1),0
END_TRACKS
BEGIN_PATCH
BEGIN_INSTRUMENT VOICES(1) ; Instrument0
SU_LOADVAL MONO,VALUE(0)
SU_LOADVAL MONO,VALUE(64... |
; A034857: a(n) = C(n+2,3) + 2*C(n,2) + 2*(n-2).
; -1,6,18,36,61,94,136,188,251,326,414,516,633,766,916,1084,1271,1478,1706,1956,2229,2526,2848,3196,3571,3974,4406,4868,5361,5886,6444,7036,7663,8326,9026,9764,10541,11358,12216,13116,14059,15046,16078,17156,18281,19454,20676,21948,23271,24646,26074,27556,29093,30686,323... |
GetTrainerDVs:
; Return the DVs of wOtherTrainerClass in bc
push hl
ld a, [wOtherTrainerClass]
dec a
ld c, a
ld b, 0
ld hl, TrainerClassDVs
add hl, bc
add hl, bc
ld a, [hli]
ld b, a
ld c, [hl]
pop hl
ret
INCLUDE "data/trainers/dvs.asm"
|
user/_kill: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <main>:
#include "kernel/stat.h"
#include "user/user.h"
int
main(int argc, char **argv)
{
0: 1101 addi sp,sp,-32
2: ec06 sd ra,24(sp)
4: e822 sd s0,16(sp)
6: e426... |
; A332145: a(n) = 4*(10^(2*n+1)-1)/9 + 10^n.
; 5,454,44544,4445444,444454444,44444544444,4444445444444,444444454444444,44444444544444444,4444444445444444444,444444444454444444444,44444444444544444444444,4444444444445444444444444,444444444444454444444444444,44444444444444544444444444444,4444444444444445444444444444444
... |
;,; ibpcaablocks .align=1024 .pos=$1400
;,; -> ch0000183C3C180000
;,; -> ch000018183C3C3C3C
;,; -> ch3C3C3C3C18180000
;,; -> ch3C3C3C3C3C3C3C3C
;,; -> ch0000F0FCFCF00000
;,; -> ch0080C0E0F0F8FCFE
;,; -> chFEFCF8F0E0C08000
;,; -> chFCFCFCFCFCFCFCFC
;,; -> ch00000F3F3F0F0000
;,; -> ch000103070F1F3F7F
;,; -> ch7F3F1F0F070... |
; A000910: 5*C(n,6).
; 0,0,0,0,0,0,5,35,140,420,1050,2310,4620,8580,15015,25025,40040,61880,92820,135660,193800,271320,373065,504735,672980,885500,1151150,1480050,1883700,2375100,2968875,3681405,4530960,5537840,6724520,8115800,9738960,11623920,13803405,16313115,19191900,22481940,26228930,30482270,35295260,40725300,4683... |
/*
* Copyright (c) 2021, Czech Technical University in Prague
* 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
* ... |
SECTION code_fp_math16
PUBLIC cm16_sdcc___slong2h
EXTERN asm_f24_i32
EXTERN asm_f16_f24
.cm16_sdcc___slong2h
pop bc ;return
pop hl ;value
pop de
push de
push hl
push bc
call asm_f24_i32
jp asm_f16_f24
|
#include "Dno.hh"
bool Dno::czy_kolizja(std::shared_ptr<InterfejsDrona> D)
{
if( std::abs(D->zwrocSrodek()[2]-m_wysokosc) <= D->zwrocPromien() || D->zwrocSrodek()[2] < m_wysokosc)
return 1;
else
return 0;
}
void Dno::Rysuj()
{
Plaszczyzna::Rysuj();
} |
/*************************************************************************/
/* physics_server_2d_sw.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... |
adc a', (hl) ; Error
adc a', (ix) ; Error
adc a', (ix+127) ; Error
adc a', (ix-128) ; Error
adc a', (iy) ; Error
adc a', (iy+127) ; Error
adc a', (iy-128) ; Error
adc a', -128 ; Error
... |
#include "common/router/rds_impl.h"
#include <chrono>
#include <cstdint>
#include <memory>
#include <string>
#include "envoy/admin/v3/config_dump.pb.h"
#include "envoy/api/v2/route.pb.h"
#include "envoy/config/core/v3/config_source.pb.h"
#include "envoy/config/route/v3/route.pb.h"
#include "envoy/config/route/v3/rout... |
#include "graph_theory_advanced.h"
void draw_edge_residual(int from, int to, string color, string dirr[MAXN][MAXN], int add) {
if (f[from][to] == c[from][to]) {
drawQ.removeEdgeWeighted(add + from, add + to);
return;
}
if (c[from][to] > 0) {
drawQ.addEdgeWeighted(add + from, add + t... |
; A165831: Totally multiplicative sequence with a(p) = 10.
; 1,10,10,100,10,100,10,1000,100,100,10,1000,10,100,100,10000,10,1000,10,1000,100,100,10,10000,100,100,1000,1000,10,1000,10,100000,100,100,100,10000,10,100,100,10000,10,1000,10,1000,1000,100,10,100000,100,1000,100,1000,10,10000,100,10000,100,100,10,10000,10,100... |
slti $0,$5,-3003
ori $4,$4,14349
ori $5,$5,41072
lb $4,7($0)
srl $1,$2,28
sra $1,$1,8
sll $4,$3,5
andi $4,$4,50136
slt $5,$5,$3
lw $4,12($0)
subu $0,$3,$3
addu $6,$6,$3
srlv $4,$4,$3
sra $2,$2,31
sh $1,12($0)
srav $3,$3,$3
nor $0,$2,$3
lw $1,4($0)
nor $1,$1,$3
and $1,$1,$3
nor $4,$4,$3
addu $4,$1,$3
sltiu $1,$4,-8920
s... |
; A304518: a(n) = 68*2^n - 50 (n>=1).
; 86,222,494,1038,2126,4302,8654,17358,34766,69582,139214,278478,557006,1114062,2228174,4456398,8912846,17825742,35651534,71303118,142606286,285212622,570425294,1140850638,2281701326,4563402702,9126805454,18253610958,36507221966,73014443982,146028888014,292057776078,584115552206,11... |
;****************************************************************************;
; ;
; -=][][][][][][][][][][][][][][][=- ;
; -=] P E R F E C T C R I M E [=- ;
; ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x818a, %rsi
lea addresses_A_ht+0xb7ba, %rdi
clflush (%rsi)
nop
nop
nop
add %rbx, %rbx
mov $99, %rcx
rep movsw
nop
nop
nop
inc %rcx
lea addresses_A_ht+0xe9ba, %rsi
lea addresses_WC_ht+0... |
// MFC_RegexSampleDlg.cpp : 実装ファイル
//
#include "pch.h"
#include "framework.h"
#include "MFC_RegexSample.h"
#include "MFC_RegexSampleDlg.h"
#include "afxdialogex.h"
#include "CRegexCheck.h"
#include "MyMessage.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CMFCRegexSampleDlg ダイアログ
CMFCRegexSampleDlg::CMFCRege... |
kernel: file format elf32-i386
Disassembly of section .text:
80100000 <multiboot_header>:
80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh
80100006: 00 00 add %al,(%eax)
80100008: fe 4f 52 decb 0x52(%edi)
8010000b: e4 .byte 0xe4
8010000c <entry>:
# E... |
; Test case:
ld a,1 ; should be optimized (easy case)
ld a,1
ld (val),a
ld a,1 ; should also be optimized (harder case)
ld (val2),a
l2: ld a,2 ; this one should have the label kept!
ld (val),a
nop
ld a,2 ; this one should be optimized
ld (val),a
ld a,3
ld (val),a
l3: nop
ld a,3 ; this one should not ... |
db "SUN@" ; species name
db "As the hot season"
next "approaches, the"
next "petals on this"
page "#MON's face"
next "become more vivid"
next "and lively.@"
|
Name: ys_chip7.asm
Type: file
Size: 38906
Last-Modified: '2016-05-13T04:50:32Z'
SHA-1: 4585360FB4DACB01E02230CE77D4199E94DF1BA5
Description: null
|
; Pointer do button 3 press V2.10 1999 Tony Tebby
section ptr
xdef pt_button3
xref ioq_pbyt
include 'dev8_keys_con'
include 'dev8_keys_sys'
include 'dev8_smsq_smsq_base_keys'
;+++
; This should be called from any mouse interrup or polling routine to
; handle mouse button 3 presses
;
; status return 0
... |
; A052913: a(n+2) = 5*a(n+1) - 2*a(n), with a(0) = 1, a(1) = 4.
; 1,4,18,82,374,1706,7782,35498,161926,738634,3369318,15369322,70107974,319801226,1458790182,6654348458,30354161926,138462112714,631602239718,2881086973162,13142230386374,59948977985546,273460429154982,1247404189803818,5690100090709126,25955692073937994,11... |
; BEGIN_LEGAL
; Intel Open Source License
;
; Copyright (c) 2002-2017 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 source code must retain the ab... |
// Copyright (c) 2013-2016 Bluespec, Inc. All Rights Reserved
/* Acknowledgement: portions adapted from example ECHOSERV
ECHOSERV
(c) Paul Griffiths, 1999
http://www.paulgriffiths.net/program/c/echoserv.php
*/
// ================================================================
// C lib includes
#incl... |
; void __CALLEE__ *sp1_PreShiftSpr_callee(uchar flag, uchar height, uchar width, void *srcframe, void *destframe, uchar rshift)
; 05.2006 aralbrec, Sprite Pack v3.0
; sinclair spectrum version
XLIB sp1_PreShiftSpr_callee
XDEF ASMDISP_SP1_PRESHIFTSPR_CALLEE
.sp1_PreShiftSpr_callee
pop af
pop bc
pop iy
pop... |
//==============================================================================
// Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II
// Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI
//
// Distributed under the Boost Software License, Version 1.0.
// ... |
; Listing generated by Microsoft (R) Optimizing Compiler Version 17.00.50727.1
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
CONST SEGMENT
$SG3624 DB 'stdin', 00H
ORG $+2
$SG3625 DB '/dev/stdin', 00H
ORG $+1
$SG3628 DB 'stdout', 00H
ORG $+5
$SG3629 DB '/dev/stdout', 00H
$SG3632 DB 'stderr', 00H
ORG ... |
; A056158: Equivalent of the Kurepa hypothesis for left factorial.
; -4,-2,-4,2,-20,86,-532,3706,-29668,266990,-2669924,29369138,-352429684,4581585862,-64142202100,962133031466,-15394128503492,261700184559326,-4710603322067908,89501463119290210
add $0,3
mov $2,1
mov $4,2
lpb $0,1
sub $0,1
mul $1,$4
sub $1,1
mo... |
; Combine 2 blocks with alpha blending and write result to screen
section con
include 'dev8_smsq_qpc_keys'
xdef pt_cmbblk
; d0 s ? / some arbitray value
; d1 c s size of section to combine / scratch
; d2 c s origin in source area1 / scratch
; d3 c s origin in destination area / scratch
; d4 c s origin in ... |
#pragma once
#include "MojoVectors.hpp"
namespace Mojo
{
namespace Core
{
struct Int4Comparator
{
bool operator() (const MojoInt4 l, MojoInt4 r) const
{
return l.w < r.w || ( l.w == r.w && (
l.z < r.z || ( l.z == r.z && (
l.y < r.y || ( l.y == r.y && l.x < r.x ) ) ) ) );
}... |
//++
//
// Copyright (c) Microsoft Corporation
//
// Module Name:
//
// blvideo.cpp
//
// Abstract:
//
// This module implements basic video support for the boot loader.
//
//--
#include "bl.h"
#define BL_VIDEO_ROW_COUNT 50
#define BL_VIDEO_COL_COUNT 80
#define BL_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.