text stringlengths 1 1.05M |
|---|
// This file has been generated by Py++.
#ifndef CompositeDragger_hpp__pyplusplus_wrapper
#define CompositeDragger_hpp__pyplusplus_wrapper
void register_CompositeDragger_class();
#endif//CompositeDragger_hpp__pyplusplus_wrapper
|
//
// Copyright 2013 Timothy John Giese
//
#ifndef _tdbsc_fft_hpp_
#define _tdbsc_fft_hpp_
void tdbsc_renormalize
( int const order,
int const * dimsize,
double const * minmax,
double * data );
#endif
|
;extcodecopy(0x027F633732930a97FEF86051db2b5790d63373F6, 0, 1, 20)
;log1(0, 32, codesize());
;return(0, 32)
codecopy(0, $contract, #contract)
return(0, #contract)
@contract{
mstore(0, 0x42434546)
return(0, 31)
}
|
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
// test_const.cpp
// (C) Copyright 2002 Robert Ramey - http://www.rrsd.com .
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.b... |
// MESSAGE TRAJECTORY_REPRESENTATION_WAYPOINTS support class
#pragma once
namespace mavlink {
namespace common {
namespace msg {
/**
* @brief TRAJECTORY_REPRESENTATION_WAYPOINTS message
*
* Describe a trajectory using an array of up-to 5 waypoints in the local frame.
*/
struct TRAJECTORY_REPRESENTATION_WAYPOINTS... |
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.21.27702.2
; Generated by VC++ for Common Language Runtime
.file "C:\Users\gavra\AppData\Local\Temp\.NETFramework,Version=v4.7.2.AssemblyAttributes.cpp"
|
; A186681: Total number of n-digit numbers requiring 17 positive biquadrates in their representation as sum of biquadrates.
; 0,3,30,30,2,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
sub $0,1
mul $0,2
m... |
/*=========================================================================
*
* Copyright NumFOCUS
*
* 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/licens... |
/*
* This file is part of cryptopp-bindings-api.
*
* (c) Stephen Berquet <stephen.berquet@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
#include "src/exception/api_exception.h"
#include "src/symmetric/cipher/authentic... |
-- HUMAN RESOURCE MACHINE PROGRAM --
a:
INBOX
COPYTO 0
INBOX
COPYTO 1
INBOX
COPYTO 2
COMMENT 2
SUB 1
JUMPN b
COMMENT 1
JUMP c
b:
COMMENT 0
COPYFROM 2
COPYTO 3
COPYFROM 1
COPYTO 2
COPYFROM 3
COPYTO 1
c:
COMME... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
%>
<%docstring>setdomainname(name, length) -> str
Invokes the syscall setdomainname.
See 'man 2 setdomainname' for more information.
Arguments:
name(char*): name
len(size_t): len
Returns:
int
</%docstring>
<%page arg... |
global load_gdt
load_gdt:
mov eax, [esp + 4] ; get the pointer (the struct's size is 4)
lgdt [eax] ; load the pointer
; new data segment offset
mov ax, 0x10
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
mov ss, ax
; jump to flush the code segment register
jmp 0x08:.flush
.flush:
ret
|
/*
* Copyright (c) 2017, 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, publi... |
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.24213.1
; Generated by VC++ for Common Language Runtime
.file "C:\Users\roman\AppData\Local\Temp\.NETFramework,Version=v4.5.2.AssemblyAttributes.cpp"
|
; Generated at 6/14/2016 12:11:29 PM
DebugStub_ComAddr dd 1016
%ifndef Exclude_IOPort_Based_Serial
DebugStub_WriteRegister:
push dword EDX
add word DX, 0x3F8
out DX, AL
pop dword EDX
DebugStub_WriteRegister_Exit:
mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_WriteRegister_Exit
Ret
DebugS... |
mov r1, $(signed(-5))
abs r1
eq r1, $(signed(5))
add r1, .0
out r1
mov r1, $(signed(5))
abs r1
eq r1, $(signed(5))
add r1, .0
out r1
mov r1, $(signed(0))
abs r1
eq r1, $(signed(0))
add r1, .0
out r1
|
_lotteryTest2: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "types.h"
#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 ... |
global memset
memset:
push ebp
mov ebp,esp
mov edi,[ebp+8] ; dest
movzx eax,byte [ebp+12] ; ch
mov ecx,[ebp+16] ; count
rep stosb
pop ebp
ret
|
######################################################################
# SNAKE!!!! #
######################################################################
# Programmed by Shane Shafferman and Eric Deas #
#######################################################... |
;---------------------------Module-Header------------------------------;
; Module Name: lines.asm
;
; ASM version of the line DDA calculator.
;
; Copyright (c) 1992-1994 Microsoft Corporation
;-----------------------------------------------------------------------;
.386
.model small,c
... |
# PACKAGE foo
.data # Data section starts here, strings first
_NL: .asciiz "\n" # NEWLINE STRING
.align 2 # start all global variable aligned
y: .word 7 # global var initialized
Z: .space 4 # global var uninitialized
A: .space 400 # global var uninitialized
x: .word 1 # global var initialize... |
; A190505: n+[nr/s]+[nt/s]+[nu/s]; r=golden ratio, s=r+1, t=r+2, u=r+3.
; 3,8,13,18,22,27,32,37,41,46,51,56,60,65,70,75,79,84,89,94,99,103,108,113,118,122,127,132,137,141,146,151,156,160,165,170,175,180,184,189,194,199,203,208,213,218,222,227,232,237,241,246,251,256,261,265,270,275,280,284,289,294,299,303,308,313,318,... |
// Copyright Lin Min 2014
#include <iostream>
#include <stdint.h>
#include <fcntl.h>
#include <string>
#include <algorithm>
#include <vector>
#include <fstream> // NOLINT(readability/streams)
#include <glog/logging.h>
#include <cstdlib>
#include <sys/syscall.h>
#include <glog/logging.h>
#include <mpi.h>
#include "co... |
; ==================================================================================================
; Change flags used to spawn Mido outside Deku and inside his house as child.
; Now requires the flags for showing Mido a sword/shield, Mido talking to you after Deku Tree's death,
; as well as either Obtained Zelda's L... |
ldy #0
sta ({z1}),y
tya
iny
sta ({z1}),y |
; int vsscanf_callee(const char *s, const char *format, va_list arg)
SECTION code_clib
SECTION code_stdio
PUBLIC _vsscanf_callee, l0_vsscanf_callee
EXTERN asm_vsscanf
_vsscanf_callee:
pop af
pop hl
pop de
pop bc
push af
l0_vsscanf_callee:
push ix
call asm_vsscanf
pop ix
ret
|
; A072894: Let c(k) be defined as follows: c(1)=1, c(2)=n, c(k+2) = c(k+1)/2 + c(k)/2 if c(k+1) and c(k) have the same parity; c(k+2) = c(k+1)/2 + c(k)/2 + 1/2 otherwise; a(n) = limit_{ k -> infinity} c(k).
; 1,2,3,4,4,5,6,7,7,8,9,10,10,11,11,12,12,13,14,15,15,16,17,18,18,19,20,21,21,22,22,23,23,24,25,26,26,27,28,29,29... |
; A014925: Number of zeros in numbers 1 to 111...1 (n+1 digits).
; 1,21,321,4321,54321,654321,7654321,87654321,987654321,10987654321,120987654321,1320987654321,14320987654321,154320987654321,1654320987654321,17654320987654321,187654320987654321
add $0,1
lpb $0
add $2,$0
sub $0,1
mul $2,10
mov $1,$2
lpe
div $1,... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x1db9b, %r10
nop
nop
nop
nop
nop
sub %r13, %r13
mov $0x6162636465666768, %rsi
movq %rsi, %xmm1
movups %xmm1, (%r10)
add $8691, %r14
lea addresses_normal_ht+0x3acb, %r13
nop
no... |
# Test27 - IsEq Test
pushi 3
pushi 3
isEq
halt |
/*
Copyright 2002, 2005 Daryle Walker
Distributed under the Boost Software License, Version 1.0.
(http://www.boost.org/LICENSE_1_0.txt)
*/
#ifndef BOOST_IO_IOS_STATE_HPP
#define BOOST_IO_IOS_STATE_HPP
#include <boost/config.hpp>
#include <boost/io_fwd.hpp>
#include <ios>
#ifndef BOOST_NO_STD_LOCALE
#include <locale>
... |
#include "hzpch.h"
#include "Buffer.h"
#include "Renderer.h"
#include "Platform/OpenGL/OpenGLBuffer.h"
namespace Hazel {
VertexBuffer* VertexBuffer::Create(float* vertices, uint32_t size)
{
switch (Renderer::GetAPI())
{
case RendererAPI::API::None: HZ_CORE_ASSERT(false, "RendererAPI::None is currently not ... |
DrawHP:
; Draws the HP bar in the stats screen
call GetPredefRegisters
ld a, $1
jr DrawHP_
DrawHP2:
; Draws the HP bar in the party screen
call GetPredefRegisters
ld a, $2
DrawHP_:
ld [wHPBarType], a
push hl
ld a, [wLoadedMonHP]
ld b, a
ld a, [wLoadedMonHP + 1]
ld c, a
or b
jr nz, .nonzeroHP
xor a
ld c... |
; A176323: Decimal expansion of (10+sqrt(110))/4.
; Submitted by Christian Krause
; 5,1,2,2,0,2,2,1,2,0,4,2,5,3,7,8,8,6,7,4,7,8,6,3,3,7,8,4,1,9,9,8,4,3,9,9,6,1,8,8,1,7,9,6,4,4,2,0,3,7,5,9,9,6,2,1,8,9,3,8,9,4,0,8,9,5,0,0,1,4,8,1,3,7,5,2,7,5,1,7,2,8,5,4,8,4,6,3,2,2,2,3,3,2,9,8,6,0,4,4
mov $1,1
mov $3,$0
mul $3,4
lpb $3
... |
stx $ff
cpy $ff
bcs {la1} |
#start=simple.exe#
#start=stepper_motor.exe#
#start=traffic_lights.exe#
JMP BEGIN
PORT_THERMOPILE EQU 112 ;TEMPERATURE INPUT
PORT_CAMERA ... |
/*******************************************************************************
* Copyright (c) 2000, 2019 IBM Corp. and others
*
* This program and the accompanying materials are made available under
* the terms of the Eclipse Public License 2.0 which accompanies this
* distribution and is available at http://ec... |
#include "FontWord.hpp"
namespace acid
{
FontWord::FontWord() :
m_characters(std::vector<FontCharacter>()),
m_width(0.0)
{
}
bool FontWord::AddCharacter(const FontCharacter &character, const float &kerning)
{
m_characters.emplace_back(character);
m_width += kerning + character.GetAdvanceX();
return tr... |
/*
Copyright (c) 2007-2019 Contributors as noted in the AUTHORS file
This file is part of libzmq, the ZeroMQ core engine in C++.
libzmq is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License (LGPL) as published
by the Free Software Foundation; either versio... |
// adsr envelope example
#include "daisysp.h"
#include "daisy_seed.h"
// Shortening long macro for sample rate
#ifndef sample_rate
#endif
// Interleaved audio definitions
#define LEFT (i)
#define RIGHT (i + 1)
using namespace daisysp;
using namespace daisy;
static DaisySeed hw;
static Adsr env;
static Osci... |
/*
* Copyright (c) 2017-2020 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
* 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
* ri... |
/**************************************************************
*
* 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 y... |
// This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/06/rect/Rect.asm
// Draws a rectangle at the top-left corner of the screen.
// The rectangle is 16 pixels wide and R0 pixels high.
@0
D=M
@INFINITE_LOOP
... |
; A133212: a(n) = 4a(n-1) - 6a(n-2) + 4a(n-3), n > 3; a(0) = 1, a(1) = 4, a(2) = 12, a(3) = 32.
; Submitted by Christian Krause
; 1,4,12,32,72,144,272,512,992,1984,4032,8192,16512,33024,65792,131072,261632,523264,1047552,2097152,4196352,8392704,16781312,33554432,67100672,134201344,268419072,536870912,1073774592,2147549... |
#include "lbv2isolver.h"
#include "assert.h"
#include "smt-switch/cvc4_factory.h"
#include "smt-switch/smt.h"
#include "smt-switch/result.h"
using namespace lbv2i;
using namespace smt;
using namespace std;
int main() {
SmtSolver underlying_solver = smt::CVC4SolverFactory::create(false);
underlying_solver->set_l... |
//////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Ion Gaztanaga 2005-2013. 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.boost.org/libs/c... |
MODULE scanf
SECTION code_clib
PUBLIC scanf
EXTERN asm_scanf
EXTERN __sgoioblk
; sccz80 version
;void scanf(char *fmt,...)
;{
; asm_scanf(fp, ungetc, getc, sccz80_delta, *ct,ct-1);
;}
scanf:
ld l,a
ld h,0
add hl,hl
add hl,sp ;&fmt
push ix ;save callers
ld bc,__sgoioblk ;stdin
push... |
////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2014-2019, Lawrence Livermore National Security, LLC.
// Produced at the Lawrence Livermore National Laboratory.
// Written by the LBANN Research Team (B. Van Essen, et al.) listed in
// the CONTRIBUTORS file. <lbann-dev@l... |
copyright zengfr site:http://github.com/zengfr/romhack
00042A move.l D1, (A0)+
00042C dbra D0, $42a
09CFCC clr.l (A1)+
09CFCE dbra D0, $9cfcc
09D4C6 move.b ($2,A0), D1
09D4CA lsl.b #1, D1 [base+47C]
09D51E move.b D1, ($2,A0)
09D522 tst.b ($0,A0) [base+47C, base+48C, base+49C]
09D542 move.b... |
Mansion1_h:
db FACILITY ; tileset
db MANSION_1_HEIGHT, MANSION_1_WIDTH ; dimensions (y, x)
dw Mansion1Blocks, Mansion1TextPointers, Mansion1Script ; blocks, texts, scripts
db $00 ; connections
dw Mansion1Object ; objects
|
/*
===========================================================================
This software is licensed under the Apache 2 license, quoted below.
Copyright (C) 2013 Andrey Budnik <budnik27@gmail.com>
Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with ... |
// Tests that casting inside constants in the output handles precedence between cast and + correctly - should generate the following KA-expression ($ff & sumw>>1)+1
// Commodore 64 PRG executable file
.file [name="cast-precedence-problem.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code... |
#include "Platform.inc"
#include "TailCalls.inc"
#include "../ShiftRegister.inc"
#include "../Motor.inc"
#include "Lcd.inc"
#include "States.inc"
radix decimal
defineLcdState LCD_STATE_ENABLE_WAITFORSHIFTREGISTER
fcall isShiftRegisterEnabled
andlw 0xff
btfsc STATUS, Z
goto endOfState
clearShiftRegist... |
; DV3 Date routine V3.00 1992 Tony Tebby
section dv3
xdef dv3_date
include 'dev8_keys_qdos_sms'
;+++
; DV3 date
;
; d1 r (long) date
;
; status return arbitrary
;---
dv3_date
ddt.reg reg d2/a0
movem.l ddt.reg,-(sp)
moveq #sms.rrtc,... |
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2015 Natale Patriciello, <natale.patriciello@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software ... |
_echo: 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 ... |
; A032613: Concatenation of n and n + 8 or {n,n+8}.
; 19,210,311,412,513,614,715,816,917,1018,1119,1220,1321,1422,1523,1624,1725,1826,1927,2028,2129,2230,2331,2432,2533,2634,2735,2836,2937,3038,3139,3240,3341,3442,3543,3644,3745,3846,3947,4048,4149
pow $1,$0
gcd $1,2
mul $1,90
sub $1,71
mov $2,$0
mul $2,101
add $1,$2
... |
;******************************************************************
;xtone - 6ch beeper engine
;by utz 09'2015
;******************************************************************
org #8000
di
init
ei ;detect kempston
halt
in a,(#1f)
inc a
jr nz,_skip
ld (maskKempston),a
_skip
di
exx
push hl ;preserve ... |
; 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... |
/*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... |
; A218748: a(n) = (45^n-1)/44.
; 0,1,46,2071,93196,4193821,188721946,8492487571,382161940696,17197287331321,773877929909446,34824506845925071,1567102808066628196,70519626362998268821,3173383186334922096946,142802243385071494362571,6426100952328217246315696,289174542854769776084206321,13012854428464639923789284446,58557... |
; A021189: Decimal expansion of 1/185.
; 0,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5
mul $0,8
sub $0,1
cal $0,21226 ; Decimal expansion of 1/222.
mov $1,$0
|
MODULE UrlEncoder
; HL - pointer to line in gopher page
; C - flag set when it's file
isFile:
.findServerLoop
ld a, (hl) : and a : jr z, .notFile : inc hl
cp 13 : jr z, .notFile
cp 9 : jr z, .skipPath
jr .findServerLoop
.skipPath
ld a, (hl) : and a : jr z, .notFile : inc hl
cp 13 : jr z, .n... |
icl '../os/symbols.asm'
org BOOTADDR
lda #1
sta ROS7
lda #0
ldx #OS_SET_VIDEO_MODE
jsr OS_CALL
mwa SUBPAL_START VRAM_TO_RAM
jsr lib_vram_to_ram
; use first 16 entries as subpal
ldy #0
set_subpal:
tya
sta (RAM_TO_VRAM), y
iny
cpy #16
bne set_subpal
; reset all attributes... |
;
;
; Z88 Maths Routines
;
; C Interface for Small C+ Compiler
;
; 7/12/98 djm
;double tan(double)
;Number in FA..
INCLUDE "fpp.def"
XLIB tan
LIB fsetup
LIB stkequ2
.tan
call fsetup
fpp(FP_TAN)
jp ... |
; A136516: a(n) = (2^n+1)^n.
; 1,3,25,729,83521,39135393,75418890625,594467302491009,19031147999601100801,2460686496619787545743873,1280084544196357822418212890625,2672769719437237714909813214827010049,22366167213460480200139104627873703828439041,749477178512218249053016816019761862837541531656193,100519481571931211181... |
; Arquivo: Pow.nasm
; Curso: Elementos de Sistemas
; Criado por: Luciano Soares
; Data: 27/03/2017
; Eleva ao quadrado o valor da RAM[1] e armazena o resultado na RAM[0].
; Só funciona com números positivos
leaw $1, %A
movw (%A), %D
leaw $2, %A
movw %D, (%A)
leaw $0, %A
movw %D, (%A)
leaw $2, %A
movw (%A), %D
decw %D... |
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.24.28117.0
TITLE C:\Users\libit\source\repos\L025\L025\L025.cpp
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
CONST SEGMENT
$SG5557 DB '1,2,7,10', 00H
ORG $+3
$SG5559 DB '3', 0a1H, 0a2H, '4', 0a1H, 0a2H, '10... |
; ----------------------------------------------------------------------------------------
; Writes "Hello, World" to the console using only system calls. Runs on 64-bit Linux only.
; To assemble and run:
;
; nasm -felf64 hello.asm && ld hello.o && ./a.out
; ---------------------------------------------------------... |
; A048703: Numbers which in base 4 are palindromes and have an even number of digits.
; 0,5,10,15,65,85,105,125,130,150,170,190,195,215,235,255,1025,1105,1185,1265,1285,1365,1445,1525,1545,1625,1705,1785,1805,1885,1965,2045,2050,2130,2210,2290,2310,2390,2470,2550,2570,2650,2730,2810,2830,2910,2990,3070,3075,3155,3235,3... |
; A158546: a(n) = 144*n^2 + 12.
; 12,156,588,1308,2316,3612,5196,7068,9228,11676,14412,17436,20748,24348,28236,32412,36876,41628,46668,51996,57612,63516,69708,76188,82956,90012,97356,104988,112908,121116,129612,138396,147468,156828,166476,176412,186636,197148,207948,219036,230412,242076,254028,266268,278796,291612,3047... |
/*
* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... |
; A094114: a(n) = -Sum_{i=1..n-1} (-1)^i*2^valuation(i,3).
; Submitted by Jon Maiga
; 0,1,0,2,1,2,0,1,0,4,3,4,2,3,2,4,3,4,0,1,0,2,1,2,0,1,0,8,7,8,6,7,6,8,7,8,4,5,4,6,5,6,4,5,4,8,7,8,6,7,6,8,7,8,0,1,0,2,1,2,0,1,0,4,3,4,2,3,2,4,3,4,0,1,0,2,1,2,0,1,0,16,15,16,14,15,14,16,15,16,12,13,12,14,13,14,12,13,12,16
seq $0,332497 ... |
; Copyright © 2021, VideoLAN and dav1d authors
; Copyright © 2021, Two Orioles, LLC
; Copyright © 2021, Matthias Dressel
; 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 s... |
<%
from pwnlib.shellcraft.thumb.linux import syscall
%>
<%page args="name"/>
<%docstring>
Invokes the syscall unlink. See 'man 2 unlink' for more information.
Arguments:
name(char): name
</%docstring>
${syscall('SYS_unlink', name)}
|
Name: zel_mut1.asm
Type: file
Size: 149479
Last-Modified: '2016-05-13T04:36:32Z'
SHA-1: 53F22F18712BA63430F58695F8C3A20A4916B395
Description: null
|
C x86_64/fat/sha1-compress-2.asm
ifelse(<
Copyright (C) 2018 Niels Möller
This file is part of GNU Nettle.
GNU Nettle is free software: you can redistribute it and/or
modify it under the terms of either:
* the GNU Lesser General Public License as published by the Free
Software Foundation; ei... |
.exportzp FC_LOCAL
.exportzp FC_REG
.exportzp FC_STACK
.exportzp FC_FASTCALL_REG
.exportzp L ; TODO: そのうち消すこと
.exportzp reg
.exportzp S
.import interrupt
.import start
.import interrupt_irq
.segment "HEADER"
; +--------+------+------------------------------------------+
; | Offset | Size | Conte... |
/***
*
* Copyright (c) 1996-2001, Valve LLC. All rights reserved.
*
* This product contains software technology licensed from Id
* Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc.
* All Rights Reserved.
*
* Use, distribution, and modification of this source code and/or resulting
* object ... |
#define BOOST_TEST_MODULE "test_get_or"
#ifdef UNITTEST_FRAMEWORK_LIBRARY_EXIST
#include <boost/test/unit_test.hpp>
#else
#define BOOST_TEST_NO_LIB
#include <boost/test/included/unit_test.hpp>
#endif
#include <toml.hpp>
#include <map>
#include <unordered_map>
#include <list>
#include <deque>
#include <array>
#include <... |
title bubbleSortingDSC
include irvine32.inc
.data
tab db 12,9,4,5,7,3,1,8
count EQU ($-tab)
dab db count dup(?)
.code
main proc
mov cx,count
mov si,0
put1:
movsx eax,tab[si]
call writeint
mov al,32
call writechar
inc si
loop put1
mov al,10
call writechar
m... |
title "Injection Thunk Assembly Routine"
;++
;
; Copyright (c) 2017 Trent Nelson <trent@trent.me>
;
; Module Name:
;
; InjectionThunk4.asm
;
; Abstract:
;
; This module implements the injection thunk routine as a NESTED_ENTRY.
;
;--
include ksamd64.inc
;
; Define a home parameter + return address structu... |
_usertests: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
return randstate;
}
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... |
#ifndef _AFJHAYYTA_PYOPENCL_HEADER_SEEN_WRAP_CL_HPP
#define _AFJHAYYTA_PYOPENCL_HEADER_SEEN_WRAP_CL_HPP
// CL 1.2 undecided:
// clSetPrintfCallback
// {{{ includes
#define CL_USE_DEPRECATED_OPENCL_1_1_APIS
// #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
#ifdef __APPLE__
// Mac --------------------------------... |
/**
* Test for the KalmanFilter class with 1D projectile motion.
*
* @author: Hayk Martirosyan
* @date: 2014.11.15
*/
#include <iostream>
#include <iomanip>
#include <vector>
#include <Eigen/Dense>
#include "kalman.hpp"
// to remove
//*****************************************************************************... |
HelpString:
db 'TEST_PPU_READ_BUFFER -- Secret Reference Emulation Mode',13,10
db 'Commandline options:',13,10
db ' /D',9,'Do disassembly trace (note: does not set /T automatically)',13,10
db ' /T',9,'Text only: Do not do graphics mode',13,10
db ' /P',9,'Palette only: No NTSC simulation, no borders, no correct aspe... |
// Copyright (c) 2006 Xiaogang Zhang
// Use, modification and distribution are subject to 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 BOOST_MATH_BESSEL_I0_HPP
#define BOOST_MATH_BESSEL_I0_HPP
#include <boost... |
; A208253: Number of n X 3 0..2 arrays with new values 0..2 introduced in row major order and no element equal to more than one of its immediate leftward or upward neighbors.
; Submitted by Christian Krause
; 5,96,2040,43344,920928,19566912,415737216,8833148160,187677464064,3987573838848,84723785029632,1800122089230336... |
// dllmain.cpp : Defines the entry point for the DLL application.
#include "pch.h"
#include "sdk_stores.h"
#include "telemetry_data.h"
#include "memory_structure.h"
#include "memory.h"
fmod_manager* fmod_manager_instance = nullptr;
telemetry_data_t telemetry_data;
scs_log_t scs_log;
uintptr_t economy_base_offset =... |
#include "mainwindow.h"
#include <QApplication>
#include <QDebug>
#include <QFileDialog>
#include <QKeyEvent>
#include <QMessageBox>
#include <QPixmap>
#include <QRegularExpression>
#include "controller/PolygonController.hpp"
#include "controller/RectController.hpp"
MainWindow::MainWindow(QWidget *parent) : QMainWin... |
; void *heap_alloc_fixed(void *heap, void *p, size_t size)
INCLUDE "clib_cfg.asm"
SECTION code_alloc_malloc
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF __CLIB_OPT_MULTITHREAD & $01
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PUBLIC heap_alloc_fixed
EXTERN asm_heap_alloc_fixed
heap_alloc_fixed:
pop af
pop hl
pop bc
pop d... |
; A189479: Fixed point starting with 0 of the morphism 0->01, 1->101.
; 0,1,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,1,... |
//=================================================================================================
/*!
// \file src/mathtest/smatdmatsub/SCaLDb.cpp
// \brief Source file for the SCaLDb sparse matrix/dense matrix subtraction math test
//
// Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved
//
// This fi... |
; A070346: a(n) = 3^n mod 37.
; 1,3,9,27,7,21,26,4,12,36,34,28,10,30,16,11,33,25,1,3,9,27,7,21,26,4,12,36,34,28,10,30,16,11,33,25,1,3,9,27,7,21,26,4,12,36,34,28,10,30,16,11,33,25,1,3,9,27,7,21,26,4,12,36,34,28,10,30,16,11,33,25,1,3,9,27,7,21,26,4,12,36,34,28,10,30,16,11,33,25,1,3,9,27,7,21,26,4,12,36,34,28,10,30,16,11,... |
; A021122: Decimal expansion of 1/118.
; Submitted by Jon Maiga
; 0,0,8,4,7,4,5,7,6,2,7,1,1,8,6,4,4,0,6,7,7,9,6,6,1,0,1,6,9,4,9,1,5,2,5,4,2,3,7,2,8,8,1,3,5,5,9,3,2,2,0,3,3,8,9,8,3,0,5,0,8,4,7,4,5,7,6,2,7,1,1,8,6,4,4,0,6,7,7,9,6,6,1,0,1,6,9,4,9,1,5,2,5,4,2,3,7,2,8
seq $0,42 ; Unary representation of natural numbers.
mu... |
[bits 64]
section .text
initialize_sse:
mov eax, 1
cpuid
bt edx, 25
jnc .no_sse
mov rax, cr0
btr eax, 2
bts eax, 1
mov cr0, rax
mov rax, cr4
bts eax, 9
bts eax, 10
mov cr4, rax
ret
.no_sse:
ret
initialize_osxsave:
mov eax, 1
cpuid
bt ecx, 26... |
; function formatInteger (var buffer : array of char; i : integer;
; width, flags, base : byte) : byte
; ----------------------------------------------------------------
; This procedure formats an integer for printing.
;
section .code
global _formatInteger
;... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
; Module Name:
;
; InterlockedCompareExchange32.Asm
;
; Abstract:
;
; InterlockedCompareExchange32 fu... |
#################################################################################################
# Disclaimer: #
#################################################################################################
# Made by: Giovanni Sullutrone #
# Date: 8 march 2020 #
#########################... |
.size 8000
.text@48
jp lstatint
.text@100
jp lbegin
.data@143
c0
.text@150
lbegin:
ld b, 98
call lwaitly_b
ld a, 01
ldff(45), a
ld a, 40
ldff(41), a
ld a, 00
ld(8000), a
ld a, 01
ld(c000), a
ld a, c0
ldff(51), a
xor a, a
ldff(52), a
ldff(54), a
ld a, 80
ldff(53), a
xor a, a
ldff(0f), a
ld a, ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.