text stringlengths 1 1.05M |
|---|
/*wav_read_write.cpp
Author: K. L. Srinivas
Problem statement :
1. opens a wav file for reading; opens another wav file for writing
2. detects the samp. rate and #samples from the header of input wav
Next, we wish to read in sequentially blocks of data from the wav file
for processing one block ("frame") at a time.
I... |
;*****************************************************************************
;* x86-optimized AC-3 DSP utils
;* Copyright (c) 2011 Justin Ruggles
;*
;* This file is part of Libav.
;*
;* Libav is free software; you can redistribute it and/or
;* modify it under the terms of the GNU Lesser General Public
;* License as p... |
; A154027: a(n+2) = 100*a(n+1) - a(n), a(1)=0, a(2)=10.
; Submitted by Jamie Morken(s1.)
; 0,10,1000,99990,9998000,999700010,99960003000,9995000599990,999400099996000,99930014999000010,9992002099800005000,999100279965001499990,99900035994400349994000,9989004499160069997900010,998800549880012599440007000,998700659835020... |
; A350382: a(n) = 9 + 4 * 10^n.
; Submitted by Christian Krause
; 49,409,4009,40009,400009,4000009,40000009,400000009,4000000009,40000000009,400000000009,4000000000009,40000000000009,400000000000009,4000000000000009,40000000000000009,400000000000000009,4000000000000000009,40000000000000000009,400000000000000000009,4000... |
; A069829: a(n) = PS(n)(2n), where PS is described in A057032.
; 2,5,9,11,13,19,17,23,31,26,25,40,29,47,58,51,37,69,41,56,71,67,49,82,70,73,92,95,61,123,65,105,118,94,112,148,77,107,134,116,85,143,89,122,177,127,97,166,130,133,175,162,109,211,159,188,190,154,121,248,125
add $0,1
mov $1,$0
lpb $1
mov $2,$0
dif $2,$... |
keyboard_table:
dw 0x2960,0x0231,0x0332,0x0433,0x0534,0x0635,0x0736,0x0837
;· 1 2 3 4 5 6 7
dw 0x0938,0x0a39,0x0b30,0x0c2d,0x0d3d,0x2b5c,0x0f09,0x1071,0x1177,0x1265,0x1372,0x1474,0x1579,0x1675,0x1769,0x186f,0x1970,0x1a5b,0x1b5d,0x1e61,0x1f73
;8 9 0 - = \ Tab q w e r t y u i o p [ ] a s
dw 0x2064,0x2166,0x2267,0x2368,0x... |
db #00,#00,#00,#00,#00,#00,#00,#00
db #00,#00,#00,#00,#00,#00,#00,#00
db #00,#00,#00,#00,#00,#00,#00,#00
db #00,#00,#00,#00,#00,#00,#00,#00
db #00,#00,#00,#00,#00,#00,#00,#00
db #00,#00,#00,#00,#00,#00,#00,#00
db #00,#00,#00,#00,#00,#00,#00,#00
db #00,#00,#00,#00,#00,#00,#00,#00
db #ff,#ff,#ff,#ff,#ff,#ff,#... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>faccessat(fd, file, type, flag) -> str
Invokes the syscall faccessat.
See 'man 2 faccessat' for more information.
Arguments:
fd(int): fd
file(char*): file
type(int): type
flag(int): flag... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x1d93e, %rsi
lea addresses_D_ht+0x77fe, %rdi
nop
nop
nop
nop
xor $43829, %r9
mov $43, %rcx
rep movsb
nop
nop
add %r11, %r11
lea addresses_A_ht+0x140ee, %rsi
lea addresses_D... |
; A026644: a(n) = a(n-1) + 2*a(n-2) + 2, for n>=3, where a(0)= 1, a(1)= 2, a(2)= 4.
; 1,2,4,10,20,42,84,170,340,682,1364,2730,5460,10922,21844,43690,87380,174762,349524,699050,1398100,2796202,5592404,11184810,22369620,44739242,89478484,178956970,357913940,715827882,1431655764,2863311530,5726623060,11453246122,229064922... |
#include "WorkQueue.h"
namespace null {
WorkQueue::WorkQueue(MemoryArena& arena) : arena(arena), queue_size(0), queue(nullptr), free(nullptr) {}
void WorkQueue::Submit(WorkDefinition definition, void* user) {
{
std::lock_guard<std::mutex> lock(mutex);
Work* work = free;
if (!work) {
work = free... |
; A141062: a(n) = (prime(n) - 1) mod (sum of digits of prime(n)).
; Submitted by Christian Krause
; 1,2,4,6,0,0,0,8,2,6,2,6,0,0,2,4,2,4,1,6,2,14,5,3,0,0,2,2,8,2,6,0,4,8,8,3,0,2,12,7,8,0,3,10,9,8,2,5,6,7,0,0,2,2,4,9,13,0,4,5,9,12,6,0,4,8,1,11,10,12,0,1,14,8,17,4,8,16,0,5,12,0,6,2,6,2,6,8,9,7,7,18,11,0,14,6,4,0,2
seq $0... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 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... |
#include "CoordinateFrameListItem.h"
#include "CoordinateFrameItem.h"
#include "CoordinateFrameMarker.h"
#include "ItemManager.h"
#include "PutPropertyFunction.h"
#include "Archive.h"
#include "MessageView.h"
#include <cnoid/CoordinateFrameList>
#include <cnoid/ConnectionSet>
#include <fmt/format.h>
#include <unordered... |
copyright zengfr site:http://github.com/zengfr/romhack
00042A move.l D1, (A0)+
00042C dbra D0, $42a
0048C0 move.w A0, ($98,A6)
0048C4 movea.l (A7)+, A4 [enemy+98, etc+98]
0049A2 clr.w ($98,A6)
0049A6 rts
004D3C move.l D0, (A4)+
004D3E move.l D0, (A4)+
08114E movea.w ($98,A6), A0
081152 move.w... |
.global s_prepare_buffers
s_prepare_buffers:
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x16e1f, %rsi
lea addresses_WC_ht+0x8cd7, %rdi
nop
nop
and $37404, %r9
mov $8, %rcx
rep movsb
inc %rcx
pop %rsi
pop %rdi
pop %rcx
pop %r9
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r9... |
// 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... |
; void *w_array_front(w_array_t *a)
SECTION code_adt_w_array
PUBLIC _w_array_front
EXTERN asm_w_array_front
_w_array_front:
pop af
pop hl
push hl
push af
jp asm_w_array_front
|
; A192379: Constant term of the reduction by x^2->x+1 of the polynomial p(n,x) defined below in Comments.
; Submitted by Christian Krause
; 1,0,5,8,45,128,505,1680,6089,21120,74909,262680,926485,3258112,11474865,40382752,142171985,500432640,1761656821,6201182760,21829269181,76841888640,270495370025,952182350768,3351823... |
;; ZX-Trans Receiver (+3 Version)
;;
;; Load ZX Spectrum snapshot, via RS232 serial port, based
;; on output from zxtrans_sender application.
;;
;;
;; Copyright 2015 George Beckett, All Rights Reserved
;;
;; Redistribution and use in source and binary forms,
;; with or without modification, are pe... |
Name: yst_main.asm
Type: file
Size: 23465
Last-Modified: '2016-05-13T04:52:56Z'
SHA-1: 51FEFBDFFA219316EDB47FD109CB73B3BB6CDFFA
Description: null
|
// 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 "components/exo/wayland/wayland_keyboard_delegate.h"
#include <cstring>
#include <wayland-server-core.h>
#include <wayland-server-protocol-core... |
SFX_Battle_2E_Ch5:
duty_cycle 0
square_note 2, 15, 1, 512
square_note 3, 15, 1, 1792
square_note 4, 15, 1, 1280
square_note 5, 15, 1, 2032
sound_loop 8, SFX_Battle_2E_Ch5
sound_ret
SFX_Battle_2E_Ch6:
duty_cycle_pattern 2, 3, 0, 3
square_note 2, 14, 1, 770
square_note 3, 14, 1, 2034
square_note 4, 14, 1, 15... |
; A305559: [0, -1, -1] together with A000290.
; 0,-1,-1,0,1,4,9,16,25,36,49,64,81,100,121,144,169,196,225,256,289,324,361,400,441,484,529,576,625,676,729,784,841,900,961,1024,1089,1156,1225,1296,1369,1444,1521,1600,1681,1764,1849,1936,2025,2116,2209,2304,2401,2500
mul $0,2
mov $2,4
lpb $0,1
trn $0,$2
sub $0,1
mo... |
SECTION code_fp_math48
PUBLIC cm48_sdcciyp_m482d
EXTERN error_lznc
cm48_sdcciyp_m482d:
; convert math48 double to sdcc_float
;
; enter : AC' = math48 double
;
; exit : DEHL = sdcc_float
; (exx set is swapped)
;
; uses : af, bc, de, hl, bc', de', hl'
exx
; alternate entr... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distribution... |
; #########################################################################
.386
.model flat, stdcall
option casemap :none ; case sensitive
; #########################################################################
include \masm32\include\windows.inc
include \masm32\include\gdi32.inc
incl... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r8
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x706d, %rbp
sub %rcx, %rcx
movl $0x61626364, (%rbp)
nop
nop
nop
nop
nop
and $11623, %r9
lea addresses_WC_ht+0x16154, %rdi
nop
nop
and %rax, %rax
mov (%rdi), %r12w
nop
nop
sub $... |
Name: zel_dsub.asm
Type: file
Size: 7813
Last-Modified: '2016-05-13T04:20:48Z'
SHA-1: 5D94CDC5F95E2010C6987D5FD7868A744455573C
Description: null
|
; CALLER linkage for function pointers
SECTION code_clib
PUBLIC HeapRealloc
PUBLIC _HeapRealloc
EXTERN asm_HeapRealloc
.HeapRealloc
._HeapRealloc
IF __CPU_INTEL__ | __CPU_GBZ80__
ld hl,sp+2
ld c,(hl)
inc hl
ld b,(hl)
inc hl
ld e,(hl)
inc hl
ld d,(hl)
inc hl
ld a,(hl+)
ld h,(hl)
ld l,a
ex de... |
/***************************************************************************
* Copyright (C) 2012 by Andrey Afletdinov *
* afletdinov@gmail.com *
* *
* This pr... |
; A214283: Smallest Euler characteristic of a downset on an n-dimensional cube.
; 0,-1,-2,-3,-4,-10,-20,-35,-56,-126,-252,-462,-792,-1716,-3432,-6435,-11440,-24310,-48620,-92378,-167960,-352716,-705432,-1352078,-2496144,-5200300,-10400600,-20058300,-37442160,-77558760,-155117520,-300540195,-565722720,-1166803110,-23336... |
q = 10;
while ( q ) {
a += a * q ;
q - -;
}
// # Mapeamento de registradores
// # a -> $t0 e q -> $t1
li $t1, 10
while: ble $t1, DONE
mul $t2, $t0, $t1
add $t0, $t0, $t2
addi $t1, $t1, -1
j while
DONE:
|
; void sp1_IterateUpdateSpr(struct sp1_ss *s, void *hook2)
SECTION code_clib
SECTION code_temp_sp1
PUBLIC _sp1_IterateUpdateSpr, l0_sp1_IterateUpdateSpr
EXTERN asm_sp1_IterateUpdateSpr
_sp1_IterateUpdateSpr:
pop af
pop hl
pop bc
push af
l0_sp1_IterateUpdateSpr:
push bc
ex (sp),ix
call as... |
; A118589: E.g.f.: A(x) = exp(x + x^2 + x^3).
; Submitted by Christian Krause
; 1,1,3,13,49,261,1531,9073,63393,465769,3566611,29998101,262167313,2394499693,23249961099,233439305401,2439472944961,26649502709073,300078056044963,3498896317045789,42244252226263281,524289088799352661,6707157041780104603,8832641053455252915... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_Heap_Based_Buffer_Overflow__cpp_dest_char_ncat_31.cpp
Label Definition File: CWE122_Heap_Based_Buffer_Overflow__cpp_dest.string.label.xml
Template File: sources-sink-31.tmpl.cpp
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: Alloc... |
; A005592: a(n) = F(2n+1) + F(2n-1) - 1.
; 1,2,6,17,46,122,321,842,2206,5777,15126,39602,103681,271442,710646,1860497,4870846,12752042,33385281,87403802,228826126,599074577,1568397606,4106118242,10749957121,28143753122,73681302246,192900153617,505019158606,1322157322202,3461452808001,9062201101802,23725150497406,621132... |
;
; ANSI Video handling for the Sharp X1
; Karl Von Dyson (for X1s.org) - 24/10/2013
; Stefano Bodrato 10/2013
;
; set it up with:
; .text_cols = max columns
; .text_rows = max rows
;
; Display a char in location (ansi_ROW),(ansi_COLUMN)
; A=char to display
;
;
; $Id: f_ansi_char.asm,v 1.4 2015/01/19 01:33:19 pauloscu... |
; A025697: Index of 3^n within sequence of numbers of form 3^i*6^j.
; 1,2,4,6,9,13,17,22,27,33,40,47,55,63,72,82,92,103,115,127,140,153,167,182,197,213,229,246,264,282,301,321,341,362,383,405,428,451,475,499,524,550,576,603,630,658,687,716,746,777,808,840,872,905,939,973,1008,1043
mov $11,$0
mov $13,$0
add $13,1
lpb $... |
CheckBreedmonCompatibility:
call .CheckBreedingGroupCompatibility
ld c, $0
jp nc, .done
ld a, [wBreedMon1Species]
ld [wCurPartySpecies], a
ld a, [wBreedMon1DVs]
ld [wTempMonDVs], a
ld a, [wBreedMon1DVs + 1]
ld [wTempMonDVs + 1], a
ld a, TEMPMON
ld [wMonType], a
predef GetGender
jr c, .genderless
ld b, $1
... |
// Copyright 2018 Google 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x30cc, %r12
clflush (%r12)
nop
nop
nop
nop
nop
cmp %rax, %rax
mov (%r12), %edx
nop
nop
nop
nop
and $5328, %rsi
lea addresses_WC_ht+0xdc4f, %rsi
lea addresses_UC_ht+0x1dade, %rd... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1e1a5, %r15
nop
nop
nop
nop
nop
inc %r9
movups (%r15), %xmm5
vpextrq $1, %xmm5, %r11
nop
nop
nop
nop
nop
cmp $27144, %r13
lea addresses_normal_ht+0xeda5, %rsi
lea addresses_WT... |
; intmax_t strtoimax(const char *nptr, char **endptr, int base)
SECTION code_inttypes
PUBLIC asm_strtoimax
EXTERN asm_strtol
defc asm_strtoimax = asm_strtol
|
// Copyright 2017 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "fxjs/xfa/cjx_subform.h"
#include <vector>
#include "fxjs/cfx_v8.h"... |
#include "effect_smaa.hpp"
#include <cstring>
#include "image_view.hpp"
#include "descriptor_set.hpp"
#include "buffer.hpp"
#include "renderpass.hpp"
#include "graphics_pipeline.hpp"
#include "framebuffer.hpp"
#include "shader.hpp"
#include "sampler.hpp"
#include "image.hpp"
#include "AreaTex.h"
#include "SearchTex.... |
; A007681: a(n) = (2*n+1)^2*n!.
; Submitted by Jon Maiga
; 1,9,50,294,1944,14520,121680,1134000,11652480,130999680,1600300800,21115987200,299376000000,4539498163200,73316942899200,1256675067648000,22784918188032000,435717099417600000
mov $1,$0
mul $0,3
add $0,1
sub $0,$1
pow $0,2
lpb $1
mul $0,$1
sub $1,1
lpe
|
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r8
push %rbp
push %rcx
push %rdi
push %rdx
lea addresses_WT_ht+0xf706, %rdi
nop
nop
nop
nop
nop
sub $7023, %rcx
movb (%rdi), %r8b
nop
nop
nop
nop
dec %rdi
lea addresses_UC_ht+0x233a, %r13
nop
dec %r11
movb $0x61, (%r13)
nop
nop
nop
nop
nop
cmp $3052... |
/*
* Copyright 2013 Daniel Warner <contact@danrw.com>
*
* 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... |
kernel: file format elf32-i386
Disassembly of section .text:
80100000 <multiboot_header>:
80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh
80100006: 00 00 add %al,(%eax)
80100008: fe 4f 52 decb 0x52(%edi)
8010000b: e4 .byte 0xe4
8010000c <entry>:
# E... |
; A111517: Numbers n such that (7*n + 1)/2 is prime.
; 3,15,19,31,39,43,51,55,75,79,99,111,123,139,159,163,171,175,183,195,211,231,235,259,279,283,291,295,303,315,319,339,343,351,379,411,415,423,435,451,459,463,475
mov $2,$0
pow $2,2
add $2,6
mov $5,4
lpb $2
sub $2,1
mov $3,$1
add $1,13
sub $3,$5
max $3,0
... |
; Miniscule: the world's smallest generic virus (only 31 bytes long!)
; (C) 1992 Nowhere Man and [NuKE] WaReZ
; Written on January 22, 1991
code segment 'CODE'
assume cs:code,ds:code,es:code,ss:code
org 0100h
main proc near
; Find the name of the first file and return it in the DTA. No checking
; is done f... |
/*************************************************************************
*
* TIGHTDB CONFIDENTIAL
* __________________
*
* [2011] - [2012] TightDB Inc
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of TightDB Incorporated and its suppliers,
* if any. T... |
// Copyright 2017,2019 David Conran
#include "IRsend_test.h"
#include "IRsend.h"
#include "IRutils.h"
#include "gtest/gtest.h"
// Tests sendData().
// Test sending zero bits.
TEST(TestSendData, SendZeroBits) {
IRsendTest irsend(4);
irsend.begin();
irsend.sendData(1, 2, 3, 4, 0b1, 0, true);
EXPECT_EQ("", irse... |
; TITLE SCREEN NMI
.proc titleScreenDLI
sta wsync
pha
inc counterDLI
lda counterDLI
cmp #1
beq dl1
cmp #2
beq dl2
cmp #3
beq dl3
pla
rti
dl1
lda #$14
sta colpf2
lda #$ee
sta colpf1
lda #$34
sta colpf0
lda #>dataLogoFonts
sta chbase
pla
rti
dl2
lda col... |
; A021903: Decimal expansion of 1/899.
; Submitted by Jamie Morken(s1.)
; 0,0,1,1,1,2,3,4,7,0,5,2,2,8,0,3,1,1,4,5,7,1,7,4,6,3,8,4,8,7,2,0,8,0,0,8,8,9,8,7,7,6,4,1,8,2,4,2,4,9,1,6,5,7,3,9,7,1,0,7,8,9,7,6,6,4,0,7,1,1,9,0,2,1,1,3,4,5,9,3,9,9,3,3,2,5,9,1,7,6,8,6,3,1,8,1,3,1,2,5
add $0,1
mov $2,10
pow $2,$0
div $2,899
mov $... |
; Startup fo SAM Coupe
;
; Stefano 26/3/2001
;
; If an error occurs eg break we just drop back to BASIC
;
; $Id: sam_crt0.asm,v 1.20 2016/06/21 20:49:06 dom Exp $
;
MODULE sam_crt0
;
; Initially include the zcc_opt.def file to find out lots of lovely
; information about what we shoul... |
#include <iostream>
#include <cmath>
int main()
{
int w;
double bok_1, bok_2, bok_3, h, p, s;
std::cout << "Obliczy pole trójkąta. Wypisz: \n 1-jeśli chcesz podać długośc podstawy i wysokość. \n 2-jeśli chcesz podać długość trzech boków\n";
std::cin >> w;
if (w == 1) {
... |
/**
* @file serialization.cpp
* @brief Additional Boost serialization wrappers
* @details Supports the following
* - Eigen::VectorXd
* - Eigen::Isometry3d
* - Eigen::MatrixX2d
*
* @author Levi Armstrong
* @date February 21, 2021
* @version TODO
* @bug No known bugs
*
* @cop... |
//------------------------------------------------------------------------------
/*
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 ... |
/*
Copyright (c) 2000 Microsoft Corporation
Module Name:
ProfilesEnvStrings.cpp
Abstract:
This DLL hooks GetEnvironmentVariableA and ExpandEnvironmentStringsA. Any application
that is looking for %USERPROFILE% will be told the location of %ALLUSERSPROFILE% instead.
This shim is designe... |
; A094248: Consider 3 X 3 matrix M = [0 1 0 / 0 0 1 / 5 2 0]; a(n) = the center term in M^n * [1 1 1].
; Submitted by Christian Krause
; 1,7,7,19,49,73,193,391,751,1747,3457,7249,15649,31783,67543,141811,294001,621337,1297057,2712679,5700799,11910643,24964993,52325281,109483201,229475527,480592807,1006367059,2108563249... |
#include <cassert>
#include <complex>
#include <cosma/memory_pool.hpp>
#include <iostream>
#include <mpi.h>
template <typename T>
cosma::memory_pool<T>::memory_pool() {
}
template <typename T>
cosma::memory_pool<T>::memory_pool(size_t capacity) {
pool_.reserve(capacity);
}
template <typename T>
cosma::memory_poo... |
; ;;;;; ;;;;; ;;;;;;; ; ; ;;;;;; ; ; ;
; ; ; ; ; ; ; ;; ;; ; ; ; ; ;
; ; ; ; ; ; ; ; ; ; ; ; ; ;
; ; ;;;;; ;;;;; ;;;;; ; ; ; ;;;;;; ; ;
;;;;;... |
; A253712: Second partial sums of 12th powers (A008456).
; 1,4098,539636,17852390,279305769,2717541484,18997064400,103996064052,471424600185,1838853136318,6344710049172,19766667410282,56486709893873,149900664752760,373060957502272,877696226962440,1964953733652369,4209042621768474,8666446428950740,17219850236133006,3312... |
; A132741: Largest divisor of n having the form 2^i*5^j.
; 1,2,1,4,5,2,1,8,1,10,1,4,1,2,5,16,1,2,1,20,1,2,1,8,25,2,1,4,1,10,1,32,1,2,5,4,1,2,1,40,1,2,1,4,5,2,1,16,1,50,1,4,1,2,5,8,1,2,1,20,1,2,1,64,5,2,1,4,1,10,1,8,1,2,25,4,1,2,1,80,1,2,1,4,5,2,1,8,1,10,1,4,1,2,5,32,1,2,1,100
add $0,1
mov $1,102400000
gcd $1,$0
mov $0... |
; A155794: Triangle read by rows: t(n,m)=(m*(m-n))!
; 1,1,1,1,1,1,1,2,2,1,1,6,24,6,1,1,24,720,720,24,1,1,120,40320,362880,40320,120,1,1,720,3628800,479001600,479001600,3628800,720,1,1,5040,479001600,1307674368000,20922789888000,1307674368000,479001600,5040,1
mov $2,$0
mov $3,$0
lpb $2
seq $0,4247 ; Multiplication ta... |
; A183091: a(n) is the product of the divisors p^k of n where p is prime and k >= 1.
; Submitted by Christian Krause
; 1,2,3,8,5,6,7,64,27,10,11,24,13,14,15,1024,17,54,19,40,21,22,23,192,125,26,729,56,29,30,31,32768,33,34,35,216,37,38,39,320,41,42,43,88,135,46,47,3072,343,250,51,104,53,1458,55,448,57,58,59,120,61,62,18... |
;
; MSX specific routines
; by Stefano Bodrato, December 2007
;
; Internal function, call a ROM BASIC subroutine
;
;
; $Id: msxbasic.asm,v 1.4 2016-06-16 19:30:25 dom Exp $
;
SECTION code_clib
PUBLIC msxbasic
PUBLIC _msxbasic
EXTERN msxrompage
INCLUDE "msxbios.def"
msxbasic:
_msxbasic:
exx
... |
frame 5, 06
frame 0, 06
frame 5, 06
frame 0, 06
frame 5, 06
endanim
|
; This is the kernel's entry point. We could either call main here,
; or we can use this to setup the stack or other nice stuff, like
; perhaps setting up the GDT and segments. Please note that interrupts
; are disabled at this point: More on interrupts later!
[BITS 32]
%define BOOT_STACK_SIZE 4096
extern kernel_sta... |
bits 64
global gdtLoad
; load the gdt
gdtLoad:
lgdt [rdi] ; load gdt from the first argument
mov ax, (8*2) ; 2nd segment, kernel data
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
mov ss, ax
pop rdi
mov rax, (8*1) ; 1st segment, kernel code
push rax
push rdi
retfq |
; A306752: a(n) = Sum_{k=0..n} binomial(k, 8*(n-k)).
; 1,1,1,1,1,1,1,1,1,2,10,46,166,496,1288,3004,6436,12871,24312,43776,75736,126940,208336,340120,564928,980629,1817047,3605252,7531836,16146326,34716826,73737316,153430156,311652271,617594122,1195477615,2266064352,4221317464,7763706592,14176362408,25864024384,47458155... |
; A077860: Expansion of 1/((1 - 2*x + 2*x^2)*(1-x)).
; 1,3,5,5,1,-7,-15,-15,1,33,65,65,1,-127,-255,-255,1,513,1025,1025,1,-2047,-4095,-4095,1,8193,16385,16385,1,-32767,-65535,-65535,1,131073,262145,262145,1,-524287,-1048575,-1048575,1,2097153,4194305,4194305,1,-8388607,-16777215,-16777215
mov $2,2
lpb $0,1
sub $0,1
... |
lui $2,0xffff
ori $2,$2,0xfffe
blez $2,target
ori $2,$0,2119
xori $3,$2,2395
andi $3,$3,4937
addiu $4,$3,7887
target:
blez $2,target1
addi $3,$2,293
ori $3,$0,2039
target1:
blez $0,target2
add $4,$4,2345
ori $4,$0,9392
target2:
sub $6,$4,$3
lui $4,0xffff
ori $3,$0,0xfffe
ori $2,$0,4
or $5,$0,$2
or $2,$3,$4
sw $2,0($5)... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>renameat(oldfd, old, newfd, new) -> str
Invokes the syscall renameat.
See 'man 2 renameat' for more information.
Arguments:
oldfd(int): oldfd
old(char*): old
newfd(int): newfd
new(char*)... |
; A000749: a(n) = 4a(n-1) - 6a(n-2) + 4a(n-3), n > 3, with a(0)=a(1)=a(2)=0, a(3)=1.
; 0,0,0,1,4,10,20,36,64,120,240,496,1024,2080,4160,8256,16384,32640,65280,130816,262144,524800,1049600,2098176,4194304,8386560,16773120,33550336,67108864,134225920,268451840,536887296,1073741824,2147450880,4294901760,8589869056,1717986... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %rbx
lea addresses_WC_ht+0x19db4, %rbx
nop
nop
xor %r11, %r11
movb (%rbx), %r12b
nop
nop
nop
add %r11, %r11
pop %rbx
pop %r12
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r13
push %r15
push %r9
push %rbp
push %rdi
push %rsi
... |
.486 ; 386 Processor Instruction Set
.model flat,stdcall ; Flat memory model and stdcall method
option casemap:none ; Case Sensitive
;Libaries and Include files used in this project
; Windows.inc defines alias (such as NULL and STD_OUTPUT_HANDLE in this code
include \masm32\include\windows.inc
; Functions that we... |
// Copyright (c) 2009-2017 The Bitcoin Core developers
// Copyright (c) 2019 The JNitaCoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <qt/test/paymentservertests.h>
#include <qt/optionsmodel.h>
#in... |
; A293544: a(n) is the integer k that minimizes | k/Fibonacci(n) - 1/3 |.
; 0,0,0,1,1,2,3,4,7,11,18,30,48,78,126,203,329,532,861,1394,2255,3649,5904,9552,15456,25008,40464,65473,105937,171410,277347,448756,726103,1174859,1900962,3075822,4976784,8052606,13029390,21081995,34111385,55193380,89304765,144498146,233802911,37... |
; ***** CLI (Command Line Interface *****
; -------------------- [ Routine: cli_init ] --------------------
; ----------- Initialises the Command Line Interface ------------
cli_init:
call cli_clear
ret
; -------------------- [ Routine: cli_user_input ] --------------------
; ----------------------- handles CLI u... |
; A097071: Number of Shubnikov compounds.
; 1,2,3,5,6,10,12,18,23,30
mul $0,2
lpb $0
mov $2,$0
trn $0,7
seq $2,49641 ; a(n) = Sum_{i=0..n} ((-1)^i)*T(i,n-i), array T as in A049639.
add $3,$2
sub $3,1
lpe
mov $0,$3
add $0,1
|
include "hardware.inc"
; some game definitons
; OAM stuff
; -----------------
_PLAYER_SPRITE_POS_Y EQU _OAMRAM
_PLAYER_SPRITE_POS_X EQU _PLAYER_SPRITE_POS_Y + 1
_PLAYER_SPRITE_INDEX EQU _PLAYER_SPRITE_POS_X + 1
_PLAYER_SPRITE_ATTR EQU _PLAYER_SPRITE_INDEX + 1
_ITEM_SPRITE_POS_Y EQU _PLAYER_SPR... |
kernel: file format elf32-i386
Disassembly of section .text:
80100000 <multiboot_header>:
80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh
80100006: 00 00 add %al,(%eax)
80100008: fe 4f 52 decb 0x52(%edi)
8010000b: e4 0f in $0xf,%al
8010000c <entry>:... |
//===-- lib/Codegen/MachineRegisterInfo.cpp -------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
; A190153: Row sums of the triangle A190152.
; 1,2,12,65,351,1897,10252,55405,299426,1618192,8745217,47261895,255418101,1380359512,7459895657,40315615410,217878227876,1177482265857,6363483400447,34390259761825,185855747875876,1004422742303477,5428215467030962,29335778567637640,158539746514553601,856798505175074247,4630... |
;
; Enterprise 64/128 C stub
;
; Stefano Bodrato - 2011
;
;
; $Id: enterprise_crt0.asm,v 1.14 2015/01/21 07:05:00 stefano Exp $
;
; There are a couple of #pragma commands which affect
; this file:
;
; #pragma no-streams - No stdio disc files
; #pragma no-fileio - No fileio at all
; #pragma no-... |
; A106246: Number triangle T(n,k)=C(n,k)C(2,n-k).
; Submitted by Christian Krause
; 1,2,1,1,4,1,0,3,6,1,0,0,6,8,1,0,0,0,10,10,1,0,0,0,0,15,12,1,0,0,0,0,0,21,14,1,0,0,0,0,0,0,28,16,1,0,0,0,0,0,0,0,36,18,1,0,0,0,0,0,0,0,0,45,20,1,0,0,0,0,0,0,0,0,0,55,22,1,0,0,0,0,0,0,0,0,0,0,66,24,1,0,0,0,0,0,0,0,0,0
lpb $0
add $1,1
... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation
; All rights reserved. This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distribution. Th... |
; A077983: Expansion of 1/(1 + 2*x - 2*x^2 + x^3).
; Submitted by Christian Krause
; 1,-2,6,-17,48,-136,385,-1090,3086,-8737,24736,-70032,198273,-561346,1589270,-4499505,12738896,-36066072,102109441,-289089922,818464798,-2317218881,6560457280,-18573817120,52585767681,-148879626882,421504606246,-1193354233937,3378597307... |
// Copyright (c) 2011, 2012, 2013 libmv authors.
//
// 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, me... |
#include <iostream>
#include "startShip.h"
#include "snake.h"
using namespace std;
int main(int argc, char const *argv[])
{
int numero = 0;
system("cls");
cout << "**************";
cout << endl;
cout << "MENU DE JUEGOS";
cout << endl;
cout << "**************";
cout << endl;
cout ... |
#include <fltKernel.h>
#include "math-int_fastdiv/int_fastdiv.h"
#define dprintf(...) DbgPrintEx(DPFLTR_IHVDRIVER_ID, DPFLTR_ERROR_LEVEL, __VA_ARGS__)
DECLSPEC_NOINLINE
void
Test_int_fastdiv(int_fastdiv d)
{
/*
.text:0000000140001000 push rbp
.text:0000000140001001 sub ... |
TITLE prsexp.asm - Parser Expression Recognizer
;==========================================================================
; Module: prsexp.asm - Parser Expression Recognizer
; Subsystem: Parser
; System: Quick BASIC Interpreter
;
; NOTE:
; See prsnt.asm for general comments
;
;==================================... |
; A036117: a(n) = 2^n mod 11.
; 1,2,4,8,5,10,9,7,3,6,1,2,4,8,5,10,9,7,3,6,1,2,4,8,5,10,9,7,3,6,1,2,4,8,5,10,9,7,3,6,1,2,4,8,5,10,9,7,3,6,1,2,4,8,5,10,9,7,3,6,1,2,4,8,5,10,9,7,3,6,1,2,4,8,5,10,9,7,3,6,1,2,4,8,5,10,9,7,3,6,1,2,4,8,5,10,9,7,3,6,1,2,4,8,5,10,9,7,3,6,1,2,4,8,5,10,9,7,3,6,1,2,4,8,5,10,9,7,3,6,1,2,4,8,5,10,9,... |
; A205376: Ordered differences of distinct odd squares, stored in triangle.
; 8,24,16,48,40,24,80,72,56,32,120,112,96,72,40,168,160,144,120,88,48,224,216,200,176,144,104,56,288,280,264,240,208,168,120,64,360,352,336,312,280,240,192,136,72,440,432,416,392,360,320,272,216,152
add $0,1
mov $1,1
lpb $0,1
sub $0,$1
lpb... |
; A014125: Bisection of A001400.
; 1,3,6,11,18,27,39,54,72,94,120,150,185,225,270,321,378,441,511,588,672,764,864,972,1089,1215,1350,1495,1650,1815,1991,2178,2376,2586,2808,3042,3289,3549,3822,4109,4410,4725,5055,5400,5760,6136,6528,6936,7361,7803,8262,8739,9234,9747,10279,10830,11400,11990,12600,13230,13881,14553,1524... |
TRAMPOLINE: MACRO ;\1 = jump address
ld b, BANK(\1)
ld hl, \1
call Trampoline
ENDM
PUSH_VAR: MACRO ;\1 = WRAM address
ld a, [\1]
push af
ENDM
POP_VAR: MACRO ;\1 = WRAM address
pop af
ld [\1], a
ENDM
;Debug messages can contain expressions between %%.
;When enabled in the settings, whenever a debug mes... |
; A319995: Number of divisors of n of the form 6*k + 5.
; 0,0,0,0,1,0,0,0,0,1,1,0,0,0,1,0,1,0,0,1,0,1,1,0,1,0,0,0,1,1,0,0,1,1,2,0,0,0,0,1,1,0,0,1,1,1,1,0,0,1,1,0,1,0,2,0,0,1,1,1,0,0,0,0,2,1,0,1,1,2,1,0,0,0,1,0,2,0,0,1,0,1,1,0,2,0,1,1,1,1,0,1,0,1,2,0,0,0,1,1
add $0,1
mov $2,$0
lpb $0
mov $3,$2
mov $4,$0
cmp $4,0
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.