text stringlengths 1 1.05M |
|---|
Sound_8F_Header:
smpsHeaderStartSong 3
smpsHeaderVoice Sound_8F_Voices
smpsHeaderTempoSFX $01
smpsHeaderChanSFX $01
smpsHeaderSFXChannel cFM5, Sound_8F_FM5, $00, $04
; FM5 Data
Sound_8F_FM5:
smpsSetvoice $00
smpsModSet $01, $01, $C9, $F9
dc.b nG2, $05
Sound_8F_Loop00:
dc.b nC0, $04
s... |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/webui/options/certificate_manager_handler.h"
#include <errno.h>
#include <stddef.h>
#include <stdint.h>
#include <algori... |
/*******************************************************************************
* Copyright 2021 Intel Corporation
*
* 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.o... |
;PinecoBaseStats:: not added yet
db DEX_PINECO ; pokedex id
db 50 ; base hp
db 65 ; base attack
db 90 ; base defense
db 15 ; base speed
db 35 ; base special
db BUG ; species type 1
db BUG ; species type 2
db 190 ; catch rate
db 60 ; base exp yield
INCBIN "pic/ymon/pineco.pic",0,1 ; 55, sprite dimensions
d... |
org 0x100
mov ah, 0x09
mov dx, msg
int 0x21
mov ax, 0x4c00
int 0x21
msg: db 'Hello world!', 13, 10, '$'
|
; A020703: Take the sequence of natural numbers (A000027) and reverse successive subsequences of lengths 1,3,5,7,...
; 1,4,3,2,9,8,7,6,5,16,15,14,13,12,11,10,25,24,23,22,21,20,19,18,17,36,35,34,33,32,31,30,29,28,27,26,49,48,47,46,45,44,43,42,41,40,39,38,37,64,63,62,61,60,59,58,57,56,55,54,53,52,51,50,81,80,79,78,77,76,... |
MOV A, R2
ADD A, R0
MOV R5, A
MOV A, R3
ADDC A, R1
MOV R6, A
CLR A
ADDC A, #0
MOV R7, A
|
; A098848: a(n) = n*(n + 14).
; 0,15,32,51,72,95,120,147,176,207,240,275,312,351,392,435,480,527,576,627,680,735,792,851,912,975,1040,1107,1176,1247,1320,1395,1472,1551,1632,1715,1800,1887,1976,2067,2160,2255,2352,2451,2552,2655,2760,2867,2976,3087,3200,3315,3432,3551,3672,3795,3920,4047,4176,4307,4440,4575,4712,4851,4... |
; A228833: a(n) = Sum_{k=0..[n/2]} binomial((n-k)*k, k^2).
; Submitted by Jamie Morken(s3)
; 1,1,2,3,5,20,77,437,5509,54475,1031232,31874836,789351469,47552777430,3302430043985,223753995897916,39177880844093733,5954060239110086680,1226026438114057710320,551315671593483499670137,188615011023291125237647365,1249954457428... |
object_const_def ; object_event constants
const SAFARIZONEWARDENSHOME_LASS
SafariZoneWardensHome_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
WardensGranddaughter:
faceplayer
opentext
checkevent EVENT_TALKED_TO_WARDENS_GRANDDAUGHTER
iftrue .AlreadyMet
writetext WardensGranddaughterText1
waitbutton
cl... |
/***************************************************************************
* Copyright (c) Johan Mabille, Sylvain Corlay, Wolf Vollprecht and *
* Martin Renou *
* Copyright (c) QuantStack *
* ... |
//------------------------------------------------------------------------------
/*
This file is part of rippled: https://github.com/ripple/rippled
Copyright 2014 Ripple Labs Inc.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, p... |
; A274039: Expansion of (x^4 + x^10) / (1 - 2*x + x^2).
; 0,0,0,0,1,2,3,4,5,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112
trn $0,3
mov $1,$0
trn $1,6
add $0,$1
|
; A186386: Adjusted joint rank sequence of (f(i)) and (g(j)) with f(i) after g(j) when f(i)=g(j), where f(i)=5i and g(j)=j(j+1)/2 (triangular number). Complement of A186385.
; 1,2,4,5,7,10,12,15,17,20,24,27,31,34,38,43,47,52,56,61,67,72,78,83,89,96,102,109,115,122,130,137,145,152,160,169,177,186,194,203,213,222,232,24... |
; A182883: Number of weighted lattice paths of weight n having no (1,0)-steps of weight 1.
; Submitted by Jon Maiga
; 1,0,1,2,1,6,7,12,31,40,91,170,281,602,1051,1988,3907,7044,13735,25962,48643,94094,177145,338184,647791,1228812,2356927,4500678,8595913,16486966,31521543,60419872,115870879,222045160,426275647,818054654
... |
; Author: Robert C. Raducioiu (rbct)
global _start
section .text
_start:
; clear ECX, EAX, EDX
xor ecx, ecx
mul ecx
; store "/etc" into ESI
; this allows me to reuse this value for the second call to chmod
mov esi, 0x6374652f
; add a NULL byte (in this case a NULL DWORD) at the end o... |
; A142272: Primes congruent to 23 mod 43.
; Submitted by Jon Maiga
; 23,109,281,367,797,883,1399,1571,1657,2087,2689,2861,3119,3463,4409,5011,5441,5527,6043,6301,6473,7247,7333,7591,8537,8623,9311,9397,10343,10429,10601,10687,10859,11117,11633,11719,12149,12923,13009,13267,13697,14557,15073,15331,15761,16363,16879,1713... |
; A214663: Number of permutations of 1..n for which the partial sums of signed displacements do not exceed 2.
; Submitted by Christian Krause
; 1,1,2,6,12,25,57,124,268,588,1285,2801,6118,13362,29168,63685,139057,303608,662888,1447352,3160121,6899745,15064810,32892270,71816436,156802881,342360937,747505396,1632091412,3... |
; A073357: Binomial transform of tribonacci numbers.
; 0,1,3,8,22,62,176,500,1420,4032,11448,32504,92288,262032,743984,2112384,5997664,17029088,48350464,137280832,389779648,1106696192,3142227840,8921685888,25331224576,71922610432,204208915200,579807668224,1646240232960,4674148089344,13271246761984,37680875156480,106986... |
; A082532: a(n) = n^2 - 2*floor(n/sqrt(2))^2.
; 1,2,1,8,7,4,17,14,9,2,23,16,7,34,25,14,1,36,23,8,49,34,17,64,47,28,7,62,41,18,79,56,31,4,73,46,17,92,63,32,113,82,49,14,103,68,31,126,89,50,9,112,71,28,137,94,49,2,119,72,23,146,97,46,175,124,71,16,153,98,41,184,127,68,7,158,97,34,191,128,63,226,161,94,25,196,127,56,233,1... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %rbx
push %rdx
lea addresses_D_ht+0xd4a0, %r14
nop
and $6774, %r10
mov $0x6162636465666768, %rdx
movq %rdx, %xmm7
and $0xffffffffffffffc0, %r14
movaps %xmm7, (%r14)
inc %rbx
pop %rdx
pop %rbx
pop %r14
pop %r10
ret
.global s_faulty_load
s_faulty_... |
#include "cpp_odbc/environment.h"
#include <gtest/gtest.h>
#include "cpp_odbc_test/mock_connection.h"
#include "cpp_odbc_test/mock_environment.h"
using cpp_odbc_test::mock_environment;
TEST(EnvironmentTest, IsSharable)
{
auto environment = std::make_shared<mock_environment>();
auto shared = environment->shared_f... |
SECTION .text
GLOBAL test
test:
mov [rsp + 0x03f0 ], rax
mov [rsp + 0x03f0 ], rax
mov byte [ rsp + 0xa0 ], r14b
mov byte [ rsp + 0xa0 ], ah
mov byte [ rsp + 0xa0 ], ch
mov byte [ rsp + 0xa0 ], dh
mov byte [ rsp + 0xa0 ], bh
mov byte [ rsp + 0xa0 ], spl
mov byte [ rbp + 0xa0 ], spl
mov word [ rsp + 0xa0 ], ax
mov dword ... |
Set R1, #30.0 --angle of inclined plane
--convert to radians
Set R2, #3.14159265 --pi
Fmul R1, R1, R2
Set R2, #180.0
Fdiv R1, R1, R2
--compute equation
Cos R2, R1
Set R3, #0.4
FMul R2, R2, R3
Sin R1, R1
Fadd R1, R1, R2
Set R2, #100.0 --mass of crate
Fmul R1, R1, R2
Set R2, #9.81 --acceleration of gravity
Fmul R1, R1, R... |
Music_CherrygroveCity:
musicheader 4, 1, Music_CherrygroveCity_Ch1
musicheader 1, 2, Music_CherrygroveCity_Ch2
musicheader 1, 3, Music_CherrygroveCity_Ch3
musicheader 1, 4, Music_CherrygroveCity_Ch4
Music_CherrygroveCity_Ch1:
tempo 152
volume $77
dutycycle $3
tone $0001
vibrato $8, $15
stereopanning $f0
not... |
SECTION code_fp_math48
PUBLIC ___fs2uint
EXTERN cm48_sdccixp_ds2uint
defc ___fs2uint = cm48_sdccixp_ds2uint
|
#include<iostream>
using namespace std;
int min(int a, int b){
return a < b ? a : b;
}
int main(){
int n;
cin >> n;
int cost[1000][3];
int dp[2][3];
int curr = 0;
for(int i = 0; i < n; i++){
cin >> cost[i][0] >> cost[i][1] >> cost[i][2];
}
for(int i = 0; i < n; i++){
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r8
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x51c1, %rsi
lea addresses_WT_ht+0x7601, %rdi
nop
nop
nop
nop
sub $18071, %r8
mov $107, %rcx
rep movsb
nop
nop
nop
sub $3130, %rdx
lea addresses_WT_ht+0x4e2f, %rsi
lea addresses_UC_ht+0x... |
###############################################################################
# Copyright 2018 Intel Corporation
# All Rights Reserved.
#
# If this software was obtained under the Intel Simplified Software License,
# the following terms apply:
#
# The source code, information and material ("Material") containe... |
.hello
LDA .d1
LDB .d1+1
ADD .d2
JMP .start |
; A073080: 3 appears three times, 2*3=6 appears six times, 2*6=12 appears twelve times etc.
; 3,3,3,6,6,6,6,6,6,12,12,12,12,12,12,12,12,12,12,12,12,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48
trn $0,2
mov $1,3
... |
; Z88 Small C+ Run Time Library
; Long functions
;
; djm 21/2/99
; The old routine is fubarred! Written a new one now..but
; I'm mystified!
SECTION code_l_sccz80
PUBLIC l_long_sub
l_long_sub:
; compute A - B
;
; dehl = B
; stack = A, ret
pop ix
ld c,l
ld b,h... |
; A204022: Symmetric matrix based on f(i,j) = max(2i-1, 2j-1), by antidiagonals.
; 1,3,3,5,3,5,7,5,5,7,9,7,5,7,9,11,9,7,7,9,11,13,11,9,7,9,11,13,15,13,11,9,9,11,13,15,17,15,13,11,9,11,13,15,17,19,17,15,13,11,11,13,15,17,19,21,19,17,15,13,11,13,15,17,19,21,23,21,19,17,15,13,13,15,17,19,21,23,25,23,21,19,17,15,13,15,17,1... |
/**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... |
; A064223: a(1) = 1; a(n+1) = a(n) + number of decimal digits of a(n) for n > 0.
; 1,2,3,4,5,6,7,8,9,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,103,106,109,112,115,118,121,124,127,130,133,136,139,142,145,148,151,154,157,160,... |
; A181890: a(n) = 8*n^2 + 14*n + 5.
; 5,27,65,119,189,275,377,495,629,779,945,1127,1325,1539,1769,2015,2277,2555,2849,3159,3485,3827,4185,4559,4949,5355,5777,6215,6669,7139,7625,8127,8645,9179,9729,10295,10877,11475,12089,12719,13365,14027,14705,15399,16109,16835,17577,18335,19109,19899,20705,21527,22365,23219,24089,24... |
#!/usr/local/bin/zasm --ixcbr2 -o original/
; –––––––––––––––––––––––––––––––––––––––––––––––––
; zasm test file
; –––––––––––––––––––––––––––––––––––––––––––––––––
;
; 2014-10-29 kio
; 2014-12-25 kio
; 2014-12-26 kio
; 2014-12-27 kio
; 2014-12-31 kio: jp(hl) for 8080 allowed, removed 8080regs
; tests s... |
; ---------------------------------------------------------------------------
; Copyright (c) 1998-2007, Brian Gladman, Worcester, UK. All rights reserved.
;
; LICENSE TERMS
;
; The free distribution and use of this software is allowed (with or without
; changes) provided that:
;
; 1. source code distributions inc... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation
; All rights reserved. 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... |
;
;
; Support char table (pseudo graph symbols) for the ZX80
; Sequence: blank, top-left, top-right, top-half, bottom-left, left-half, etc..
;
; $Id: textpixl.asm,v 1.3 2016-06-23 19:53:27 dom Exp $
;
;
; .. X. .X XX
; .. .. .. ..
;
; .. X. .X XX
; X. X. X. X.
;
; .. X. .X XX
; .X .X... |
; Hook after oCInfoManager::Unarchive in oCGame::LoadSavegame to add new infos to the info manager
%include "inc/macros.inc"
%if GOTHIC_BASE_VERSION == 1
%include "inc/symbols_g1.inc"
%elif GOTHIC_BASE_VERSION == 2
%include "inc/symbols_g2.inc"
%endif
%ifidn __OUTPUT_FORMAT__, bin
org g1g2(0x63C7EE,0... |
/*
* Copyright (c) 2021 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
* rights ... |
_kill: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char **argv)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 e4 f0 and $0xfffffff0,%esp
6: 83 ec... |
// Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Including type: Org.BouncyCastle.Asn1.Asn1Object
#include "Org/BouncyCastle/Asn1/Asn1O... |
###############################################################################
# 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... |
%ifdef CONFIG
{
"RegData": {
"RAX": "0x0000000000000053",
"RBX": "0x0000000000000029",
"RCX": "0x0000000000000005",
"RDX": "0x0000000000000009",
"RSI": "0x000000000000001d",
"RSP": "0x0000000000000028",
"RBP": "0x0000000000000020",
"R8": "0x000000000000005a",
"R9": "0x0000000000000... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>arm_fadvise64_64(fd, advice, offset, length) -> str
Invokes the syscall arm_fadvise64_64.
See 'man 2 arm_fadvise64_64' for more information.
Arguments:
fd(int): fd
advice(int): advice
offset... |
IF (CPU = EMUL)
XCE1noCh1Reload ;(116)
ld a,(hl) ;7
ld a,(hl) ;7
jr _zz ;12
_zz jp CE1noCh1Reload ;10 (152)
ENDIF
XC0noCh1Reload ;(116)
ld a,(hl) ;7
ld a,(hl) ;7
jr _zz ;12
_zz jp C0noCh1Reload ;10 (152)
XC1noCh1Reload ;60
ld a,(hl) ;7
ld a,(hl) ;7
nop ;4 (78)
dw outhi ;12
jr _ab ;... |
<%
from pwnlib.shellcraft.aarch64.linux import syscall
%>
<%page args="gid"/>
<%docstring>
Invokes the syscall setgid. See 'man 2 setgid' for more information.
Arguments:
gid(gid_t): gid
</%docstring>
${syscall('SYS_setgid', gid)}
|
#ifndef TRANSPORTSERVICE_HPP
#define TRANSPORTSERVICE_HPP
#include <grpcpp/grpcpp.h>
#include "../../common/datatypes.grpc.pb.h"
#include "dataparser.hpp"
namespace economy
{
namespace server
{
class TransportServiceImpl final : public TransportService::Service
{
public:
explicit TransportServiceImpl(DataParser... |
; A161498: Expansion of x*(1-x)*(1+x)/(1-13*x+36*x^2-13*x^3+x^4).
; Submitted by Jon Maiga
; 1,13,132,1261,11809,109824,1018849,9443629,87504516,810723277,7510988353,69584925696,644660351425,5972359368781,55329992188548,512595960817837,4748863783286881,43995092132369664,407585519020921249,3776011063728579949,3498225247... |
/*
* Copyright (C) 2003, 2008 Apple Inc. 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 condit... |
; ==================================================================
; MISCELLANEOUS ROUTINES
; ==================================================================
; ------------------------------------------------------------------
; os_pause -- Delay execution for specified 110ms chunks
; IN: AX = amount of ticks to ... |
/* <editor-fold desc="MIT License">
Copyright(c) 2018 Robert Osfield
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, mod... |
; A167167: A001045 with a(0) replaced by -1.
; -1,1,1,3,5,11,21,43,85,171,341,683,1365,2731,5461,10923,21845,43691,87381,174763,349525,699051,1398101,2796203,5592405,11184811,22369621,44739243,89478485,178956971,357913941,715827883,1431655765,2863311531,5726623061,11453246123,22906492245,45812984491,91625968981,1832519... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: VidMem video driver
FILE: clr8Utils.asm
AUTHOR: Jim DeFrisco, Feb 11, 1992
ROUTINES:
Name Description
---- -----------
REVISION HIST... |
multiply:
; Tests for multiply operations
t300:
; ARM 5: Multiply
mov r0, 4
mov r1, 8
mul r0, r1, r0
cmp r0, 32
bne f300
b t301
f300:
m_exit 300
t301:
mov r0, -4
mov r1, -8
mul r0, ... |
; A235332: a(n) = n*(9*n + 25)/2 + 6.
; 6,23,49,84,128,181,243,314,394,483,581,688,804,929,1063,1206,1358,1519,1689,1868,2056,2253,2459,2674,2898,3131,3373,3624,3884,4153,4431,4718,5014,5319,5633,5956,6288,6629,6979,7338,7706,8083,8469,8864,9268,9681,10103,10534,10974,11423,11881,12348,12824,13309,13803,14306,14818,153... |
/*
* Copyright (c) 2019-2020, NVIDIA 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 above copyright
* notice, this l... |
PUBLIC xorborder
EXTERN xorpixel
EXTERN swapgfxbk
EXTERN swapgfxbk1
;
; $Id: xorborder.asm,v 1.4 2015/01/19 01:32:47 pauloscustodio Exp $
;
; ***********************************************************************
;
; XORs a dotted box. Useful for GUIs.
; Generic version
;
; Stefano Bodrato - March 20... |
; A267098: a(n) = number of 4k+3 primes among first n primes; least monotonic left inverse of A080148.
; Submitted by Jon Maiga
; 0,1,1,2,3,3,3,4,5,5,6,6,6,7,8,8,9,9,10,11,11,12,13,13,13,13,14,15,15,15,16,17,17,18,18,19,19,20,21,21,22,22,23,23,23,24,25,26,27,27,27,28,28,29,29,30,30,31,31,31,32,32,33,34,34,34,35,35,36,3... |
global LoadTSS
LoadTSS: ; RDI - address, RSI - GDT, RDX - selector
push rbx ; Save RBX
lea rbx, [rsi + rdx] ; Length of TSS
mov word [rbx], 108
mov eax, edi
lea rbx, [rsi + rdx + 2] ; Low Bytes of TSS
mov word [rbx], ax
mov eax, edi
shr eax, 16
lea rbx, [rsi + rdx + 4] ; Mid
... |
#include "bagOfWords.h"
#include <iostream>
#include <QObject>
#include <QDir>
#include <QFileInfoList>
#include <QFileInfo>
#include <QDebug>
#include <QApplication>
BagOfWords::BagOfWords(){
m_retries = 1;
m_k = 0;
m_degree = 10;
m_with = false;
autoK = true;
m_flags = KMEANS_PP_CENTERS;
... |
/*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2016, Kentaro Wada.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
*... |
;------------------------------------------------------------------------------
;*
;* Copyright (c) 2009 - 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 accompani... |
//
// Copyright (c) 2008-2018 the Urho3D project.
//
// 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, mod... |
; A033445: a(n) = (n - 1)*(n^2 + n - 1).
; 1,0,5,22,57,116,205,330,497,712,981,1310,1705,2172,2717,3346,4065,4880,5797,6822,7961,9220,10605,12122,13777,15576,17525,19630,21897,24332,26941,29730,32705,35872,39237,42806,46585,50580,54797,59242,63921,68840,74005,79422,85097,91036,97245,103730,110497,117552,124901,132550,1... |
; A052141: Number of paths from (0,0) to (n,n) that always move closer to (n,n) (and do not pass (n,n) and backtrack).
; Submitted by Christian Krause
; 1,3,26,252,2568,26928,287648,3112896,34013312,374416128,4145895936,46127840256,515268544512,5775088103424,64912164888576,731420783788032,8259345993203712,9344350449952... |
# $Id: 03.asm,v 1.1 2001/03/22 21:31:40 ellard Exp $
#@ Tests the 'i' command.
start:
lc r2, 1
add r3, r4, r5
sub r4, r5, r6
mul r5, r6, r7
and r6, r7, r8
nor r7, r8, r9
shf r8, r9, r10
ld1 r9, r10, 11
st1 r10, r11, 12
inc r11, 13
# Up to this point, we can actually execute the program.
# The rest of this... |
;
;=============================================================================
; PPIDE DISK DRIVER
;=============================================================================
;
; TODO:
; - FIX SCALER CONSTANT
; - GOPARTNER NEEDS TO HANDLE "NO PARTNER" CONDITION
;
; NOTES:
; - WELL KNOWN PPIDE PORT ADD... |
; ----------------------------------------------------------------
; Z88DK INTERFACE LIBRARY FOR NIRVANA+ ENGINE - by Einar Saukas
;
; See "nirvana+.h" for further details
; ----------------------------------------------------------------
; void NIRVANA_readC(unsigned char *attrs, unsigned int lin, unsigned int col)
;... |
;*******************************************************************************
;
; PIC18F13K22
; ----------
; Vdd |1 20| Vss
; RA5 |2 19| RA0/PGD(ICSPDAT)
; RA4 |3 ... |
;===============================================================================
; Copyright 2014-2021 Intel Corporation
;
; 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.apa... |
#include "treeexact_fulltable_wvtree.h"
#include <algorithm>
#include <map>
#include <queue>
#include <vector>
using std::make_pair;
using std::min;
using std::pair;
using std::queue;
using std::vector;
namespace treeapprox {
bool treeexact_fulltable_wvtree(const std::vector<double>& x,
... |
// SPDX-License-Identifier: Apache-2.0
//
// Copyright 2008-2016 Conrad Sanderson (http://conradsanderson.id.au)
// Copyright 2008-2016 National ICT Australia (NICTA)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may ob... |
// Copyright (c) 2020 PaddlePaddle 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... |
dnl AMD K7 mpn_copyd -- copy limb vector, decrementing.
dnl
dnl alignment dst/src, A=0mod8 N=4mod8
dnl A/A A/N N/A N/N
dnl K7 0.75 1.0 1.0 0.75
dnl Copyright (C) 1999, 2000 Free Software Foundation, Inc.
dnl
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is fr... |
/*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2014 Facebook, Inc. (http://www.facebook.com) |
+---------... |
; A100230: Main diagonal of triangle A100229.
; 1,2,10,35,118,392,1297,4286,14158,46763,154450,510116,1684801,5564522,18378370,60699635,200477278,662131472,2186871697,7222746566,23855111398,78788080763,260219353690,859446141836,2838557779201
mov $1,3
lpb $0,1
sub $0,1
add $3,$1
add $1,$3
sub $1,2
mov $2,$3
... |
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <boost/assign/list_of.hpp>
#include "wallet.h"
#include "walletdb.h"
#include... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r15
push %r9
push %rbx
push %rcx
push %rdx
lea addresses_D_ht+0xa014, %rbx
nop
nop
dec %rdx
movb (%rbx), %cl
nop
nop
nop
nop
xor $47067, %r9
lea addresses_UC_ht+0x11ff4, %r13
sub %r15, %r15
mov (%r13), %dx
nop
lfence
lea addresses_WC_ht+0x1c8f4, %r9... |
/* Copyright (c) 2016 PaddlePaddle 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... |
/*******************************************************************\
Module: Expression Representation
Author: Daniel Kroening, kroening@kroening.com
\*******************************************************************/
#include <cassert>
#include <cstdlib>
#include <util/expr.h>
#include <util/fixedbv.h>
#include... |
.word $0000 ; Alternate level layout
.word $0000 ; Alternate object layout
.byte LEVEL1_SIZE_01 | LEVEL1_2PVS | LEVEL1_YSTART_040
.byte LEVEL2_BGPAL_00 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18
.byte LEVEL3_TILESET_12 | LEVEL3_VSCROLL_LOCKLOW
.byte LEVEL4_BGBANK_INDEX(18) | LEVEL4_INITACT_NOTHING
.byte LEVEL5_BGM_BA... |
/*
Copyright (c) 2015 Advanced Micro Devices, Inc. All rights reserved.
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,... |
; hello-os
ORG 0x7c00 ; 指明程序的装载地址
; 用于标准FAT12格式的软盘
JMP entry ; 跳转指令
NOP ; NOP指令(0x90)
DB "HELLOIPL" ; OEM标识符(8字节)
DW 512 ; 每个扇区(sector)的字节数(必须为512字节)
DB 1 ; 每个簇(cluster)的扇区数(必须为1个扇区)
DW 1 ; FA... |
; A111942: Column 0 of the matrix logarithm (A111941) of triangle A111940, which shifts columns left and up under matrix inverse; these terms are the result of multiplying the element in row n by n!.
; Submitted by Jon Maiga
; 0,1,-1,1,-2,4,-12,36,-144,576,-2880,14400,-86400,518400,-3628800,25401600,-203212800,16257024... |
; A057138: Add (n mod 10)*10^(n-1) to the previous term, with a(0) = 0.
; 0,1,21,321,4321,54321,654321,7654321,87654321,987654321,987654321,10987654321,210987654321,3210987654321,43210987654321,543210987654321,6543210987654321,76543210987654321,876543210987654321,9876543210987654321,9876543210987654321,1098765432109876... |
; A004966: a(n) = ceiling(n*phi^11), where phi is the golden ratio, A001622.
; 0,200,399,598,797,996,1195,1394,1593,1792,1991,2190,2389,2588,2787,2986,3185,3384,3583,3782,3981,4180,4379,4578,4777,4976,5175,5374,5573,5772,5971,6170,6369,6568,6767
mov $1,$0
mov $2,$0
trn $0,1
sub $1,$0
lpb $2
add $1,199
sub $2,1
lpe... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/ssm/model/StartChangeRequestExecutionResult.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
#inclu... |
#include "../../flame32.asm"
; Tests SLI
lod 1
sli A, 31
|
; You may customize this and other start-up templates;
; The location of this template is c:\emu8086\inc\0_com_template.txt
org 100h
.data
array: db 0,2,4,6,8,10,12,14,16,18,20
.code
mov si,0
mov cx,20
mov ax,0
sumlist:
add al,array[si]
inc si
inc si
loop sumlist
|
#ifndef RAF_RAF_H_
#define RAF_RAF_H_
#include "game/game.hpp"
#include "math/math.hpp"
#include "util.hpp"
#endif // !RAF_RAF_H_
|
; A028901: Map n = Sum c_i 10^i to a(n) = Sum c_i 6^i.
; 0,1,2,3,4,5,6,7,8,9,6,7,8,9,10,11,12,13,14,15,12,13,14,15,16,17,18,19,20,21,18,19,20,21,22,23,24,25,26,27,24,25,26,27,28,29,30,31,32,33,30,31,32,33,34,35,36,37,38,39,36,37,38,39,40,41,42,43,44,45,42,43,44,45
mov $2,$0
div $2,10
mul $2,2
sub $0,$2
sub $0,$2
mov $... |
; Top-hole Golf
; Copyright 2020-2021 Matthew Clarke
stats_c_BEGIN = *
; *****************
; *** CONSTANTS ***
; *****************
; 'yds','ft'
stats_l_UNITS_TEXT !raw "yds",0,"ft",0
; For 'yds' and 'ft' respectively. Can use 'round_v_must_putt' as an index into
; this table.
stats_l_UNITS_TEXT_OFFSETS !byte ... |
# Codice sorgente prodotto in prima versione da Anton Kozhin (matr. 830515)
.data
string1: .asciiz "Inserisci numero di elementi: "
string2: .asciiz "Inserisci elemento: "
separatore: .asciiz " "
.align 2
array: .space 128
# inverti array
# -----------------
# | a | b | c | d |
# -----------------
# ------... |
Route13Mons:
db $0F
db 25,PIDGEOTTO;day
db 25,WEEPINBELL
db 28,GLOOM
db 28,HOPPIP ;day
db 27,DITTO
db 27,LINOONE
db 29,CHANSEY;day
db 29,PINSIR
db 26,SCYTHER
db 31,FARFETCHD
db $03
db 15,SLOWPOKE
db 15,CORSOLA
db 15,SLOWPOKE
db 25,CORSOLA
db 15,SLOWPOKE
db 25,CHINCHOU
db 20,SLOWPOKE
db 25,SHARPEDO
... |
; identical test with i36b.asm, but first empty lines are included, to raise max-line
; number in listing file to two digits
INC_DEPTH=0
INCLUDE "i36b_II.i.asm"
|
#include "ParamSpace.h"
#include "SpaceIterator.h"
#include "Dimension.h"
#include "SpaceCoord.h"
#include <omp.h>
void ParamSpace::iterate(std::function<void(const SpaceIterator&)> body, std::initializer_list<int> fixedDimensions) const
{
SpaceIterator it(*this, fixedDimensions);
while (it.next()) {
body(it);
... |
; A015451: a(n) = 6*a(n-1) + a(n-2) for n > 1, with a(0) = a(1) = 1.
; 1,1,7,43,265,1633,10063,62011,382129,2354785,14510839,89419819,551029753,3395598337,20924619775,128943316987,794584521697,4896450447169,30173287204711,185936173675435,1145790329257321,7060678149219361,43509859224573487,268119833496660283,16522288602... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.