text stringlengths 1 1.05M |
|---|
; A129428: Centered 47-gonal numbers.
; 1,48,142,283,471,706,988,1317,1693,2116,2586,3103,3667,4278,4936,5641,6393,7192,8038,8931,9871,10858,11892,12973,14101,15276,16498,17767,19083,20446,21856,23313,24817,26368,27966,29611,31303,33042,34828,36661,38541,40468,42442,44463,46531,48646,50808,53017,55273,57576,59926,62323... |
; A021169: Decimal expansion of 1/165.
; 0,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6,0,6
trn $0,1
mod $0,2
mov $1,$0
mul $1,6
|
;*******************************************************************************
;* *
;* D A R T H V A D E R ]I[ *
;* *
;* (C) - Copyright 1991 by Waleri Todorov, CICTT-Sofia *
;* All Rights Reserved *
;* *
;* This is the third release... |
db "LAVA DOME@" ; species name
db "Boiling magma-like"
next "blood circulates"
next "through its body."
page "It makes its"
next "dwelling place in"
next "volcanic caves.@"
|
#ifdef NALL_DSP_INTERNAL_HPP
struct ResampleHermite : Resampler {
inline void setFrequency();
inline void clear();
inline void sample();
ResampleHermite(DSP &dsp) : Resampler(dsp) {}
real fraction;
real step;
};
void ResampleHermite::setFrequency() {
fraction = 0.0;
step = dsp.settings.frequency / fr... |
;;
;; Copyright (c) 2012-2020, 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... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r15
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x1ebe9, %rdx
nop
nop
nop
nop
nop
inc %r10
mov $0x6162636465666768, %rsi
movq %rsi, %xmm2
movups %xmm2, (%rdx)
nop
dec %r10
lea addresses_A_ht+0x3d09, %rsi
lea addresses_D_ht+0x1c449, %... |
; A102653: a(n) = 4 * floor(27*2^n/15).
; 4,12,28,56,112,228,460,920,1840,3684,7372,14744,29488,58980,117964,235928,471856,943716,1887436,3774872,7549744,15099492,30198988,60397976,120795952,241591908,483183820,966367640,1932735280,3865470564
mov $1,2
pow $1,$0
mul $1,9
div $1,5
mul $1,4
|
;
; ANSI Video handling for the Epson PX8
; By Stefano Bodrato - 2019
;
; Handles Attributes INVERSE, BOLD + UNDERLINED
;
; Display a char in location (__console_y),(__console_x)
; A=char to display
;
;
; $Id: f_ansi_char.asm $
;
SECTION smc_clib
PUBLIC ansi_CHAR
EXTERN subcpu_call
EXTERN ansifont
EXTERN _... |
;-- Functions used by scheduler (CS+ does not need external definition)
;--------------------------------------------------------------------------------
;-- EXTERN vTaskSwitchContext
;-- EXTERN vTaskSwitchContext
;-- EXTERN xTaskIncrementTick
;-- Variables used by scheduler (CS+ does not need extern... |
//
// Created by 刘丰恺 on 17/1/2020.
//
#include "ast_context.h"
AstContext::AstContext(llvm::Module *m) : module(m), parent(nullptr) {}
AstContext::AstContext(AstContext *p) {
if (!p) {
return;
}
this->module = p->module;
this->path_name = p->path_name;
}
llvm::LLVMContext &AstContext::conte... |
dnl ARM Neon mpn_lshiftc.
dnl Contributed to the GNU project by Torbjörn Granlund.
dnl Copyright 2013 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... |
#ifndef NANA_PAINT_DETAIL_IMAGE_ICO_HPP
#define NANA_PAINT_DETAIL_IMAGE_ICO_HPP
#include "image_pixbuf.hpp"
#include <fstream>
#if defined(NANA_WINDOWS)
# include <windows.h>
#endif
namespace nana {
namespace paint {
namespace detail {
// These next two structs represent how the icon information is stored
// in an I... |
%ifdef CONFIG
{
"RegData": {
"RCX": "0"
}
}
%endif
mov rdx, 0xe0000000
; This behaviour was seen around Wine 32-bit libraries
; Anything doing a call to a double application would spin
; the x87 stack on to the stack looking for fxam to return empty
; Empty in this case is that C0 and C3 is set whiel C2 is no... |
; A142538: Primes congruent to 8 mod 53.
; Submitted by Jon Maiga
; 61,167,379,1439,2287,2393,2711,3347,3559,3877,4513,4831,4937,5573,6421,7057,7481,8011,8117,8329,8647,8753,9283,9601,10343,10979,11827,11933,12251,12569,12781,13099,13417,13523,13841,14159,15643,15749,16067,16703,17021,17551,17657,19141,19777,20201,2073... |
#include "socket_session_impl.h"
#include <assert.h>
#include <google/protobuf/io/zero_copy_stream_impl_lite.h>
#include "frame/sf_logger.h"
#include "ds_proto.h"
namespace fbase {
namespace dataserver {
namespace common {
// const int header_size = sizeof(ds_proto_header_t);
ProtoMessage *SocketSessionImpl::GetP... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: Spell
MODULE: UI
FILE: uiEditUserDict.asm
AUTHOR: Andrew Wilson, Sep 27, 1992
REVISION HISTORY:
Name Date Description
---- ---- -----------
atw 9/27/92 In... |
assume ds:datasg,cs:codesg,ss:stacksg
datasg segment
db 'w','e','l','c','o','m','e',' ','t','o',' ','m','a','s','m','!'
db 16 dup (00000010b)
db 'w','e','l','c','o','m','e',' ','t','o',' ','m','a','s','m','!'
db 16 dup (00001010b)
db 'w','e','l','c','o','m','e',' ','t','o',' ','m','a','s','m','!'
db 16 dup (1001... |
TITLE Carry Flag
;--------------------
; Autor: Heitor Souza
; Data: 15/07/2021
;
; Capítulo 4 Exercício 1
; Descrição: Programa que usa adição e subtração para setar e limpar a flag Carry.
;--------------------
INCLUDE Irvine32.inc
.code
main PROC
mov eax, 0
mov al, 0FFh
add al, 1
call DumpRe... |
;-----------------------------------------------------------------------------
[bits 64]
; Global symbols
global _start
;-----------------------------------------------------------------------------
section .code
;===============================================================... |
; Z88 Small C+ Run time Library
; Moved functions over to proper libdefs
; To make startup code smaller and neater!
;
; 6/9/98 djm
XLIB l_lt
;
; DE < HL [signed]
; set carry if true
.l_lt
ld a,h
add a,$80
ld b,a
ld a,d
add a,$80
cp b
ret nz
ld a,e
cp l
ret
... |
#include "game/data/screen.asm"
|
<% from pwnlib.shellcraft import amd64 %>
<% from pwnlib.shellcraft import common %>
<%page args="readsock=0, writesock=1"/>
<%docstring>
Reads from a buffer of a size and location determined at runtime.
When the shellcode is executing, it should send a pointer and
pointer-width size to determine the location and size ... |
#include<bits/stdc++.h>
using namespace std;
#define fori(i,a,b) for (long int i = a; i <= b ; ++i)
#define ford(i,a,b) for(long int i = a;i >= b ; --i)
#define mk make_pair
#define mod 1000000007
#define pb push_back
#define vec vector<long long int>
#define ll long long
#define rnd mt19937_64 rng(chrono::high_resolu... |
#include "test/integration/tcp_proxy_integration_test.h"
#include <memory>
#include "envoy/config/bootstrap/v3/bootstrap.pb.h"
#include "envoy/config/cluster/v3/cluster.pb.h"
#include "envoy/config/core/v3/base.pb.h"
#include "envoy/config/filter/network/tcp_proxy/v2/tcp_proxy.pb.h"
#include "envoy/extensions/access_... |
/*
*Copyright (c) 2013-2013, yinqiwen <yinqiwen@gmail.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 notice,
* t... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1993 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: IBM Proprinter X24 driver
FILE: propx24bjIBMInfo.asm
AUTHOR: Dave Durran, 27 Mar 1990
REVISION HISTORY:
Name Date Description
----... |
; A185108: a(0)=0; for n>0, a(n) = (n+2)*a(n-1) + 1.
; 0,1,5,26,157,1100,8801,79210,792101,8713112,104557345,1359245486,19029436805,285441552076,4567064833217,77640102164690,1397521838964421,26552914940324000,531058298806480001,11152224274936080022,245348934048593760485,5643025483117656491156,135432611594823755787745,3... |
;//###########################################################################
;//
;// FILE: bl_entrytrable.asm
;//
;// TITLE: Symbol tables for entry points
;//
;//
;//###########################################################################
;// $TI Release: F2806x Support Library v2.04.00.00 $
;// $Release Date:... |
; A208131: Partial products of A052901.
; 1,3,6,12,36,72,144,432,864,1728,5184,10368,20736,62208,124416,248832,746496,1492992,2985984,8957952,17915904,35831808,107495424,214990848,429981696,1289945088,2579890176,5159780352,15479341056,30958682112,61917364224,185752092672,371504185344,743008370688,2229025112064,44580502... |
frame 0, 08
endanim |
; A028079: Expansion of 1/((1-3x)(1-6x)(1-8x)(1-9x)).
; Submitted by Jon Maiga
; 1,26,433,5894,71533,807002,8661241,89694638,904552165,8939508578,86964763249,835481774582,7946080247197,74954796226154,702270481591657,6542793214395326,60669652146889429,560336828250406130
mov $1,1
mov $2,$0
mov $3,$0
lpb $2
mov $0,$3
... |
// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
#include "DogfightGameMode.h"
ADogfightGameMode::ADogfightGameMode()
{
}
|
frame 0, 04
frame 1, 08
frame 2, 12
setrepeat 5
frame 0, 05
frame 3, 05
dorepeat 4
frame 0, 06
frame 4, 12
endanim
|
; BSD
; void bcopy(const void *src, void *dst, size_t len)
SECTION code_clib
SECTION code_string
PUBLIC _bcopy
EXTERN asm_bcopy
_bcopy:
pop af
pop hl
pop de
pop bc
push bc
push de
push hl
push af
jp asm_bcopy
|
INCLUDE "clib_cfg.asm"
SECTION code_clib
SECTION code_math
PUBLIC l_divs_16_16x16, l0_divs_16_16x16
; compute: hl = hl / de, de = hl % de
; alters : af, bc, de, hl
; alternate entry (l_divs_16_16x16 - 1)
; exchanges de,hl
; alternate entry (l0_divs_16_16x16)
; skips divide by zero check
... |
;LOOP.ASM
;Demo program for looping directives
;This file contains two macro definitions
;for the same purpose. The first version (DEFS)
;works when the argument is 0. The second one
;works only for argument greater then zero.
;This program can not be compiled because
;the last macro tries to generate ... |
;
; int asm_strlen(char *str);
;
BITS 64
SECTION .text
GLOBAL asm_strlen
asm_strlen:
PUSH RCX
MOV RCX, -1 ; Init counter
_loop: ; Basic while
INC RCX
CMP BYTE [RDI + RCX], 0
JNE _loop
_end:
MOV RAX, RCX ; Return counter
POP RCX
RET
|
db 0 ; 322 DEX NO
db 60, 60, 40, 35, 45, 35
; hp atk def spd sat sdf
db FIRE, GROUND ; type
db 255 ; catch rate
db 88 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 20 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/hoenn/numel/front.dimen... |
#include "StaticBall.h"
GLfloat sAmbient[3] = { 0.1, 0.3, 0.1 };
GLfloat sSpecular[3] = { 0.4, 1.0, 0.4 };
StaticBall::StaticBall() {}
StaticBall::~StaticBall() {}
StaticBall::StaticBall(const Point& pos) :Ball(pos, Vec(0.0, 0.0, 0.0), BallGUI(sAmbient, sSpecular), false) {} |
#include <butteraugli/butteraugli.h>
#include <emscripten/bind.h>
#include <emscripten/val.h>
using namespace emscripten;
using namespace butteraugli;
// Turns an interleaved RGBA buffer into 4 planes for each color channel
void planarize(std::vector<ImageF>& img,
const uint8_t* rgba,
in... |
;
; Z88 Small C+ Run Time Library
; Long support functions
;
; djm 25/2/99
; Rewritten for size and speed (untested, but should be OK)
;
; aralbrec 01/2007
; sped up some more
SECTION code_crt0_sccz80
PUBLIC l_long_asr
; Shift primary (on stack) right by se... |
#include <iostream>
#include <bits/stdc++.h>
using namespace std;
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
long long int t,i,ans,n,c;
cin>>t;
while(t--)
{
ans=1;
cin>>n;
int arr[n];
for (i=0;i<n;i++)
{
... |
; A161435: Number of reduced words of length n in the Weyl group A_3.
; 1,3,5,6,5,3,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mul $0,2
mov $2,1
add $2,$0
trn $0,5
... |
; void sp1_PrintString(struct sp1_pss *ps, uchar *s)
; CALLER linkage for function pointers
PUBLIC sp1_PrintString
EXTERN SP1PrintString, SP1PSPOP, SP1PSPUSH
.sp1_PrintString
ld hl,2
add hl,sp
ld e,(hl)
inc hl
ld d,(hl) ; de = & string
inc hl
ld a,(hl)
inc hl
ld h,(hl)
l... |
; A184104: n+floor(5*sqrt(n)); complement of A184105.
; 6,9,11,14,16,18,20,22,24,25,27,29,31,32,34,36,37,39,40,42,43,45,46,48,50,51,52,54,55,57,58,60,61,63,64,66,67,68,70,71,73,74,75,77,78,79,81,82,84,85,86,88,89,90,92,93,94,96,97,98,100,101,102,104,105,106,107,109,110,111,113,114,115,117,118,119,120,122,123,124,126,12... |
Name: zel_end3.asm
Type: file
Size: 14536
Last-Modified: '2016-05-13T04:36:32Z'
SHA-1: 652D4C2DF84BD06BEAEEA070034360AA84849FF9
Description: null
|
.size 8000
.text@48
jp lstatint
.text@100
jp lbegin
.data@143
c0
.text@150
lbegin:
ld a, 00
ldff(ff), a
ld a, 30
ldff(00), a
ld a, 01
ldff(4d), a
stop, 00
ld c, 41
ld b, 03
lbegin_waitm3:
ldff a, (c)
and a, b
cmp a, b
jrnz lbegin_waitm3
ld a, 20
ldff(c), a
ld a, 02
ldff(ff), a
ld a, 06
ldff(43... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE190_Integer_Overflow__int64_t_rand_multiply_74b.cpp
Label Definition File: CWE190_Integer_Overflow.label.xml
Template File: sources-sinks-74b.tmpl.cpp
*/
/*
* @description
* CWE: 190 Integer Overflow
* BadSource: rand Set data to result of rand()
* GoodSourc... |
////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2017 ArangoDB GmbH, Cologne, Germany
///
/// 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... |
; A021867: Decimal expansion of 1/863.
; Submitted by Jon Maiga
; 0,0,1,1,5,8,7,4,8,5,5,1,5,6,4,3,1,0,5,4,4,6,1,1,8,1,9,2,3,5,2,2,5,9,5,5,9,6,7,5,5,5,0,4,0,5,5,6,1,9,9,3,0,4,7,5,0,8,6,9,0,6,1,4,1,3,6,7,3,2,3,2,9,0,8,4,5,8,8,6,4,4,2,6,4,1,9,4,6,6,9,7,5,6,6,6,2,8,0
add $0,1
mov $2,10
pow $2,$0
div $2,863
mov $0,$2
mod $... |
; A212565: Number of (w,x,y,z) with all terms in {1,...,n} and w+x>=2y+2z.
; 0,0,1,8,28,74,159,304,528,860,1325,1960,2796,3878,5243,6944,9024,11544,14553,18120,22300,27170,32791,39248,46608,54964,64389,74984,86828,100030,114675,130880,148736,168368,189873,213384,239004,266874,297103,329840,365200,403340,444381,488488,5... |
; hello-os
CYLS EQU 10 ; 读取的柱面数量(CYLS = cylinders)
ORG 0x7c00 ; 指明程序的装载地址
; 用于标准FAT12格式的软盘
JMP entry ; 跳转指令
NOP ; NOP指令
DB "HARIBOTE" ; OEM标识符(8字节)
DW 512 ; 每个扇区(sector)的字节数(必须为512字节)
DB 1 ; 每个簇... |
/* The following code example is taken from the book
* "The C++ Standard Library - A Tutorial and Reference"
* by Nicolai M. Josuttis, Addison-Wesley, 1999
*
* (C) Copyright Nicolai M. Josuttis 1999.
* Permission to copy, use, modify, sell and distribute this software
* is granted provided this copyright no... |
INCLUDE "config_private.inc"
SECTION code_clib
SECTION code_stdio
PUBLIC asm__fflushall_unlocked
EXTERN __stdio_open_file_list
EXTERN asm1_fflush_unlocked, asm_p_forward_list_next
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF __CLIB_OPT_MULTITHREAD & $04
EXTERN __stdio_lock_file_list, __stdio_unlock_file_list
ENDIF
;;;;;;;... |
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r14
push %r15
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
// REPMOV
lea addresses_A+0x15c19, %rsi
lea addresses_UC+0x16e19, %rdi
nop
nop
xor %r14, %r14
mov $27, %rcx
rep movsl
nop
nop
nop
and $57941, %rsi
// Faulty L... |
; A021747: Decimal expansion of 1/743.
; Submitted by Jon Maiga
; 0,0,1,3,4,5,8,9,5,0,2,0,1,8,8,4,2,5,3,0,2,8,2,6,3,7,9,5,4,2,3,9,5,6,9,3,1,3,5,9,3,5,3,9,7,0,3,9,0,3,0,9,5,5,5,8,5,4,6,4,3,3,3,7,8,1,9,6,5,0,0,6,7,2,9,4,7,5,1,0,0,9,4,2,1,2,6,5,1,4,1,3,1,8,9,7,7,1,1
add $0,1
mov $2,10
pow $2,$0
div $2,743
mov $0,$2
mod $... |
; A102348: Decimated primes: every 10th prime has been omitted.
; 2,3,5,7,11,13,17,19,23,31,37,41,43,47,53,59,61,67,73,79,83,89,97,101,103,107,109,127,131,137,139,149,151,157,163,167,179,181,191,193,197,199,211,223,227,233,239,241,251,257,263,269,271,277,283,293,307,311
mul $0,10
div $0,9
seq $0,40 ; The prime numbers... |
; A305728: Numbers of the form 216*p^3, where p is a Pythagorean prime (A002144).
; 27000,474552,1061208,5268024,10941048,14886936,32157432,49027896,84027672,152273304,197137368,222545016,279726264,311665752,555412248,714516984,835896888,1118386872,1280824056,1552836312,1651400568,2593941624,2732256792,3023464536,36665... |
/**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#include <gtest/gtest.h>
#include "ametsuchi/impl/tx_presence_cache_impl.hpp"
#include "cryptography/public_key.hpp"
#include "interfaces/common_objects/transaction_sequence_common.hpp"
#include "interfaces/iroha_inte... |
CONFIG:
MOV TMOD,#1 ;CT0 no modo 1
MOV TH0,#0FCh ;valor para a recarga
MOV TL0,#18h;valor para a primeira contagem
SETB TR0 ;liga o CT0
SETB P1.0
LB1:
JNB TF0,$ ;aguarda bit de ultrapassagem
MOV TH0,#0D8h ;valor para a primeira contagem
MOV TL0, #0F0h
CLR TF0 ;apaga bit de ultrapassagem
CLR P1.0 ;faz P1.0 = ... |
; Copyright (c) 2010 Matt Fichman
;
; 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, publish, distri... |
;
; ZX Spectrum ZXMMC specific routines
; code by Alessandro Poppi
; ported to z88dk by Stefano Bodrato - Feb 2010
;
; $Id: cs_high.asm,v 1.2 2015/01/19 01:33:11 pauloscustodio Exp $
;
;------------------------------------------------------------------------------------
; CHIP_SELECT HIGH subroutine. Destroys no reg... |
#include "server.h"
/*! \mainpage QTracker-Server Documentation
*
* \section intro_sec Introduction
*
* This document describes all the C++ classes used in our QTracker-Server.<br>
* There are no ads on this page, but due to the unforunate name of the software,
* adblockers will disable some functionality. Disabl... |
RocketHideoutB4F_Script:
call RocketHideout4Script_45473
call EnableAutoTextBoxDrawing
ld hl, RocketHideout4TrainerHeaders
ld de, RocketHideoutB4F_ScriptPointers
ld a, [wRocketHideoutB4FCurScript]
call ExecuteCurMapScriptInTable
ld [wRocketHideoutB4FCurScript], a
ret
RocketHideout4Script_45473:
ld hl, wCurren... |
;; encoding: utf-8
; ff3_command_window.asm
;
;description:
; command window related codes
; implements 'extra ability' feature ready mechanism
;
;version:
; 0.15 (2017-11-25)
;======================================================================================================
ff3_commandWindow_begin:
INI... |
;*****************************************************************************
;* x86-optimized functions for yadif filter
;*
;* Copyright (C) 2006 Michael Niedermayer <michaelni@gmx.at>
;* Copyright (c) 2013 Daniel Kang <daniel.d.kang@gmail.com>
;*
;* This file is part of FFmpeg.
;*
;* FFmpeg is free software; you can... |
; A101660: Fixed point of morphism 0 -> 01, 1 -> 02, 2 -> 12.
; 0,1,0,2,0,1,1,2,0,1,0,2,0,2,1,2,0,1,0,2,0,1,1,2,0,1,1,2,0,2,1,2,0,1,0,2,0,1,1,2,0,1,0,2,0,2,1,2,0,1,0,2,0,2,1,2,0,1,1,2,0,2,1,2,0,1,0,2,0,1,1,2,0,1,0,2,0,2,1,2,0,1,0,2,0,1,1,2,0,1,1,2,0,2,1,2,0,1,0,2,0,1,1,2,0
mul $0,3
cal $0,91297 ; A fixed point of the ... |
; Johto Pokémon in grass
JohtoGrassWildMons:
map_id SPROUT_TOWER_2F
db 2 percent, 2 percent, 2 percent ; encounter rates: morn/day/nite
; morn
dbw 3, RATTATA
dbw 4, RATTATA
dbw 5, RATTATA
dbw 3, RATTATA
dbw 6, RATTATA
dbw 5, RATTATA
dbw 5, RATTATA
; day
dbw 3, RATTATA
dbw 4, RATTATA
dbw 5, RATTATA
dbw ... |
###############################################################################
# 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... |
; A014934: a(1)=1, a(n)=n*17^(n-1)+a(n-1).
; 1,35,902,20554,438159,8957301,177920284,3460629668,66242446637,1252121211607,23428054116546,434690809808142,8008779893795035,146672872354478153,2672340270745492088,48471109094902544776,875711370981239308953,15766036084935301064139,282964640674222075893310,5064413354377248572... |
; Accessing variables, index and stack across page boundaries
.define SPPS 0x0002 ; Location of the stack pointer page select memory mapped register
.reset Start
.origin 0x0100
.byte myVar 1
Start:
CLR PAGE
LD X, #0xFE
LD A, #0xAA
ST A, X, 0 ; 0x0... |
; A326663: Column 3 of the array at A309157; see Comments.
; 5,12,20,26,33,41,47,54,61,68,75,83,89,96,104,110,117,124,131,138,146,152,159,167,173,180,188,194,201,209,215,222,230,236,243,250,257,264,272,278,285,293,299,306,313,320,327,335,341,348,356,362,369,377,383,390,398,404,411,419,425,432,439,446,453,461,467,474,48... |
; VirtualDub - Video processing and capture application
; Graphics support library
; Copyright (C) 1998-2004 Avery Lee
;
; This program is free software; you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation; either version 2 of... |
//===- InstrProfilingRuntime.cpp - PGO runtime initialization -------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
#include <prnstrem.h>
#ifdef unix
#include <strstream>
#else
#include <strstrea.h>
#endif
#include "par_treg.h"
#include "trace.h"
int saveinterflag = 0;
double min(const dmatrix& t);
extern indexed_regional_fishery_record global_irfr;
#include <jnigraphics2.h>
#ifdef __BCG_SOLVER__
#include "linbcg.h"
#else
#... |
/*
* This source file is part of libRocket, the HTML/CSS Interface Middleware
*
* For the latest information, see http://www.librocket.com
*
* Copyright (c) 2008-2010 CodePoint Ltd, Shift Technology Ltd
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and assoc... |
; FV-1 Testing
;
; Program: Output Max Val
clr ; clear ACC
or 0x7fffff ; load max value to ACC
wrax DACL,0.0 ; Write to DACL
|
.data #data segment
prompt: .asciiz "Enter string: \n" #string
buf: .space 100 #buffer with 100 bytes
.text #text segment
.globl main #visible outside
main:
li $v0, 4 #print string
la $a0, prompt #from this
syscall
li $v0, 8 #read string
la $a0, buf #to this
li $a1, 100 #max amount
syscal... |
ori $2, 10
ori $3, 5
subu $1, $3, $2
addu $4, $1, $2
subu $4, $3, $2
ori $4, 1
subu $1, $2, $3
lui $1, 10
subu $1, $2, $3
ori $2, 10
sw $1, 0($0)
subu $1, $2, $3
sw $1, 4($0)
subu $1, $2, $3
subu $4, $2, $3
beq $1, $4 QAQ
ori $t0, 10
ori $t1, 10
QAQ:
ori $t2, 10
subu $1, $2, $3
ori $2, 10
ori $0, 10
subu $1, $0, $2
su... |
#include "ros/ros.h"
#include "simple_arm/GoToPosition.h"
#include <std_msgs/Float64.h>
#include "local_vars.h"
ros::Publisher joint1_pub, joint2_pub;
std::vector<float> clamp_at_boundaries(float requested_joint1_angle, float requested_joint2_angle){
float clamped_joint1_angle = requested_joint1_angle;
float ... |
//
// ip/basic_resolver_iterator.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// 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)
//
#ifndef... |
// 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 "components/policy/core/browser/configuration_policy_handler.h"
#include <stddef.h>
#include <algorithm>
#include <utility>
#include "base/... |
subttl emfinit.asm - Emulator initialization and FINIT instruction
page
;*******************************************************************************
;emfinit.asm - Emulator initialization and FINIT instruction
;
; Microsoft Confidential
;
; Copyright (c) Microsoft Corporation 1991
; ... |
MODULE mod320
;--------------------------------------------------------------------------------------------
; Calculates HL = HL % 320, for uin16_t values (0..65535)
; modifies: DE, BC, F
; code length: 18 bytes, about 500T total duration (for SUB_POWER 6)
; (for [incomplete] int16_t input you can do `add hl,32640... |
; void *memalign_unlocked(size_t alignment, size_t size)
SECTION code_alloc_malloc
PUBLIC _memalign_unlocked
EXTERN _aligned_alloc_unlocked
defc _memalign_unlocked = _aligned_alloc_unlocked
|
; A106567: a(n) = 5*a(n-1) + 4*a(n-2), with a(0) = 4, a(1) = 4.
; Submitted by Jamie Morken(s4)
; 0,4,20,116,660,3764,21460,122356,697620,3977524,22678100,129300596,737215380,4203279284,23965257940,136639406836,779058065940,4441847957044,25325472048980,144394752073076,823275648561300,4693957251098804,26762888849739220,... |
/*------------------------------------------------------------*/
/* filename - tfiledtr.cpp */
/* */
/* function(s) */
/* TFileEditor member functions ... |
;
; Z88 Graphics Functions - Small C+ stubs
;
; Written around the Interlogic Standard Library
;
; Stubs Written by D Morris - 30/9/98
;
;
; $Id: undrawto.asm,v 1.2 2009/10/23 14:25:51 stefano Exp $
;
;Usage: undrawto(struct *pixels)
XLIB undrawto
LIB swapgfx... |
.size 8000
.text@48
jp lstatint
.text@100
jp lbegin
.data@143
80
.text@150
lbegin:
ld a, ff
ldff(45), a
ld b, 96
call lwaitly_b
ld a, 40
ldff(41), a
ld a, 02
ldff(ff), a
xor a, a
ldff(0f), a
ei
ld a, b
inc a
inc a
ldff(45), a
ld c, 41
.text@1000
lstatint:
xor a, a
ldff(45), a
.text@1069
ldff... |
//------------------------------------------------------------------------------
/*
This file is part of jbcoind: https://github.com/jbcoin/jbcoind
Copyright (c) 2017 JBCoin Labs Inc.
Permission target use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby gr... |
/*++
Copyright (c) 1996 Microsoft Corporation
Module Name:
inetapiu.cxx
Abstract:
Contains WinInet API utility & sub-API functions
Contents:
wInternetQueryDataAvailable
Author:
Richard L Firth (rfirth) 16-Feb-1996
Environment:
Win32 user-level
Revision Hist... |
; A033125: Base-7 digits are, in order, the first n terms of the periodic sequence with initial period 1,0,1.
; Submitted by Jon Maiga
; 1,7,50,351,2457,17200,120401,842807,5899650,41297551,289082857,2023580000,14165060001,99155420007,694087940050,4858615580351,34010309062457,238072163437200,1666505144060401,1166553600... |
/*
* Copyright (c) 2014, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#include "pr... |
_ln: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a: 55 ... |
// Copyright 2019 The Fuchsia 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 "hid.h"
#include <fuchsia/hardware/hidbus/cpp/banjo.h>
#include <lib/fake_ddk/fake_ddk.h>
#include <unistd.h>
#include <thread>
#include <vector... |
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r12
push %r15
push %rcx
push %rsi
// Faulty Load
lea addresses_D+0x12bf2, %rsi
and %r12, %r12
mov (%rsi), %r10d
lea oracles, %rcx
and $0xff, %r10
shlq $12, %r10
mov (%rcx,%r10,1), %r10
pop %rsi
pop %rcx... |
SECTION code_clib
SECTION code_fp_math48
PUBLIC asm_acosh
EXTERN am48_acosh
defc asm_acosh = am48_acosh
|
;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 4.1.4 #12246 (Mac OS X x86_64)
;--------------------------------------------------------
.module spritesheet_2_tiles
.optsdcc -mgbz80
;-------------------------------------------------------... |
;***********
; CONSTANTS
;***********
; Defines names for commonly used values and addresses to make
; the code more readable.
;**************************************************************
;*****************************
; INITIAL VDP REGISTER VALUES
;*****************************
; 24 register values to be copied to... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.