text stringlengths 1 1.05M |
|---|
; A141123: Primes of the form -x^2+2*x*y+2*y^2 (as well as of the form 3*x^2+6*x*y+2*y^2).
; Submitted by Jamie Morken(w2)
; 2,3,11,23,47,59,71,83,107,131,167,179,191,227,239,251,263,311,347,359,383,419,431,443,467,479,491,503,563,587,599,647,659,683,719,743,827,839,863,887,911,947,971,983,1019,1031,1091,1103,1151,1163... |
/* Copyright (c) 2019 Anakin Authors, Inc. 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 app... |
; A173858: Expansion of 4/3 in base phi.
; 1,0,0,1,0,1,0,0,0,0,0,1,0,1,0,0,0,0,0,1,0,1,0,0,0,0,0,1,0,1,0,0,0,0,0,1,0,1,0,0,0,0,0,1,0,1,0,0,0,0,0,1,0,1,0,0,0,0,0,1,0,1,0,0,0,0,0,1,0,1,0,0,0,0,0,1,0,1,0,0,0,0,0,1,0,1,0,0,0,0,0,1,0,1,0,0,0,0,0,1,0,1,0,0,0
pow $0,2
mov $1,$0
div $1,8
mod $1,2
pow $1,$0
|
SECTION code_clib
PUBLIC kmreadchar
PUBLIC _kmreadchar
.kmreadchar
._kmreadchar
call 0xB9B3
jr c, kmread_1
ld bc, 0xffff
kmread_1:
ld h, b
ld l, c
ret
|
; A244635: 29*n^2.
; 0,29,116,261,464,725,1044,1421,1856,2349,2900,3509,4176,4901,5684,6525,7424,8381,9396,10469,11600,12789,14036,15341,16704,18125,19604,21141,22736,24389,26100,27869,29696,31581,33524,35525,37584,39701,41876,44109,46400,48749,51156,53621,56144,58725,61364,64061,66816,69629,72500,75429,78416,81461,845... |
#include "stdafx.h"
#define NO_VALUE (-1)
#define LEPT_TRUE 1
#define LEPT_FALSE 0
#define LEPT_OK 0
#define LEPT_ERROR 1
#define MAX_FILE_LEN 512
/* Minimum number of foreground pixels that a line must contain for it to be part of a span.
Needed because sometimes furigana does not have a perfect gap b... |
// VirtualDub - Video processing and capture application
// Graphics support library
// Copyright (C) 1998-2009 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 o... |
; A338920: a(n) is the number of times it takes to iteratively subtract m from n where m is the largest nonzero proper suffix of n less than or equal to the remainder until no further subtraction is possible.
; 0,0,0,0,0,0,0,0,0,0,11,6,4,3,3,2,2,2,2,0,21,11,7,6,5,4,3,3,3,0,31,16,11,8,7,6,5,4,4,0,41,21,14,11,9,7,6,6,5,0... |
; A153134: Numbers n such that 6n - 7 is prime.
; Submitted by Jon Maiga
; 2,3,4,5,6,8,9,10,11,13,15,16,18,19,20,23,24,26,29,30,31,33,34,39,40,41,43,44,45,46,48,50,53,54,59,60,61,65,66,68,71,73,75,76,78,79,81,83,85,86,88,94,95,96,99,100,101,104,108,109,110,111,114,115,118,121,125,128,130,134,136,138,139,141,144,145,148... |
//========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#include <vgui/KeyCode.h>
#include <KeyValues.h>
#include <vgui_controls/Button.h>
#include <vgui_controls/P... |
; A017266: a(n) = (9*n + 8)^10.
; 1073741824,2015993900449,141167095653376,2758547353515625,27197360938418176,174887470365513049,839299365868340224,3255243551009881201,10737418240000000000,31181719929966183601,81707280688754689024,196715135728956532249,441143507864991563776,931322574615478515625,1866585911861003723776,... |
.size 8000
.text@48
jp lstatint
.text@100
jp lbegin
.data@143
c0
.text@150
lbegin:
ld a, 00
ldff(ff), a
ld b, 97
call lwaitly_b
ld a, b1
ldff(40), a
ld a, 20
ldff(4b), a
ld c, 41
ld a, ff
ldff(4a), a
ld a, 01
ldff(45), a
ld a, 40
ldff(c), a
xor a, a
ldff(0f), a
ld a, 02
ldff(ff), a
ei
.text@... |
/*
* commontrain.cc
*
* License: Artistic License, see file LICENSE.TXT or
* https://opensource.org/licenses/artistic-license-1.0
*/
#include "commontrain.hh"
#include <iostream>
void scaleDblVector(vector<Double>& v, Double sum) {
Double kumSum(0.0), factor;
for (int i=0; i<v.size(); i++) {
... |
; DCD 0x20000678 ; Setup stack pointer
; DCD 0x06daa0e3 ; mov sp, #0x60 << 8
mov sp, 0x30000
BL main_main ; Branch to main (this is actually in the interrupt vector)
local_loop:
B local_loop
|
;
; ZX Spectrum specific routines
; by Stefano Bodrato, 29/06/2006
; Fixed by Antonio Schifano, Dec 2008
;
; Copy a string to a BASIC variable
;
; int __CALLEE__ zx_setstr_callee(char variable, char *value);
;
; CPIR, debugged version by Antonio Schifano, 29/12/2008
;
; $Id: zx_setstr_callee.asm,v 1.2 2008/12/31 13:58... |
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "attribute_spec.h"
namespace proton {
AttributeSpec::AttributeSpec(const vespalib::string &name,
const search::attribute::Config &cfg)
: _name(name),
_cfg(cfg)
{
}
... |
*= $0801
.byte $4c,$16,$08,$00,$97,$32
.byte $2c,$30,$3a,$9e,$32,$30
.byte $37,$30,$00,$00,$00,$a9
.byte $01,$85,$02
jsr print
.byte 13
.text "(up)cmpay"
.byte 0
lda #%00011011
sta db
lda #%11000110
s... |
; Test case generated by KLC3
; This file contains the test input event list.
; Note that this file may contains additional things after the end of event list.
; Please carefully identify the end of the event list.
.ORIG x4000
.FILL x0008 ; EVENT1_WEEKDAY_BV
.STRINGZ "A" ; EVENT1_NAME
.FILL x000E ; EVENT1_SLOT
.F... |
//
// RSM test client
//
#include "rsm_protocol.h"
#include "rsmtest_client.h"
#include "rpc.h"
#include <arpa/inet.h>
#include <vector>
#include <stdlib.h>
#include <stdio.h>
#include <string>
using namespace std;
rsmtest_client *lc;
int
main(int argc, char *argv[])
{
int r;
if(argc != 4){
fprintf(stderr, ... |
/*
* Copyright (C) 2010 - 2012 ProjectSkyfire <http://www.projectskyfire.org/>
*
* Copyright (C) 2012 - 2012 FrenchCORE <http://www.frcore.com/>
* Copyright (C) 2008 - 2012 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*
* This program is free software; you c... |
#pragma once
#include "vfs/platform.hpp"
// File interface
#include "vfs/directory_interface.hpp"
// Platform specific implementations
#if VFS_PLATFORM_WIN
# include "vfs/win_directory.hpp"
#elif VFS_PLATFORM_POSIX
# include "vfs/posix_directory.hpp"
#else
# error No directory implementation defined for the current... |
;*
;* CW : Character Windows Drivers
;*
;* fx_csd5.asm : Fixed screen driver, OS/2 (linked in)
;* * DOES NOT INCLUDE "csd_code"
;* * has data in application's data segment
;*****************************************************************************
include csd_head.inc
include fxdrv.inc
DM_NonDefault = 1
SDDATA_... |
fbl(8) g5<1>UD g5<8,8,1>UD { align1 1Q };
fbl(16) g6<1>UD g8<8,8,1>UD { align1 1H };
fbl(1) g27<1>UD mask0<0,1,0>UD { align1 WE_all 1N };
|
; A214946: Number of squarefree words of length 7 in an (n+1)-ary alphabet.
; 0,60,1848,15960,80040,292740,868560,2218608,5062320,10575180,20577480,37769160,66015768,110690580,179077920,280842720,428571360,638388828,930657240,1330760760,1869981960,2586474660,3526338288,4744798800,6307501200,8291918700,10788883560,13904... |
; A133823: Triangle whose rows are sequences of increasing and decreasing cubes:1; 1,8,1; 1,8,27,8,1; ... .
; 1,1,8,1,1,8,27,8,1,1,8,27,64,27,8,1,1,8,27,64,125,64,27,8,1,1,8,27,64,125,216,125,64,27,8,1,1,8,27,64,125,216,343,216,125,64,27,8,1,1,8,27,64,125,216,343,512,343,216,125,64,27,8,1,1,8,27,64,125,216,343,512,729,... |
; A003486: a(n) = (n^2 + 1)*3^n.
; 1,6,45,270,1377,6318,26973,109350,426465,1614006,5963949,21611934,77058945,271034910,942244893,3242852982,11063007297,37450647270,125911658925,420738651054,1398200544801,4623476115726,15219813910365,49895884778310,162961842549537,530402669511318,1720843165778733,5566686164040510,17958... |
;------------------------------------------------------------------------------
; floppy routines for 8085 CPU, PC8477B FDC
; uses no DMAs, no IRQs and TC pin is not serviced
; all data flow control is done via FDC internal registers
;-------------------------------------... |
; A110185: Coefficients of x in the partial quotients of the continued fraction expansion exp(1/x) = [1, x - 1/2, 12*x, 5*x, 28*x, 9*x, 44*x, 13*x, ...]. The partial quotients all have the form a(n)*x except the constant term of 1 and the initial partial quotient which equals (x - 1/2).
; 0,1,12,5,28,9,44,13,60,17,76,2... |
; A081019: a(n) = Lucas(4n+3) - 1, or Lucas(2n+1)*Lucas(2n+2).
; 3,28,198,1363,9348,64078,439203,3010348,20633238,141422323,969323028,6643838878,45537549123,312119004988,2139295485798,14662949395603,100501350283428,688846502588398,4721424167835363,32361122672259148,221806434537978678,1520283919093591603,104201809991171... |
Name: zel_bms1.asm
Type: file
Size: 119240
Last-Modified: '2016-05-13T04:23:03Z'
SHA-1: 86AB349597C3DD78891875E295ADC358314393F8
Description: null
|
// Copyright 2012 the V8 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.
#include "src/execution/isolate.h"
#include <stdlib.h>
#include <atomic>
#include <fstream> // NOLINT(readability/streams)
#include <memory>
#include... |
; A086729: Decimal expansion of Sum_{m=0..infinity} 1/(6*m+3)^2.
; Submitted by Jon Maiga
; 1,3,7,0,7,7,8,3,8,9,0,4,0,1,8,8,6,9,7,0,6,0,3,4,5,9,7,2,2,0,5,0,2,0,9,9,1,0,1,5,7,9,1,5,8,4,3,3,8,9,9,8,6,9,8,1,1,2,9,6,5,1,9,1,1,4,1,6,7,2,8,9,2,0,0,2,6,6,7,3,9,4,8,6,1,3,5,7,4,1,7,1,8,3,1,3,2,2,5
add $0,1
mov $2,1
mov $3,$0
m... |
; A004689: Fibonacci numbers written in base 6.
; 0,1,1,2,3,5,12,21,33,54,131,225,400,1025,1425,2454,4323,11221,15544,31205,51153,122402,213555,340401,554400,1335201,2334001,4113202,10451203,15004405,25500012,44504421,114404433,203313254,322122131,525435425,1252002000,2221441425,3513443425,10135325254,14053213123,24232... |
; A219085: Floor((n + 1/2)^3).
; 0,3,15,42,91,166,274,421,614,857,1157,1520,1953,2460,3048,3723,4492,5359,6331,7414,8615,9938,11390,12977,14706,16581,18609,20796,23149,25672,28372,31255,34328,37595,41063,44738,48627,52734,57066,61629,66430,71473,76765,82312,88121,94196,100544,107171,114084,121287,128787,136590,144703,1... |
; A278816: Numbers that can be produced from their own digits by applying one or more of the eight operations {+, -, *, /, sqrt(), ^, !, concat11()}, with no operation used more than once, where "concat11()" means the operation of concatenating two single digits.
; 0,1,2,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,... |
//===----------------------------------------------------------------------===//
//
// 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
//
//===---------------------------... |
#include "hphp/runtime/ext/extension.h"
#include "hphp/runtime/base/execution-context.h"
#include "hphp/runtime/base/array-init.h"
#include "hphp/runtime/base/builtin-functions.h"
#include "hphp/runtime/base/tv-refcount.h"
#include "hphp/runtime/vm/native-data.h"
#include "hphp/runtime/ext/asio/asio-external-thread-eve... |
db 0 ; 282 DEX NO
db 68, 65, 65, 80, 125, 115
; hp atk def spd sat sdf
db PSYCHIC, PSYCHIC ; type
db 45 ; catch rate
db 208 ; 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/gardevoir/f... |
;
; Sharp OZ family port (graphics routines)
; Stefano Bodrato - Aug 2002
;
; Page the graphics bank in/out - used by all gfx functions
; Simply does a swap...
;
;
; $Id: swapgfxbk.asm,v 1.3 2015/01/19 01:32:50 pauloscustodio Exp $
;
PUBLIC swapgfxbk
PUBLIC swapgfxbk1
EXTERN ozactiv... |
// 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/compositor/callback_layer_animation_observer.h"
#include <memory>
#include "base/bind.h"
#include "testing/gtest/include/gtest/gtest.h"
#in... |
;
;
; Copyright (C) Microsoft Corporation, 1986
;
; This Module contains Proprietary Information of Microsoft
; Corporation and should be treated as Confidential.
;
subttl emxenix.asm - XENIX function jump tables and Initialization
page
public __eminit, __emulate, __87exception
org 10h
__eminit... |
; Stub for the TI 86 calculator
;
; Stefano Bodrato - Dec 2000
;
; $Id: ti86_crt0.asm,v 1.34 2016-07-11 05:58:34 stefano Exp $
;
; startup =
; n - Primary shell(s); compatible shell(s)
; (Primary shell merely means it's the smallest implementation
; for that shell, that uses full capabilities of the shel... |
BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=FLAG_AF|FLAG_OF
;TEST_FILE_META_END
; SHL8rCL
mov bh, 0xa
mov cl, 0x3
;TEST_BEGIN_RECORDING
shl bh, cl
;TEST_END_RECORDING
|
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x23bf, %rsi
lea addresses_UC_ht+0x97f5, %rdi
clflush (%rdi)
nop
nop
mfence
mov $106, %rcx
rep movsw
nop
nop
nop
nop
cmp $44618, %r13
lea addresses_D_ht+0x5165, %rdi
clflush (%... |
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "ABI32_0_0AttributedString.h"
#include <ABI32_0_0fabric/ABI32_0_0debug/DebugStringConvertibleItem.h>
namespace facebook {
nam... |
.text
li $s0 0x00000010
li $s1 0x12345678
sw $s1 0($s0)
sw $s1 4($s0)
lh $t1 2($s0)
sh $t1 4($s0)
lb $t2 1($s0)
sb $t2 7($s0)
|
.global s_prepare_buffers
s_prepare_buffers:
push %r8
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x4199, %rbp
nop
nop
nop
nop
add %rbx, %rbx
movb $0x61, (%rbp)
nop
nop
add %rbx, %rbx
lea addresses_UC_ht+0x16193, %rbp
nop
nop
nop
nop
cmp %rdx, %rdx
mov $0x6162636465666768, %... |
; A266252: Total number of OFF (white) cells after n iterations of the "Rule 9" elementary cellular automaton starting with a single ON (black) cell.
; 0,3,6,11,16,22,31,37,50,56,73,79,100,106,131,137,166,172,205,211,248,254,295,301,346,352,401,407,460,466,523,529,590,596,661,667,736,742,815,821,898,904,985,991,1076,10... |
; A054087: s(3n-2), s=A054086; also a bisection of A003511.
; 1,4,6,9,12,15,17,20,23,25,28,31,34,36,39,42,45,47,50,53,56,58,61,64,66,69,72,75,77,80,83,86,88,91,94,96,99,102,105,107,110,113,116,118,121,124,127,129,132,135,137,140,143,146,148,151
mov $2,$0
mov $4,3
lpb $4
lpb $0
mov $5,$0
add $5,$0
add $3,... |
;--------------------------------------------------------------------------------
; OnLoadOW
;--------------------------------------------------------------------------------
;OnLoadMap:
; LDA $7EF2DB ; thing we wrote over
;RTL
;--------------------------------------------------------------------------------
OnPrepFile... |
{
let r := 0
for { let i := 0 } lt(i, 1048576) { i := add(i, 1) } {
0x51022b6317003a9d
0xa20456c62e00753a
0x51022b6317003a9d
dup2 sub dup2 sub dup2 sub dup2 sub dup2 sub dup2 sub dup2 sub dup2 sub
dup2 sub dup2 sub dup2 sub dup2 sub dup2 sub dup2 sub dup2 sub dup2 sub
pop
dup2
dup2 sub dup2 sub dup2... |
// Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2017-2018 The Traff developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mi... |
; A096977: a(n) = 4*a(n-1) + 3*a(n-2) - 14*a(n-3) + 8*a(n-4).
; 0,1,2,11,36,157,598,2447,9672,38913,155194,621683,2484908,9943269,39765790,159077719,636281744,2545185225,10180624386,40722730555,162890456180,651562756781,2606249162982,10425000380191,41699994064216,166799991169937,667199934853578,2668799799066627,1067519... |
.text
.globl _start
_start:
/* Set pin 47 as an output */
mov r0, #1
lsl r0, r0, #21
/* 4th GPIO register, FSEL47 */
ldr r1, =0x20200010
str r0, [r1]
/* Set pin 47 to on */
mov r0, #1
lsl r0, r0, #16
/* GPIO output set register 1 */
ldr r1, =0x20200020
str r0, [r1]
|
/*++
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
Abstract:
QUIC Interop Test Client. It tests all the major QUIC features of known
public QUIC endpoints.
--*/
#include "interop.h"
#ifdef QUIC_CLOG
#include "interop.cpp.clog.h"
#endif
#define VERIFY_QUIC_SUCCESS(X) { \
... |
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27026.1
TITLE Z:\Sources\Lunor\Repos\rougemeilland\Palmtree.Math.Core.Sint\Palmtree.Math.Core.Sint\TEST_op_Clone.c
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM _uint_number_zero:DWORD
... |
/* SPDX-License-Identifier: BSD-2-Clause */
/*
* Copyright (C) 2020, Raspberry Pi (Trading) Ltd.
*
* h264_encoder.cpp - h264 video encoder.
*/
#include <fcntl.h>
#include <poll.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <linux/videodev2.h>
#include <chrono>
#include <iostream>
#include "h264_encod... |
; RUN: llvm-ml -filetype=s %s /Fo - /DT1=test1 /D T2=test2 /Dtest5=def /Dtest6 | FileCheck %s
.code
t1:
ret
; CHECK-NOT: t1:
; CHECK-LABEL: test1:
; CHECK-NOT: t1:
t2:
ret
; CHECK-NOT: t2:
; CHECK-LABEL: test2:
; CHECK-NOT: t2:
t3:
ifdef t1
xor eax, eax
endif
ret
; CHECK-LABEL: t3:
; CHECK: xor eax, eax
; C... |
/*
* If not stated otherwise in this file or this component's LICENSE file the
* following copyright and licenses apply:
*
* Copyright 2020 Metrological
*
* 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 ... |
assume cs:code
code segment
start:
int 1h
mov ax,cs
mov ds,ax
mov si, offset sqr ;设置ds:si指向源地址
mov ax,0
mov es,ax
mov di, 200h ;设置es:di指向目的地址
mov cx, offset sqrend - offset sqr ;设置cx为传输长度
cld ;设置传输方向为正
rep movsb
mov ax,0
mov es,ax
mov... |
;
; Copyright (c) 2010 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... |
;
; VGM QSound chip
;
QSound: MACRO
super: Chip QSound_name, Header.qSoundClock, System_Return
ENDM
; ix = this
; iy = header
QSound_Construct: equ Chip_Construct
; jp Chip_Construct
; ix = this
QSound_Destruct: equ Chip_Destruct
; jp Chip_Destruct
;
SECTION RAM
QSound_instance: QSound
ENDS
QSound_name:
db "... |
//
// Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail 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)
//
// Official repository: https://github.com/boostorg/beast
//
// Test tha... |
; A000453: Stirling numbers of the second kind, S(n,4).
; 1,10,65,350,1701,7770,34105,145750,611501,2532530,10391745,42355950,171798901,694337290,2798806985,11259666950,45232115901,181509070050,727778623825,2916342574750,11681056634501,46771289738810,187226356946265,749329038535350,2998587019946701,11998160744311570,48... |
;ZXVGS specific functions
;020128 (C) created by Yarek
PUBLIC bnkfree
;int bnkfree()
;returns number of free memory banks
.bnkfree
RST 8
DEFB $BF
LD L,A
LD H,0
RET
|
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... |
<%
from pwnlib.shellcraft.thumb.linux import syscall
%>
<%page args="path, buf, length"/>
<%docstring>
Invokes the syscall readlink. See 'man 2 readlink' for more information.
Arguments:
path(char): path
buf(char): buf
len(size_t): len
</%docstring>
${syscall('SYS_readlink', path, buf, length)}
|
;
; jcgray.asm - grayscale colorspace conversion (64-bit AVX2)
;
; Copyright (C) 2011, 2016, D. R. Commander.
; Copyright (C) 2015, Intel Corporation.
;
; Based on the x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribution and use, see copyright notice in js... |
; Arquivo: Abs.nasm
; Curso: Elementos de Sistemas
; Criado por: Luciano Soares
; Data: 27/03/2017
; Copia o valor de RAM[1] para RAM[0] deixando o valor sempre positivo.
leaw $1, %A
movw (%A), %D
leaw $END, %A
jg %D
nop
negw %D
END:
leaw $0, %A
movw %D, (%A) |
/*=============================================================================
NifTK: A software platform for medical image computing.
Copyright (c) University College London (UCL). All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY o... |
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r12
push %r13
push %r8
push %rdi
push %rdx
// Store
lea addresses_D+0xa482, %r13
nop
add $12222, %r8
movl $0x51525354, (%r13)
nop
nop
inc %r11
// Store
lea addresses_PSE+0x8a86, %rdi
nop
nop
nop
sub %r... |
; uint in_Pause(uint ticks)
; 09.2005 aralbrec
SECTION code_clib
PUBLIC in_Pause
PUBLIC _in_Pause
EXTERN in_WaitForNoKey, in_WaitForKey, t_delay
; Waits a period of time measured in milliseconds and exits
; early if a key is pressed
;
; enter: HL = time to wait in ms, if 0 waits forever until key pressed
; exit : car... |
; A006046: Total number of odd entries in first n rows of Pascal's triangle: a(0) = 0, a(1) = 1, a(2k) = 3*a(k), a(2k+1) = 2*a(k) + a(k+1). For n>0, a(n) = Sum_{i=0..n-1} 2^wt(i).
; 0,1,3,5,9,11,15,19,27,29,33,37,45,49,57,65,81,83,87,91,99,103,111,119,135,139,147,155,171,179,195,211,243,245,249,253,261,265,273,281,297,... |
SFX_Purchase_1_Ch4:
duty 2
unknownsfx0x20 4, 225, 0, 7
unknownsfx0x20 8, 242, 224, 7
endchannel
SFX_Purchase_1_Ch5:
duty 2
unknownsfx0x20 1, 8, 0, 0
unknownsfx0x20 4, 145, 193, 6
unknownsfx0x20 8, 162, 161, 7
endchannel
|
// Copyright (c) 2014 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "timedata.h"
#include "netbase.h"
#include "sync.h"
#include "ui_interface.h"
#include "util.h"
#include "utilstrencodings.h"... |
; A013656: n*(9*n-2).
; 0,7,32,75,136,215,312,427,560,711,880,1067,1272,1495,1736,1995,2272,2567,2880,3211,3560,3927,4312,4715,5136,5575,6032,6507,7000,7511,8040,8587,9152,9735,10336,10955,11592,12247,12920,13611,14320,15047,15792,16555
mov $1,$0
mul $1,9
sub $1,2
mul $0,$1
|
#include <iostream>
#include <fstream>
#include <algorithm>
#include <glimac/File.hpp>
#include <glm/glm.hpp>
namespace glimac{
void readFileControl(const FilePath &applicationPath,std::string filename,std::vector <ControlPoint> &list_ctrl){
std::ifstream fichier(applicationPath.dirPath() + "../assets/doc"+filena... |
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//---------------------------------------------------------... |
;/*!
; @file
;
; @ingroup fapi
;
; @brief DosWriteQueue DOS wrapper
;
; (c) osFree Project 2022, <http://www.osFree.org>
; for licence see licence.txt in root directory, or project website
;
; This is Family API implementation for DOS, used with BIND tools
; to link required API
;
; @author Yuri Prokush... |
;*****************************************************************************
;* trellis-64.asm: x86_64 trellis quantization
;*****************************************************************************
;* Copyright (C) 2012-2016 x264 project
;*
;* Authors: Loren Merritt <lorenm@u.washington.edu>
;*
;* This program i... |
;
; Speed-optimized LZSA1 decompressor by spke & uniabis (109 bytes)
;
; ver.00 by spke for LZSA 0.5.4 (03-24/04/2019, 134 bytes);
; ver.01 by spke for LZSA 0.5.6 (25/04/2019, 110(-24) bytes, +0.2% speed);
; ver.02 by spke for LZSA 1.0.5 (24/07/2019, added support for backward decompression);
; ver.03 by uni... |
db 0 ; species ID placeholder
db 40, 30, 32, 65, 50, 52
; hp atk def spd sat sdf
db BUG, WATER ; type
db 200 ; catch rate
db 54 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 15 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/surskit/fron... |
; A203516: a(n) = Product_{1 <= i < j <= n} 2*(i+j-1).
; Submitted by Jon Maiga
; 1,4,192,184320,4954521600,4794391461888000,204135216112950312960000,451965950843675288237663846400000,60040562704967329457107799785403842560000000,542366306792798635131534558788357929673196306432000000000
add $0,1
mov $1,1
mov $2,1
lpb $... |
#include "iEnv.h"
#include <types.h>
static void* lbl_803CBAB0;
static void* lbl_803CBAB4;
static RwCamera* sPipeCamera;
static iEnv* lastEnv;
const static float lbl_80260130[6] = { 1000.0f, 1000.0f, 1000.0f, -1000.0f, -1000.0f, -1000.0f };
RpAtomic* SetPipelineCB(RpAtomic* param_1, void* param_2)
{
if (RwCamer... |
; A305064: a(n) = 42*2^n - 20.
; 22,64,148,316,652,1324,2668,5356,10732,21484,42988,85996,172012,344044,688108,1376236,2752492,5505004,11010028,22020076,44040172,88080364,176160748,352321516,704643052,1409286124,2818572268,5637144556,11274289132,22548578284,45097156588,90194313196,180388626412,360777252844,721554505708... |
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
// Store
lea addresses_PSE+0x1d2ec, %rcx
nop
nop
nop
sub $45637, %rsi
movl $0x51525354, (%rcx)
nop
nop
nop
nop
nop
xor $51944, %rbp
// Load
lea addresses_US+0... |
dnl mpn_copyi
dnl Copyright 2009 Jason Moxham
dnl This file is part of the MPIR Library.
dnl The MPIR Library is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU Lesser General Public License as published
dnl by the Free Software Foundation; either version 2.1 of the Licen... |
/*
Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org>
2004, 2005 Rob Buis <buis@kde.org>
This file is part of the KDE project
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as p... |
.data
entrada:.word 201
um:.word 1
.text
lw s0, entrada
lw x10, um
is_even:
add x5, s0, x0
addi x6, x0, 2
rem x11,x5, x6
mul x11, x11, x11
ecall
|
// Copyright (c) Microsoft Corporation. All rights reserved.
// SPDX-License-Identifier: MIT
/**
* @brief Includes all public headers from Azure Identity SDK library.
*
*/
#pragma once
#include "azure/identity/chained_token_credential.hpp"
#include "azure/identity/client_certificate_credential.hpp"
#include "azur... |
; A061506: a(n) = lcm(6n+2, 6n+4, 6n+6).
; 12,120,1008,1320,5460,4896,15960,12144,35100,24360,65472,42840,109668,68880,170280,103776,249900,148824,351120,205320,476532,274560,628728,357840,810300,456456,1023840,571704,1271940,704880,1557192,857280,1882188,1030200,2249520,1224936,2661780,1442784,3121560,1685040,3631452,... |
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27026.1
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM uint_number_zero:QWORD
COMM uint_number_one:QWORD
_DATA ENDS
msvcjmc SEGMENT
__7B7A869E_ctype@h DB 01H
__457DD326_basetsd@h DB 01H
__4384A2D9_corecrt_memcpy_s@... |
; A157475: 512n + 16.
; 528,1040,1552,2064,2576,3088,3600,4112,4624,5136,5648,6160,6672,7184,7696,8208,8720,9232,9744,10256,10768,11280,11792,12304,12816,13328,13840,14352,14864,15376,15888,16400,16912,17424,17936,18448,18960,19472,19984,20496,21008,21520,22032,22544,23056,23568,24080,24592,25104,25616,26128,26640,2715... |
//////////////////////////////////////////////////////////////////////////
//
// pgAdmin III - PostgreSQL Tools
//
// Copyright (C) 2002 - 2013, The pgAdmin Development Team
// This software is released under the PostgreSQL Licence
//
// ddMinMaxTableLocator.cpp - Locate table minimize/maximize button inside a table.
/... |
; A227430: Expansion of x^2*(1-x)^3/((1-2*x)*(1-x+x^2)*(1-3*x+3x^2)).
; Submitted by Jamie Morken(s1)
; 0,0,1,3,6,10,15,21,29,45,90,220,561,1365,3095,6555,13110,25126,46971,87381,164921,320001,640002,1309528,2707629,5592405,11450531,23166783,46333566,91869970,181348455,357913941,708653429,1410132405,2820264810,56620529... |
; ---------------------------------------------------------------------------
; Object 20 - cannonball that Ball Hog throws (SBZ)
; ---------------------------------------------------------------------------
Cannonball:
moveq #0,d0
move.b obRoutine(a0),d0
move.w Cbal_Index(pc,d0.w),d1
jmp Cbal_Index(pc,d1.w)
;... |
;############## CMonster by Patrick Davidson - level loading and rendering
Load_Level:
dec a
#ifdef TI84CE
ld de,0
#else
ld d,0
#endif
ld e,a
#ifdef TI84CE
push de
pop hl
#else
ld h,d
ld l,e
#endif
add hl,hl
add hl,hl... |
;
;==================================================================================================
; N8 STANDARD CONFIGURATION
;==================================================================================================
;
; THE COMPLETE SET OF DEFAULT CONFIGURATION SETTINGS FOR THIS PLATFORM ARE FOUND ... |
%ifdef CONFIG
{
"RegData": {
"RAX": "0x4600",
"RCX": "0x3",
"RDX": "0x1",
"RDI": "0xE0000007",
"RSI": "0xE0000017"
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
%macro copy 3
; Dest, Src, Size
mov rdi, %1
mov rsi, %2
mov rcx, %3
cld
rep movsb
%endmacro
mov rdx, 0x... |
;*******************************************************************************
;* Tutorial Twenty-Six Basic Gravity Physics Engine *
;* *
;* Written By John C. Dale ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.