text stringlengths 1 1.05M |
|---|
; A158395: 729n - 1.
; 728,1457,2186,2915,3644,4373,5102,5831,6560,7289,8018,8747,9476,10205,10934,11663,12392,13121,13850,14579,15308,16037,16766,17495,18224,18953,19682,20411,21140,21869,22598,23327,24056,24785,25514,26243,26972,27701,28430,29159,29888,30617,31346,32075,32804,33533,34262,34991,35720,36449,37178,37907... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2020 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... |
; A143984: a(0) = 0; thereafter, a(n+1) = (a(n) - 2)^2 - n.
; 0,3,-1,6,12,95,8643,74666874,5575141774264376,31082205803147712138788845611867,966103517589229313003894215813508352493573272034098666228778215
lpb $0
sub $0,1
sub $2,2
pow $2,2
sub $3,1
add $2,$3
lpe
mov $0,$2
|
//===----------------------------------------------------------------------===//
//
// 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
//
//===---------------------------... |
//------------------------------------------------------------------------------
/*
This file is part of rippled: https://github.com/ripple/rippled
Copyright (c) 2012, 2013 Ripple Labs Inc.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby ... |
; A118828: Numerators of the convergents of the 2-adic continued fraction of zero given by A118827.
; 1,-1,0,-1,-1,1,0,1,1,-1,0,-1,-1,1,0,1,1,-1,0,-1,-1,1,0,1,1,-1,0,-1,-1,1,0,1,1,-1,0,-1,-1,1,0,1,1,-1,0,-1,-1,1,0,1,1,-1,0,-1,-1,1,0,1,1,-1,0,-1,-1,1,0,1,1,-1,0,-1,-1,1,0,1,1,-1,0,-1,-1,1,0,1,1,-1,0,-1,-1,1,0,1,1,-1,0,-1... |
; A225530: Number of ordered pairs (i,j) with i,j >= 0, i + j = n and gcd(i,j) <= 1.
; 1,2,1,2,2,4,2,6,4,6,4,10,4,12,6,8,8,16,6,18,8,12,10,22,8,20,12,18,12,28,8,30,16,20,16,24,12,36,18,24,16,40,12,42,20,24,22,46,16,42,20,32,24,52,18,40,24,36,28,58,16,60,30,36,32,48,20,66,32,44,24,70,24,72,36,40,36,60,24,78,32,54,40,82,... |
#
# Test for instructions ATX 0(0), XTA 0(0), ATI 0(0), ITA 0(0).
# Address 0 and register m0 should always return 0.
#
org 1
ptr start 1
vtm -1,2
ita 2
atx 0
lbl a0left
xta 0 # слева
ati 2
vim fail,2
vtm -1,2
... |
; 7 - Frase con offset
; López Garay Luis Felipe
; 15211312
; 27 de Septiembre del 2018
.Model small
.Stack 64
.Data
frase db "Ensamblado con ensamblador!", 10, 13, "$"
.Code
mov ax,@Data
mov ds,ax
mov dx,offset frase
mov ah,09h
int 21h
.Exit
end
|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %r8
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x46d8, %rbx
nop
nop
and $43463, %rdi
mov (%rbx), %r8d
add %r10, %r10
lea addresses_D_ht+0x9628, %r15
nop
add %rbp, %rbp
mov (%r15), %eax
nop
add %r10, %r10
lea addres... |
; A016206: Expansion of 1/((1-x)*(1-2x)*(1-11x)).
; 1,14,161,1786,19677,216510,2381737,26199362,288193493,3170129446,34871425953,383585689578,4219442593549,46413868545422,510552554032409,5616078094422034,61776859038773445,679545449426770038
lpb $0
mov $2,$0
sub $0,1
seq $2,16135 ; Expansion of 1/((1-2*x)*(1-11*x... |
#pragma once
#include <sstream>
namespace kms {
class addrinfo_t
{
struct addrinfo* m_pResult;
int m_rc;
public:
addrinfo_t(const std::string& sAddress, int port, struct addrinfo& hints)
: m_pResult(NULL)
, m_rc(-1)
{
using std::stringstream;
std::string sPort;
stringstream ss;
... |
code: jmp start
format:
db 0x07
text:
db 'c','h','a' ,'n','g' ,\
'l','o','n'
start:
mov ax,0x07c0
mov ds,ax
mov ax,0xb800
mov es,ax
mov cx,(start - text )
mov di,0
mov si,text
for:
mov al,[si]
mov byte [es:di], al
ad... |
; A056738: Positions where 2's occur in A056731.
; 1,4,8,13,20,28,37,47,59,72,86,101,117,135,154,174,195,217,240,264,290,317,345,374,404,435,467,500,535,571,608,646,685,725,766,808,851,896,942,989,1037,1086,1136,1187,1239,1292,1346,1402,1459,1517,1576,1636
mov $21,$0
mov $23,$0
add $23,1
lpb $23
clr $0,21
mov $0,$... |
// Copyright (c) 2012-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 "util.h"
#include "test/test_cryptodex.h"
#include <string>
#include <vector>
#include <boost/algorithm/string.hpp... |
;;
;; Copyright (c) 2020-2021, Intel Corporation
;;
;; 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 list of conditions and... |
;;
;; Copyright (c) 2012-2021, Intel Corporation
;;
;; 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 list of conditions and... |
#include <libpmemobj.h>
#include <iostream>
#include <assert.h>
#include <unistd.h>
POBJ_LAYOUT_BEGIN(spmo_test);
POBJ_LAYOUT_TOID(spmo_test, struct dummy);
POBJ_LAYOUT_END(spmo_test);
struct dummy {
uint64_t x[1024];
};
int main()
{
unlink("spmo_test.pool");
PMEMobjpool* pool = pmemobj_create("spmo_test.pool", "... |
SECTION code_clib
SECTION code_l
PUBLIC l_small_ultoh
EXTERN l_small_utoh
l_small_ultoh:
; write unsigned hexadecimal long to ascii buffer in uppercase
;
; enter : dehl = unsigned long
; bc = char *buffer
; carry set to write leading zeroes
;
; exit : de = char *buffer (on... |
SECTION code_fp_am9511
PUBLIC ceil
EXTERN cam32_sccz80_ceil
defc ceil = cam32_sccz80_ceil
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _ceil
EXTERN cam32_sdcc_ceil
defc _ceil = cam32_sdcc_ceil
ENDIF
|
; A169296: Number of reduced words of length n in Coxeter group on 43 generators S_i with relations (S_i)^2 = (S_i S_j)^29 = I.
; 1,43,1806,75852,3185784,133802928,5619722976,236028364992,9913191329664,416354035845888,17486869505527296,734448519232146432,30846837807750150144,1295567187925506306048,544138218928712648540... |
; /*****************************************************************************
; * ugBASIC - an isomorphic BASIC language compiler for retrocomputers *
; *****************************************************************************
; * Copyright 2021 Marco Spedaletti (asimov@mclink.it)
; *
; * Licensed un... |
; A098658: a(n) = 3^n*(2*n)!/(n!)^2.
; 1,6,54,540,5670,61236,673596,7505784,84440070,956987460,10909657044,124965162504,1437099368796,16581915793800,191876454185400,2225766868550640,25874539846901190,301362287628613860,3515893355667161700,41080438155689994600,480641126421572936820,5630367480938425831320,660288550037324... |
; A132592: X-values of solutions to the equation X*(X + 1) - 8*Y^2 = 0.
; 0,8,288,9800,332928,11309768,384199200,13051463048,443365544448,15061377048200,511643454094368,17380816062160328,590436102659356800,20057446674355970888,681362750825443653408,23146276081390728245000,786292024016459316676608,2671078254047822603875... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x10cab, %rsi
lea addresses_WT_ht+0x72b, %rdi
clflush (%rdi)
nop
nop
nop
nop
nop
add %r10, %r10
mov $23, %rcx
rep movsw
nop
add $6574, %r8
pop %rsi
pop %rdi
pop %rcx
pop %r8
pop %r10
ret
.global s_faul... |
; A305189: a(n) = 1*2 + 3 + 4*5 + 6 + 7*8 + 9 + 10*11 + 12 + ... + (up to n).
; 1,2,5,9,25,31,38,87,96,106,206,218,231,400,415,431,687,705,724,1085,1106,1128,1612,1636,1661,2286,2313,2341,3125,3155,3186,4147,4180,4214,5370,5406,5443,6812,6851,6891,8491,8533,8576,10425,10470,10516,12632,12680,12729,15130,15181,15233,179... |
; A161886: Number of nonzero elements in the n X n Redheffer matrix.
; 1,4,7,11,14,19,22,27,31,36,39,46,49,54,59,65,68,75,78,85,90,95,98,107,111,116,121,128,131,140,143,150,155,160,165,175,178,183,188,197,200,209,212,219,226,231,234,245,249,256,261,268,271,280,285,294,299,304
mov $1,5
mov $2,$0
mov $5,$0
mov $6,$0
lpb... |
; A144468: Final digit of multiples of 7.
; 0,7,4,1,8,5,2,9,6,3,0,7,4,1,8,5,2,9,6,3,0,7,4,1,8,5,2,9,6,3,0,7,4,1,8,5,2,9,6,3,0,7,4,1,8,5,2,9,6,3,0,7,4,1,8,5,2,9,6,3,0,7,4,1,8,5,2,9,6,3,0,7,4,1,8,5,2,9,6,3,0,7,4,1,8,5,2,9,6,3,0,7,4,1,8,5
mul $0,7
mod $0,10
|
#include "Platform.inc"
#include "TailCalls.inc"
#include "../ShiftRegister.inc"
#include "../Adc.inc"
#include "../Motor.inc"
#include "Lcd.inc"
#include "States.inc"
radix decimal
Lcd code
global enableLcd
global disableLcd
global isLcdEnabled
enableLcd:
.safelySetBankFor enableLcdCount
movf enableLcd... |
#include "pch.hpp"
#include "Wallet.hpp"
#include <chrono>
#include <fstream>
#include <iterator>
#include <ranges>
#include <thread>
#include <unordered_set>
#include "Base58.hpp"
#include "Chain.hpp"
#include "ECDSA.hpp"
#include "GetActiveChainMsg.hpp"
#include "GetMempoolMsg.hpp"
#include "GetUTXOsMsg.hpp"
#inclu... |
; A051683: Triangle read by rows: T(n,k) = n!*k.
; 1,2,4,6,12,18,24,48,72,96,120,240,360,480,600,720,1440,2160,2880,3600,4320,5040,10080,15120,20160,25200,30240,35280,40320,80640,120960,161280,201600,241920,282240,322560,362880,725760,1088640,1451520,1814400,2177280,2540160,2903040,3265920,3628800,7257600,10886400,1451... |
if TARGET == TARGET_SCD1 || TARGET == TARGET_SCD2
include blsload_sub.inc
include cdbios.inc
include bdp_sub.inc
SP_INIT
clr.b GA_COMMFLAGS_SUB
set_wram_default_mode
sync_main_sub
rts
SP_MAIN
.1 ... |
; A109119: a(n) = 2(5n^2 + 5n + 1)^3.
; 2,2662,59582,453962,2060602,6885902,18787862,44376082,94091762,183467702,334568302,577609562,952759082,1512116062,2321871302,3464647202,5042017762,7177208582,10017976862,13739671402,18548472602
lpb $0
sub $0,1
add $3,5
add $2,$3
lpe
add $1,5
mul $2,2
add $2,1
pow $2,3
mul ... |
; This file is INCLUDEd three times, once for each audio engine.
dw .wave0
dw .wave1
dw .wave2
dw .wave3
dw .wave4
dw .wave5 ; used in the Lavender Town and Pokemon Tower themes
dw .wave5 ; unused
dw .wave5 ; unused
dw .wave5 ; unused
; these are the definitions for the channel 3 instruments
; each instrumen... |
section .data
msg1 : db 'debug here --',10
l1 : equ $-msg1
msg2 : db 'enter the size : '
l2 : equ $-msg2
msg3 : db 'enter the elements : '
l3 : equ $-msg3
msg4 : db 'msg 4 here',10
l4: equ $-msg4
msg5 : db 'msg 5 here',10
l5: equ $-msg5
space:db ' '
newline:db '',10
section .bss
num: resw 1
co... |
#include <gsl/gsl>
#include <numeric>
#include <iostream>
#include <tuple>
#include <vector>
#include <iomanip>
int gDebug = 0;
void getDivider( int aNumber,
std::vector<std::tuple<int,int>> & aDiveder )
{
int i = 2;
int sRemainder = 0;
int sLimit = 0;
... |
# PowerPC-64 mpn_sub_n -- Subtract two limb vectors of the same length > 0
# and store difference in a third limb vector.
# Copyright (C) 1999, 2000 Free Software Foundation, Inc.b
# This file is part of the GNU MP Library.
# The GNU MP Library is free software; you can redistribute it and/or modify
# it under the t... |
; Pasecinic Nichita
; FAF - 192
; 19.11.2021
[org 0x7c00] ; set origin offset at 0x7c00
; First default text print
mov bx, text ; save to bx the pointer to variable 'text'
mov ah, 0Eh ; teletype output
; loop like while true
loop:
mov al, [bx] ; defer bx to al
cmp al, 0 ; if al is termial (0) char : ... |
/**********
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 the
Free Software Foundation; either version 3 of the License, or (at your
option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.)
This librar... |
; A109960: Number triangle binomial(n+3k,4k).
; Submitted by Jon Maiga
; 1,1,1,1,5,1,1,15,9,1,1,35,45,13,1,1,70,165,91,17,1,1,126,495,455,153,21,1,1,210,1287,1820,969,231,25,1,1,330,3003,6188,4845,1771,325,29,1,1,495,6435,18564,20349,10626,2925,435,33,1,1,715,12870,50388,74613,53130
lpb $0
mov $1,$0
mul $1,2
add... |
DEVICE ZXSPECTRUMNEXT
;OPT reset --zxnext --syntax=abfw
slot 3
org #6000
CHARS equ 15616-256
mystak equ 24575 ;ar bi trary value picked to be be low
;BFE0h and above 4000h
staksto ... |
;ifdef NEC98 /* #endif position = EOF */
;/*:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/
;/*:::::::::::::::: NEC98 GGDC Graphic Draw Emulation :::::::::::::::*/
;/*:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/
;/* add ... |
; A019429: Continued fraction for tan(1/6).
; 0,5,1,16,1,28,1,40,1,52,1,64,1,76,1,88,1,100,1,112,1,124,1,136,1,148,1,160,1,172,1,184,1,196,1,208,1,220,1,232,1,244,1,256,1,268,1,280,1,292,1,304,1,316,1,328,1,340,1,352,1,364,1,376,1,388,1,400,1,412,1,424,1,436,1,448,1,460,1,472,1,484,1,496,1,508,1,520,1,532,1,544,1,556,1... |
; unsigned char esx_f_seekdir(unsigned char handle,uint32_t pos)
SECTION code_esxdos
PUBLIC _esx_f_seekdir_callee
EXTERN asm_esx_f_seekdir
_esx_f_seekdir_callee:
pop hl
dec sp
pop af
pop de
pop bc
push hl
jp asm_esx_f_seekdir
|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1b921, %rax
nop
cmp $28080, %r11
mov $0x6162636465666768, %rdi
movq %rdi, (%rax)
nop
nop
nop
and $54756, %r10
lea addresses_WC_ht+0x465f, %r12
add %rbp, %rbp
mov $0x61626364... |
.686P
.model flat,stdcall
option casemap:none
include \masm32\include\windows.inc
include \masm32\include\kernel32.inc
include \masm32\include\user32.inc
.data
ClassName db "life",0
AppName db "life",0
.data?
hwnd LPVOID ?
hInstance HINSTANCE ?
msg MSG <>
wndClassEx WNDCLASSEX <>
.code
Wnd... |
// TecplotLiteSorter.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
#include <fstream>
#include <sstream>
#include <vector>
#include <algorithm>
//#define TECPLOT_DEBUG
#define dims 2
#define output_precision 10
#define num_grids 1
#define max_time 1000
#define t... |
;==================================================================================================
; Benchmark BQ4845P RTC Driver
;==================================================================================================
; Register Addresses (HEX / BCD):
; +---+-----+--------------+-------------... |
#include "ModuleDebugDraw.h"
#include "Application.h"
#include "ModuleRender.h"
#include "ModuleEditor.h"
#include "Camera.h"
#include "Math/float4x4.h"
#define DEBUG_DRAW_IMPLEMENTATION 1
#include "debugdraw.h" // Debug Draw API. Notice that we need the DEBUG_DRAW_IMPLEMENTATION macro here!
#include <glad/glad.h>
#in... |
// Copyright (c) 2017-2018 Hartmut Kaiser
//
// 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)
#if !defined(PHYLANX_PRIMITIVES_PARALLEL_BLOCK_OPERATION_OCT_08_2017_0807PM)
#define PHYLANX_PRIMITIVES_PARALLEL_BLOCK_OP... |
{ Game : RainbowSix.exe
Version: 1.0
Date : 11-22-16
Author : Brian Coffey
Script for No Recoil.
Status: Working 11/22
}
[ENABLE]
aobscanmodule(INJECT_No_Recoil,RainbowSixGame.exe+755239,F3 0F 10 4B 70 44)
alloc(newmem_no_recoil,2048,RainbowSixGame.exe+755239)
stealtheditex(stealth,INJECT_No_Recoil,... |
; A037585: Base 6 digits are, in order, the first n terms of the periodic sequence with initial period 3,1.
; 3,19,117,703,4221,25327,151965,911791,5470749,32824495,196946973,1181681839,7090091037,42540546223,255243277341,1531459664047,9188757984285,55132547905711,330795287434269,1984771724605615
seq $0,33116 ; Base-6... |
###############################################################################
# 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... |
//----------------------------------*-C++-*----------------------------------//
// Copyright 2021 UT-Battelle, LLC, and other Celeritas developers.
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: (Apache-2.0 OR MIT)
//-------------------------------------------------------------------------... |
; A270788: Unique fixed point of the 3-symbol Fibonacci morphism phi-hat_2.
; 1,2,3,1,2,1,2,3,1,2,3,1,2,1,2,3,1,2,1,2,3,1,2,3,1,2,1,2,3,1,2,3,1,2,1,2,3,1,2,1,2,3,1,2,3,1,2,1,2,3,1,2,1,2,3,1,2,3,1,2,1,2,3,1,2,3,1,2,1,2,3,1,2,1,2,3,1,2,3,1,2,1,2,3,1,2,3,1,2,1,2,3,1,2,1,2,3,1,2,3,1,2,1,2,3,1,2,1,2,3,1,2,3,1,2,1,2,3,1,2,3,... |
; A051336: Number of arithmetic progressions in {1,2,3,...,n}, including trivial arithmetic progressions of lengths 1 and 2.
; 1,3,7,13,22,33,48,65,86,110,138,168,204,242,284,330,381,434,493,554,621,692,767,844,929,1017,1109,1205,1307,1411,1523,1637,1757,1881,2009,2141,2282,2425,2572,2723,2882,3043,3212,3383,3560,3743,... |
; A208283: Number of n X 4 0..1 arrays avoiding 0 0 0 and 0 0 1 horizontally and 0 0 1 and 1 1 0 vertically.
; 10,100,378,984,2090,3900,6650,10608,16074,23380,32890,45000,60138,78764,101370,128480,160650,198468,242554,293560,352170,419100,495098,580944,677450,785460,905850,1039528,1187434,1350540,1529850,1726400,194125... |
lda {m2}
sta $fe
lda {m2}+1
sta $ff
lda ($fe),y
sta {m1}
lda #0
sta {m1}+1 |
; Copyright (c) 2015, Thierry Tremblay
; 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
; list of conditions and ... |
/* Copyright 2015 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... |
SECTION code_clib
SECTION code_l
PUBLIC l_setmem_de
; write byte to buffer pointed at by de
; invoke with "call l_setmem_de - (n*2)" to write n bytes to memory
;
; enter : de = char *buffer
; a = fill byte
;
; exit : de = char *buffer (one byte past last byte written)
;
; uses ... |
/*
* Author: Jon Trulson <jtrulson@ics.com>
* Copyright (c) 2015 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 limitatio... |
; A164485: Number of binary strings of length n with no substrings equal to 0001, 1000 or 1001.
; 13,21,33,53,85,137,221,357,577,933,1509,2441,3949,6389,10337,16725,27061,43785,70845,114629,185473,300101,485573,785673,1271245,2056917,3328161,5385077,8713237,14098313,22811549,36909861,59721409,96631269,156352677,2529839... |
; int ba_priority_queue_push(ba_priority_queue_t *q, int c)
SECTION code_adt_ba_priority_queue
PUBLIC ba_priority_queue_push
EXTERN asm_ba_priority_queue_push
ba_priority_queue_push:
pop af
pop bc
pop hl
push hl
push bc
push af
jp asm_ba_priority_queue_push
|
/* file: cor_dist_dense_batch.cpp */
/*******************************************************************************
* Copyright 2014 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 L... |
/*
* Copyright (C) 2009 Matt Oswald
* Copyright (c) 2009-2010 Ricardo Quesada
* Copyright (c) 2010-2012 cocos2d-x.org
* Copyright (c) 2011 Zynga Inc.
* Copyright (c) 2011 Marco Tillemans
* Copyright (c) 2013-2014 Chukong Technologies Inc.
*
* http://www.cocos2d-x.org
*
* Permission is hereby granted... |
ItemFinder:
farcall CheckForHiddenItems
jr c, .found_something
ld hl, .Script_FoundNothing
jr .resume
.found_something
ld hl, .Script_FoundSomething
.resume
call QueueScript
ld a, $1
ld [wItemEffectSucceeded], a
ret
.ItemfinderSound:
ld c, 4
.sfx_loop
push bc
ld de, SFX_SECOND_PART_OF_ITEMFINDER
call Wa... |
// http://turtle.sourceforge.net
//
// Copyright Mathieu Champlon 2011
//
// 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 <turtle/mock.hpp>
namespace
{
struct my_base
{
virtual ~my_base... |
#######
# STORE GAME POSITION IN ARRAY
# ------------
# inputs: a1 - Array start address
# a2 - Array position starting from 0
# a3 - Value to store 1 = X 2 = O
#######
store_in_array:
slli a2, a2, 2 # shift by 2 -> multiply by 4 because every int is of size 4
add a1, a1, a2 # add position to start ... |
#include "Drone.hpp"
#include "Scene.hpp"
extern bool DISPLAY;
Drone::Drone(const Vector3 &position, const Vector3 &scale) :
SceneObject("point.dat", position, scale, nullptr)
{
/* ============[Shake]=========== */
// banan
// 200ml mleka
// milkyway
// jagody 100g
// lyzka masla o... |
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2011-2020 Couchbase, Inc.
*
* 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
*
* ... |
; size_t dtog(double x, char *buf, uint16_t prec, uint16_t flag) __z88dk_callee
SECTION code_clib
SECTION code_stdlib
PUBLIC _dtog_callee
EXTERN dcallee1, asm_dtog
_dtog_callee:
call dcallee1 ; AC' = x
pop af
pop hl
pop de
pop bc
push af
jp asm_dtog
|
.public _start
.extern nesto123
.data
a: .word 0x12345678
t: .long 0x12343
r: .char 34
.align
.skip 1
.text
_start:
callt r1, 0xffff
call r2, 6
.data.ert
b: .char 3
.text.ert
add r1, r2
label1:
ldch r2, 0x567
|
; A157508: a(n) = 1458*n - 18.
; 1440,2898,4356,5814,7272,8730,10188,11646,13104,14562,16020,17478,18936,20394,21852,23310,24768,26226,27684,29142,30600,32058,33516,34974,36432,37890,39348,40806,42264,43722,45180,46638,48096,49554,51012,52470,53928,55386,56844,58302,59760,61218,62676,64134,65592,67050,68508,69966,71424... |
// ---------------------------------------------------------------------------
//
// This file is part of the <kortex> library suite
//
// Copyright (C) 2013 Engin Tola
//
// See LICENSE file for license information.
//
// author: Engin Tola
// e-mail: engintola@gmail.com
// web : http://www.engintola.com
//
// -----... |
/***********************************************************************
* File : postgisrasterdataset.cpp
* Project: PostGIS Raster driver
* Purpose: GDAL Dataset implementation for PostGIS Raster driver
* Author: Jorge Arevalo, jorge.arevalo@deimos-space.com
* jorgearevalo@libregi... |
; size_t w_array_size(w_array_t *a)
PUBLIC _w_array_size
EXTERN asm_w_array_size
_w_array_size:
pop af
pop hl
push hl
push af
jp asm_w_array_size
|
#include <stdlib.h>
#include <string.h>
#include <limits>
#include <redisclient/redisvalue.h>
#define BOOST_TEST_MAIN
#define BOOST_TEST_MODULE test_RedisParser
#include <boost/test/unit_test.hpp>
using namespace redisclient;
BOOST_AUTO_TEST_CASE(test_integer)
{
RedisValue v(100);
BOOST... |
\ -*- mode:beebasm -*-
\ ******************************************************************
\ * FRAK ZOOMER FX
\ ******************************************************************
FRAK_SPRITE_WIDTH=32
FRAK_SPRITE_HEIGHT=43 ; TODO: Need to make this a multiple of 2.
FRAK_MAX_ZOOM=55
\\ TODO: Describe the FX and requir... |
; A047925: 3rd column of array in A038150.
; 8,16,29,37,50,63,71,84,92,105,118,126,139,152,160,173,181,194,207,215,228,236,249,262,270,283,296,304,317,325,338,351,359,372,385,393,406,414,427,440,448,461,469,482,495,503,516,529,537,550,558,571,584,592
mov $4,$0
add $4,1
mov $8,$0
lpb $4,1
mov $0,$8
sub $4,1
sub $... |
BITS 64
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=
;TEST_FILE_META_END
; CMOVB16rr
mov ax, 0x2
mov bx, 0x4
;TEST_BEGIN_RECORDING
cmovb ax, bx
;TEST_END_RECORDING
|
;
; Enterprise 64/128 clock()
;
; stefano 5/4/2007
;
; ------
; $Id: clock.asm,v 1.4 2016/06/12 17:02:26 dom Exp $
;
SECTION code_clib
PUBLIC clock
PUBLIC _clock
.clock
._clock
rst 30h
defb 32
; C hours 0 .. 23 (BCD)
; D minutes 0 .. 59 (BCD)
; E ... |
#include "WebClient.h"
#include "Url.h"
#include "esp_log.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/event_groups.h"
#include "HttpResponseParser.h"
#include "lwip/err.h"
#include "lwip/sockets.h"
#include "lwip/sys.h"
#include "lwip/netdb.h"
#include "lwip/dns.h"
// TODO*********... |
; A049610: a(n) = Sum_{k=0..floor(n/2)} k*binomial(n,2*k) = floor(n*2^(n-3)).
; 0,0,1,3,8,20,48,112,256,576,1280,2816,6144,13312,28672,61440,131072,278528,589824,1245184,2621440,5505024,11534336,24117248,50331648,104857600,218103808,452984832,939524096,1946157056,4026531840,8321499136,17179869184,35433480192,7301444403... |
/* Copyright (c) 2006-2018, Universities Space Research Association (USRA).
* 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
... |
#pragma once
/**
@file
@brief wrap openssl
Copyright (C) 2012 Cybozu Labs, Inc., all rights reserved.
*/
#include <cybozu/exception.hpp>
#ifdef __APPLE__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
#if 0 //#ifdef __APPLE__
#define COMMON_DIGEST_FOR_OPENSSL
#incl... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: GeoDex
MODULE: Misc
FILE: miscLettersDraw.asm
AUTHOR: Ted H. Kim, March 9, 1992
ROUTINES:
Name Description
---- -----------
LettersCompDraw Draw meth... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %r9
push %rax
push %rbp
lea addresses_WC_ht+0xee23, %r15
nop
nop
nop
nop
cmp $48245, %rbp
mov (%r15), %r11d
nop
nop
sub $51725, %r13
lea addresses_D_ht+0xc23, %r9
nop
nop
and $3662, %r11
movb $0x61, (%r9)
nop
nop
nop
nop
cmp $32803, %r15
po... |
;;
;; Copyright (c) Microsoft. All rights reserved.
;; Licensed under the MIT license. See LICENSE file in the project root for full license information.
;;
#include "AsmMacros.h"
TEXTAREA
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; Rh... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r15
push %r9
push %rcx
push %rdx
lea addresses_normal_ht+0x12849, %r13
nop
nop
nop
nop
nop
add $49400, %rcx
mov $0x6162636465666768, %rdx
movq %rdx, %xmm2
vmovups %ymm2, (%r13)
nop
cmp %r10, %r10
lea addresses_UC_ht+0x86c9, %rdx
nop
nop
no... |
// Copyright (c) 2009-2014 The Drivercoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "uritests.h"
#include "guiutil.h"
#include "walletmodel.h"
#include <QUrl>
void URITests::uriTests()
{
Sen... |
; A038232: Triangle whose (i,j)-th entry is binomial(i,j)*4^(i-j)*2^j.
; Submitted by Christian Krause
; 1,4,2,16,16,4,64,96,48,8,256,512,384,128,16,1024,2560,2560,1280,320,32,4096,12288,15360,10240,3840,768,64,16384,57344,86016,71680,35840,10752,1792,128,65536,262144,458752,458752,286720,114688
lpb $0
add $1,1
su... |
;;
;; Copyright (c) 2012-2018, Intel Corporation
;;
;; 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 list of conditions and... |
// ==============================================================
// RTL generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and SystemC
// Version: 2019.1
// Copyright (C) 1986-2019 Xilinx, Inc. All Rights Reserved.
//
// ===========================================================
#include "aes_main.h"
#i... |
/*
* Copyright 2015 The WebRTC 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 ... |
; A315019: Coordination sequence Gal.6.320.5 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; 1,5,9,15,19,23,29,33,37,43,47,52,57,61,67,71,75,81,85,89,95,99,104,109,113,119,123,127,133,137,141,147,151,156,161,165,171,175,179,185,189,1... |
// Manuel Monforte
// TAIS62
#include <iostream>
#include <iomanip>
#include <fstream>
#include "PriorityQueue.h"
#include <string>
/*
Coste de la solucion-->Operaciones top() y pop() sobre cola de prioridad
O(NlogN) siendo n el numerod e pacientes a tratar
*/
struct tPaciente{
std::string nombre;
int g... |
// Copyright 2018 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/browser_switcher/browser_switcher_sitelist.h"
#include <algorithm>
#include <memory>
#include <string>
#include <utility>
#inclu... |
// Copyright 2015 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 "ui/ozone/platform/caca/client_native_pixmap_factory_caca.h"
#include "ui/ozone/common/stub_client_native_pixmap_factory.h"
namespace ui {
Cli... |
dnl AMD64 mpn_lshsub_n. R = 2^k(U - V).
dnl Copyright 2006, 2011, 2012 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 * the GNU Lesser General Public Licen... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.