text stringlengths 1 1.05M |
|---|
Name: ys_rpro.asm
Type: file
Size: 162959
Last-Modified: '2016-05-13T04:51:16Z'
SHA-1: D3C031D2663C16DA5F475BFAA7B6BA119BAE1688
Description: null
|
SECTION code_clib
SECTION code_l_sdcc
PUBLIC ____sdcc_4_or_src_mbc_mhl_dst_deix
____sdcc_4_or_src_mbc_mhl_dst_deix:
IFDEF __SDCC_IX
push ix
ELSE
push iy
ENDIF
ex (sp),hl
add hl,de
ex de,hl
pop hl
ld a,(bc)
or (hl)
ld (de),a
inc bc
inc de
inc hl
ld a,(bc)
... |
/*
//@HEADER
// ************************************************************************
//
// KokkosKernels 0.9: Linear Algebra and Graph Kernels
// Copyright 2017 Sandia Corporation
//
// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
// the U.S. Government retain... |
;
; ZX IF1 & Microdrive functions
;
; char* if1_getname(char *location);
;
; Picks a file name from the specified location
;
; $Id: if1_getname.asm,v 1.4 2017-01-03 01:40:06 aralbrec Exp $
;
SECTION code_clib
PUBLIC if1_getname
PUBLIC _if1_getname
if1_getname:
_if1_getname:
; __FASTCALL__
; pop bc ; re... |
//===-- BPFInstPrinter.cpp - Convert BPF MCInst to asm syntax -------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
; A273766: Number of active (ON,black) cells in n-th stage of growth of two-dimensional cellular automaton defined by "Rule 913", based on the 5-celled von Neumann neighborhood.
; 1,4,17,48,81,121,169,225,289,361,441,529,625,729,841,961,1089,1225,1369,1521,1681,1849,2025,2209,2401,2601,2809,3025,3249,3481,3721,3969,422... |
// ===========================================================================
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
// Matrix Example for Kick Assembler adapted for k64ass
//-----------------------... |
;*
;* CW : Character Windows
;*
;* syd_tail.asm : trailer file for all SYD drivers
sEnd DRV
|
;
; MSX basic graphics routines
; by Stefano Bodrato, December 2007
;
XLIB respixel
XREF COORDS
INCLUDE "graphics/grafix.inc"
LIB msxbasic
INCLUDE "#msxbasic.def"
;
; $Id: respixl.asm,v 1.1 2007/12/18 09:00:44 stefano Exp $
;
; ******************************************************************
;
; Clear... |
SECTION code_fp_math48
PUBLIC ilogb
EXTERN cm48_sccz80_ilogb
defc ilogb = cm48_sccz80_ilogb
|
code
proc Options_Event 8 0
ADDRFP4 4
INDIRI4
CNSTI4 3
EQI4 $70
ADDRGP4 $69
JUMPV
LABELV $70
ADDRLP4 0
ADDRFP4 0
INDIRP4
CNSTI4 8
ADDP4
INDIRI4
ASGNI4
ADDRLP4 0
INDIRI4
CNSTI4 10
LTI4 $72
ADDRLP4 0
INDIRI4
CNSTI4 14
GTI4 $72
ADDRLP4 0
INDIRI4
CNSTI4 2
LSHI4
ADDRGP4 $80-40
ADDP4
INDIRP4
JUMPV
lit
align 4
LABELV $80
addr... |
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>:
8010... |
; A052619: E.g.f. 3x^3/(1-x).
; 0,0,0,18,72,360,2160,15120,120960,1088640,10886400,119750400,1437004800,18681062400,261534873600,3923023104000,62768369664000,1067062284288000
mov $1,$0
fac $1
div $1,6
mul $1,18
|
; A101097: a(n) = n*(n+1)*(n+2)*(n+3)*(n+4)*(2 + 4*n + n^2)/840.
; 1,12,69,272,846,2232,5214,11088,21879,40612,71643,121056,197132,310896,476748,713184,1043613,1497276,2110273,2926704,3999930,5393960,7184970,9462960,12333555,15919956,20365047,25833664,32515032,40625376,50410712,62149824,76157433,92787564,112437117,1355... |
/*++
Copyright (c) 2020 Microsoft Corporation
Module Name:
euf_model.cpp
Abstract:
Model building for EUF solver plugin.
Author:
Nikolaj Bjorner (nbjorner) 2020-08-25
--*/
#include "ast/ast_pp.h"
#include "ast/ast_ll_pp.h"
#include "sat/smt/euf_solver.h"
#include "model/value_factory.h"
namespace e... |
; A034115: Fractional part of square root of a(n) starts with 9: first term of runs.
; 35,48,63,80,99,119,142,167,194,223,253,286,321,358,397,437,480,525,572,621,671,724,779,836,895,955,1018,1083,1150,1219,1289,1362,1437,1514,1593,1673,1756,1841,1928,2017,2107,2200,2295,2392,2491,2591,2694
mov $2,$0
add $0,6
pow $0,2
... |
/* $Id: tls-generic.cpp $ */
/** @file
* IPRT - Thread Local Storage (TSL), Generic Implementation.
*/
/*
* Copyright (C) 2008-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 ... |
;
; Copyright (c) 2020 Phillip Stevens
;
; This Source Code Form is subject to the terms of the Mozilla Public
; License, v. 2.0. If a copy of the MPL was not distributed with this
; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;
; feilipu, August 2020
;
;-----------------------------------------------... |
extern m7_ippsHMACInit_rmf:function
extern n8_ippsHMACInit_rmf:function
extern y8_ippsHMACInit_rmf:function
extern e9_ippsHMACInit_rmf:function
extern l9_ippsHMACInit_rmf:function
extern n0_ippsHMACInit_rmf:function
extern k0_ippsHMACInit_rmf:function
extern ippcpJumpIndexForMergedLibs
extern ippcpSafeInit:function
s... |
/*
* Copyright (c) 2020, Andreas Kling <kling@serenityos.org>
* 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, t... |
; A109588: n followed by n^2 followed by n^3.
; 1,1,1,2,4,8,3,9,27,4,16,64,5,25,125,6,36,216,7,49,343,8,64,512,9,81,729,10,100,1000,11,121,1331,12,144,1728,13,169,2197,14,196,2744,15,225,3375,16,256,4096,17,289,4913,18,324,5832,19,361,6859,20,400,8000,21,441,9261,22,484,10648,23,529,12167,24,576,13824,25,625,15625,26,6... |
; A096027: Numbers n such that (n+j) mod (2+j) = 1 for j from 0 to 10 and (n+11) mod 13 <> 1.
; 27723,55443,83163,110883,138603,166323,194043,221763,249483,277203,304923,332643,388083,415803,443523,471243,498963,526683,554403,582123,609843,637563,665283,693003,748443,776163,803883,831603,859323,887043
mov $1,$0
div $0... |
/*
* Copyright (c) 2015 ARM Limited. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
* 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... |
/*=========================================================================
Program: Visualization Toolkit
Module: TestSeedWidgetNonUniformRepresentations.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for detai... |
; ===============================================================
; Dec 2013
; ===============================================================
;
; int strcmp(const char *s1, const char *s2)
;
; Compare string s1 to string s2. Return when the first
; differing char is found with *s1 - *s2.
;
; =======================... |
<%
from pwnlib.shellcraft.aarch64.linux import syscall
%>
<%page args="fd, file, type, flag"/>
<%docstring>
Invokes the syscall faccessat. See 'man 2 faccessat' for more information.
Arguments:
fd(int): fd
file(char): file
type(int): type
flag(int): flag
</%docstring>
${syscall('SYS_faccessa... |
; A140230: Binomial transform of [1, 2, -3, -4, 5, 6, -7, -8, 9, 10,...].
; 1,3,2,-6,-20,-28,-8,56,144,176,32,-352,-832,-960,-128,1920,4352,4864,512,-9728,-21504,-23552,-2048,47104,102400,110592,8192,-221184,-475136,-507904,-32768,1015808,2162688,2293760,131072,-4587520,-9699328,-10223616,-524288,20447232,42991616,4508... |
; A162886: Even numbers in an alternating 1-based sum up to some odd nonprime.
; Submitted by Jamie Morken(w2)
; 24,42,54,60,78,84,96,114,132,138,144,150,168,174,180,186,204,216,222,234,240,258,264,276,282,294,306,312,324,330,348,354,366,372,384,390,402,414,420,432,438,444,450,456,474,480,486,492,504,510,516,528,534,54... |
#######
# DRAW GAME BOARD INCLUDING NUMBERS
# ------------
# inputs: none
#######
draw_board:
# save variables
addi sp, sp, -36
sw ra 32(sp)
sw a1 28(sp)
sw a2 24(sp)
sw a3 20(sp)
sw a4 16(sp)
sw a5 12(sp)
sw t1 8(sp)
sw t2 4(sp)
sw t3 0(sp)
li a3 0xffffff # store color white in a3
addi t1, zero, DISPLAY_WIDTH # t1=... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r15
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x72c9, %r15
nop
nop
nop
nop
nop
add $50340, %r13
mov $0x6162636465666768, %rax
movq %rax, (%r15)
nop
nop
and $59402, %r10
lea addresses_WT_ht+0x707d, %rsi
lea addresses_UC_ht... |
object_const_def ; object_event constants
const MRPSYCHICSHOUSE_FISHING_GURU
MrPsychicsHouse_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
MrPsychic:
faceplayer
opentext
checkevent EVENT_GOT_TM29_PSYCHIC
iftrue .AlreadyGotItem
writetext MrPsychicText1
buttonsound
verbosegivetmhm TM_PSYCHIC_M
iffalse ... |
#include "control_plane.h"
#include "bitstring.h"
#include <p4/v1/p4data.pb.h>
#include <p4/v1/p4runtime.pb.h>
#include <p4/v1/p4runtime.grpc.pb.h>
#include <p4/config/v1/p4info.pb.h>
#include <boost/range/adaptor/reversed.hpp>
#include <iomanip>
#include <iostream>
#include <stdexcept>
#include <string>
using p4::c... |
; A075682: First differences of A075681.
; 0,2,19,39,61,86,114,145,179,216,256,299,345,394,446,501,559,620,684,751,821,894,970,1049,1131,1216,1304,1395,1489,1586,1686,1789,1895,2004,2116,2231,2349,2470,2594,2721,2851,2984,3120,3259,3401,3546
mov $4,$0
lpb $0
sub $0,1
trn $0,1
add $0,1
add $3,6
sub $4,1
add... |
; A073211: Sum of two powers of 11.
; 2,12,22,122,132,242,1332,1342,1452,2662,14642,14652,14762,15972,29282,161052,161062,161172,162382,175692,322102,1771562,1771572,1771682,1772892,1786202,1932612,3543122,19487172,19487182,19487292,19488502,19501812,19648222,21258732,38974342,214358882,214358892,214359002,214360212,21... |
; A109594: n followed by n^3 followed by n^2.
; Submitted by Jon Maiga
; 1,1,1,2,8,4,3,27,9,4,64,16,5,125,25,6,216,36,7,343,49,8,512,64,9,729,81,10,1000,100,11,1331,121,12,1728,144,13,2197,169,14,2744,196,15,3375,225,16,4096,256,17,4913,289,18,5832,324,19,6859,361,20,8000,400,21,9261,441,22,10648,484,23,12167,529,24,13... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distributi... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r14
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1c7dd, %rdx
nop
nop
nop
sub $57923, %r13
movl $0x61626364, (%rdx)
nop
nop
nop
nop
nop
dec %r12
lea addresses_A_ht+0xfdb5, %rbx
nop
nop
nop
nop
nop
add $32... |
SECTION code_driver
PUBLIC disk_status
EXTERN asm_disk_status
;------------------------------------------------------------------------------
; Routines that talk with the IDE drive, these should be called from diskio.h
; extern DSTATUS disk_status (BYTE pdrv) __smallc __z88dk_fastcall;
;
; get the ide drive status... |
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1991
; * All Rights Reserved.
; */
; SCCSID = @(#)ifequ.asm 1.1 85/05/14
; SCCSID = @(#)ifequ.asm 1.1 85/05/14
;*************************************
; COMMAND EQUs... |
;
;
; Copyright (c) 2015 - 2021 by blindtiger. All rights reserved.
;
; The contents of this file are subject to the Mozilla Public 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.mozilla.org/MPL/
;
;... |
//===-- COFFDumper.cpp - COFF-specific dumper -------------------*- C++ -*-===//
//
// 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
//
//===---------------------------... |
;================================================================================
; Dialog Pointer Override
;--------------------------------------------------------------------------------
DialogOverride:
LDA $7F5035 : BEQ .skip
LDA $7F5700, X ; use alternate buffer
RTL
.skip
LDA $7F1200, X
RTL
;---------------... |
; A017762: Binomial coefficients C(n,98).
; 1,99,4950,166650,4249575,87541245,1517381580,22760723700,301579589025,3585446225075,38722819230810,383707936014390,3517322746798575,30032524991895525,240260199935164200,1809960172844903640,12895966231519938435,87237418624987818825,562196697805477054650,3461948086486358704950,... |
user/_ln: 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 ... |
; Filter definitions 1998 Jochen Merz
section text
xdef flt_pre,flt_post
xdef flt_fnams
xdef flt_end
xdef flt_pica,flt_elite,flt_cond,flt_dron,flt_droff
xdef flt_text,flt_num,flt_empty
fs equ 1
fe equ 2
flt_pre dc.w 3
dc.b fs,'+',fe
flt_post dc.w 3
dc.b fs,'-',fe
flt_fnams dc.w 2
dc.b fs,'f'
flt_end dc.... |
#include "Platform.inc"
#include "FarCalls.inc"
#include "Lcd.inc"
#include "../../../../firmware/Platform/Lcd/Isr.inc"
#include "TestFixture.inc"
radix decimal
ContrastPinAfterDisabledTest code
global testArrange
testArrange:
fcall initialiseLcd
fcall enableLcd
waitUntilLcdIsEnabled:
fcall pollLcd
fcall... |
dnl ARM mpn_addmul_2.
dnl Contributed to the GNU project by Torbjörn Granlund.
dnl Copyright 2012, 2013, 2015 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of either:
dnl
dnl ... |
SECTION code_fp_am9511
PUBLIC _frexp
EXTERN cam32_sdcc_frexp
defc _frexp = cam32_sdcc_frexp
|
;
; 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 and the following disclaimer.
; 2. Redistributions in bin... |
#include "fd_textBox.hpp"
FD_TextBox::FD_TextBox(std::weak_ptr<FD_Scene> s,
const FD_TextTemplate& type_temp, int x, int y, int z,
bool camera_bound, FD_DrawStyle style)
: FD_Object(z + 1, camera_bound, x, y, type_temp.box_width,
type_temp.box_height, 0, 1, 1, 255, true), type_temp{ type_temp } {
this->scene = s... |
/* ************************************************************************
* Copyright 2016-2020 Advanced Micro Devices, Inc.
* ************************************************************************ */
#include "rocblas_syrk.hpp"
#include "logging.hpp"
#include "utility.hpp"
namespace
{
template <typename>
... |
// Copyright (c) 2015 Grant Mercer
//
// SPDX-License-Identifier: BSL-1.0
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <hpx/local/init.hpp>
#include <hpx/modules/testing.hpp>
#include <hpx/parallel/... |
l2_circle_dblx DB 0
l2_circle_dbly DB 0
; ">l2_draw_circle_fill BC = center row col, d = radius, e = colour"
; Note this code currently does not process BC
l2_draw_circle_fill: ld a,e
ld (.LineColour+1),a
ld a,d ; get radius
... |
; A093302: a(n) = (a(n-1)+(2n-1))*(2n) with a(0) = 0.
; 0,2,20,150,1256,12650,151932,2127230,34035920,612646866,12252937700,269564629862,6469551117240,168208329048890,4709833213369676,141294996401091150,4521439884834917792,153728956084387206050,5534242419037939419060,210301211923441697925686,8412048476937667917029000,3... |
#include <bits/stdc++.h>
using namespace std;
#define pb push_back
#define mp make_pair
#define eb emplace_back
#define all(a) begin(a), end(a)
#define has(a, b) (a.find(b) != a.end())
#define fora(i, n) for(int i = 0; i < n; i++)
#define forb(i, n) for(int i = 1; i <= n; i++)
#define forc(a, b) for(const auto &a : b)... |
// APriKey.cpp -- CAbstractPrivateKey implementation
// (c) Copyright Schlumberger Technology Corp., unpublished work, created
// 1999. This computer program includes Confidential, Proprietary
// Information and is a Trade Secret of Schlumberger Technology Corp. All
// use, disclosure, and/or reproduction is proh... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x1cd5c, %rsi
lea addresses_WT_ht+0x1ad5c, %rdi
nop
nop
sub %r9, %r9
mov $58, %rcx
rep movsl
nop
nop
nop
nop
nop
and $5692, %r13
lea addresses_A_ht+0x1515c, %rsi
lea addresses_WC_ht+0xe95... |
INIT_PATCH $3f,$eefa,$f38a
;INIT_PATCH $3f,$eefa,$f02a
;;# $3f:eefa textd.draw_in_box
;;
;;### args:
;;+ [in] $37: in_menu_mode (1: menu, 0: floor)
;;+ [in, out] string* $3e: ptr to string
;;+ [in, out] u8 $1f: number of lines drawn (in 8x8 unit)
;;+ [out] u8 $90: destOffset
;;+ [out] bool carry: more_to_dra... |
; A298705: Numbers from the 15-theorem for universal Hermitian lattices.
; 1,2,3,5,6,7,10,13,14,15
mov $2,29
add $2,$0
mov $3,$0
add $3,2
seq $3,102363 ; Triangle read by rows, constructed by a Pascal-like rule with left edge = 2^k, right edge = 2^(k+1)-1 (k >= 0).
add $3,3
min $2,$3
mov $0,$2
sub $0,5
|
; A184043: 1/9 the number of (n+1) X 5 0..2 arrays with all 2 X 2 subblocks having the same four values.
; 45,51,61,81,117,189,325,597,1125,2181,4261,8421,16677,33189,66085,131877,263205,525861,1050661,2100261,4198437,8394789,16785445,33566757,67125285,134242341,268468261,536920101,1073807397,2147581989,4295098405,8590... |
; Listing generated by Microsoft (R) Optimizing Compiler Version 18.00.31101.0
TITLE C:\Users\DAVE\Documents\Programming\Visual_Studio_6\EXE\Console\SoundOff\SoundOff\SOff_ReportLoadStringError.C
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB OLDNAMES
EXTRN __imp__FB_GetSprintFBufferW:PROC
EXTRN __imp__... |
; A313722: Coordination sequence Gal.6.248.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.
; Submitted by Jamie Morken(s1)
; 1,5,10,15,20,24,30,34,39,44,49,54,59,64,69,74,78,84,88,93,98,103,108,113,118,123,128,132,138,142,147,152,157... |
#include "rpcconsole.h"
#include "ui_rpcconsole.h"
#include "clientmodel.h"
#include "bitcoinrpc.h"
#include "guiutil.h"
#include <QTime>
#include <QTimer>
#include <QThread>
#include <QTextEdit>
#include <QKeyEvent>
#include <QUrl>
#include <QScrollBar>
#include <openssl/crypto.h>
// TODO: make it possible to filt... |
; A008764: Number of 3 X 3 symmetric stochastic matrices under row and column permutations.
; 1,1,2,4,6,8,12,16,21,27,34,42,52,62,74,88,103,119,138,158,180,204,230,258,289,321,356,394,434,476,522,570,621,675,732,792,856,922,992,1066,1143,1223,1308,1396,1488,1584,1684,1788,1897,2009,2126,2248,2374,2504,2640,2780,2925,30... |
#include <opencv2/opencv.hpp>
#include <sophus/se3.h>
#include <Eigen/Core>
#include <vector>
#include <string>
#include <boost/format.hpp>
#include <pangolin/pangolin.h>
using namespace std;
typedef vector<Eigen::Vector2d, Eigen::aligned_allocator<Eigen::Vector2d>> VecVector2d;
// Camera intrinsics
// 内参
double fx ... |
#include <vector>
#include <string>
#include <cmath>
#include "specex_spot_array.h"
#include "specex_message.h"
using namespace std;
vector<specex::SpotArray> specex::find_spot_arrays( vector<specex::Spot_p> &spots, bool check_status) {
vector<specex::SpotArray> spotarrays;
{
for(size_t s=0;s<spots.siz... |
#pragma once
#include <bnb/types/base_types.hpp>
#include "offscreen_effect_player.hpp"
namespace bnb::interfaces
{
class offscreen_render_target
{
public:
virtual ~offscreen_render_target() = default;
/**
* Offscreen Render Target initialization. Includes initialization of gl c... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r15
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x172bf, %rsi
lea addresses_normal_ht+0x54db, %rdi
inc %rax
mov $22, %rcx
rep movsl
dec %r12
lea addresses_A_ht+0xc27b, %rcx
clflush (%rcx)
nop
nop
nop
cmp %r8, %r8
mov $0x61626... |
; A058212: a(n) = 1 + floor(n*(n-3)/6).
; 1,0,0,1,1,2,4,5,7,10,12,15,19,22,26,31,35,40,46,51,57,64,70,77,85,92,100,109,117,126,136,145,155,166,176,187,199,210,222,235,247,260,274,287,301,316,330,345,361,376,392,409,425,442,460,477,495,514,532,551,571,590,610,631,651,672,694,715,737,760,782,805,829,852,876,901,925,950,9... |
;/*
; * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
; *
; *
; * 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 copyri... |
.macosx_version_min 10, 12
.section __TEXT,__text,regular,pure_instructions
.align 4, 0x90
.globl _F2x_degree
_F2x_degree:
pushl %esi
movl 8(%esp), %edx
movl $16777215, %ecx
andl (%edx), %ecx
movl $-1, %eax
cmpl $2, %ecx
je L00000064
L00000016:
movl -4(%edx,%ec... |
#include <algorithm>
#include <iostream>
#include <string>
#include <unordered_map>
#include <vector>
using namespace std;
struct TreeNode {
int val;
TreeNode* left;
TreeNode* right;
TreeNode() : val(0), left(nullptr), right(nullptr) {}
TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
... |
SECTION code_clib
SECTION code_fp_math48
PUBLIC derror_pinfnc
EXTERN am48_derror_pinfnc
defc derror_pinfnc = am48_derror_pinfnc
|
.global s_prepare_buffers
s_prepare_buffers:
push %r8
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1b879, %rdx
nop
nop
nop
nop
nop
add %r8, %r8
and $0xffffffffffffffc0, %rdx
movaps (%rdx), %xmm7
vpextrq $0, %xmm7, %r9
nop
nop
add %rcx, %rcx
lea addresses_UC_ht+0xaef9, %r9
no... |
/**********************************************************************
* Copyright (c) 2008-2015, Alliance for Sustainable Energy.
* All rights reserved.
*
* 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 t... |
level6_enemies.TXT :
db 116
db 10 , 16 , 110 , ENEMY_SALTARIN_BIS , MOVE_LEFT , 2 , 2 , 1
db 10 , 22 , 87 , ENEMY_POWERUP , MOVE_LEFT , 1 , 2 , 59
db 13 , 17 , 15 , ENEMY_SHIP3_BIS , MOVE_KAMIKAZE_NOANIM , 2 , 4 , 0
db 15 , 12 , 29 , ENEMY_SHIP2_BIS , MOVE_WAVE , 2 , 3 , 12
db 16 , 23 , 104 , ENEMY_CASCO_BI... |
#ifndef wali_witness_WITNESS_WRAPPER_GUARD
#define wali_witness_WITNESS_WRAPPER_GUARD 1
/**
* @author Nicholas Kidd
*/
#include "wali/Common.hpp"
#include "wali/MergeFn.hpp"
#include "wali/wpds/Wrapper.hpp"
namespace wali
{
namespace witness
{
/**
* @class WitnessWrapper
*/
class WitnessWrapp... |
;bouncingball.asm - Example ROM for the NES (Nintendo Entertainment System) showing a bouncing ball. Written in 6502 Assembly.
;by Mark Bouwman (https://github.com/MarkBouwman)
.inesprg 1 ; 1x 16KB PRG code
.ineschr 1 ; 1x 8KB CHR data
.inesmap 0 ; mapper 0 = NROM, no bank swapping
.inesmir 1 ; back... |
;
; Z88dk Z88 Maths Library
;
;
; $Id: dmul.asm,v 1.4 2016-06-22 19:55:06 dom Exp $
SECTION code_fp
PUBLIC dmul
EXTERN fsetup
EXTERN stkequ
INCLUDE "fpp.def"
.dmul
call fsetup
fpp(FP_MUL)
jp stkequ
|
%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(32)
SU_LOADVAL MONO,VALUE... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r15
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x62dc, %rsi
nop
sub $13006, %r9
mov $0x6162636465666768, %rbx
movq %rbx, %xmm5
and $0xffffffffffffffc0, %rsi
movaps %xmm5, (%rsi)
nop
nop
nop
add $25988, %r10
lea ad... |
%include "x86-helpers.asm"
nasm_util_assert_boilerplate
thunk_boilerplate
define_bench raw_rdpmc0_overhead
assert_eq rdi, 0
assert_eq rsi, 0
mov r8, rdx
readpmc0_start
readpmc0_end
store_pfcnow0 r8
ret
define_bench raw_rdpmc4_overhead
assert_eq rdi, 0
assert_eq rsi, 0
mov r8, rdx
readpmc4_start
readpmc4_end
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1b249, %r14
nop
nop
inc %r15
movups (%r14), %xmm4
vpextrq $0, %xmm4, %rbx
nop
add $15933, %rbx
lea addresses_A_ht+0x11801, %rsi
lea addresses_D_ht+0x1b941, %rdi
nop
nop
and $61941, %r1... |
// Copyright Bernhard Manfred Gruber & Michael Florian Hava.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file ../LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <boost/test/unit_test.hpp>
#include <boost/core/demangle.hpp>
#inclu... |
# BEGIN ASSIGNMENT TAGS
# CWID = 890468754
# NaMe = Naoki Atkins
# Assignment = Mips9Average
# END ASSIGNMENT TAGS
.data
newline: .asciiz "\n"
.text
main:
li $t0, 0
li $t3, 0
li $t4, 0
li $v0, 5
syscall
move $t2, $v0
calc_loop:
bge $t0, $t2, calc_exit
li $v0, 5
syscall
... |
;;
;; Copyright (c) 2018, 2019 Antti Tiihala
;;
;; Permission to use, copy, modify, and/or distribute this software for any
;; purpose with or without fee is hereby granted, provided that the above
;; copyright notice and this permission notice appear in all copies.
;;
;; THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR... |
%ifdef CONFIG
{
"RegData": {
"R15": "0x1"
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
%macro cfmerge 0
; Get CF
sbb r14, r14
and r14, 1
; Merge in to results
shl r15, 1
or r15, r14
%endmacro
mov rdx, 0xe0000000
mov rax, 0x0000000100000000
mov [rdx + 8 * 0], rax
xor r15, r15 ; Will cont... |
; généré avec https://github.com/oxypomme/BMPtoASM
push AX
push BX
mov AX, playerX
mov BX, playerY
add AX, 4
mov BX, playerY
add BX, 7
oxgSHOWPIXEL AX, BX, 006h ; 4-7
inc BX
oxgSHOWPIXEL AX, BX, 006h ; 4-8
inc BX
oxgSHOWPIXEL AX, BX, 007h ; 4-9
inc BX
oxgSHOWPIXEL AX, BX, 007h ; 4-10
inc AX
mov BX, player... |
#include "lcd.hpp"
// TSC2046 8bit mode
#define READ_X 0b11011000
#define READ_Y 0b10011000
inline void ILI9341_Select()
{
HAL_GPIO_WritePin(ILI9341_CS_GPIO_Port, ILI9341_CS_Pin, GPIO_PIN_RESET);
}
inline void ILI9341_Unselect()
{
HAL_GPIO_WritePin(ILI9341_CS_GPIO_Port, ILI9341_CS_Pin, GPIO_PIN_SET);
}
inline v... |
/*
* Copyright 2018-2019 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 "... |
; A032765: Floor(n(n+1)(n+2) / (n+ n+1 + n+2)), which equals floor(n(n + 2)/3).
; 0,1,2,5,8,11,16,21,26,33,40,47,56,65,74,85,96,107,120,133,146,161,176,191,208,225,242,261,280,299,320,341,362,385,408,431,456,481,506,533,560,587,616,645,674,705,736,767,800,833,866,901,936,971,1008
mov $1,$0
add $1,2
mul $1,$0
div $1,3
|
/**
******************************************************************************
* This file is part of the TouchGFX 4.10.0 distribution.
*
* <h2><center>© Copyright (c) 2018 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under Ultimate Libert... |
#ifndef PYTHONIC_OPERATOR_IFLOORDIV__HPP
#define PYTHONIC_OPERATOR_IFLOORDIV__HPP
#include "pythonic/include/operator_/__ifloordiv__.hpp"
#include "pythonic/operator_/ifloordiv.hpp"
#endif
|
// Copyright (c) 2011 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 "media/base/demuxer_stream.h"
namespace media {
DemuxerStream::~DemuxerStream() {}
// Most DemuxerStream implementations don't specify liv... |
; A101624: Stern-Jacobsthal numbers.
; Submitted by Jon Maiga
; 1,1,3,1,7,5,11,1,23,21,59,17,103,69,139,1,279,277,827,273,1895,1349,2955,257,5655,5141,14395,4113,24679,16453,32907,1,65815,65813,197435,65809,460647,329029,723851,65793,1512983,1381397,3881019,1118225,6774887,4538437,9142411,65537,18219287,18088213,540024... |
; A151980: Numbers n such that n^2 - n is divisible by 20.
; 0,1,5,16,20,21,25,36,40,41,45,56,60,61,65,76,80,81,85,96,100,101,105,116,120,121,125,136,140,141,145,156,160,161,165,176,180,181,185,196,200,201,205,216,220,221,225,236,240,241,245,256,260,261,265,276,280,281,285,296
add $0,7
mov $2,$0
mov $4,$0
add $4,$0
mo... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tensorflow_serving/apis/model.proto
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "tensorflow_serving/apis/model.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/port.h>
#include... |
// Copyright (c) 2011-2015 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 "walletmodeltransaction.h"
#include "policy/policy.h"
#include "wallet/wallet.h"
WalletModelTransaction::WalletMod... |
/* Copyright 2022 Matteo Grasso
*
* 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 i... |
;*****************************************************
;
; Video Technology library for small C compiler
;
; Juergen Buchmueller
;
;*****************************************************
; ----- void __CALLEE__ vz_soundcopy_callee(char *dst, char *src, int size, int sound1, int sound2);
XLIB vz_soundcopy_callee
XDEF ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.