text stringlengths 1 1.05M |
|---|
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x13323, %rsi
lea addresses_UC_ht+0x397f, %rdi
clflush (%rsi)
nop
nop
nop
nop
xor $31277, %r8
mov $121, %rcx
rep movsw
nop
nop
nop
nop
nop
dec %r13
lea addresses_WC_ht+0x12c23, %rax
nop
... |
; A201347: Number of n X 2 0..1 arrays with rows and columns lexicographically nondecreasing and every element equal to at least one horizontal or vertical neighbor.
; 2,4,8,14,23,36,54,78,109,148,196,254,323,404,498,606,729,868,1024,1198,1391,1604,1838,2094,2373,2676,3004,3358,3739,4148,4586,5054,5553,6084,6648,7246,7... |
#include <mscorlib/System/Runtime/CompilerServices/mscorlib_System_Runtime_CompilerServices_YieldAwaitable.h>
#include <mscorlib/System/mscorlib_System_String.h>
#include <mscorlib/System/mscorlib_System_Type.h>
namespace mscorlib
{
namespace System
{
namespace Runtime
{
namespace CompilerServices
{
... |
DEVICE ZXSPECTRUM48
OPT --syntax=F
app_begin:
; Startup handler
ORG #0000
ex de, hl ; EB opcode used by CPLD to determine magic ROM presence
ex de, hl ; ...
jp startup_handler
DB 0,"Sizif Magic ROM",0
; NMI handler
ORG #0066
ex de, hl ; EB opcode used by CPLD to determine magic ROM... |
; ---------------------------------------------------------------------------
; Object 1C - scenery (GHZ bridge stump, SLZ lava thrower)
; ---------------------------------------------------------------------------
Scenery:
moveq #0,d0
move.b obRoutine(a0),d0
move.w Scen_Index(pc,d0.w),d1
jmp Scen_Index(pc,d1.... |
user/_grep: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <matchstar>:
return 0;
}
// matchstar: search for c*re at beginning of text
int matchstar(int c, char *re, char *text)
{
0: 7179 addi sp,sp,-48
2: f406 sd ra,40(sp)
4: f022 ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r9
push %rbp
push %rcx
lea addresses_WT_ht+0x190a8, %r9
clflush (%r9)
nop
nop
nop
nop
nop
sub $30187, %rbp
mov (%r9), %r10w
nop
nop
inc %rcx
pop %rcx
pop %rbp
pop %r9
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r13
push %r... |
C arm/fat/aes-decrypt-internal.asm
ifelse(<
Copyright (C) 2015 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;... |
/* file: batch.cpp */
/*******************************************************************************
* Copyright 2014-2020 Intel Corporation
*
* 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
... |
; A160651: a(n) is the number of triangular nonnegative integers that are each equal to n(n+1)/2 - m(m+1)/2, for some m's where 0 <= m <= n.
; 1,2,2,3,2,2,4,2,4,2,4,4,2,4,2,4,4,2,4,2,3,6,2,8,2,2,4,4,8,2,2,4,2,4,2,2,8,4,4,2,4,8,2,4,4,4,6,2,4,6,2,4,4,6,4,4,4,4,6,4,2,8,4,4,4,2,8,4,4,2,2,6,2,4,4,4,4,4,12,2,4,4,2,4,2,2,8,2,... |
[BITS 16]
; [ORG SEG_CMD]
jmp main
%include "src\const.inc"
%define BUFFER_SIZE 64
msg_cmd db 'MijnOS CMD 2018-05-21', 0Dh, 0Ah, 0
cmd_buffer times BUFFER_SIZE db 0 ; Buffer the user writes to when pressing a key
cmd_fpath times 12 db 020h ; Buffer containing the file name t... |
;
; Old School Computer Architecture - interfacing FLOS
; Stefano Bodrato, 2011
;
; Get pointer to driver table
;
; $Id: get_driver_list.asm,v 1.3 2016/06/22 22:13:09 dom Exp $
;
INCLUDE "flos.def"
SECTION code_clib
PUBLIC get_driver_list
PUBLIC _get_driver_list
get_driver_list:
_get_driver_list:
c... |
INCLUDE \masm32\Irvine\Irvine32.inc
INCLUDELIB \masm32\Irvine\Irvine32.lib
INCLUDELIB \masm32\Irvine\User32.lib
INCLUDELIB \masm32\Irvine\Kernel32.lib
.DATA
; Textos para la Consola
micr = 0Dh
milf = 0Ah
txtn BYTE micr, milf, "Teclee el dato N: ", 0
txtst BYTE "Termino ", 0
txttot BYTE micr, milf, "TOTAL:... |
/***********************************************************************************************************************
Copyright (c) 2021, JOiiNT LAB, Fondazione Istituto Italiano di Tecnologia, Intellimech Consorzio per la Meccatronica.
All rights reserved.
Redistribution and use in source and binary forms, with or... |
; A156595: Fixed point of the morphism 0->011, 1->010.
; 0,1,1,0,1,0,0,1,0,0,1,1,0,1,0,0,1,1,0,1,1,0,1,0,0,1,1,0,1,1,0,1,0,0,1,0,0,1,1,0,1,0,0,1,1,0,1,1,0,1,0,0,1,0,0,1,1,0,1,0,0,1,0,0,1,1,0,1,0,0,1,1,0,1,1,0,1,0,0,1,0,0,1,1,0,1,0,0,1,0,0,1,1,0,1,0,0,1,1,0,1,1,0,1,0
add $0,4
mov $2,$0
mov $4,2
lpb $2
mov $3,$2
add... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x5603, %r8
nop
nop
nop
nop
nop
xor %rdx, %rdx
movw $0x6162, (%r8)
sub %r12, %r12
lea addresses_WC_ht+0x14b1b, %rsi
lea addresses_WC_ht+0x9f1b, %rdi
clflush (%rdi)
nop
add $531... |
extern read,itoa,atoi,write
NULL EQU 0
CR EQU 0DH
LF EQU 0AH
TAB EQU ' '
SP EQU ' '
%macro fgets 2
push %2;length
push %1;buffer
call read
%endmacro
%macro i2a 2
push %1;value
push %2;buffer
call itoa
%endmacro
%macro a2i 2 ;stores res in eax
push %1;length
push %2;buffer
call atoi
%endmacro
%macro puts... |
; da65 V2.18 - Git N/A
; Created: 2020-03-03 14:46:12
; Input file: player.bin
; Page: 1
.setcpu "6502"
L5641 := $5641
jmp L1D9C
jmp L1DDD
dec $03EC
beq L1C2F
L1C0B: lda #$0A
sta $FD
ldx #$00
jsr L1D... |
// Copyright (c) 2006-2008 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 "printing/page_range.h"
#include "base/stl_util-inl.h"
namespace printing {
/* static */
std::vector<int> PageRange::GetPages(const P... |
MY_CODE SEGMENT
;***************************************************************************
ASSUME CS:MY_CODE
PUBLIC video_iniciar, video_finalizar
PUBLIC _punto, _verpunto, _cuadro, _cuadror
PUBLIC _imprimir
;*************************
... |
#include "CreateData.h"
std::map<std::string, Engine::Entity::Item* (*)()> CreateData::items;
std::map<std::string, Engine::Entity::Actor* (*)()> CreateData::actors;
std::map<std::string, Engine::Maps::Node* (*)()> CreateData::nodes;
std::map<std::string, Engine::Maps::Map* (*)()> CreateData::maps;
|
#include "GpioWin.h"
#include "logger.h"
#include <cstdint>
namespace robo
{
void GpioWin::Init() const
{
LogDebug("GpioWin::Init()");
}
void GpioWin::SetAsOutput(uint8_t pin) const
{
LogDebug("PIN: %d set as OUTPUT", pin);
}
void GpioWin::SetAsInput(uint8_t pin) const
{
LogDebug("PIN: %... |
;------------------------------------------------------------------------------ ;
; Copyright (c) 2009 - 2017, 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 distri... |
SECTION code_clib
SECTION code_z80
PUBLIC asm_z80_pop_registers_8080
asm_z80_pop_registers_8080:
; pop the main registers from the stack
; must be called
; uses : af, bc, de, hl
pop hl
pop de
pop bc
pop af
ex (sp),hl
ret
|
; A229853: 384*n + 1.
; 1,385,769,1153,1537,1921,2305,2689,3073,3457,3841,4225,4609,4993,5377,5761,6145,6529,6913,7297,7681,8065,8449,8833,9217,9601,9985,10369,10753,11137,11521,11905,12289,12673,13057,13441,13825,14209,14593,14977,15361,15745,16129,16513,16897,17281,17665,18049,18433,18817,19201,19585,19969,20353,2073... |
; A336932: The 2-adic valuation of A003973(n), the sum of divisors of prime shifted n.
; Submitted by Jamie Morken(w1)
; 0,2,1,0,3,3,2,3,0,5,1,1,1,4,4,0,2,2,3,3,3,3,1,4,0,3,2,2,5,6,1,2,2,4,5,0,1,5,2,6,2,5,4,1,3,3,1,1,0,2,3,1,2,4,4,5,4,7,1,4,2,3,2,0,4,4,3,2,2,7,1,3,4,3,1,3,3,4,2,3,0,4,1,3,5,6,6,4,1,5,3,1,2,3,6,3,1,2,1,0... |
#include "client.h"
#include "ui_client.h"
#include "cameraframegrabber.h"
#include <QCamera>
#include <QCameraViewfinder>
#include <QCameraImageCapture>
ClientMainWindow::ClientMainWindow(QWidget* parent) :
QMainWindow(parent),
ui(new Ui::ClientMainWindow()),
m_camera(new QCamera(this)),
m_cameraFra... |
; A017292: a(n) = (10*n + 1)^12.
; 1,3138428376721,7355827511386641,787662783788549761,22563490300366186081,309629344375621415601,2654348974297586158321,16409682740640811134241,79766443076872509863361,322475487413604782665681,1126825030131969720661201,3498450596935634189769921,9849732675807611094711841,2554203806993626... |
<%
from pwnlib.shellcraft.thumb.linux import syscall
%>
<%page args="pri, fmt, vararg"/>
<%docstring>
Invokes the syscall syslog. See 'man 2 syslog' for more information.
Arguments:
pri(int): pri
fmt(char): fmt
vararg(int): vararg
</%docstring>
${syscall('SYS_syslog', pri, fmt, vararg)}
|
; A212688: Number of (w,x,y,z) with all terms in {1,...,n} and 2|w-x|>=n+|y-z|.
; 0,0,4,14,44,98,200,356,600,940,1420,2050,2884,3934,5264,6888,8880,11256,14100,17430,21340,25850,31064,37004,43784,51428,60060,69706,80500,92470,105760,120400,136544,154224,173604,194718,217740
mov $19,$0
mov $21,$0
lpb $21
clr $0,19
... |
;; encoding: utf-8
;; ff3_poison.asm
;;
;; re-implementation of logics around processing poisonous status
;;
;; version:
;; 0.1.0
;;=================================================================================================
__FF3_BATTLE_SPECIALS_INCLUDED__
.ifdef _FIX_REFLECTION
;-------------------... |
Component_type equ 0
Component_image equ 4
Component_x equ 8
Component_y equ 12
Component_w equ 16
Component_h equ 20
Component_nextLinked equ 24
Component_upperRenderFlag equ 28
Component_transparent equ 32
Component_renderFunc equ 36
Component_mouseHandlerFunc equ 40
Component_keyHandlerFunc ... |
/*
* Copyright (c) 2014, Oculus VR, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
... |
#include <tiramisu/tiramisu.h>
using namespace tiramisu;
int main(int argc, char **argv)
{
tiramisu::init("test_141");
var i("i", 0, 100), j("j", 0, 200);
input A({i, j}, p_uint8);
computation B({i, j}, 2 * A(i, j));
tiramisu::codegen({A.get_buffer(), B.get_buffer()}, "build/generated_fct_test_... |
; void *p_forward_list_front(p_forward_list_t *list)
SECTION code_adt_p_forward_list
PUBLIC p_forward_list_front
p_forward_list_front:
INCLUDE "adt/p_forward_list/z80/asm_p_forward_list_front.asm"
|
//
// Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.20714
//
//
///
// Buffer Definitions:
//
// cbuffer $Globals
// {
//
// float angle; // Offset: 0 Size: 4
//
// }
//
//
// Resource Bindings:
//
// Name Type Format Dim Slot Elements... |
#include once <stackf.asm>
ATAN: ; Computes ATAN using ROM FP-CALC
call __FPSTACK_PUSH
rst 28h ; ROM CALC
defb 24h ; ATAN
defb 38h ; END CALC
jp __FPSTACK_POP
|
Route16_MapScripts:
db 0 ; scene scripts
db 1 ; callbacks
callback MAPCALLBACK_NEWMAP, .AlwaysOnBike
.AlwaysOnBike:
readvar VAR_YCOORD
ifless 5, .CanWalk
readvar VAR_XCOORD
ifgreater 13, .CanWalk
setflag ENGINE_ALWAYS_ON_BIKE
return
.CanWalk:
clearflag ENGINE_ALWAYS_ON_BIKE
return
CyclingRoadSign:
jumpt... |
// Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Including type: OVRPlugin
#include "GlobalNamespace/OVRPlugin.hpp"
// I... |
; A070535: a(n) = n^4 mod 18.
; 0,1,16,9,4,13,0,7,10,9,10,7,0,13,4,9,16,1,0,1,16,9,4,13,0,7,10,9,10,7,0,13,4,9,16,1,0,1,16,9,4,13,0,7,10,9,10,7,0,13,4,9,16,1,0,1,16,9,4,13,0,7,10,9,10,7,0,13,4,9,16,1,0,1,16,9,4,13,0,7,10,9,10,7,0,13,4,9,16,1,0,1,16,9,4,13,0,7,10,9,10,7,0,13,4,9,16,1,0,1,16,9,4,13,0,7,10,9,10,7,0,13,4,9... |
// Copyright 2014 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/ozone/platform/drm/common/drm_util.h"
#include <drm_fourcc.h>
#include <stdint.h>
#include <stdlib.h>
#include <sys/mman.h>
#include <xf86dr... |
.MODEL SMALL
.STACK 100H
.DATA
PROMPT_1 DB "Enter Number 1: $"
PROMPT_2 DB 0AH, 0DH, "Enter Number 2: $"
PROMPT_3 DB 0AH, 0DH, "Sum: $"
.CODE
MAIN PROC
MOV AX, @DATA
MOV DS, AX
LEA DX, PROMPT_1
MOV AH, 09H
INT 21H
MOV AH, 01... |
equip_swap_stick:
la t2, SAVE_CONTEXT
lw t2, 0x04(t2) ; Link age
beqz t2, @@adult ; Load empty display list if adult
nop
lui t2, hi(0x06006CC0) ; Load child stick display list
b @@return
addiu t2, t2, lo(0x06006CC0)
@@adult:
la t2, empty_dlist
@@return:
j... |
.data
h: .word 25
A: .word 0-100
size: .word 100
.text
lw $s2, h
#initializing A[8] to 200
li $t1, 200
la $s3, A
sw $t1, 32($s3)
#A[12] = h + A[8]
lw $t0, 32($s3)
add $t0, $s2, $t0
sw $t0, 48($s3) |
// Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "optee-message.h"
#include <endian.h>
#include <string.h>
#include <limits>
#include <memory>
#include "optee-util.h"
namespace optee {
names... |
; Hook initialization in oCGame::CallScriptInit
; In Gothic 1 there is no Init_Global, instead call AFTER Init_[World]
%include "inc/macros.inc"
%if GOTHIC_BASE_VERSION == 1
%include "inc/symbols_g1.inc"
%elif GOTHIC_BASE_VERSION == 2
%include "inc/symbols_g2.inc"
%endif
%ifidn __OUTPUT_FORMAT__, bin
org... |
#ifndef MDL_TOOLS_ANSI_WRAPPER_HPP
#define MDL_TOOLS_ANSI_WRAPPER_HPP
#include <ostream>
class AnsiWrapper {
public:
/**
* @brief Constructor
*
* @param stream The stream to be wrapped
**/
AnsiWrapper(std::ostream & stream);
/**
* @brief List of colors
**/
enum class Color {
Black,
R... |
.global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x1984d, %rdx
nop
and %rax, %rax
movb (%rdx), %bl
nop
nop
nop
mfence
lea addresses_WT_ht+0x1644d, %r8
nop
sub $10978, %rsi
mov (%r8), %r15d
nop
nop
nop
nop
add %rbx, %rbx
lea a... |
SECTION code_clib
SECTION code_fp_math48
PUBLIC am48_dmulpow2
EXTERN am48_derror_znc, am48_derror_erange_infc
am48_dmulpow2:
; multiply AC' by a power of two
; AC' *= 2^(HL)
;
; enter : AC'= double x
; HL = signed integer
;
; exit : success
;
; AC'= x * 2^(HL)
; ... |
Map_2CEBA: dc.w word_2CEC8-Map_2CEBA
dc.w word_2CED0-Map_2CEBA
dc.w word_2CEC0-Map_2CEBA
word_2CEC0: dc.w 1
dc.b $F4, 6, 0, 0, $FF, $F8
word_2CEC8: dc.w 1
dc.b $F8, 5, 0, 6, $FF, $F8
word_2CED0: dc.w 1
dc.b $F8, 5, 0, $A, $FF, $F8
|
#include <cstdio>
#include "Ex1.3.h"
void Ex1_3::Start()
{
char str[120];
printf("Write the text:\n");
scanf("%s[^\n]",str);
int key = -1;
printf("Write the number:\n");
scanf("%d",&key);
printf("Result: ");
char* out = strchr(str,key);
}
char* Ex1_3::strchr(const char* s,int c)
{
... |
; ---------------------------------------------------------------------------
; Animation script - Sonic on the continue screen
; ---------------------------------------------------------------------------
AniScript_CSon: dc.w A_CSon_1-AniScript_CSon
A_CSon_1: dc.b 4, 1, 1, 1, 1, 2, 2, 2, 3, 3, afEnd
even |
;/****************************************************************************
; *
; * XVID MPEG-4 VIDEO CODEC
; * - SSE2 CBP computation -
; *
; * Copyright (C) 2002 Daniel Smith <danielsmith@astroboymail.com>
; * 2002 Pascal Massimino <skal@planet-d.net>
; *
; * This program is free software ; you ... |
;;;
; Adds a command into the console log
;
; params:
; str_input - The input string (what the user typed)
; str_output - The output string (The command response)
;;;
proc ConsoleAddCommand, str_input:QWORD, str_output:QWORD
mov [str_input], rcx
mov [str_output], rdx
fastcall StringClon... |
; A173773: a(3*n) = 8*n+2, a(3*n+1) = 2*n+1, a(3*n+2) = 8*n+6.
; Submitted by Jon Maiga
; 2,1,6,10,3,14,18,5,22,26,7,30,34,9,38,42,11,46,50,13,54,58,15,62,66,17,70,74,19,78,82,21,86,90,23,94,98,25,102,106,27,110,114,29,118,122,31,126,130,33,134,138,35,142,146,37,150,154,39,158
mul $0,4
add $0,3
div $0,3
mul $0,2
dif $... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2016-2017 The PIVX developers
// Copyright (c) 2017 The litegenx developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license... |
BITS 32
; XOR [ESP], ESI and XOR ESI, [ESP] can be encoded in two ways, one of which is
; alphanumeric. NASM chooses the wrong one, which is why we have these:
%define xor_esp_esi db 0x31, 0x34, 0x64
%define xor_esi_esp db 0x33, 0x34, 0x64
start:
PUSH 0x40404040
; IMUL ESI, [ESP], 0x40
db ... |
; SORT.asm
;
; Made by Martin Warmer, mmartin@xs4all.nl
; Modified for ez80 architechure and hidden programs by Matt Waltz
;
; Uses insertion sort to sort the VAT alphabettically.
; This is a lot faster than sorting during runtime.
sort:
res firstprog,(iy+asm_Flag1)
ld hl,(progptr)
sort_next:
call find... |
; A081659: a(n) = n + Fibonacci(n+1).
; 1,2,4,6,9,13,19,28,42,64,99,155,245,390,624,1002,1613,2601,4199,6784,10966,17732,28679,46391,75049,121418,196444,317838,514257,832069,1346299,2178340,3524610,5702920,9227499,14930387,24157853,39088206,63246024,102334194,165580181,267914337,433494479,701408776,1134903214,183631194... |
MOV 0xD0,#0x00
MOV R0,#0x00
MOV R1,#0x01
MOV R2,#0x02
MOV R3,#0x03
MOV R4,#0x04
MOV R5,#0x05
MOV R6,#0x06
MOV R7,#0x07
MOV 0xD0,#0x08
MOV R0,#0x08
MOV R1,#0x09
MOV R2,#0x0A
MOV R3,#0x0B
MOV R4,#0x0C
MOV R5,#0x0D
MOV R6,#0x0E
MOV R7,#0x0F
MOV 0xD0,#0x10
MOV R0,#0x10
MOV R1,#0x11
MOV R2,#0x12
MOV R3,#0x13
MOV R4,#0x14... |
/*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... |
;Finding largest and smallest strings
section .data
newline :db 10
space :db ' '
msg1 : db "Enter String : "
size1 : equ $-msg1
msg2 : db "Largest Strings : ",10
size2 : equ $-msg2
msg3 : db "Smallest Strings : ",10
size3 : equ $-msg3
section .bss
string1 : resb 200
string_search... |
SECTION code_adt_wa_priority_queue
PUBLIC __wa_pq_setsize
EXTERN __ba_pq_setsize, error_zc
__wa_pq_setsize:
; set the queue size as long as it remains <= queue.capacity
;
; enter : hl = queue *
; de = n = desired size in words
;
; exit : success
;
; de = n*2 = size in by... |
/*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... |
#include <iostream>
#include <ostream>
#include <toppra/geometric_path/piecewise_poly_path.hpp>
#include <toppra/toppra.hpp>
#include <Eigen/Dense>
#include <array>
#ifdef TOPPRA_OPT_MSGPACK
#include <msgpack.hpp>
#endif
namespace toppra {
Matrix differentiateCoefficients(const Matrix &coefficients) {
Matrix deriv... |
// Copyright (c) 2011-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include "config/bitcoin-config.h"
#endif
#include "addressbookpage.h"
#include "ui_addressbookpa... |
SFX_Cry1C_3_Ch4:
dutycycle 245
squarenote 7, 13, 6, 2017
squarenote 6, 12, 6, 2018
squarenote 9, 13, 6, 2017
squarenote 7, 12, 6, 2016
squarenote 5, 11, 6, 2018
squarenote 7, 12, 6, 2017
squarenote 6, 11, 6, 2016
squarenote 8, 10, 1, 2015
endchannel
SFX_Cry1C_3_Ch5:
dutycycle 68
squarenote 6, 12, 3, 1993
... |
_wc: file format elf32-i386
Disassembly of section .text:
00001000 <wc>:
char buf[512];
void
wc(int fd, char *name)
{
1000: 55 push %ebp
1001: 89 e5 mov %esp,%ebp
1003: 83 ec 48 sub $0x48,%esp
int i, n;
int l, w, c, inword;
l = w = c =... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2019 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... |
/*
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2011 The PHP Group |
+--------------... |
//--------------------------------------------------------------------------
// Code generated by the SmartSoft MDSD Toolchain
// The SmartSoft Toolchain has been developed by:
//
// Service Robotics Research Center
// University of Applied Sciences Ulm
// Prittwitzstr. 10
// 89075 Ulm (Germany)
//
// Information abo... |
<%
from pwnlib.shellcraft.arm.linux import syscall
%>
<%page args="idtype, id, infop, options"/>
<%docstring>
Invokes the syscall waitid. See 'man 2 waitid' for more information.
Arguments:
idtype(idtype_t): idtype
id(id_t): id
infop(siginfo_t): infop
options(int): options
</%docstring>
${sys... |
; A030821: [ exp(8/23)*n! ].
; Submitted by Jon Maiga
; 1,2,8,33,169,1019,7136,57092,513832,5138329,56521628,678259545,8817374087,123443237218,1851648558279,29626376932478,503648407852135,9065671341338443,172247755485430423,3444955109708608469
add $0,1
mov $2,1
lpb $0
mul $1,8
mul $2,$0
sub $0,1
add $1,2
div... |
;------------------------------------------------------------------------------
;
; 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... |
SFX_Cry1A_2_Ch4:
dutycycle 240
squarenote 6, 15, 7, 1856
squarenote 12, 14, 6, 1860
squarenote 6, 13, 5, 1872
squarenote 4, 12, 3, 1888
squarenote 3, 12, 3, 1920
squarenote 8, 13, 1, 1952
endchannel
SFX_Cry1A_2_Ch5:
dutycycle 10
squarenote 6, 12, 7, 1793
squarenote 11, 11, 6, 1794
squarenote 6, 10, 5, 180... |
// Copyright (c) 2011-2016, NVIDIA 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 source code must retain the above copyright
// notice, this list of con... |
// Copyright (c) 2011-2012 The ICCCOIN developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "sync.h"
#include "util.h"
#include <boost/foreach.hpp>
#ifdef DEBUG_LOCKCONTENTION
void PrintLockContention(const ... |
/*
* Copyright (c) 2009-2011 Hazard (hazard_x@gmx.net / twitter.com/HazardX)
*
* 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
* ... |
/* ************************************************************************
* Copyright (C) 2016-2022 Advanced Micro Devices, Inc. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* ... |
; A083582: a(n) = (8*2^n-5*(-1)^n)/3.
; Submitted by Jamie Morken(s2)
; 1,7,9,23,41,87,169,343,681,1367,2729,5463,10921,21847,43689,87383,174761,349527,699049,1398103,2796201,5592407,11184809,22369623,44739241,89478487,178956969,357913943,715827881,1431655767,2863311529,5726623063,11453246121,22906492247,45812984489,91... |
/***********************************************************************************************************************
* OpenStudio(R), Copyright (c) 2008-2017, Alliance for Sustainable Energy, LLC. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are perm... |
SECTION code_driver
SECTION code_driver_terminal_output
PUBLIC zx_01_output_fzx_tty_z88dk_21_foreground_attr
zx_01_output_fzx_tty_z88dk_21_foreground_attr:
; change foreground colour
; de = parameters *
ld a,(de)
ld (ix+52),a
ret
|
; uchar __CALLEE__ *zx_cyx2aaddr_callee(uchar row, uchar col)
; Stefano, 2014.12
SECTION code_clib
PUBLIC zx_cyx2aaddr_callee
PUBLIC _zx_cyx2aaddr_callee
PUBLIC ASMDISP_ZX_CYX2AADDR_CALLEE
EXTERN HRG_LineStart
.zx_cyx2aaddr_callee
._zx_cyx2aaddr_callee
pop hl
pop de
ex (sp),hl
ld h,l
ld l,e
.asmentry... |
; A345071: Sums of two consecutive odd-indexed primes.
; 7,16,28,40,54,72,88,106,126,140,156,180,200,212,236,264,286,306,324,346,370,388,408,438,460,474,498,526,546,560,590,620,644,678,700,720,746,768,790,820,850,870,888,910,928,954,986,1008,1032,1070,1110,1134,1158,1186,1206
mul $0,2
mov $2,$0
add $0,2
seq $0,40 ; Th... |
; A191641: a(n) = floor((1 + 4^n)/(1 + 4*n)).
; 1,1,5,15,48,163,565,1985,7085,25575,93206,342392,1266205,4709393,17602325,66076419,248983611,941362695,3569842947,13574217626,51741723660,197665011735,756653163200,2901803883615,11147523830125,42891425022576,165269711096165,637677823344495,2463507488476168,952827689757724... |
#pragma once
#include <string>
#include "cassandra.h"
#include "value_converters/value_retriever.hh"
namespace scmd {
class query_result {
const CassResult *_result;
CassIterator *_iterator;
const CassRow *_row;
public:
explicit query_result(const CassResult *res);
// We can't really copy this ... |
0D00 97
0D01 06 13
0D03 0E 27
0D05 80
0D06 81
0D07 76
|
; ===============================================================
; Jan 2014
; ===============================================================
;
; int fseek_unlocked(FILE *stream, long offset, int whence)
;
; Move to new position in file indicated by the signed value
; offset.
;
; If whence is:
;
; STDIO_SEEK_SET (0)... |
ADD R0 R0 3
ADD R1 R0 R0
TRAP x25 |
device zxspectrum48
org $C000 ; must be in last 16k as I'm using all-RAM mapping for Layer2
INCLUDE "../../Constants.asm"
INCLUDE "../../Macros.asm"
INCLUDE "../../TestFunctions.asm"
INCLUDE "../../TestData.asm"
INCLUDE "../../OutputFunctions.asm"
; ULA white $B601 (%101 per... |
section .text
global _platform_vmcall
_platform_vmcall:
push rbx
push rdi
push rsi
push r12
push r13
push r14
push r15
mov rdi, rcx
mov rax, [rdi + 00h]
mov rdx, [rdi + 08h]
mov rcx, [rdi + 10h]
mov rbx, [rdi + 18h]
mov rsi, [rdi + 20h]
mov r8, [rdi + 28h]
... |
// Copyright 2012 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of ... |
.macosx_version_min 10, 12
.section __TEXT,__text,regular,pure_instructions
.align 4, 0x90
.globl _exclude_add_pattern_buffer
_exclude_add_pattern_buffer:
pushl %ebp
movl %esp, %ebp
pushl %edi
pushl %esi
subl $16, %esp
movl 8(%ebp), %esi
movl 12(%ebp), %edi
movl $8... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x86aa, %r12
nop
nop
nop
nop
nop
inc %rdi
mov (%r12), %si
nop
nop
nop
nop
dec %r8
lea addresses_A_ht+0x110e4, %rsi
lea addresses_normal_ht+0xac4a, %rdi
nop
nop
nop
nop
inc ... |
; A202654: Number of ways to place 3 nonattacking semi-queens on an n X n board.
; 0,0,3,52,370,1620,5285,14168,33012,69240,133815,242220,415558,681772,1076985,1646960,2448680,3552048,5041707,7018980,9603930,12937540,17184013,22533192,29203100,37442600,47534175,59796828,74589102,92312220,113413345,138388960,167788368,2... |
; A045928: The generalized Connell sequence C_{3,2}.
; 1,2,5,8,9,12,15,18,21,22,25,28,31,34,37,40,41,44,47,50,53,56,59,62,65,66,69,72,75,78,81,84,87,90,93,96,97,100,103,106,109,112,115,118,121,124,127,130,133,134,137,140,143,146,149,152,155,158,161,164,167,170,173,176,177,180,183,186,189,192,195,198,201,204,207,210,213... |
; A309675: a(n) = 4^n^2 + n!.
; Submitted by Jon Maiga
; 2,5,258,262150,4294967320,1125899906842744,4722366482869645214416,316912650057057350374175806384,340282366920938463463374607431768251776,5846006549323611672814739330865132078623730534784,1606938044258990275541962092341162602522202993782792838930176
mov $1,2
pow ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x183e, %r14
nop
nop
nop
cmp %r15, %r15
movb (%r14), %r12b
nop
nop
dec %rsi
lea addresses_UC_ht+0xa1fe, %r15
nop
nop
nop
and $51364, %rbx
movl $0x61626364, (%r15)
nop
nop
cmp ... |
; A142232: Primes congruent to 35 mod 41.
; Submitted by Jon Maiga
; 199,281,691,773,937,1019,1429,1511,2003,2659,2741,3643,3889,4217,4463,5119,5693,5857,5939,6841,7333,7907,8317,8563,9137,9547,9629,10039,10531,10613,10859,11351,11597,12007,12253,13729,14057,14221,14303,14549,14713,15287,15451,16189,16763,16927,17419,1... |
.global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r8
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x16d83, %r15
nop
nop
nop
nop
nop
and $33200, %r8
mov $0x6162636465666768, %rdx
movq %rdx, (%r15)
nop
dec %rax
lea addresses_A_ht+0xd7c3, %r9
xor %rsi, %rsi
movups (%r9... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.