text stringlengths 1 1.05M |
|---|
/**
* \file PolygonArea.hpp
* \brief Header for GeographicLib::PolygonAreaT class
*
* Copyright (c) Charles Karney (2010-2019) <charles@karney.com> and licensed
* under the MIT/X11 License. For more information, see
* https://geographiclib.sourceforge.io/
*************************************************... |
;
; Paging
;
; detect_lm.asm
;
[bits 32]
; Detecting Long Mode
;
; Long mode is supported on all 64-bit CPUs, but not
; on 32-bit CPUs. However, since we've been in protected
; mode, we have no idea which type of system we're running
; on. We need to figure out if we can even use long mode so
; that we don't cause a ... |
; A163298: Sum of divisors of n minus binary order of n.
; 1,2,2,5,3,9,5,12,9,14,8,24,10,20,20,27,13,34,15,37,27,31,19,55,26,37,35,51,25,67,27,58,42,48,42,85,32,54,50,84,36,90,38,78,72,66,42,118,51,87,66,92,48,114,66,114,74,84,54,162,56,90,98,121,77,137,61,119,89,137,65,188,67,107,117,133,89,161,73,179,114,119,77,217,1... |
_CeruleanGymText_5c7be::
text "Hi, you're a new"
line "face!"
para "Trainers who want"
line "to turn pro have"
cont "to have a policy"
cont "about #MON!"
para "What is your"
line "approach when you"
cont "catch #MON?"
para "My policy is an"
line "all-out offensive"
cont "with water-type"
cont "#MON!"
d... |
// Copyright (c) 2009-2014 The Bitcoin 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 "base58.h"
#include "clientversion.h"
#include "coins.h"
#include "cor... |
#include "dodecahedron_mesh.hpp"
#include "iterator.hpp"
#include <array>
#include <memory>
using namespace generator;
static const double a = (1.0 + std::sqrt(5.0)) / 2.0;
static const std::array<gml::dvec3, 20> vertices{
{{1.0, 1.0, -1.0}, {-1.0, 1.0, -1.0}, {1.0, -1.0, -1.0}, {-1.0, -1.0, -1.0},
{1.0, 1.... |
//===- llvm/unittest/DebugInfo/DWARFDebugInfoTest.cpp ---------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
.global s_prepare_buffers
s_prepare_buffers:
push %r9
push %rbp
push %rcx
push %rdx
lea addresses_D_ht+0xdbeb, %rcx
nop
nop
nop
nop
add %rdx, %rdx
vmovups (%rcx), %ymm3
vextracti128 $1, %ymm3, %xmm3
vpextrq $1, %xmm3, %rbp
nop
nop
nop
nop
nop
cmp $42392, %r9
pop %rdx
pop %rcx
pop %rbp
pop %r9
ret
.global s_faulty_... |
;
; Z88 Small C+ Library Functions
;
; Find current directory
;
; Added to Small C archive 12/3/99
;
; char *getcwd(char *buffer, int maxlen)
;
; *** Z88 SPECIFIC ROUTINE - UNTESTED!!! ***
;
;
; -----
; $Id: getcwd.asm,v 1.9 2015/01/19 01:33:22 pauloscustodio Exp $
INCLUDE... |
; A132720: Sequence is identical to its second differences in absolute values.
; 1,2,4,8,8,16,32,32,64,128,128,256,512,512,1024,2048,2048,4096,8192,8192,16384,32768,32768,65536,131072,131072,262144,524288,524288,1048576,2097152,2097152,4194304,8388608,8388608,16777216,33554432,33554432,67108864,134217728,134217728,2684... |
; A002492: Sum of the first n even squares: 2*n*(n+1)*(2*n+1)/3.
; 0,4,20,56,120,220,364,560,816,1140,1540,2024,2600,3276,4060,4960,5984,7140,8436,9880,11480,13244,15180,17296,19600,22100,24804,27720,30856,34220,37820,41664,45760,50116,54740,59640,64824,70300,76076,82160,88560,95284,102340,109736,117480,125580,134044,1... |
; int b_array_resize_callee(b_array_t *a, size_t n)
SECTION code_adt_b_array
PUBLIC _b_array_resize_callee
_b_array_resize_callee:
pop af
pop hl
pop de
push af
INCLUDE "adt/b_array/z80/asm_b_array_resize.asm"
|
/////////////////////////////////////////////////////////////////////////////
// Name: src/xrc/xh_chckl.cpp
// Purpose: XRC resource for wxCheckListBox
// Author: Bob Mitchell
// Created: 2000/03/21
// Copyright: (c) 2000 Bob Mitchell and Verant Interactive
// Licence: wxWindows licence
//////... |
; ===============================================================
; Mar 2014
; ===============================================================
;
; size_t bv_priority_queue_size(bv_priority_queue_t *q)
;
; Return the size of the queue in bytes.
;
; ===============================================================
SECTI... |
SECTION "sprite table", ROMX
sprite_table:
.main_sprite:
INCBIN "res/visual/sprites/brigham.bin"
.end:
|
Name: zel_init.asm
Type: file
Size: 278969
Last-Modified: '2016-05-13T04:23:03Z'
SHA-1: 92D9090163A6DF317FD38BEDD8750CD2F364BDE1
Description: null
|
TITLE 'bfp-008-cvtfrlog.asm: Test IEEE Convert From Fixed (uint-32)'
***********************************************************************
*
*Testcase IEEE CONVERT FROM LOGICAL 32
* Test case capability includes ieee exceptions trappable and otherwise.
* Test result, FPCR flags, and DXC saved for all tests. (Con... |
; A137287: a(n) = the number 2 written (p(n)-1)/2 times followed with digit 1; p(n) n-th prime number; a(1)=2.
; Submitted by Christian Krause
; 2,21,221,2221,222221,2222221,222222221,2222222221,222222222221,222222222222221,2222222222222221,2222222222222222221,222222222222222222221,2222222222222222222221
seq $0,40 ; T... |
//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===---------------------------------... |
// Copyright (c) 2019-2021 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/asmap.h>
#include <clientversion.h>
#include <crypto/common.h>
#include <logging.h>
#include <streams.h>
#in... |
.data
a:
10
b:
20
.text
main:
load %x0, $a, %x4
end
|
else(8) JIP: LABEL0 { align16 1Q };
else(8) JIP: LABEL0 { align1 1Q };
else(16) JIP: LABEL0 { align1 1H };
LABEL0: |
//=================================================================================================
/*!
// \file src/mathtest/operations/dmatsmatkron/DDbUCa.cpp
// \brief Source file for the DDbUCa dense matrix/sparse matrix Kronecker product math test
//
// Copyright (C) 2012-2020 Klaus Iglberger - All Rights Reser... |
; A151976: Minimal recursive sequence beginning with 5 similar to N with respect to property of integer to be or not to be in A079523.
; 5,6,8,10,13,14,17,18,21,22,24,26,29,30,32,34,37,38,40,42,45,46,49,50,53,54,56,58,61
mov $4,$0
add $0,2
mov $3,2
pow $3,$0
pow $0,2
gcd $0,$3
mod $0,5
mov $1,1
lpb $0
sub $0,3
trn... |
; A194055: Natural fractal sequence of A000071 (Fibonacci numbers minus 1; a rectangular array, by antidiagonals.
; 1,1,2,1,2,3,1,2,3,4,5,1,2,3,4,5,6,7,8,1,2,3,4,5,6,7,8,9,10,11,12,13,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29
mov... |
[org 0x7c00] ; boot sector offset because BIOS put boot_sector at this adress
; it will put this offset for all code
mov [BOOT_DRIVE], dl ; Remember that the BIOS sets us the boot drive in 'dl' on boot
mov bp, 0x9000 ; set the stack far from boot sector av... |
%include "../../defaults_com.asm"
; cli
; mov ax,cs
; mov ss,ax
; mov sp,stackEnd + 0x100
; sti
main:
mov bp,0
top:
mov dx,0x03d8
mov al,0x0a
out dx,al
; Set up CRTC for 1 character by 2 scanline "frame". This gives us 2 lchars
; per frame.
mov dx,0x3d4
; 0xff Horizontal Total
mov ax,0x0... |
; $Id: bit_fx2_mwr.asm,v 1.1 2008/03/31 17:16:18 stefano Exp $
;
; 1 bit sound library - version for "memory write" I/O architectures
; sound effects module.
; Alternate sound library by Stefano Bodrato
;
XLIB bit_fx2
INCLUDE "games/games.inc"
LIB bit_open
LIB b... |
; A047434: Numbers that are congruent to {0, 2, 4, 5, 6} mod 8.
; 0,2,4,5,6,8,10,12,13,14,16,18,20,21,22,24,26,28,29,30,32,34,36,37,38,40,42,44,45,46,48,50,52,53,54,56,58,60,61,62,64,66,68,69,70,72,74,76,77,78,80,82,84,85,86,88,90,92,93,94,96,98,100,101,102
mov $2,$0
lpb $0
sub $0,1
add $1,2
trn $2,$1
trn $1,$... |
; A053715: a(n) = n-th triangular number (the sum of the first n integers) in base n.
; 0,1,11,20,22,30,33,40,44,50,55,60,66,70,77,80,88,90,99,100,110,110,121,120,132,130,143,140,154,150,165,160,176,170,187,180,198,190,209,200,220,210,231,220,242,230,253,240,264,250,275,260,286,270,297,280,308,290,319,300,330,310,341,3... |
;
; Copyright (C) 2008-2020 Advanced Micro Devices, 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... |
;
; Amstrad CPC library
; creates a copy of a string in CPC format
;
; char __LIB__ __CALLEE__ *cpc_rsx_strcpy(char *dst, char *src);
;
; $Id: cpc_rsx_strcpy_callee.asm,v 1.1 2008/05/26 06:38:08 stefano Exp $
;
XLIB cpc_rsx_strcpy_callee
XDEF ASMDISP_CPC_RSX_STRCPY_CALLEE
... |
;*******************************************************************************
; thread.nasm - RadiOS thread management.
; Copyright (c) 2000,2003 RET & COM Research.
; Based on the TINOS Operating System (c) 1998 Bart Sekura.
;*******************************************************************************
%include ... |
<%
from pwnlib.shellcraft.aarch64.linux import syscall
%>
<%page args="pid"/>
<%docstring>
Invokes the syscall getpgid. See 'man 2 getpgid' for more information.
Arguments:
pid(pid_t): pid
</%docstring>
${syscall('SYS_getpgid', pid)}
|
PokemonTower5Script:
call EnableAutoTextBoxDrawing
ld hl, PokemonTower5TrainerHeader0
ld de, PokemonTower5ScriptPointers
ld a, [wPokemonTower5CurScript]
call ExecuteCurMapScriptInTable
ld [wPokemonTower5CurScript], a
ret
PokemonTower5ScriptPointers:
dw PokemonTower5Script0
dw DisplayEnemyTrainerTextAndStartBa... |
#include "Platform.inc"
radix decimal
SmpsDummies code
global initialiseSmps
global enableSmps
global enableSmpsHighPowerMode
global disableSmps
global disableSmpsHighPowerMode
global isSmpsEnabled
global pollSmps
initialiseSmps:
enableSmps:
enableSmpsHighPowerMode:
disableSmps:
disableSmpsHighPowerMode:
is... |
// Constantly writes 0x0f0f to $20ff (0x0f to $20ff, 0x0f to $2100)
//
// This test does not show any glitches
//
// Copyright (c) 2021, Marcus Rowe <undisbeliever@gmail.com>.
// Distributed under The MIT License: https://opensource.org/licenses/MIT
define ROM_NAME = "INIDISP HAMMER TEST"
define VERSION = 1
include ... |
; This file is generated from a similarly-named Perl script in the BoringSSL
; source tree. Do not edit by hand.
default rel
%define XMMWORD
%define YMMWORD
%define ZMMWORD
%ifdef BORINGSSL_PREFIX
%include "boringssl_prefix_symbols_nasm.inc"
%endif
section .text code align=64
EXTERN OPENSSL_ia32cap_P
global bn_mul... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %r15
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1b429, %rsi
lea addresses_normal_ht+0x145cd, %rdi
nop
nop
nop
nop
mfence
mov $119, %rcx
rep movsq
nop
nop
nop
nop
nop
inc %r13
lea addresses_D_ht+0x1bec5, %r14
nop
nop
nop
n... |
#include <stdio.h>
#include <curl/curl.h>
#include <iostream>
#include <string>
#include "external_ip.hpp"
using namespace crowd;
std::string external_ip::get_external_ip(void)
{
CURL *curl;
CURLcode res;
curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl, CURLOPT_URL, "http://myexternalip.com/r... |
; A184117: Lower s-Wythoff sequence, where s(n) = 2n + 1.
; 1,2,3,5,6,8,9,11,12,13,15,16,18,19,20,22,23,25,26,27,29,30,32,33,35,36,37,39,40,42,43,44,46,47,49,50,52,53,54,56,57,59,60,61,63,64,66,67,69,70,71,73,74,76,77,78,80,81,83,84,85,87,88,90,91,93,94,95,97,98,100,101,102,104,105,107,108,110,111,112,114,115,117,118,1... |
; A023538: Convolution of natural numbers with (1, p(1), p(2), ... ), where p(k) is the k-th prime.
; 1,4,10,21,39,68,110,169,247,348,478,639,837,1076,1358,1687,2069,2510,3012,3581,4221,4934,5726,6601,7565,8626,9788,11053,12425,13906,15500,17221,19073,21062,23190,25467,27895,30480,33228,36143,39231,42498,45946,49585
l... |
%ifdef CONFIG
{
"RegData": {
"RAX": "0x4142434445464748",
"RDX": "0x5152535455565758",
"RBX": "0x6162636465666768",
"R15": "0x7172737475767778",
"R12": "0x4142434445464748",
"R13": "0x5152535455565758",
"R14": "0x0"
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
mov rcx,... |
; DCL_DF23_L2L3.asm - Pre-computed Direct Form 2 implementation in third order
;
; Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/
; ALL RIGHTS RESERVED
.if __TI_EABI__
.asg DCL_runDF23_L2, _DCL_runDF23_L2
.asg DCL_runDF23_L3, _DCL_runDF23_L3
.endif
.global _DCL_runDF23_L2
.global ... |
; A219394: Numbers k such that 17*k+1 is a square.
; 0,15,19,64,72,147,159,264,280,415,435,600,624,819,847,1072,1104,1359,1395,1680,1720,2035,2079,2424,2472,2847,2899,3304,3360,3795,3855,4320,4384,4879,4947,5472,5544,6099,6175,6760,6840,7455,7539,8184,8272,8947,9039,9744,9840,10575,10675,11440,11544,12339,12447,13272,1... |
// {{{ MIT License
//
// Copyright Roland Kaminski, Philipp Wanko, and Max Ostrowski
//
// 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 th... |
; EXTRN outside a segment
IDEAL
EXTRN blurt: WORD
ASSUME CS:SEG1
SEGMENT SEG1
start:
int 20h
ENDS SEG1
END start
|
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2017 The Bitcoinlimitededition Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <wallet/init.h>
#include <chainparams.h>
#include <net.h>... |
; A024088: a(n) = 8^n - 1.
; 0,7,63,511,4095,32767,262143,2097151,16777215,134217727,1073741823,8589934591,68719476735,549755813887,4398046511103,35184372088831,281474976710655,2251799813685247,18014398509481983,144115188075855871,1152921504606846975,9223372036854775807,73786976294838206463,590295810358705651711,472236... |
; A014707: a(4n)=0, a(4n+2)=1, a(2n+1)=a(n).
; 0,0,1,0,0,1,1,0,0,0,1,1,0,1,1,0,0,0,1,0,0,1,1,1,0,0,1,1,0,1,1,0,0,0,1,0,0,1,1,0,0,0,1,1,0,1,1,1,0,0,1,0,0,1,1,1,0,0,1,1,0,1,1,0,0,0,1,0,0,1,1,0,0,0,1,1,0,1,1,0,0,0,1,0,0,1,1,1,0,0,1,1,0,1,1,1,0,0,1,0,0,1,1,0,0,0,1,1,0,1,1,1,0,0,1,0,0,1,1,1,0,0,1,1,0,1,1,0,0,0,1,0,0,1,1,0,0... |
;###############################################
;
; Copyright 2018-2020 0x8BitDev ( MIT license )
;
;###############################################
;
; Simple character controller
;
.define _player_move_speed 2
.define _player_jump_speed 5
.define _player_jump_height 50
; CHARACTER BIT FLAGS:
; 0-dir(... |
#include <Common/config.h>
#include <Common/task.h>
#include <Common/audioplayer.h>
#include <util/delay.h>
#include <avr/interrupt.h>
using namespace PlayerConfig;
// IO expander control pins
#define PIN_SDA 13
#define PIN_CLK 12
// audio player track selection pins (on I/O expander)
#define XP... |
;******************************************************************************
;* MEMCPY32.ASM - 32 BIT STATE - *
;* *
;* Copyright (c) 1996 Texas Instruments Incorporated *
... |
#include<bits/stdc++.h>
#define ll long long
#define N ((int)1e3 + 5)
#define MOD ((int)1e9 + 7)
#define thr 1e-8
#define pi acos(-1) /// pi = acos ( -1 )
#define fastio ios_base::sync_with_stdio(false),cin.tie(NULL)
using namespace std;
int cnt[102] , vis[102] , arr[102];
int main()
{
fastio;
int caseno =... |
#include "winrt_system.h"
#ifdef WINDOWS_STORE
#include "winrt_platform.h"
#include "winrt_http.h"
#include "xbl_manager.h"
using namespace Halley;
WinRTPlatform::WinRTPlatform(WinRTSystem* system)
: system(system)
{
}
void WinRTPlatform::init()
{
xbl = std::make_shared<XBLManager>();
xbl->init();
}
void WinRTP... |
.size 8000
.text@48
ei
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, 44
ld b, 90
lbegin_waitly90:
ldff a, (c)
cmp a, b
jrnz lbegin_waitly90
ld a, 11
ldff(40), a
ld hl, 8010
ld a, ff
ld(hl++), a
ld(hl... |
#include <Processors/Merges/Algorithms/SummingSortedAlgorithm.h>
#include <AggregateFunctions/AggregateFunctionFactory.h>
#include <Columns/ColumnAggregateFunction.h>
#include <Columns/ColumnTuple.h>
#include <Common/AlignedBuffer.h>
#include <Common/FieldVisitors.h>
#include <Common/StringUtils/StringUtils.h>
#includ... |
.include "defaults_mod.asm"
table_file_jp equ "exe4-utf8.tbl"
table_file_en equ "bn4-utf8.tbl"
game_code_len equ 3
game_code equ 0x4234574A // B4WJ
game_code_2 equ 0x42345745 // B4WE
game_code_3 equ 0x42345750 // B4WP
card_type equ 1
card_id equ 118
card_no equ "118"
card_sub equ "Mod Card 118"
card_sub_x... |
#include <iostream>
#include <bitset>
using namespace std;
int main()
{
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
bitset<(1 << 25)> bit;
int n;
while (cin >> n) {
if (!bit[n]) {
bit[n] = 1;
cout << n << " ";
}
}
return 0;
}
|
INCLUDE "defines.inc"
SECTION "Game Over Screen", ROM0
LoadGameOverScreen::
call HideAllObjects
; Load tiles
ld de, GameOverTiles
ld hl, _VRAM8800
ld bc, GameOverTiles.end - GameOverTiles
rst LCDMemcopy
; Load background map
ld de, GameOverMap
ld ... |
;
; Generic pseudo graphics routines for text-only platforms
;
; Xor pixel at (x,y) coordinate.
SECTION code_clib
PUBLIC w_xorpixel
EXTERN __fp1100_mode
defc NEEDxor = 1
.w_xorpixel
ld a,(__fp1100_mode)
bit 1,a
jr z,hires
ld h,l
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %r15
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x1a6e4, %rcx
nop
nop
nop
nop
sub %r14, %r14
mov $0x6162636465666768, %r12
movq %r12, (%rcx)
nop
sub %rdx, %rdx
lea addresses_UC_ht+0x3dca, %rdx
nop
add %rdi, %rdi
mov $0x6162... |
; Platforms: Windows NT 4.0, Windows 2000, Windows XP, Windows 2003
; Author: hdm[at]metasploit.com
[BITS 32]
LFindGetProcAddress:
push dword [ebp] ; kernel32.dll
push 0x7c0dfcaa ; GetProcAddress
call [ebp + 4]
LSend: ; send(s, data, len, flags);
push eax ; GetProcAddress
p... |
// Copyright (c) 2018-2019 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,... |
#ifndef BOOST_MPL_VECTOR_VECTOR20_HPP_INCLUDED
#define BOOST_MPL_VECTOR_VECTOR20_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2000-2004
//
// 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)
//
// See http://www.bo... |
; A221466: Number of 0..n arrays of length 7 with each element unequal to at least one neighbor, starting with 0.
; 8,240,1944,8960,30000,81648,192080,405504,787320,1430000,2459688,4043520,6397664,9796080,14580000,21168128,30067560,41885424,57341240,77280000,102685968,134697200,174620784,223948800,284375000,357812208
... |
DATA
PROGRAM
#//Note we only reproduce the main program
#//This program deals with arrays. numInArray is the number
#// of things in the array we read in
# numInArray=Read();
IMLO R10 0xFE
LOAD R3 [R10] #R3 is numInArray
# //Read in the array
# int [] x=new int[numInArray];
IMLO R4 0x7F #R4 is the ad... |
/*#********************************************************************************
* tet_a_tet.h o o *
* o o *
* Visual Computing Group _ ... |
; A048050: Chowla's function: sum of divisors of n except 1 and n.
; 0,0,0,2,0,5,0,6,3,7,0,15,0,9,8,14,0,20,0,21,10,13,0,35,5,15,12,27,0,41,0,30,14,19,12,54,0,21,16,49,0,53,0,39,32,25,0,75,7,42,20,45,0,65,16,63,22,31,0,107,0,33,40,62,18,77,0,57,26,73,0,122,0,39,48,63,18,89,0,105,39,43,0,139,22,45,32,91,0,143,20,75,34,4... |
ChrisNameMenuHeader:
db MENU_BACKUP_TILES ; flags
menu_coords 0, 0, 10, TEXTBOX_Y - 1
dw .MaleNames
db 1 ; ????
db 0 ; default option
.MaleNames:
db STATICMENU_CURSOR | STATICMENU_PLACE_TITLE | STATICMENU_DISABLE_B ; flags
db 5 ; items
db "NEW NAME@"
MalePlayerNameArray:
db "GOLD@"
db "HIRO@"
db "TAYLOR@"
... |
#include <fstream>
#include <algorithm>
#include <rapidjson/document.h>
#include "misc.h"
#include "printout.h"
#include "logger.h"
#include "speedtestutil.h"
#include "webget.h"
#include "rapidjson_extra.h"
#include "ini_reader.h"
using namespace std;
using namespace rapidjson;
using namespace YAML;
... |
default rel
%define XMMWORD
%define YMMWORD
%define ZMMWORD
section .text code align=64
global Camellia_EncryptBlock
ALIGN 16
Camellia_EncryptBlock:
mov eax,128
sub eax,ecx
mov ecx,3
adc ecx,0
jmp NEAR $L$enc_rounds
global Camellia_EncryptBlock_Rounds
ALIGN 16
$L$enc_rounds:
Camellia_EncryptBlock_Rounds:
m... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>cacheflush(addr, nbytes, cache) -> str
Invokes the syscall cacheflush.
See 'man 2 cacheflush' for more information.
Arguments:
addr(char*): addr
nbytes(int): nbytes
cache(int): cache
Returns... |
PAGE 90,132 ;AN000;A2
TITLE DCOPYP.SAL - DISKCOPY SYSTEM COMMAND LINE PARSER
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1991
; * All Rights Reserved.
; */
;****************** START OF SPECIFICATIONS **********************... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r15
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1099, %r10
nop
sub $54589, %rsi
mov (%r10), %ecx
nop
nop
nop
nop
nop
sub %r8, %r8
lea addresses_normal_ht+0x8499, %r8
nop
nop
nop
nop
nop
cmp $16674, %rdx
mov $0x6162636465666... |
; GDT
gdt_start:
gdt_null: ; the mandatory null descriptor
dd 0x0 ; ’dd’ means define double word (i.e. 4 bytes)
dd 0x0
gdt_code: ; the code segment descriptor
; base=0x0 , limit=0xfffff,
; 1st flags : (present)1 (privilege)00 (descriptor type)1 -> 1001b
; type flags : (code)1 (conforming)0 (readable)1 (accesse... |
/*************************************************************************/
/* string_db.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2016 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... |
; ======================= ZagrOS =======================
; Zagros Open Source Operating System
; Saeid Bostandoust (ssbostan@linuxmail.org)
; Bostandoust.IR
; ======================= ZagrOS =======================
; ==================== tools_reboot ====================
tools_reboot:
push ax
... |
; A163613: a(n) = ((1 + 3*sqrt(2))*(2 + sqrt(2))^n + (1 - 3*sqrt(2))*(2 - sqrt(2))^n)/2.
; 1,8,30,104,356,1216,4152,14176,48400,165248,564192,1926272,6576704,22454272,76663680,261746176,893657344,3051137024,10417233408,35566659584,121432171520,414595366912,1415517124608,4832877764608,16500476809216,56336151707648,19234... |
.ifndef GRAPHICS_ASM
GRAPHICS_ASM=1
.include "vera.inc"
;=================================================
;=================================================
;
; General-purpose graphics routines
;
;-------------------------------------------------
;=================================================
; graphics_fade... |
; A086302: a(n) = 4*n^4 + 24*n^3 + 48*n^2 + 36*n + 8.
; 8,120,528,1520,3480,6888,12320,20448,32040,47960,69168,96720,131768,175560,229440,294848,373320,466488,576080,703920,851928,1022120,1216608,1437600,1687400,1968408,2283120,2634128,3024120,3455880,3932288,4456320,5031048
mov $1,$0
add $0,2
add $1,1
mul $0,$1
bin $... |
; A152733: a(n) + a(n+1) + a(n+2) = 3^n.
; 0,0,3,6,18,57,168,504,1515,4542,13626,40881,122640,367920,1103763,3311286,9933858,29801577,89404728,268214184,804642555,2413927662,7241782986,21725348961,65176046880,195528140640,586584421923,1759753265766,5279259797298,15837779391897,47513338175688,142540014527064,42762004358... |
; A022384: Fibonacci sequence beginning 4, 18.
; 4,18,22,40,62,102,164,266,430,696,1126,1822,2948,4770,7718,12488,20206,32694,52900,85594,138494,224088,362582,586670,949252,1535922,2485174,4021096,6506270,10527366,17033636,27561002,44594638,72155640,116750278,188905918,305656196,494562114,800218310,1294780424,209499873... |
; *********************************************************************************
; *********************************************************************************
;
; File: screen_layer2.asm
; Purpose: Layer 2 console interface, sprites enabled, no shadow.
; Date : 8th November 2018
; Author: paul@robsons.... |
; Copyright Oliver Kowalke 2009.
; 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)
; ----------------------------------------------------------------------------------
; | 0 | 1 ... |
; A153309: Numbers k such that 3*k + 1 is not prime.
; Submitted by Jamie Morken(s2)
; 0,1,3,5,7,8,9,11,13,15,16,17,18,19,21,23,25,27,28,29,30,31,33,35,37,38,39,40,41,43,44,45,47,48,49,51,53,55,56,57,58,59,61,62,63,65,67,68,69,71,72,73,75,77,78,79,81,82,83,84,85,86,87,88,89,91,93,95,96,97,98,99,100,101,103,105,106,107,... |
ori $ra,$ra,0xf
mfhi $1
mfhi $2
lui $4,58362
ori $1,$3,41942
div $2,$ra
addiu $4,$5,-3965
srav $6,$1,$4
addiu $6,$1,-19609
addiu $1,$2,-13093
mflo $4
multu $4,$4
ori $1,$1,47231
addiu $5,$6,-5722
mult $5,$1
divu $1,$ra
multu $4,$2
addu $4,$4,$0
mflo $5
mfhi $3
mtlo $4
lui $0,42574
multu $5,$0
lui $6,3606
divu $4,$ra
or... |
; multitasking and dynamic thread registration
[org 0x0100]
jmp start
; PCB layout:
; ax,bx,cx,dx,si,di,bp,sp,ip,cs,ds,ss,es,flags,next,previous
; 0, 2, 4, 6, 8,10,12,14,16,18,20,22,24, 26 , 28 , 30
pcb: times 32*16 dw 0 ; space for 32 PCBs
stack: times 32*256 dw 0 ; space for 32 512 byte stacks
nextpcb: dw... |
; A139717: If k is the smallest divisor of n that is >= sqrt(n) then a(n) = k^2 - n.
; 0,2,6,0,20,3,42,8,0,15,110,4,156,35,10,0,272,18,342,5,28,99,506,12,0,143,54,21,812,6,930,32,88,255,14,0,1332,323,130,24,1640,7,1806,77,36,483,2162,16,0,50,238,117,2756,27,66,8,304,783,3422,40,3660,899,18,0,104,55,4422,221,460,30,4970... |
<%
from pwnlib.shellcraft.i386.linux import syscall
%>
<%page args="file, owner, group"/>
<%docstring>
Invokes the syscall chown. See 'man 2 chown' for more information.
Arguments:
file(char): file
owner(uid_t): owner
group(gid_t): group
</%docstring>
${syscall('SYS_chown', file, owner, group)}
|
;Hello World Example Project
;Boot loader
!source "./libs/loader.asm"
+start_at $1000
;Screen utilities
!source "./libs/screen.asm"
;Initialization
jmp init
;Iterates over "HELLO WORLD!" message, assigning characters to
;screen memory until end of message.
message !scr "hello world!"
messagelen=12 ;Number of cha... |
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Tencent is pleased to support the open source community by making behaviac available.
//
// Copyright (C) 2015-2017 THL A29 Limited, a Tencent company. All rights reserved.
//
// Licensed under the BSD 3... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %r15
push %r8
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xa57a, %rdx
nop
nop
add $2266, %r12
movups (%rdx), %xmm0
vpextrq $1, %xmm0, %r14
nop
nop
nop
nop
nop
and %r11, %r11
lea addresses_D_ht+0x1e57a, %r8
nop
nop
n... |
; A197652: Numbers that are congruent to 0 or 1 mod 10.
; 0,1,10,11,20,21,30,31,40,41,50,51,60,61,70,71,80,81,90,91,100,101,110,111,120,121,130,131,140,141,150,151,160,161,170,171,180,181,190,191,200,201,210,211,220,221,230,231,240,241,250,251,260,261,270,271,280,281,290,291,300,301,310,311,320,321,330,331,340,341,350,... |
; A143075: Polynomial expansion sequence: p(x)=1/(1 - 4x + 5x^2 - 6x^4 + 6x^5 - x^6 - 2x^7 + x^8).
; 1,4,11,24,47,86,152,262,444,742,1228,2018,3301,5382,8755,14218,23063,37380,60552,98052,158736,256932,415824,672924,1088929,1762048,2851187,4613460,7464887,12078602,19543760
add $0,1
lpb $0
mov $2,$0
trn $0,6
seq ... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
; Module Name:
;
; ScanMem64.Asm
;
; Abstract:
;
; ScanMem64 function
;
; Notes:
;
; The following BaseMemoryL... |
; A034114: Fractional part of square root of a(n) starts with 8: first term of runs.
; 8,15,24,34,47,61,78,97,117,140,164,191,220,250,283,317,354,393,433,476,520,567,616,666,719,773,830,889,949,1012,1076,1143,1212,1282,1355,1429,1506,1585,1665,1748,1832,1919,2008,2098,2191,2285,2382,2481,2581
mov $4,$0
mul $0,2
mov $1... |
#ifndef CONFIG_H
#define CONFIG_H
extern const char *wifi_ssid;
extern const char *wifi_password;
extern const char *websockets_url;
extern const char *device_key;
#endif
|
assume cs:code,ds:data,ss:stack
data segment
dw 0123H,0456H
data ends
stack segment
dw 0,0
stack ends
code segment
start: mov ax,stack
mov ss,ax
mov sp,16
mov ax,data
mov ds,ax
push ds:[0]
push ds:[2]
pop ds:[2]
pop... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.