text stringlengths 1 1.05M |
|---|
; A165326: a(0)=a(1)=1, a(n) = -a(n-1) for n > 1.
; 1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1
trn $0,1
mov $1,-1
pow $1,$0
mov $0,$1
|
;*****************************************************************************
;* x86-optimized functions for yadif filter
;*
;* Copyright (C) 2006 Michael Niedermayer <michaelni@gmx.at>
;* Copyright (c) 2013 Daniel Kang <daniel.d.kang@gmail.com>
;* Copyright (c) 2011-2013 James Darnley <james.darnley@gmail.com>
;*
;* ... |
; wInputType:: ; c2c7
AUTO_INPUT EQU $ff
; wDebugFlags:: ; c2cc
const_def
const DEBUG_BATTLE_F
const DEBUG_FIELD_F
; wCurDexMode:: ; c7d4
const_def
const DEXMODE_NEW
const DEXMODE_OLD
const DEXMODE_ABC
const DEXMODE_UNOWN
; wMonType:: ; cf5f
const_def
const PARTYMON ; 0
const OTPARTYMON ; 1
const BOXMO... |
/*
* CMP.asm
*
* Created: 5/13/2018 3:19:37 PM
* Author: ROTP
*/
CMP_immediate:
swapPCwithTEMPPC
ADIW ZH:ZL, 1
dereferencer r22
cp AR, r22
BRLT CMP_immediate_lt
BREQ CMP_immediate_eq
CMP_immediate_gt:
;AR > R22 => Z = 0, C = 1
CBR SR, ZERO_FLAG
SBR SR, CARRY_FLAG
;JMP CMP_immediate_ret
ADIW ZH:Z... |
;*******************************************************************************
;*
;* ASM_002: LED Intermitente
;*
;*******************************************************************************
;* FileName: main.asm
;* Processor: PIC16F84A
;* Complier: MPASM v5.55
;* Author: ... |
SECTION code_clib
PUBLIC xor_MODE1
.xor_MODE1
defc NEEDxor = 1
INCLUDE "target/spc1000/graphics/pixel_MODE1.inc"
|
/* Copyright 2017 The TensorFlow Authors. 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 applicable law or a... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r8
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x6ed6, %r12
sub $47749, %rax
mov $0x6162636465666768, %rdx
movq %rdx, %xmm2
vmovups %ymm2, (%r12)
nop
nop
add %r13, %r13
lea addresses_A_ht+0x6496, %rsi
lea addresses_D_ht+0x7... |
; A007401: Add n-1 to n-th term of 'n appears n times' sequence (A002024).
; 1,3,4,6,7,8,10,11,12,13,15,16,17,18,19,21,22,23,24,25,26,28,29,30,31,32,33,34,36,37,38,39,40,41,42,43,45,46,47,48,49,50,51,52,53,55,56,57,58,59,60,61,62,63,64,66,67,68,69,70,71,72,73,74,75,76,78,79,80,81,82,83,84,85,86,87,88,89,91,92,93,94,95,... |
; A143157: Partial sums of A091512.
; 0,1,5,8,20,25,37,44,76,85,105,116,152,165,193,208,288,305,341,360,420,441,485,508,604,629,681,708,792,821,881,912,1104,1137,1205,1240,1348,1385,1461,1500,1660,1701,1785,1828,1960,2005,2097,2144,2384,2433,2533,2584,2740,2793,2901,2956,3180,3237,3353,3412,3592,3653,3777,3840,4288,435... |
; A067471: n-th root of A067470(n).
; 1,4,5,6,7,7,8,8,8,8,9,9,9,9,9,9,9,9,9,9,9
mov $1,$0
mul $0,9
div $0,2
mov $3,17
lpb $3
add $2,$1
add $0,$2
sub $3,3
lpe
div $0,2
add $1,2
div $0,$1
add $0,1
|
;
; Copyright (c) 2008-2020 Stefan Krah. All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are met:
;
; 1. Redistributions of source code must retain the above copyright
; notice, this list of conditions ... |
;-----------------------------------------------------------------------------;
; Author: Stephen Fewer (stephen_fewer[at]harmonysecurity[dot]com)
; Compatible: Windows 7, 2003
; Size: 505 bytes
; Build: >build.py single_shell_bind_tcp
;-----------------------------------------------------------------------------;
[BIT... |
#include "gtest/gtest.h"
#include <Core/Matrix/Matrix.hpp>
using namespace CubbyFlow;
TEST(Vector, Constructors)
{
Vector<double, 5> vec1;
EXPECT_DOUBLE_EQ(0.0, vec1[0]);
EXPECT_DOUBLE_EQ(0.0, vec1[1]);
EXPECT_DOUBLE_EQ(0.0, vec1[2]);
EXPECT_DOUBLE_EQ(0.0, vec1[3]);
EXPECT_DOUBLE_EQ(0.0, vec... |
export Com_Clamp
code
proc Com_Clamp 0 0
ADDRFP4 8
ADDRFP4 8
INDIRF4
ASGNF4
ADDRFP4 8
INDIRF4
ADDRFP4 0
INDIRF4
GEF4 $24
ADDRFP4 0
INDIRF4
RETF4
ADDRGP4 $23
JUMPV
LABELV $24
ADDRFP4 8
INDIRF4
ADDRFP4 4
INDIRF4
LEF4 $26
ADDRFP4 4
INDIRF4
RETF4
ADDRGP4 $23
JUMPV
LABELV $26
ADDRFP4 8
INDIRF4
RETF4
LABELV $23
endproc Com_C... |
// RobotBuilder Version: 3.1
//
// This file was generated by RobotBuilder. It contains sections of
// code that are automatically generated and assigned by robotbuilder.
// These sections will be updated in the future when you export to
// C++ from RobotBuilder. Do not put any code or make any change in
// the b... |
/*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... |
// Original test: ./kranz/hw4/problem6/sco_1.asm
// Author: kranz
// Test source code follows
// Original test: ./kranz/hw4/problem6/slu_1.asm
// Author: kranz
//This checks to make sure there is no carry-out generated
lbi r1, 0x10 //expected value in r1 = 16
lbi r2, 1 //expected value in r2 = 1
sco r3, r1, r2 //e... |
; Example of using the CMP and JGE instructions
; Assemble as: nasm -f elf -g cmptst.asm
; Link as: ld -m elf_i386 -o cmptst cmptst.o
section .data
num1 dd '10'
num2 dd '30'
msg1 db "ebx > eax", 0xa
msg2 db "ebx < eax", 0xa
MsgLen equ $-msg2 ;The length of the message
section .text
global _start
... |
adc a,ixh ; Error
adc a,ixl ; Error
adc a,iyh ; Error
adc a,iyl ; Error
adc ixh ; Error
adc ixl ; Error
adc iyh ; Error
adc iyl ; Error
add a,ixh ; Error
add a,ixl ; Error
... |
// Copyright 2017 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/sync/model/model_error.h"
#include "components/sync/model/sync_error.h"
namespace syncer {
ModelError::ModelError(const base::Locat... |
; ===============================================================
; Stefano Bodrato
; ===============================================================
;
; void asm_pop_ei(void)
;
; Pop the ei_di_status from the stack and restore the di/ei
; state to what it was previously when a push was called.
;
; The "ei" in the fun... |
/*
* 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 ... |
#include <qt/test/wallettests.h>
#include <qt/test/util.h>
#include <interfaces/node.h>
#include <qt/bitcoinamountfield.h>
#include <qt/callback.h>
#include <qt/optionsmodel.h>
#include <qt/platformstyle.h>
#include <qt/qvalidatedlineedit.h>
#include <qt/sendcoinsdialog.h>
#include <qt/sendcoinsentry.h>
#include <qt/t... |
; A025840: Expansion of 1/((1-x^3)*(1-x^5)*(1-x^12)).
; 1,0,0,1,0,1,1,0,1,1,1,1,2,1,1,3,1,2,3,1,3,3,2,3,4,3,3,5,3,4,6,3,5,6,4,6,7,5,6,8,6,7,9,6,8,10,7,9,11,8,10,12,9,11,13,10,12,14,11,13,16,12,14,17,13,16,18,14,17,19,16,18,21,17,19,23,18,21,24,19,23,25,21,24,27,23,25,29,24,27,31,25,29,32,27,31,34,29,32,36
mov $3,2
mov... |
<%
from pwnlib.shellcraft.powerpc.linux import syscall
%>
<%page args="mqdes, msg_ptr, msg_len, msg_prio, abs_timeout"/>
<%docstring>
Invokes the syscall mq_timedsend. See 'man 2 mq_timedsend' for more information.
Arguments:
mqdes(mqd_t): mqdes
msg_ptr(char): msg_ptr
msg_len(size_t): msg_len
msg... |
; Compilation: nasm -f elf64 quickXOR.asm -o quickxor; ld -o quickxor quickxor.o
; quickXOR(string, key, len_string, len_key)
; len_key <= 16
; RDI = ptr(string)
; RSI = ptr(key)
; RDX = len_string
; RCX = len_key
; r8 = ptr_for_result
section .text
GLOBAL quickxor
quickxor:
; stack frame and buffer
... |
; void waves_c (
; unsigned char *src,
; unsigned char *dst,
; int m,
; int n,
; int row_size,
; float x_scale,
; float y_scale,
; float g_scale
; );
; Parámetros:
; rdi = src
; rsi = dst
; rdx = m
; rcx = n
; r8 = row_size
; xmm0 = x_scale
; xmm1 = y_scale
; xmm2 = g_scale
%define Tie... |
; ---------------------------------------------------------------------------
; Sprite mappings - doors (SBZ)
; ---------------------------------------------------------------------------
dc.w byte_89FE-Map_obj2A, byte_8A09-Map_obj2A
dc.w byte_8A14-Map_obj2A, byte_8A1F-Map_obj2A
dc.w byte_8A2A-Map_obj2A, byte_8A3... |
; A157474: a(n) = 16n^2 + n.
; 17,66,147,260,405,582,791,1032,1305,1610,1947,2316,2717,3150,3615,4112,4641,5202,5795,6420,7077,7766,8487,9240,10025,10842,11691,12572,13485,14430,15407,16416,17457,18530,19635,20772,21941,23142,24375,25640,26937,28266,29627,31020,32445,33902,35391,36912,38465,40050,41667,43316,44997,4671... |
;
; CPC Maths Routines
;
; August 2003 **_|warp6|_** <kbaccam /at/ free.fr>
;
; $Id: float.asm,v 1.4 2016-06-22 19:50:49 dom Exp $
;
SECTION code_fp
INCLUDE "target/cpc/def/cpcfp.def"
INCLUDE "target/cpc/def/cpcfirm.def"
PUBLIC float
EXTERN int_inv_sgn
PUBLIC floatc
EXTE... |
#include <qt/token.h>
#include <qt/execrpccommand.h>
#include <qt/contractutil.h>
#include <validation.h>
#include <util/moneystr.h>
#include <key_io.h>
#include <util/strencodings.h>
#include <util/convert.h>
#include <qt/eventlog.h>
#include <libethcore/ABI.h>
#include <qt/walletmodel.h>
namespace Token_NS
{
const ... |
<%
from pwnlib.shellcraft.mips.linux import syscall
%>
<%page args="fd, file, oflag, vararg"/>
<%docstring>
Invokes the syscall openat. See 'man 2 openat' for more information.
Arguments:
fd(int): fd
file(char): file
oflag(int): oflag
vararg(int): vararg
</%docstring>
${syscall('SYS_openat',... |
#include <stdio.h>
main()
{
int a,b,c,d;
printf("enter value of a&b&d");
scanf("%d%d%d",&a,&b,&d);
c=a+b+d;
printf("%d",c);
return 0;
}
|
; A110549: Period 8: repeat [1, 2, 4, 3, 3, 4, 2, 1].
; Submitted by Christian Krause
; 1,2,4,3,3,4,2,1,1,2,4,3,3,4,2,1,1,2,4,3,3,4,2,1,1,2,4,3,3,4,2,1,1,2,4,3,3,4,2,1,1,2,4,3,3,4,2,1,1,2,4,3,3,4,2,1,1,2,4,3,3,4,2,1,1,2,4,3,3,4,2,1,1,2,4,3,3,4,2,1,1,2,4,3,3,4,2,1,1,2,4,3,3,4,2,1,1,2,4,3
add $0,1
bin $0,2
mod $0,4
add ... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/iot/model/RetryableFailureType.h>
#include <aws/core/utils/HashingUtils.h>
#include <aws/core/Globals.h>
#include <aws/core/utils/EnumParseOverflowContainer.h>
using namespace Aws::Util... |
use32
org 0h
cld
mov cl, 5
cmp ah, 2
jnz start
mov ax, 8888h
push 0cafebabeh
push 0
push 22h
push 8888h
start:
mov edx, 11223344h
mov edi, [fs:eax+30h]
mov dl, byte [ecx+2]
mov edx, [ecx+2]
mov edx, [ecx+4444h]
mov dx, word [ecx+4444h]
mov ecx, [edx+esi+88h]
mov ecx, [edx+esi-88h]
m... |
/*
* Given a collection of intervals, merge all overlapping intervals.
*
* Example 1:
*
* Input: intervals = [[1,3],[2,6],[8,10],[15,18]]
* Output: [[1,6],[8,10],[15,18]]
* Explanation: Since intervals [1,3] and [2,6] overlaps, merge them into [1,6].
*
* Example 2:
*
* Input: intervals = [[1,4],[4,5]]
* Out... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x15aeb, %rsi
inc %r13
mov (%rsi), %bx
nop
nop
nop
nop
and $13577, %r15
lea addresses_UC_ht+0x1d80b, %rdi
nop
nop
cmp $14447, %rcx
mov $0x6162636465666768, %r9
movq %r9, (%rdi)
nop
nop
no... |
; A156174: Period 5: repeat [1,-1,1,-1,0].
; 1,-1,1,-1,0,1,-1,1,-1,0,1,-1,1,-1,0,1,-1,1,-1,0,1,-1,1,-1,0,1,-1,1,-1,0,1,-1,1,-1,0,1,-1,1,-1,0,1,-1,1,-1,0,1,-1,1,-1,0,1,-1,1,-1,0,1,-1,1,-1,0,1,-1,1,-1,0,1,-1,1,-1,0,1,-1,1,-1,0,1,-1,1,-1,0,1,-1,1,-1,0,1,-1,1,-1,0,1,-1,1,-1,0,1,-1,1,-1,0,1,-1,1,-1,0
mul $0,2
mod $0,5
mov ... |
MODULE generic_console_vpeek
SECTION code_clib
PUBLIC generic_console_vpeek
EXTERN generic_console_font32
EXTERN generic_console_udg32
EXTERN screendollar
EXTERN screendollar_with_count
generic_console_vpeek:
ld hl,-8
add hl,sp
... |
// This file contains the 'main' function. Program execution begins and ends there.
// Requirement: C++17
#include "Core.h"
#include "ItemToolTipBmd.h"
int main(int argc, char** argv)
{
return Convert<ItemToolTipBmd>(argc, argv);
} |
#INCLUDE "MOTO.H"
***************************
* DISC-II *
* 13-SECTOR FORMAT *
* READ AND WRITE *
* SUBROUTINES *
* *
***************************
* *
* *
* COPYRIGHT 1978 *
* APPLE COMPUTER I... |
extern pit_handler
global pit_gate
%macro pushall 0
push eax
push ecx
push ebx
push edx
push edi
push esi
push ebp
%endmacro
%macro popall 0
pop ebp
pop esi
pop edi
pop edx
pop ebx
pop ecx
pop eax
%endmacro
pit_gate:
cli
pushall
push esp
call pit_handler
pop esp
popal... |
; A159528: Numerator of Hermite(n, 15/16).
; Submitted by Christian Krause
; 1,15,97,-2385,-73023,125775,48621345,632724975,-34073850495,-1159018131825,21867803792865,1811560265628975,-3616463755919295,-2836803524344895025,-36534257175323718495,4535538057996196107375,138178844646564481121025,-7216099273077742411088625,... |
.size 8000
.text@48
ei
jp lstatint
.text@100
jp lbegin
.data@143
80
.text@150
lbegin:
ld c, 44
ld b, 90
lbegin_waitvblank:
ldff a, (c)
cmp a, b
jrnz lbegin_waitvblank
ld hl, 8000
xor a, a
ld(hl++), a
ld(hl++), a
ld(hl++), a
ld(hl++), a
ld(hl++), a
ld(hl++), a
ld(hl++), a
ld(hl++), a
ld(hl++), a
... |
; A038585: Write n in binary, delete 0's.
; 1,1,11,1,11,11,111,1,11,11,111,11,111,111,1111,1,11,11,111,11,111,111,1111,11,111,111,1111,111,1111,1111,11111,1,11,11,111,11,111,111,1111,11,111,111,1111,111,1111,1111,11111,11,111,111,1111,111,1111,1111,11111,111,1111,1111,11111,1111,11111,11111,111111,1,11,11,111,11,111,11... |
; A155464: a(n) = 7*a(n-1) - 7*a(n-2) + a(n-3) for n > 2; a(0) = 0, a(1) = 51, a(2) = 340.
; 0,51,340,2023,11832,69003,402220,2344351,13663920,79639203,464171332,2705388823,15768161640,91903581051,535653324700,3122016367183,18196444878432,106056652903443,618143472542260,3602804182350151
add $0,1
mul $0,2
sub $0,1
mov ... |
dnl HP-PA mpn_add_n -- Add two limb vectors of the same length > 0 and store
dnl sum in a third limb vector.
dnl Copyright 1992, 1994, 2000-2002 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it u... |
/// @file jump_position.hpp
#pragma once
#include <boost/optional.hpp>
#include <chrono>
#include "adm/detail/named_option_helper.hpp"
#include "adm/detail/named_type.hpp"
#include "adm/export.h"
namespace adm {
/// @brief Tag for NamedType ::JumpPositionFlag
struct JumpPositionFlagTag {};
/// @brief NamedType... |
public read_timestamp_counter
public cpu_ident
public MandelbrotLineSSE2x64Two
.code
; x64 __fastcall:
;
; RCX: 1st integer argument
; RDX: 2nd integer argument
; R8: 3rd integer argument
; R9: 4th integer argument
;
; XMM0: 1st floating point parameter
; XMM1: 2nd floating point parameter
; XMM2: 3rd floating point ... |
;**************************************************************************
; MSR ECClib, an efficient and secure elliptic curve cryptographic library
;
; Copyright (c) Microsoft Corporation. All rights reserved.
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use these fi... |
;
; Startup for special
module special_crt0
;--------
; Include zcc_opt.def to find out some info
;--------
defc crt0 = 1
INCLUDE "zcc_opt.def"
;--------
; Some scope definitions
;--------
EXTERN _main ;main() is always external to crt0 code
EXTERN asm_im1_hand... |
; A159845: Decimal expansion of (363 + 38*sqrt(2))/359.
; Submitted by Christian Krause
; 1,1,6,0,8,3,5,9,7,5,9,6,1,4,9,7,5,2,6,0,5,7,0,0,3,2,6,3,2,8,6,8,2,0,4,0,9,4,3,0,7,7,3,0,6,7,5,8,8,6,4,6,3,1,4,1,5,2,4,0,6,2,1,1,8,2,0,7,4,6,0,5,6,2,1,6,0,4,4,7,5,6,2,0,1,4,3,3,7,7,8,0,0,6,8,2,5,5,7,0
bin $1,$0
mov $2,2
mov $3,$0
... |
segment .data
zero: dd 0.0
one: dd 1.0
neg1: dd -1.0
a: dd 1.75
b: dd 122.5
d dd 1.1
e dd 10000000000.0
|
//
// immer: immutable data structures for C++
// Copyright (C) 2016, 2017, 2018 Juan Pedro Bolivar Puente
//
// This software is distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt
//
#pragma once
#include <cstddef>
#include <iterato... |
/*
* Enable keypress to stop optimization.
*
* Author: Jason Bunk
* Web page: http://sites.google.com/site/jasonbunk
*
* Copyright (c) 2015 Jason Bunk
* 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... |
;
; This file is automatically generated
;
; Do not edit!!!
;
; djm 12/2/2000
;
; ZSock Lib function: sock_write
XLIB sock_write
LIB no_zsock
INCLUDE "#packages.def"
INCLUDE "#zsock.def"
.sock_write
ld a,r_sock_write
call_pkg(tcp_all)
ret nc
; We failed..are we installed?
cp rc_pnf
scf ;signal error
ret... |
// Copyright (c) 2012-2018 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <util.h>
#include <test/test_veil.h>
#include <string>
#include <vector>
#include <boost/algorithm/string.hpp>
#in... |
; A033033: Numbers all of whose base 7 digits are odd.
; Submitted by Simon Strandgaard
; 1,3,5,8,10,12,22,24,26,36,38,40,57,59,61,71,73,75,85,87,89,155,157,159,169,171,173,183,185,187,253,255,257,267,269,271,281,283,285,400,402,404,414,416,418,428,430,432,498,500,502,512,514,516,526,528,530,596,598,600,610,612,614,624... |
#include "extensions/filters/http/grpc_http1_bridge/http1_bridge_filter.h"
#include <cstdint>
#include <string>
#include <vector>
#include "envoy/http/codes.h"
#include "common/common/enum_to_int.h"
#include "common/common/utility.h"
#include "common/grpc/common.h"
#include "common/http/headers.h"
#include "common/h... |
; A100207: a(n) = 4 + 8*n + 10*n^2 + 4*n^3.
; 4,26,92,226,452,794,1276,1922,2756,3802,5084,6626,8452,10586,13052,15874,19076,22682,26716,31202,36164,41626,47612,54146,61252,68954,77276,86242,95876,106202,117244,129026,141572,154906,169052,184034,199876,216602,234236,252802,272324,292826,314332,336866,360452,385114,4108... |
; A056992: Digital roots of square numbers A000290.
; 1,4,9,7,7,9,4,1,9,1,4,9,7,7,9,4,1,9,1,4,9,7,7,9,4,1,9,1,4,9,7,7,9,4,1,9,1,4,9,7,7,9,4,1,9,1,4,9,7,7,9,4,1,9,1,4,9,7,7,9,4,1,9,1,4,9,7,7,9,4,1,9,1,4,9,7,7,9,4,1,9,1,4,9,7,7,9,4,1,9,1,4,9,7,7,9,4,1,9,1,4,9,7,7,9,4,1,9,1,4,9,7,7,9,4,1,9,1,4,9,7,7,9,4,1,9,1,4,9,7,7,9,4,... |
user/_sh: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <getcmd>:
exit(0);
}
int
getcmd(char *buf, int nbuf)
{
0: 1101 addi sp,sp,-32
2: ec06 sd ra,24(sp)
4: e822 sd s0,16(sp)
6: e426 sd... |
; A021311: Decimal expansion of 1/307.
; Submitted by Jamie Morken(s2.)
; 0,0,3,2,5,7,3,2,8,9,9,0,2,2,8,0,1,3,0,2,9,3,1,5,9,6,0,9,1,2,0,5,2,1,1,7,2,6,3,8,4,3,6,4,8,2,0,8,4,6,9,0,5,5,3,7,4,5,9,2,8,3,3,8,7,6,2,2,1,4,9,8,3,7,1,3,3,5,5,0,4,8,8,5,9,9,3,4,8,5,3,4,2,0,1,9,5,4,3
seq $0,173833 ; 10^n - 3.
div $0,307
mod $0,10
|
// Copyright (c) 2014-2017 The zaap Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "privatesend-client.h"
#include "coincontrol.h"
#include "consensus/validation.h"
#include "core_io.h"
#include "in... |
//////////////////////////////////////////////////////////////////////////////
//
// CLASS - Cloud Loader and ASsembler System
// Copyright (C) 2021 Winor Chen
//
// 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
/... |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#include "stdafx.h"
using nam... |
; A211905: Number of lower triangular n X n arrays colored with integers 0 upwards introduced in row major order, with no element equal to any horizontal or vertical neighbor, and containing the value n(n+1)/2-2.
; 0,2,10,34,86,181,337,575,919,1396,2036,2872,3940,5279,6931,8941,11357,14230,17614,21566,26146,31417,37445... |
Map_7D712: dc.w word_7D718-Map_7D712
dc.w word_7D74A-Map_7D712
dc.w word_7D77C-Map_7D712
word_7D718: dc.w 8
dc.b 8, 9, $60, $38, $FF, $E8
dc.b 8, 9, $60, $3E, 0, 0
dc.b $E8, $E, $40, 0, $FF, $E0
dc.b $E8, $E, $48, 0, 0, 0
dc.b 0, $C, $40, $C, $FF, $E0
dc.b 8, 5, $40, $10, $FF, ... |
; A178733: a(n) = n XOR 7n, where XOR is bitwise XOR.
; Submitted by Jon Maiga
; 0,6,12,22,24,38,44,54,48,54,76,70,88,86,108,102,96,102,108,150,152,134,140,182,176,182,172,166,216,214,204,198,192,198,204,214,216,294,300,310,304,310,268,262,280,278,364,358,352,358,364,342,344,326,332,438
mov $5,$0
mul $5,7
mov $2,$5
mo... |
;--- DOS stub program. It does:
;--- - check if cpu supports PAE feature
;--- - check that image is PE it can handle
;--- - allocates XMS memory and loads the image
;--- - initializes IDT
;--- - setup PAE paging tables (using unreal mode)
;--- - switch to 32-bit protected mode, PAE paging enabled
;--- - init s... |
// Copyright (c) 2011 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 "sandbox/src/service_resolver.h"
#include "base/memory/scoped_ptr.h"
#include "sandbox/src/sandbox_utils.h"
#include "sandbox/src/win_utils.... |
code32
format ELF
public _getSign1
public _getSign2
public _getSign3
public _isNotNegative
public _areSignsOpposite
public _signExtendFromWidth
public _conditionalClearOrSet
public _swapBits
public _hasZeroByte
public _parity
public _getSign164
public _getSign2... |
; A007420: Berstel sequence: a(n+1) = 2*a(n) - 4*a(n-1) + 4*a(n-2).
; Submitted by Jamie Morken(s4)
; 0,0,1,2,0,-4,0,16,16,-32,-64,64,256,0,-768,-512,2048,3072,-4096,-12288,4096,40960,16384,-114688,-131072,262144,589824,-393216,-2097152,-262144,6291456,5242880,-15728640,-27262976,29360128,104857600,-16777216,-335544320... |
; A151712: a(n) = A048883(n) + 1.
; 2,4,4,10,4,10,10,28,4,10,10,28,10,28,28,82,4,10,10,28,10,28,28,82,10,28,28,82,28,82,82,244,4,10,10,28,10,28,28,82,10,28,28,82,28,82,82,244,10,28,28,82,28,82,82,244,28,82,82,244,82,244,244,730,4,10,10,28,10,28,28
mov $3,1
lpb $3
mov $1,$0
mov $2,$0
sub $3,1
mov $4,1
mul $4,... |
/*
* Copyright (C) 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
* Copyright (C) 2008 Collabora Ltd. All rights reserved.
* Copyright (C) 2010 Girish Ramakrishnan <girish@forwardbias.in>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided th... |
/////////////////////////////////////////////////////////////////////////////
// Name: src/motif/radiobox.cpp
// Purpose: wxRadioBox
// Author: Julian Smart
// Modified by:
// Created: 17/09/98
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
///////////////////////////////////////... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2016-2018 The BitcoinReal developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "txdb.h"
#include ... |
; A282285: Least common multiple of 5*n+1 and 5*n-1.
; Submitted by Jon Maiga
; 1,12,99,112,399,312,899,612,1599,1012,2499,1512,3599,2112,4899,2812,6399,3612,8099,4512,9999,5512,12099,6612,14399,7812,16899,9112,19599,10512,22499,12012,25599,13612,28899,15312,32399,17112,36099,19012,39999,21012,44099,23112,48399,25312,5... |
; Mul_and_imul.asm
; Demonstration of the MUL and IMUL instructions
; with 64-bit operands
ExitProcess proto
WriteHex64 proto
Crlf proto
.data
multiplier qword 10h
.code
main proc
sub rsp,28h
; 64-bit DIV example
.data
dividend_hi qword 00000108h
dividend_lo qword 33300020h
divisor qword 00010000h
.code
mo... |
; A025169: a(n) = 2*Fibonacci(2*n+2).
; 2,6,16,42,110,288,754,1974,5168,13530,35422,92736,242786,635622,1664080,4356618,11405774,29860704,78176338,204668310,535828592,1402817466,3672623806,9615053952,25172538050,65902560198,172535142544,451702867434,1182573459758,3096017511840,8105479075762,21220419715446,5555578007057... |
lui $3, 3
ori $2, 10
addu $1, $2, $3
lui $3, 3
ori $2, 10
subu $1, $3, $2
ori $4, 10
ori $5, 10
beq $4, $5 QAQ
ori $6, 10
ori $7, 100
QAQ:
ori $7, 40
sw $7, 0($7)
lw $7, 0($7) |
#include <ctime>
#include <random>
#include <string>
#include <unordered_set>
#include <iostream>
#include <fstream>
#include <type_alias.h>
#include <types.h>
namespace s = std;
namespace R = rlgames;
// generate perfect hash for each player point combination
namespace {
std::default_random_engine& get_default_ran... |
dc.w word_30F8C-Map_HCZCNZDEZDoor
dc.w word_30F9A-Map_HCZCNZDEZDoor
dc.w word_30FB4-Map_HCZCNZDEZDoor
word_30F8C: dc.w 2 ; DATA XREF: ROM:00030F86o
dc.b $E0, $F, 0, 0, $FF, $F0
dc.b 0, $F, 0, 0, $FF, $F0
word_30F9A: dc.w 4 ; DATA XREF: ROM:00030F86o
dc.b $E0, 5, 0, 0, $FF, $F8
dc.b... |
; A334573: Partial sums of A334572.
; 1,2,4,6,7,8,11,14,16,17,19,21,22,23,27,31,33,35,37,39,40,41,44,47,49,52,55,57,58,59,64,69,70,71,73,75,76,77,80,83,84,85,87,89,91,92,96,100,102,104,106,108,111,114,117,120,121,122,124,126,127,129,135,141
mov $1,1
lpb $0
mov $2,$0
sub $0,1
seq $2,334572 ; Let x(n, k) be the ex... |
dnl ARM mpn_addmul_3.
dnl Contributed to the GNU project by Torbjörn Granlund.
dnl Copyright 2013 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of either:
dnl
dnl * the GNU... |
// Copyright 2016 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/eh-frame.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace v8 {
namespace internal {
// Test enabled only on supported archite... |
object_const_def ; object_event constants
const JUBILIFECITY_DAWNLUCAS_PRES
const JUBILIFECITY_LOOKER
const JUBILIFECITY_OBJECT2
const JUBILIFECITY_OBJECT3
const JUBILIFECITY_OBJECT4
const JUBILIFECITY_OBJECT5
const JUBILIFECITY_OBJECT6
const JUBILIFECITY_OBJECT7
const JUBILIFECITY_OBJECT8
const JUBILIFECITY... |
//$Id: ParameterFactory.hpp 9513 2011-04-30 21:23:06Z djcinsb $
//------------------------------------------------------------------------------
// ParameterFactory
//------------------------------------------------------------------------------
// GMAT: General Mission Analysis Tool
//
// Copyr... |
; Like MODE BW80, but faster.
_TEXT segment para public 'CODE'
org 0100h
assume cs:_TEXT,ds:_TEXT,ss:_TEXT
_start proc near
mov ax,2
int 10h
mov ax,4c00h
int 21h
_start endp
_TEXT ends
end _start
|
; A327938: Multiplicative with a(p^e) = p^(e mod p).
; 1,2,3,1,5,6,7,2,9,10,11,3,13,14,15,1,17,18,19,5,21,22,23,6,25,26,1,7,29,30,31,2,33,34,35,9,37,38,39,10,41,42,43,11,45,46,47,3,49,50,51,13,53,2,55,14,57,58,59,15,61,62,63,1,65,66,67,17,69,70,71,18,73,74,75,19,77,78,79,5,3,82,83,21,85,86,87,22,89,90,91,23,93,94,95,6,... |
include ksamd64.inc
EXTERNDEF ?Te@rdtable@CryptoPP@@3PA_KA:FAR
EXTERNDEF ?g_cacheLineSize@CryptoPP@@3IA:FAR
EXTERNDEF ?SHA256_K@CryptoPP@@3QBIB:FAR
.CODE
ALIGN 8
Baseline_Add PROC
lea rdx, [rdx+8*rcx]
lea r8, [r8+8*rcx]
lea r9, [r9+8*rcx]
neg rcx ; rcx is negative index
jz $1@Baseline_A... |
; BSD 3-Clause License
; Copyright (c) 2021, AtieP
; All rights reserved.
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
; 1. Redistributions of source code must retain the above copyright notice, this
; list of co... |
// Copyright (C) 2018 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include <builders/ie_layer_fragment.hpp>
#include <ie_inetwork.hpp>
#include <string>
#include <vector>
namespace InferenceEngine {
namespace Builder {
/**
* @brief The class represents a builder for Eltwise layer
*/
c... |
//@HEADER
// ************************************************************************
//
// Kokkos v. 2.0
// Copyright (2014) Sandia Corporation
//
// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
// the U.S. Government retains certain rights in this softwa... |
#include <ctime>
#include <string>
#include <iostream>
std::string get_greet(const std::string& who)
{
return "Hello " + who;
}
void print_localtime()
{
std::time_t result = std::time(nullptr);
std::cout << std::asctime(std::localtime(&result));
}
int main(int argc, char** argv)
{
std::string who = "world";
... |
;
; PC-8801 specific routines
;
; int set_psg(int reg, int val);
;
; Play a sound by PSG
;
;
; $Id: set_psg.asm $
;
SECTION code_clib
PUBLIC set_psg
PUBLIC _set_psg
EXTERN asm_set_psg
set_psg:
_set_psg:
pop bc
pop de
pop hl
push hl
push de
push bc
jp asm_set_psg
|
; A030640: Discriminant of lattice A_n of determinant n+1.
; 1,1,-3,-2,5,3,-7,-4,9,5,-11,-6,13,7,-15,-8,17,9,-19,-10,21,11,-23,-12,25,13,-27,-14,29,15,-31,-16,33,17,-35,-18,37,19,-39,-20,41,21,-43,-22,45,23,-47,-24,49,25,-51,-26,53,27,-55,-28,57,29,-59
mov $1,$0
add $0,1
dif $0,2
div $1,2
mov $2,-1
pow $2,$1
mul $0,$2... |
;
; This file is part of QBDI.
;
; Copyright 2017 - 2021 Quarkslab
;
; 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 ap... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.