text stringlengths 1 1.05M |
|---|
namespace command {
constant base = $f0 //$f0-$ff
constant break = $fe //$fe-$ff
constant styleNormal = $f0
constant styleItalic = $f1 //8x11 font
constant styleTiny = $f1 // 8x8 font
constant colorNormal = $f2
constant colorYellow = $f3
constant name = $f4
constant redirect = $f5
... |
; A307272: Partial sums of A307202.
; 1,4,13,28,49,73,103,145,187,232,283,352,415,481,553,649,733,820,913,1036,1141,1249,1363,1513,1639,1768,1903,2080,2227,2377,2533,2737,2905,3076,3253,3484,3673,3865,4063,4321,4531,4744,4963,5248,5479,5713,5953,6265,6517,6772,7033,7372,7645,7921,8203,8569,8863,9160,9463,9856,10171,104... |
; void __CALLEE__ adt_ListDeleteS_callee(struct adt_List *list, void *delete)
; /* void __FASTCALL__ (*delete)(void *item) */
; 02.2003, 06.2005 aralbrec
SECTION code_clib
PUBLIC adt_ListDeleteS_callee
PUBLIC _adt_ListDeleteS_callee
PUBLIC ASMDISP_ADT_LISTDELETES_CALLEE
EXTERN l_jpix
EXTERN _u_free
.adt_ListDeleteS_... |
#ruledef test
{
ld r{x}, {y} => 0x55 @ x`8 @ y`8
}
ld r 0 , 0x34 ; = 0x550034 |
/* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
* Main authors:
* Guido Tack <tack@gecode.org>
*
* Copyright:
* Guido Tack, 2010
*
* This file is part of Gecode, the generic constraint
* development environment:
* http://www.gecode.org
*
* Permission is hereby granted, f... |
/*
* Copyright 2013 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "gm.h"
#include "SkColorFilter.h"
#include "SkColorFilterImageFilter.h"
#include "SkDropShadowImageFilter.h"
///////////////////////////////////////////////////////... |
; A017331: a(n) = (10*n + 5)^3.
; 125,3375,15625,42875,91125,166375,274625,421875,614125,857375,1157625,1520875,1953125,2460375,3048625,3723875,4492125,5359375,6331625,7414875,8615125,9938375,11390625,12977875,14706125,16581375,18609625,20796875,23149125,25672375,28372625,31255875,34328125,37595375,41063625,44738875,48... |
; A294629: Partial sums of A294628.
; 4,16,28,56,68,120,132,192,228,296,308,440,452,536,612,736,748,920,932,1112,1204,1320,1332,1624,1676,1808,1916,2144,2156,2496,2508,2760,2884,3048,3156,3600,3612,3792,3932,4336,4348,4784,4796,5120,5388,5600,5612,6224,6292,6640,6812,7184,7196,7728,7868,8384,8572,8832,8844,9712,9724,10... |
; A195129: a(n) = 2*n - floor(n*sqrt(1/3)).
; Submitted by Simon Strandgaard
; 0,2,3,5,6,8,9,10,12,13,15,16,18,19,20,22,23,25,26,28,29,30,32,33,35,36,37,39,40,42,43,45,46,47,49,50,52,53,55,56,57,59,60,62,63,65,66,67,69,70,72,73,74,76,77,79,80,82,83,84,86,87,89,90,92,93,94,96,97,99,100,102,103,104,106,107,109,110,111,11... |
; void SMS_setClippingWindow(unsigned char x0,unsigned char y0,unsigned char x1,unsigned char y1)
SECTION code_clib
SECTION code_SMSlib
PUBLIC _SMS_setClippingWindow
EXTERN asm_SMSlib_setClippingWindow
_SMS_setClippingWindow:
pop af
pop de
pop hl
push hl
push de
push af
jp asm_SMSlib_setC... |
#include "Platform.inc"
#include "FarCalls.inc"
#include "Timer0.inc"
#include "Motor.inc"
#include "../../Smps/IsSmpsEnabledStub.inc"
#include "../../Adc/ChannelStubs.inc"
#include "TestFixture.inc"
radix decimal
extern testArrangeStartTurning
extern testActReverse
DUTY_CYCLE_DECREMENT equ 6
DUTY_CYCLE_IN... |
; A136521: Triangle read by rows: (1, 2, 2, 2,...) on the main diagonal and the rest zeros.
; 1,0,2,0,0,2,0,0,0,2,0,0,0,0,2,0,0,0,0,0,2,0,0,0,0,0,0,2,0,0,0,0,0,0,0,2
mov $1,2
lpb $0,1
add $1,1
add $2,1
sub $0,$2
sub $0,1
lpe
lpb $1,1
mov $1,3
lpe
lpb $0,1
div $0,5
mov $1,1
lpe
sub $1,1
|
/*
* Copyright (c) 2017, Intel Corporation
*
* 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, publi... |
; A078048: Expansion of (1-x)/(1+x+2*x^2-2*x^3).
; Submitted by Jamie Morken(s2)
; 1,-2,0,6,-10,-2,34,-50,-22,190,-246,-178,1050,-1186,-1270,5742,-5574,-8450,31082,-25330,-53734,166558,-109750,-330834,883450,-441282,-1987286,4636750,-1544742,-11703330,24066314,-3749138,-67790150,123421054,4660970,-387083378,624603546
... |
#include <QApplication>
#include <QQmlApplicationEngine>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QQmlApplicationEngine engine;
engine.load(QUrl(QStringLiteral("qrc:/morphtargets.qml")));
return app.exec();
}
|
; A068395: a(n) = n-th prime minus its sum of digits.
; 0,0,0,0,9,9,9,9,18,18,27,27,36,36,36,45,45,54,54,63,63,63,72,72,81,99,99,99,99,108,117,126,126,126,135,144,144,153,153,162,162,171,180,180,180,180,207,216,216,216,225,225,234,243,243,252,252,261,261,270,270,279,297,306,306,306,324,324,333,333,342,342,351,360,360,3... |
#include <MEL/Mechatronics/Limiter.hpp>
#include <MEL/Math/Functions.hpp>
#include <MEL/Math/Constants.hpp>
#include <MEL/Core/Console.hpp>
namespace mel {
Limiter::Limiter() :
mode_(None)
{
}
Limiter::Limiter(double abs_limit) :
mode_(Saturate),
min_limit_(-abs(abs_limit)),
max_limit_(abs(abs_limit)... |
MODULE generic_console_ioctl
PUBLIC generic_console_ioctl
SECTION code_clib
INCLUDE "ioctl.def"
EXTERN generic_console_font32
EXTERN generic_console_udg32
EXTERN __cpc_mode
EXTERN __console_w
EXTERN cpc_setmode
PUBLIC CLIB_GENCON_CAPS
defc CLIB_GENCON_CAPS = CAP_GENCON_FG_COLOUR | CAP_G... |
ifdef DEBUG
; AssertHForNative
; This is to make the general (good handle) case as fast as
; possible. If there is any question, it calls
; AssertHSzLnForNative in debug.c
; %%Function:AssertHForNative %% Owner:BRADV
cProc AssertHForNative,<NEAR>,<>
ParmW h
ParmW mid
Pa... |
;*************************************************************************
;** INTEL Corporation Proprietary Information
;**
;** This listing is supplied under the terms of a license
;** agreement with INTEL Corporation and may not be copied
;** nor disclosed except in accordance with the terms of
;**... |
; A277937: Number of runs of 1's of length 1 in the binary expansion of n.
; Submitted by Christian Krause
; 0,1,1,0,1,2,0,0,1,2,2,1,0,1,0,0,1,2,2,1,2,3,1,1,0,1,1,0,0,1,0,0,1,2,2,1,2,3,1,1,2,3,3,2,1,2,1,1,0,1,1,0,1,2,0,0,0,1,1,0,0,1,0,0,1,2,2,1,2,3,1,1,2,3,3,2,1,2,1,1,2,3,3,2,3,4,2,2,1,2,2,1,1,2,1,1,0,1,1,0
mul $0,2
l... |
%ifdef CONFIG
{
"RegData": {
"RAX": "0x4142434445464748",
"RDX": "0x0",
"RDI": "0xE000000E",
"RSI": "0xDFFFFFFE"
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
mov rdx, 0xe0000000
mov rax, 0x4142434445464748
mov [rdx + 8 * 0], rax
mov rax, 0x5152535455565758
mov [rdx + 8 * 1], rax
... |
; Simple printing module.
;
; Copyright (C) 2012 Patrik Rak (patrik@raxoft.cz)
;
; This source code is released under the MIT license, see included license.txt.
; Modified for SHARP MZ-80K series.
; call アドレスの次の内容を print / Print the following contents of the call address
print: ex (sp),hl
call ... |
; example code for a BASIC USR function
TermStatus = 0x80
TermData = 0x81
DEINT = 0x0a07
ABPASS = 0x117D
.module BASIC_USR
.area .CODE (ABS)
.org 0xF800
usr:
ld a, r
ld b, #0
call ABPASS
ret
call DEINT
ld a, e
cp #10
jr c, usr_00
ld a, #'H
out (TermData), a
ld a, #'I
out (TermD... |
/*
* Copyright (c) 2012 The Native Client 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 <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <set>
#include <string>
#include <vector>
#inclu... |
; ---------------------------------------------------------------------------
; Subroutine to react to obColType(a0)
; ---------------------------------------------------------------------------
; ||||||||||||||| S U B R O U T I N E |||||||||||||||||||||||||||||||||||||||
ReactToItem:
nop
move.w obX(a0),d2 ; lo... |
org 100h
A DW 5 DUP (?)
MOV AX, OFFSET ARRO
MOV [AX],1
MOV [AX++],2
MOV [AX],3
MOV [AX++],4
MOV [AX],5
ret
|
; A284635: Numbers with digits 6 and 8 only.
; Submitted by Jamie Morken(s4)
; 6,8,66,68,86,88,666,668,686,688,866,868,886,888,6666,6668,6686,6688,6866,6868,6886,6888,8666,8668,8686,8688,8866,8868,8886,8888,66666,66668,66686,66688,66866,66868,66886,66888,68666,68668,68686,68688,68866,68868
add $0,1
mov $2,2
lpb $0
m... |
.include "defaults_item.asm"
table_file_jp equ "exe6-utf8.tbl"
table_file_en equ "bn6-utf8.tbl"
game_code_len equ 3
game_code equ 0x4252354A // BR5J
game_code_2 equ 0x42523545 // BR5E
game_code_3 equ 0x42523550 // BR5P
card_type equ 0
card_id equ 27
card_no equ "027"
card_sub equ "Item Card 027"
card_sub_... |
; A242349: Largest power of 2 <= n^2.
; 1,4,8,16,16,32,32,64,64,64,64,128,128,128,128,256,256,256,256,256,256,256,512,512,512,512,512,512,512,512,512,1024,1024,1024,1024,1024,1024,1024,1024,1024,1024,1024,1024,1024,1024,2048,2048,2048,2048,2048,2048
add $0,1
pow $0,2
mov $1,2
lpb $0
div $0,2
mul $1,2
lpe
div $1,4
... |
/* Unit testing for outcomes
(C) 2013-2019 Niall Douglas <http://www.nedproductions.biz/> (3 commits)
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 in the accompanying file
Licence.txt or at
ht... |
;*****************************************************************************
;* cpu-a.asm: x86 cpu utilities
;*****************************************************************************
;* Copyright (C) 2003-2017 x264 project
;*
;* Authors: Laurent Aimar <fenrir@via.ecp.fr>
;* Loren Merritt <lorenm@u.washi... |
LIST p=16F84 ;tell assembler what chip we are using
include "P16F84.inc" ;include the defaults for the chip
__CONFIG _WDT_OFF
cblock 0x20 ;start of general purpose registers
MS_COUNT
WAIT_COUNTER
CMD_TEMP ;temp store for 4 bit mode
COUNTER
POSITION
LINE_FLAG
W_TEMP
STATUS_TEMP ... |
// Copyright (c) 2009-2019 The Bitcoin Core developers
// Copyright (c) 2017 The Zcash developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <pubkey.h>
#include <secp256k1.h>
#include <secp256k1_recovery.h>
names... |
;******************************************************************************
;* MMX/SSE2-optimized functions for the RV30 and RV40 decoders
;* Copyright (C) 2012 Christophe Gisquet <christophe.gisquet@gmail.com>
;*
;* This file is part of Libav.
;*
;* Libav is free software; you can redistribute it and/or
;* modify ... |
;=======================================================
;InfoHUD modes and room strats
;=======================================================
; When adding or removing infohud modes,
; also update infohud.asm: inc_statusdisplay and dec_statusdisplay
.status_display_table
dw status_enemyhp
dw status_roomstra... |
;******************************************************************************
;* Copyright (c) 2012 Michael Niedermayer
;*
;* This file is part of FFmpeg.
;*
;* FFmpeg is free software; you can redistribute it and/or
;* modify it under the terms of the GNU Lesser General Public
;* License as published by the Free Sof... |
;
; Copyright (C) 2007-2012 Intel Corporation.
; SPDX-License-Identifier: MIT
;
PUBLIC TestSegmentedEA
.code
TestSegmentedEA PROC
mov rax, 18
mov rcx, 2
mov rdx, QWORD PTR gs:[5]
mov QWORD PTR gs:[5], rdx
mov rdx, QWORD PTR gs:[rax]
mov QWORD PTR gs:[... |
// Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "layer_transformation.hpp"
#include <string>
#include <memory>
#include <gtest/gtest.h>
#include <transformations/utils/utils.hpp>
#include <transformations/init_node_info.hpp>
#include <low_precision/squeeze.hpp>
#inclu... |
; A291839: a(n) is the minimal position at which the maximal value of row n appears in row n of triangle A100960.
; 3,5,7,9,11,14,16,18,21,23,25,27,30,32,34,37,39,41,43,46,48,50,52,55,57,59,61,64,66,68,71,73,75,77,80,82,84,86,89,91,93,95,98,100,102,104,107,109,111,114,116,118,120,123,125,127,129,132
mov $31,$0
mov $33... |
/*
* Có một trò chơi thẻ bài với n người chơi. Trong trò chơi này, có 60 loại thẻ bài (số lượng thẻ bài của mỗi loại không có giới hạn) được đánh số từ 0 đến 59. Mỗi người chơi được biểu diễn bởi một số nguyên ai (ai đại diện cho người chơi thứ i). Nếu người chơi thứ i có thẻ bài loại j trong bộ bài, thì bit thứ j (2^... |
; BSD 3-Clause License
;
; Copyright (c) 2020, k4m1 <k4m1@protonmail.com>
; 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 no... |
; A290922: p-INVERT of the positive integers, where p(S) = 1 - S - 2*S^2.
; 1,5,20,75,279,1040,3881,14485,54060,201755,752959,2810080,10487361,39139365,146070100,545141035,2034494039,7592835120,28336846441,105754550645,394681356140,1472970873915,5497202139519,20515837684160,76566148597121,285748756704325,10664288782201... |
/** @file test_signal1D_generate.cpp
* @brief generate testing k-means sample
*
* @author Lukas Pospisil
*/
#include "pascinference.h"
#include <vector>
#ifndef USE_PETSC
#error 'This example is for PETSC'
#endif
#define DEFAULT_TPERIOD 10
#define DEFAULT_REPEAT_NMB 5
#define DEFAULT_NOISE 0.1
#define DEFAUL... |
; A341642: Number of strictly superior prime divisors of n.
; 0,1,1,0,1,1,1,0,0,1,1,0,1,1,1,0,1,0,1,1,1,1,1,0,0,1,0,1,1,0,1,0,1,1,1,0,1,1,1,0,1,1,1,1,0,1,1,0,0,0,1,1,1,0,1,0,1,1,1,0,1,1,0,0,1,1,1,1,1,0,1,0,1,1,0,1,1,1,1,0,0,1,1,0,1,1,1
mov $2,$0
mov $3,1
add $3,$0
lpb $2
lpb $2,2
mov $1,$3
lpb $0
mov $... |
#include "project_info.hpp"
#include "server_host.hpp"
#include "artwork_controller.hpp"
#include "browser_controller.hpp"
#include "static_controller.hpp"
#include "player_controller.hpp"
#include "playlists_controller.hpp"
#include "query_controller.hpp"
#include "cache_support_filter.hpp"
#include "compression_filte... |
; A110145: a(n) = Sum_{k=0..n} C(n,k)^2*mod(k,2).
; Submitted by Christian Krause
; 0,1,4,10,32,126,472,1716,6400,24310,92504,352716,1351616,5200300,20060016,77558760,300533760,1166803110,4537591960,17672631900,68923172032,269128937220,1052049834576,4116715363800,16123800489472,63205303218876,247959271674352,9734697128... |
#importonce
*=$0 "ZERO PAGE" virtual
.namespace ZP {
ProcessDataDir: .byte 0 // 6510 CPU's data direction I/O port register; 0 = input, 1 = output
ProcessPortBit: .byte 0 // 6510 CPU's data direction I/O port register; 0 = input, 1 = output
counterLow: .byte 0
counterH... |
; A066143: a(n) = n! + n^2 + n.
; 1,3,8,18,44,150,762,5096,40392,362970,3628910,39916932,479001756,6227020982,87178291410,1307674368240,20922789888272,355687428096306,6402373705728342
mov $3,$0
gcd $1,$0
mov $4,$1
fac $1
add $1,$4
mov $5,$3
mul $5,$3
mov $2,$5
add $1,$2
|
; ******************************************************************************
; ******************************************************************************
;
; Name : cli.asm
; Purpose : Command Line Interpreter
; Author : Paul Robson (paul@robsons.org.uk)
; Created : 10th October 2019
;
; **************... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_Heap_Based_Buffer_Overflow__cpp_CWE806_char_snprintf_53b.cpp
Label Definition File: CWE122_Heap_Based_Buffer_Overflow__cpp_CWE806.label.xml
Template File: sources-sink-53b.tmpl.cpp
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: Initialize... |
/*=========================================================================
Program: Visualization Toolkit
Module: vtkGlyph3D.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is di... |
/**********
Copyright (c) 2020, Xilinx, 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 conditions and the fol... |
;
; Copyright (c) 2016, Alliance for Open Media. All rights reserved
;
; This source code is subject to the terms of the BSD 2 Clause License and
; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
; was not distributed with this source code in the LICENSE file, you can
; obtain it at www.aome... |
// Begin CVS Header
// $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/sbml/unittests/test000013.cpp,v $
// $Revision: 1.6 $
// $Name: $
// $Author: gauges $
// $Date: 2010/03/11 11:52:00 $
// End CVS Header
// Copyright (C) 2010 by Pedro Mendes, Virginia Tech Intellectual
// Properties, Inc., Uni... |
; he code published under Creative Commons (CC-BY-NC) license
; author: hasherezade (hasherezade.net)
; WARNING: this it a code I created for learning purpose in my teens.
; It works, but is NOT a production-ready quality of code!
; May be suboptimal and have bugs!
; compile with tasm:
; tasm <name>.asm
; tlink <nam... |
/*
* Copyright (C) 2007 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 conditi... |
// $Id$
//
// Test Suite for C-API GEOSPointOnSurface
#include <tut.hpp>
// geos
#include <geos_c.h>
// std
#include <cstdarg>
#include <cstdio>
#include <cstdlib>
#include <cstring>
namespace tut
{
//
// Test Group
//
// Common data used in test cases.
struct test_capipointonsurface_data
{
... |
;
; Copyright (c) 2011 The WebM project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All contributing proje... |
;*****************************************************************************
;* WCRALLOC.ASM - Allocate/Free DOS real (below 1mb line) memory (Watcom DOS4G).
;*
;* We use DPMI calls to alloc and free memory from below the 1mb line.
;*
;* 10/24/93 Ian
;* Changed logic in rounding up of allocation size to work ... |
; int esxdos_f_fstat(uchar handle, void *buf)
SECTION code_clib
SECTION code_esxdos
PUBLIC _esxdos_f_fstat_callee
PUBLIC l0_esxdos_f_fstat_callee
EXTERN asm_esxdos_f_fstat
_esxdos_f_fstat_callee:
pop hl
dec sp
pop af
ex (sp),hl
l0_esxdos_f_fstat_callee:
push iy
call asm_esxdos_f_fstat
... |
copyright zengfr site:http://github.com/zengfr/romhack
0209EE move.b ($c,A4), ($4b,A6) [base+742]
0209F4 move.b ($d,A4), ($70,A6) [base+787]
020B68 tst.b ($4b,A6)
020B6C beq $20bf2 [base+787]
022560 move.b ($c,A4), ($4b,A6)
022566 move.b ($d,A4), ($70,A6)
0226DC tst.b ($4b,A6)
0226E0 beq $22... |
; A019623: Expansion of 1/((1-4*x)*(1-7*x)*(1-11*x)).
; Submitted by Jon Maiga
; 1,22,335,4400,53661,628122,7178395,80862100,902846921,10025125022,110934086055,1224883116600,13505988249781,148791855626722,1638292574483315,18032294531183900,198432777621062241,2183303335457829222,24020136230138610175,26424809558712004000... |
!ADD = "CLC : ADC"
!SUB = "SEC : SBC"
!BLT = "BCC"
!BGE = "BCS"
!INVENTORY_SWAP = "$7EF38C"
!INVENTORY_SWAP_2 = "$7EF38E"
!NPC_FLAGS = "$7EF410"
!NPC_FLAGS_2 = "$7EF411"
!MAP_OVERLAY = "$7EF414" ; [2]
!PROGRESSIVE_SHIELD = "$7EF416" ; ss-- ----
!HUD_FLAG = "$7EF416" ; --h- ----
!FORCE_PYRAMID = "$7EF416" ; ---- p---... |
/* Copyright 2016 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... |
<%
from pwnlib.shellcraft.aarch64.linux import syscall
%>
<%page args="resource, rlimits"/>
<%docstring>
Invokes the syscall getrlimit. See 'man 2 getrlimit' for more information.
Arguments:
resource(rlimit_resource_t): resource
rlimits(rlimit): rlimits
</%docstring>
${syscall('SYS_getrlimit', resou... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x19db9, %rcx
nop
nop
nop
nop
xor $56283, %r13
mov (%rcx), %r11
sub $29736, %rbx
lea addresses_UC_ht+0x12a81, %r10
nop
nop
inc %rdi
mov (%r10), %rsi
nop
cmp $55984, %rsi
lea a... |
;
; Load a whole file by the BASIC driver
;
; Stefano - 28/06/2007
;
; int zx_load_block(char *name, void *addr, size_t len)
;
; $Id: zx_load_block.asm,v 1.1 2007/07/03 07:32:03 stefano Exp $
XLIB zx_load_block
LIB zx_setint
LIB zx_goto
LIB zxgetfname
; BASIC variable name
.avar defb 'A',0
.lvar defb 'L',0
.z... |
; A163475: a(n) = 18*a(n-1) - 78*a(n-2) for n > 1; a(0) = 3, a(1) = 30.
; Submitted by Jon Maiga
; 3,30,306,3168,33156,349704,3708504,39476160,421307568,4504395744,48217133088,516565527552,5537243115072,59378264922240,636903805624704,6832763837309952,73311252232852224,786646960881163776,8441367621698474496,905861542418... |
;
; This file is automatically generated
;
; Do not edit!!!
;
; djm 12/2/2000
;
; ZSock Lib function: sock_chktimeout
PUBLIC sock_chktimeout
EXTERN no_zsock
INCLUDE "packages.def"
INCLUDE "zsock.def"
.sock_chktimeout
ld a,r_sock_chktimeout
call_pkg(tcp_all)
ret nc
; We failed..are we installed?
cp rc_pnf
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %r8
push %rbp
push %rbx
lea addresses_normal_ht+0x2d32, %rbp
nop
nop
nop
nop
cmp %r8, %r8
vmovups (%rbp), %ymm5
vextracti128 $0, %ymm5, %xmm5
vpextrq $0, %xmm5, %rbx
nop
nop
nop
nop
nop
xor $25849, %r10
lea addresses_WC_ht+0xab2, %rbp
nop
nop
cmp %rb... |
#include "FWCore/ParameterSet/interface/ParameterSet.h"
//This class header
#include "FastSimulation/CalorimeterProperties/interface/ECALBarrelProperties.h"
#include "TMath.h"
#include <iostream>
#include "FWCore/MessageLogger/interface/MessageLogger.h"
ECALBarrelProperties::ECALBarrelProperties(const edm::ParameterS... |
/**
* Copyright (C) 2010-2015 MongoDB Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be... |
#include "LoadingLayer.h"
#include "GameScene.h"
#include "PersonalAudioEngine.h"
#include "FishJoyData.h"
LoadingLayer::LoadingLayer(void)
{
_loadedSp = 0;
_progressBar = NULL;
_progressFg = NULL;
}
CCScene* LoadingLayer::scene(void)
{
CCScene* scene = CCScene::create();
LoadingLayer* loadingLa... |
;*****************************************************************************
;* cpu-a.asm: x86 cpu utilities
;*****************************************************************************
;* Copyright (C) 2003-2014 x264 project
;*
;* Authors: Laurent Aimar <fenrir@via.ecp.fr>
;* Loren Merritt <lorenm@u.washi... |
; ==========================================================
; COMMODORE 64 - Examples in 6502 Assembly language
; © Digitsensitive; digit.sensitivee@gmail.com
; How to use a macro
; ==========================================================
.include "src/include/constants.asm"
.include "src/include/macros-general.asm... |
; A010673: Period 2: repeat [0, 2].
; 0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2
mul $0,2
mod $0,4
|
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x515c, %rsi
lea addresses_D_ht+0x13224, %rdi
nop
nop
dec %rbp
mov $36, %rcx
rep movsw
nop
nop
nop
nop
nop
sub %rdi, %rdi
lea addresses_WT_ht+0x4e5c, %rdi
cmp %r14, %r14
mov $... |
;
; CPC Maths Routines
;
; August 2003 **_|warp6|_** <kbaccam /at/ free.fr>
;
; $Id: sqrt.asm,v 1.4 2016-06-22 19:50:49 dom Exp $
;
SECTION code_fp
INCLUDE "target/cpc/def/cpcfirm.def"
INCLUDE "target/cpc/def/cpcfp.def"
PUBLIC sqrt
PUBLIC sqrtc
EXTERN get_para
.sqrt call get_p... |
#include "stfspackage.h"
using namespace std;
using namespace Streams;
StfsPackage::StfsPackage( Streams::IStream *Stream )
{
this->Stream = Stream;
checkedIfIsStfsPackage = false;
_isStfsPackage = false;
_magic = 0;
_contentType = 0;
_titleId = 0;
_consoleId = 0;
_profileI... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0xd4e, %rsi
lea addresses_A_ht+0xf94e, %rdi
nop
cmp %r9, %r9
mov $48, %rcx
rep movsl
nop
sub $53921, %rcx
lea addresses_normal_ht+0x1ba16, %rsi
clflush (%rsi)
nop
nop
add $53587, %r1... |
; void zx_visit_wc_pix(struct r_Rect8 *r, void *function)
SECTION code_clib
SECTION code_arch
PUBLIC zx_visit_wc_pix
EXTERN asm_zx_visit_wc_pix
zx_visit_wc_pix:
pop af
pop de
pop ix
push de
push de
push af
jp asm_zx_visit_wc_pix
|
; A004325: Binomial coefficient C(3n,n-7).
; 1,24,351,4060,40920,376992,3262623,26978328,215553195,1677106640,12777711870,95722852680,707285522580,5166863427600,37387265592825,268367258592576,1913212193400684,13559593014190944,95615237915961100,671262558647881200,4694436188839116720,32719234717090658880,227365075426443... |
; A010179: Continued fraction for sqrt(114).
; 10,1,2,10,2,1,20,1,2,10,2,1,20,1,2,10,2,1,20,1,2,10,2,1,20,1,2,10,2,1,20,1,2,10,2,1,20,1,2,10,2,1,20,1,2,10,2,1,20,1,2,10,2,1,20,1,2,10,2,1,20,1,2,10,2,1,20,1,2,10,2,1,20,1,2,10,2,1,20,1,2,10,2,1,20,1,2,10,2,1,20,1,2,10,2,1,20,1,2,10
seq $0,10144 ; Continued fraction for ... |
// Copyright 2013 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 "content/browser/service_worker/embedded_worker_registry.h"
#include "base/bind_helpers.h"
#include "base/metrics/histogram_macros.h"
#include "... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r9
push %rbp
push %rcx
push %rdx
push %rsi
lea addresses_normal_ht+0x1232f, %rsi
nop
nop
nop
nop
cmp %r12, %r12
movb (%rsi), %r9b
nop
nop
xor $45707, %r13
lea addresses_normal_ht+0xd7af, %rcx
inc %rbp
mov (%rcx), %r9
nop
nop
nop
nop
nop
cmp $23241, ... |
PUBLIC BSERR
BSERR: ret
|
; A010641: Decimal expansion of cube root of 71.
; Submitted by Jon Maiga
; 4,1,4,0,8,1,7,7,4,9,4,2,2,8,5,3,2,5,0,0,0,4,5,1,8,8,0,9,3,2,5,5,7,1,8,3,8,1,5,9,3,5,0,7,9,0,7,3,2,0,9,1,6,9,7,1,8,3,4,9,2,8,2,9,7,7,9,4,7,5,6,5,9,8,7,2,3,9,6,0,3,3,4,2,6,3,9,5,7,4,1,8,7,6,5,7,9,3,5,1
mov $3,$0
mul $3,2
lpb $3
add $6,$2
add... |
TITLE Hangeul/Hanja Console Device Driver Header
page ,132
;****************************************************************************;
; (C)Copyright Qnix Co., Ltd., 1985-1991. ;
; This program contains proprietary and confidential information. ... |
;*****************************************************
;
; Video Technology library for small C compiler
;
; Juergen Buchmueller
;
;*****************************************************
; ----- void __CALLEE__ vz_plot_callee(int x, int y, int c)
PUBLIC vz_plot_callee
PUBLIC ASMDISP_VZ_PLOT_CALLEE
EXTERN scrbase
.vz... |
;
; Z88DK Graphics Functions - Small C+ stubs
;
; Fill - Stefano Bodrato
;
;
;198 &BD52 GRA FILL
; Action: Fills an area of the screen starting from the current
; graphics position and extending until it reaches either
; the edge of the window or a pixel set to the PEN
... |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* ... |
; Commodore 128 (Z80 mode) CRT0 stub
;
; Stefano Bodrato - 22/08/2001
;
; $Id: c128_crt0.asm,v 1.28 2016/07/15 21:03:25 dom Exp $
;
MODULE c128_crt0
;--------
; Include zcc_opt.def to find out some info
;--------
defc crt0 = 1
INCLUDE "zcc_opt.def"
; Only the ANSI ter... |
; void sp1_PrintAt(uchar row, uchar col, uint tile)
; CALLER linkage for function pointers
XLIB sp1_PrintAt
LIB sp1_PrintAt_callee
XREF ASMDISP_SP1_PRINTAT_CALLEE
.sp1_PrintAt
ld hl,2
add hl,sp
ld c,(hl)
inc hl
ld b,(hl)
inc hl
ld e,(hl)
inc hl
inc hl
ld d,(hl)
jp sp1_PrintAt_callee... |
SECTION rodata_font_fzx
PUBLIC _ff_dkud3_Times1
_ff_dkud3_Times1:
BINARY "font/fzx/fonts/dkud3/Times/TIMES1.fzx"
|
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2016-2019 The GlobalSalaryCoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "script/sign.h"
#... |
; A166523: a(n) = 8*n - a(n-1), with n>1, a(1)=1.
; 1,15,9,23,17,31,25,39,33,47,41,55,49,63,57,71,65,79,73,87,81,95,89,103,97,111,105,119,113,127,121,135,129,143,137,151,145,159,153,167,161,175,169,183,177,191,185,199,193,207,201,215,209,223,217,231,225,239,233,247,241,255,249,263,257,271,265,279,273,287,281,295,289,30... |
;
; Experiment - 2 sprites, 24 lines x Variable Clock Width
; Source: bigmove.asm
;
processor 6502
include "vcs.h"
include "macro.h"
SEG.U variables
ORG $80
; TODO - variablize
scale0 EQU $80
offset0 EQU $82
graphics0 EQU $84
tessfo0 EQU $86
scale1... |
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "init.h"
#include "main.h"
#include "activemasternode.h"
#include "addrm... |
// Copyright 2016 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 "net/log/file_net_log_observer.h"
#include <math.h>
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "base/fi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.