text stringlengths 1 1.05M |
|---|
_ln: 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
if(argc != 3){
7: 83 39 03 cmpl $0x3,(%ecx)... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xfb9b, %rsi
lea addresses_normal_ht+0x13c9b, %rdi
nop
sub $39663, %rbp
mov $11, %rcx
rep movsl
add $27050, %rsi
lea addresses_UC_ht+0x629b, %rsi
lea addresses_normal_ht+0xb98b, %rdi
nop... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r8
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x197b6, %r13
mfence
mov (%r13), %edx
sub $1493, %rax
lea addresses_WC_ht+0x19fc0, %r11
nop
inc %rcx
vmovups (%r11), %ymm1
vextracti128 $1, %ymm1, %xmm1
vpextrq $1, %... |
SECTION code_crt0_sccz80
PUBLIC l_mult
; HL = DE * HL [signed]
l_mult:
ccmul: LD b,h
LD c,l
LD HL,0
ccmul1: LD a,c
RRCA
JP NC,ccmul2
ADD HL,DE
ccmul2: XOR a
LD a,b
RRA
LD b,a
LD a,c
RRA
... |
.MODEL SMALL
.STACK 100H
.DATA
PROMPT DB 'ENTER THE BINARY NUM:$'
MSG DB 0DH, 0AH, 'GIVEN BINARY NUM IN REV ORDER:$'
.CODE
MAIN PROC
MOV AX,@DATA
MOV DS,AX
LEA DX, PROMPT
MOV AH, 9
INT 21H
XOR BL,BL
MOV CX,8
MOV AH,1 ... |
; A105747: Number of ways to use the elements of {1,..,k}, 0<=k<=2n, once each to form a collection of n (possibly empty) lists, each of length at most 2.
; Submitted by Jamie Morken(s4)
; 1,4,23,216,2937,52108,1136591,29382320,877838673,29753600404,1127881002535,47278107653768,2171286661012617,108417864555606300,58478... |
// Original test: ./rbatterm/hw4/problem6/xori_2.asm
// Author: rbatterm
// Test source code follows
// test imm zero, reg ones
lbi r2, 0 //00000
xori r1, r2, 31 //11111
halt //= 11111
|
;
; ANSI Video handling for the Commodore 128 (Z80 mode)
; By Stefano Bodrato - 22/08/2001
;
; 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.5 2016/04/04 18:31:22 dom Exp $
;
SECTION... |
; ---------------------------------------------------------------------------
; 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, byt... |
///////////////////////////////////////////////////////////////////////////////
// BSD 3-Clause License
//
// Copyright (c) 2021, Institut de Robotica i Informatica Industrial (CSIC-UPC)
// All rights reserved.
///////////////////////////////////////////////////////////////////////////////
#ifndef EAGLE_MPC_TRAJECTORY... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r13
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1115d, %r10
nop
nop
nop
nop
add $12886, %rsi
mov $0x6162636465666768, %r12
movq %r12, %xmm0
movups %xmm0, (%r10)
nop
cmp $29020, %rbp
lea addresses_D_ht+0x765d, %r13... |
//*****************************************************************************
// Copyright 2017-2019 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
//
// http://w... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifdef HAVE_CONFIG_H
#include "config/bitdollar-config.h"
#endif
#include "netad... |
MOV A,#00H
MOV 10H,#10B
MOV 11H,#10
MOV 12H,#10H
MOV R0,#10H
ADD A,R0
ADD A,@R0
INC R0
ADD A,R0
ADD A,@R0
INC R0
ADD A,R0
ADD A,@R0 |
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r14
push %r8
push %rbx
push %rcx
// Faulty Load
lea addresses_PSE+0x1d241, %r11
clflush (%r11)
nop
nop
nop
nop
dec %r14
movups (%r11), %xmm1
vpextrq $0, %xmm1, %rbx
lea oracles, %r11
and $0xff, %rbx
shl... |
COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: CommonUI/CSpec
FILE: cspecAppDocumentControl.asm
ROUTINES:
Name Description
---- -----------
GLB OLBuildAppDocumentControl Convert a gener... |
#include <bits/stdc++.h>
#define int long long
#define For(i,a,b) for(int i=a;i<=b;i++)
using namespace std;
const int N=200005;
int t, n, m;
struct node {
int at, w, id;
} x[N];
bool cmp(node a, node b) {return a.w<b.w;}
bool cmp2(node a, node b) {return a.at<b.at;}
signed main() {
cin>>t;
while(t--) {
... |
db 0 ; species ID placeholder
db 70, 20, 50, 40, 20, 50
; hp atk def spd sat sdf
db WATER, FAIRY ; type
db 190 ; catch rate
db 88 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 20 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/marill/fro... |
GLOBAL enterCritRegion
GLOBAL leaveCritRegion
enterCritRegion:
mov al,1
XCHG al,[rdi]
CMP al,0
JNE enterCritRegion
RET
leaveCritRegion:
mov [rdi], BYTE 0
RET |
; A171089: a(n) = 2*(Lucas(n)^2 - (-1)^n)).
; 6,4,16,34,96,244,646,1684,4416,11554,30256,79204,207366,542884,1421296,3720994,9741696,25504084,66770566,174807604,457652256,1198149154,3136795216,8212236484,21499914246,56287506244,147362604496,385800307234,1010038317216,2644314644404,6922905616006,18124402203604,474503009... |
// =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All right reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of th... |
; $Id: CPUMRCA.asm $
;; @file
; CPUM - Raw-mode Context Assembly Routines.
;
;
; Copyright (C) 2006-2017 Oracle Corporation
;
; This file is part of VirtualBox Open Source Edition (OSE), as
; available from http://www.virtualbox.org. This file is free software;
; you can redistribute it and/or modify it under the term... |
###############################################################################
# Copyright 2019 Intel Corporation
# All Rights Reserved.
#
# If this software was obtained under the Intel Simplified Software License,
# the following terms apply:
#
# The source code, information and material ("Material") containe... |
; A153339: Number of zig-zag paths from top to bottom of a rectangle of width 5 with n rows whose color is that of the top right corner
; 3,4,8,12,24,36,72,108,216,324,648,972,1944,2916,5832,8748,17496,26244,52488,78732,157464,236196,472392,708588,1417176,2125764,4251528,6377292,12754584,19131876,38263752,57395628,1147... |
// Copyright (c) 2014-2017 The Dash Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "activemasternode.h"
#include "instantx.h"
#include "key.h"
#include "validation.h"
#include "masternode-sync.h"
#i... |
/*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty o... |
; A003148: a(n+1) = a(n) + 2n*(2n+1)*a(n-1), with a(0) = a(1) = 1.
; Submitted by Jamie Morken(s4)
; 1,1,7,27,321,2265,37575,390915,8281665,114610545,2946939975,51083368875,1542234996225,32192256321225,1114841223671175,27254953356505875,1064057291370698625,29845288035840902625,1296073464766972266375,4104999712850705456... |
; A112414: 3n+7.
; 7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,58,61,64,67,70,73,76,79,82,85,88,91,94,97,100,103,106,109,112,115,118,121,124,127,130,133,136,139,142,145,148,151,154,157,160,163,166,169,172,175,178,181,184
mul $0,3
add $0,7
|
.size 8000
.text@48
jp lstatint
.text@100
jp lbegin
.data@143
c0
.text@150
lbegin:
ld b, 97
call lwaitly_b
ld a, 99
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, ... |
/*
* Copyright (c) 2020-2022, NVIDIA 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... |
; A095694: T(n,3) diagonal of triangle in A095693.
; Submitted by Jon Maiga
; 1,22,130,485,1400,3416,7392,14610,26895,46750,77506,123487,190190,284480,414800,591396,826557,1134870,1533490,2042425,2684836,3487352,4480400
add $0,3
mov $1,$0
bin $0,2
bin $0,3
bin $1,4
mul $1,2
add $1,$0
mov $0,$1
|
; A048695: Generalized Pellian with second term equal to 8.
; 1,8,17,42,101,244,589,1422,3433,8288,20009,48306,116621,281548,679717,1640982,3961681,9564344,23090369,55745082,134580533,324906148,784392829,1893691806,4571776441,11037244688
lpb $0,1
sub $0,1
add $5,1
mov $2,$5
add $2,5
mov $3,$2
add $3,3
mo... |
; Verified:
; 2021-10-21 pass: CPU CGB E - CPU-CGB-06
; 2021-10-21 fail: CPU CGB B - CPU-CGB-02
; 2021-10-21 fail: DMG-CPU C (blob) - DMG-CPU-08
;
INCLUDE "hardware.inc"
DEF CART_COMPATIBILITY EQU CART_COMPATIBLE_DMG
DEF CART_REQUIRES_NON_CGB_MODE EQU 1
DEF EXTEND_L99 EQU 1
INCLUDE "ly/ly.inc"
|
// Copyright (c) 2018-2021 Pocketnet developers
// Distributed under the Apache 2.0 software license, see the accompanying
// https://www.apache.org/licenses/LICENSE-2.0
#include "pocketdb/repositories/ChainRepository.h"
namespace PocketDb
{
void ChainRepository::IndexBlock(const string& blockHash, int height, ve... |
_grep: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
}
}
int
main(int argc, char *argv[])
{
0: f3 0f 1e fb endbr32
4: 8d 4c 24 04 lea 0x4(%esp),%ecx
8: 83 e4 f0 and $0xfffffff0,%esp
b: ff 71 fc pushl -0x4(%ecx)
e: 55... |
#include <system/memory_stream_buffer.h>
namespace gef
{
MemoryStreamBuffer::MemoryStreamBuffer(char* buffer, size_t size)
{
setg(buffer, buffer, buffer + size);
setp(buffer, buffer + size);
}
}
|
// Copyright 2010-2016, Google Inc.
// 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 condit... |
; A006152: Exponential generating function x*exp(x/(1-x)).
; Submitted by Jon Maiga
; 1,2,9,52,365,3006,28357,301064,3549177,45965530,648352001,9888877692,162112109029,2841669616982,53025262866045,1049180850990736,21937381717388657,483239096122434354,11184035897992673017,271287473871771163460,6881656485607798743261,182... |
; A131410: A127647 * A000012.
; 1,1,1,2,2,2,3,3,3,3,5,5,5,5,5,8,8,8,8,8,8,13,13,13,13,13,13,13,21,21,21,21,21,21,21,21,34,34,34,34,34,34,34,34,34,55,55,55,55,55,55,55,55,55,55,89,89,89,89,89,89,89,89,89,89,89,144,144,144,144,144,144,144,144,144,144,144,144,233,233,233,233,233,233,233,233,233,233,233,233,233,377,377,377... |
; Z88 Small C+ Graphics Functions
; Draw a circle on the Z88 map
; Adapted from my Spectrum Routine
; (C) 1995-1998 D.J.Morris
;
; $Id: dcircle.asm,v 1.4 2016-04-23 21:05:46 dom Exp $
;
IF !__CPU_INTEL__ & !__CPU_GBZ80__
SECTION code_graphics
PUBLIC draw_circle
DEFVARS 0... |
/* Copyright 2021-2022 NVIDIA 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... |
; SBAS_CMPADD - Resolve Addresses V2.00 1994 Tony Tebby
section sbas
xdef sb_cmpadd
xref sb_sttadd
xref sb_ixtable
include 'dev8_keys_sbasic'
include 'dev8_smsq_sbas_comp_keys'
;+++
; SBASIC Resolve addresses.
;
; a5 c p pointer to compiler token base
; a6 c p pointer to SuperBASIC variables
;
; A... |
/***********************************************************************************************************************
* OpenStudio(R), Copyright (c) 2008-2018, Alliance for Sustainable Energy, LLC. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are perm... |
;=========================================================================
;
; Sarien - A Sierra AGI resource interpreter engine
; Copyright (C) 1999-2001 Stuart George and Claudio Matsuoka
;
; $Id: pccga.asm,v 1.4 2002/07/27 12:17:15 cmatsuoka Exp $
;
; This program is free software; you can redistribute it and/or mod... |
; 6502 - TMS9918 Font 2 (0 -255) 6x8 Text mode
;
; Copyright (c) 2021 Troy Schrapel
;
; This code is licensed under the MIT license
;
; https://github.com/visrealm/hbc-56
;
!byte $00,$00,$00,$00,$00,$00,$00,$00,$38,$44,$6C,$44,$54,$44,$38,$00,$38,$7C,$54,$7C,$44,$7C,$38,$00,$00,$28,$7C,$7C,$7C,$38,$10,$00,$00,$10,$38,... |
//===--- DeprecatedHeadersCheck.cpp - clang-tidy---------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... |
; FILE *freopen(char *filename, char *mode, FILE *stream)
INCLUDE "config_private.inc"
SECTION code_clib
SECTION code_stdio
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF __CLIB_OPT_MULTITHREAD & $02
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PUBLIC _freopen
EXTERN asm_freopen
_freopen:
pop af
pop hl
pop de
pop ix
... |
;=================================================================
;
; Copyright (c) 2014, Teriks
;
; All rights reserved.
;
; libasm_io is distributed under the following BSD 3-Clause License
;
; Redistribution and use in source and binary forms, with or without modification, are permitted provided that the followin... |
; A096273: a(0)=0, then a(n)=a(n-1)+(n-1) if n is odd, a(n)=a(n/2)+n/2 otherwise.
; 0,0,1,3,3,7,6,12,7,15,12,22,12,24,19,33,15,31,24,42,22,42,33,55,24,48,37,63,33,61,48,78,31,63,48,82,42,78,61,99,42,82,63,105,55,99,78,124,48,96,73,123,63,115,90,144,61,117,90,148,78,138,109,171,63,127,96,162,82
lpb $0,1
mov $2,$0
d... |
title "Interval Clock Interrupt"
;++
;
; Copyright (c) 1989 Microsoft Corporation
; Copyright (c) 1992 Intel Corporation
; All rights reserved
;
; INTEL CORPORATION PROPRIETARY INFORMATION
;
; This software is supplied to Microsoft under the terms
; of a license agreement with Intel Corporation and... |
/* ============================================================================
* Copyright (c) 2009-2016 BlueQuartz Software, LLC
*
* 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 ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r8
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x15309, %rsi
lea addresses_WC_ht+0xa3d9, %rdi
xor $23751, %rax
mov $1, %rcx
rep movsq
nop
nop
nop
nop
nop
cmp %rcx, %rcx
lea addresses_UC_ht+0x1a009, %rsi
lea addresses_normal... |
;------------------------------------------------------------------------------
;
; 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. Th... |
/*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... |
; A335903: Column 1 in the matrix of A279212 (whose indexing starts at 0).
; 2,6,15,37,88,204,464,1040,2304,5056,11008,23808,51200,109568,233472,495616,1048576,2211840,4653056,9764864,20447232,42729472,89128960,185597952,385875968,801112064,1660944384,3439329280,7113539584,14696841216,30333206528,62545461248,1288490188... |
;*****************************************************************
;* - Description: Device definition file for RC Calibration
;* - File: m8535.asm
;* - AppNote: AVR053 - Production calibration of the
;* RC oscillator
;*
;* - Author: Atmel Corporation: http://www.atmel.com
;... |
#if !defined(XmlRpcServer_hxx)
#define XmlRpcServer_hxx
#include <rutil/Data.hxx>
#include <rutil/TransportType.hxx>
#include <resip/stack/Tuple.hxx>
#include <rutil/XMLCursor.hxx>
#include "XmlRpcServerBase.hxx"
namespace resip
{
class DataStream;
}
namespace clicktocall
{
class Server;
class XmlRpcServer;
class... |
NOP
HLT
|
#pragma once
#include <coroutine>
#include <cassert>
#include <optional>
#include "suspend_maybe.hpp"
template<typename T>
class generator
{
public:
struct promise_type
{
std::optional<T> t_;
std::optional<generator> innerCoroutine_;
promise_type() = default;
~promise_type() ... |
dnl AMD64 mpn_addlsh_n and mpn_rsblsh_n. R = V2^k +- U.
dnl Copyright 2006, 2010-2012 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 Lesser Gener... |
*********************************************************************** 00001000
* * 00002000
* VSE KERMIT UPDATE CONVERTOR * 00003000
* * 00004... |
/*
* 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, publis... |
;------------------------------------------------------------------------------
;
; 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. Th... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x1244d, %rdi
dec %rcx
movups (%rdi), %xmm1
vpextrq $1, %xmm1, %r11
nop
nop
add $27776, %r12
lea addresses_WT_ht+0x1c234, %r9
nop
nop
nop
nop
nop
inc %r13
mov $0x616263646566676... |
RocketHideout1_h:
db FACILITY ; tileset
db ROCKET_HIDEOUT_1_HEIGHT, ROCKET_HIDEOUT_1_WIDTH ; dimensions (y, x)
dw RocketHideout1Blocks, RocketHideout1TextPointers, RocketHideout1Script ; blocks, texts, scripts
db $00 ; connections
dw RocketHideout1Object ; objects
|
; A062810: a(n) = Sum_{i=1..n} i^(n - i) + (n - i)^i.
; 1,3,7,17,45,131,419,1465,5561,22755,99727,465537,2303829,12037571,66174411,381560425,2301307841,14483421859,94909491607,646309392369,4565559980989,33401808977411,252713264780595,1974606909857945
lpb $0,1
add $3,1
mov $2,$3
pow $2,$0
sub $0,1
add $1,$2
l... |
; A283506: Decimal representation of the x-axis, from the left edge to the origin, of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 641", based on the 5-celled von Neumann neighborhood.
; Submitted by Jamie Morken(s1)
; 1,0,5,12,29,60,125,252,509,1020,2045,4092,8189,16380,32765,655... |
; A327672: a(n) = Sum_{k=0..n} ceiling(sqrt(k)).
; 0,1,3,5,7,10,13,16,19,22,26,30,34,38,42,46,50,55,60,65,70,75,80,85,90,95,101,107,113,119,125,131,137,143,149,155,161,168,175,182,189,196,203,210,217,224,231,238,245,252,260,268,276,284,292,300,308,316,324,332,340,348,356,364,372,381,390,399,408,417,426,435,444,453,462,... |
//
// detail/shared_ptr.hpp
// ~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef ASIO_DETAIL_SHARE... |
#include <ozo/connection_info.h>
#include <gtest/gtest.h>
#include <gmock/gmock.h>
namespace {
TEST(get_connection, should_return_timeout_error_for_zero_connect_timeout) {
ozo::io_context io;
const ozo::connection_info conn_info(OZO_PG_TEST_CONNINFO);
const std::chrono::seconds timeout(0);
std::atom... |
/******************************************************************************/
/* */
/* Copyright (c) 1990-2016, KAIST */
/* All rights reserved. ... |
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "FWCore/ServiceRegistry/interface/Service.h"
#include "FWCore/Utilities/interface/RandomNumberGenerator.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/Utilities/interface/Exceptio... |
/*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2008, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following... |
;
;
;
; This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
;
; Copyright 2007-2019 Broadcom Inc. All rights reserved.
;
;
; Adapted from sdk5670.asm
; February 27, 2004
;
; This is the default program for the 5675 SDK.
; To start it, use... |
; A311501: Coordination sequence Gal.4.38.1 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; 1,4,8,12,17,22,26,30,34,38,42,46,51,56,60,64,68,72,76,80,85,90,94,98,102,106,110,114,119,124,128,132,136,140,144,148,153,158,162,166,170,174,... |
//===- SPIRVWriterPass.cpp - SPIRV writing pass -----------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-----------------------------------------------------------... |
; A211227: Row sums of A211226.
; 1,2,3,4,8,8,20,16,48,32,112,64,256,128,576,256,1280,512,2816,1024,6144,2048,13312,4096,28672,8192,61440,16384,131072,32768,278528,65536,589824,131072,1245184,262144,2621440,524288,5505024
mov $3,$0
add $0,1
mov $4,1
lpb $0
sub $0,1
add $1,1
add $1,$4
div $2,2
add $2,$3
mov... |
#include <iostream>
#include <string>
#include <algorithm>
constexpr int MAX_XY = 1010;
int lx, ly, q, dp[MAX_XY][MAX_XY];
std::string sx, sy;
void fill_dp(){
for(int i = 1; i <= lx; ++i){
for(int j = 1; j <= ly; ++j){
if(sx[i - 1] == sy[j - 1]) dp[i][j] = dp[i - 1][j - 1] + 1;
el... |
#include "generator/routing_index_generator.hpp"
#include "generator/borders.hpp"
#include "generator/cross_mwm_osm_ways_collector.hpp"
#include "generator/routing_helpers.hpp"
#include "routing/base/astar_algorithm.hpp"
#include "routing/base/astar_graph.hpp"
#include "routing/cross_mwm_connector.hpp"
#include "rout... |
#include "alica_viewer/graphics_view_zoom.h"
#include <QApplication>
#include <QMouseEvent>
#include <QScrollBar>
#include <qmath.h>
namespace alica
{
GraphicsViewZoom::GraphicsViewZoom(QGraphicsView* view)
: QObject(view)
, _view(view)
{
_view->viewport()->installEventFilter(this);
_view->setMouseTra... |
;
; helloworld.asm
;
; A sample assembly language file.
;
; Written by Greg M. Krsak <greg.krsak@gmail.com>, Feb. 2017
;
; Processor: 64-bit, Intel or AMD
; Operating System: Windows, XP (Server 2003) or later
; Assembler: NASM
;
; Tested with:
; nasm -f win64 "helloworld.asm"
; golink /console /entry WinMain "hellowor... |
; A198401: 8^n+n^8.
; 1,9,320,7073,69632,423393,1941760,7861953,33554432,177264449,1173741824,8804293473,69149458432,550571544609,4399522300160,35186934979457,281479271677952,2251806789442689,18014409529442560,144115205059418913,1152921530206846976,9223372074677635169,73786976349714080000,590295810437016636993,47223664... |
; A170134: Number of reduced words of length n in Coxeter group on 29 generators S_i with relations (S_i)^2 = (S_i S_j)^38 = I.
; 1,29,812,22736,636608,17825024,499100672,13974818816,391294926848,10956257951744,306775222648832,8589706234167296,240511774556684288,6734329687587160064,188561231252440481792,527971447506833... |
#bits 16
#d16 5
#d16 7
#addr 6
#d16 4
; = 0x0005_0007_0000_0000_0000_0000_0004 |
/*************************************************************************/
/* vset.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... |
GymStatues:
; if in a gym and have the corresponding badge, a = GymStatueText2_id and jp PrintPredefTextID
; if in a gym and don’t have the corresponding badge, a = GymStatueText1_id and jp PrintPredefTextID
; else ret
call EnableAutoTextBoxDrawing
ld a, [wPlayerFacingDirection]
cp SPRITE_FACING_UP
ret nz
ld hl, .... |
#include "sendcoinsentry.h"
#include "ui_sendcoinsentry.h"
#include "guiutil.h"
#include "bitcoinunits.h"
#include "addressbookpage.h"
#include "walletmodel.h"
#include "optionsmodel.h"
#include "addresstablemodel.h"
#include <QApplication>
#include <QClipboard>
SendCoinsEntry::SendCoinsEntry(QWidget *parent) :
... |
#define _CRT_SECURE_NO_WARNINGS
#include "vg_config.h"
#include <cstring>
#include <iostream>
#include <fstream>
#include <sstream>
#include <algorithm>
#include <functional>
#include <mochimazui/file.h>
#include <mochimazui/string.h>
#include <mochimazui/stdio_ext.h>
// -------- -------- -------- -------- ------... |
//=================================================================================================
/*!
// \file src/mtl/TMat3Vec3Mult.cpp
// \brief Source file for the MTL 3D transpose matrix/vector multiplication kernel
//
// Copyright (C) 2012-2017 Klaus Iglberger - All Rights Reserved
//
// This file is part of... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>lock(vararg_0, vararg_1, vararg_2, vararg_3, vararg_4) -> str
Invokes the syscall lock.
See 'man 2 lock' for more information.
Arguments:
vararg(int): vararg
Returns:
long
</%docstring>
<%page a... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r8
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x5ef9, %r11
nop
sub $52351, %r8
movw $0x6162, (%r11)
nop
nop
nop
nop
nop
xor $18058, %r12
lea addresses_WC_ht+0x18d9, %rdx
nop
nop
nop
nop
sub %rbp, %rbp
movw $0x616... |
;;
;; Copyright (c) 2017-2020, Intel Corporation
;;
;; 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 conditions and... |
;
; Philips VG-5000 pseudo graphics routines
; Version for the 2x3 graphics symbols
;
; Stefano Bodrato 2015
;
;
; Get pixel at (x,y) coordinate.
;
;
; $Id: pointxy.asm,v 1.1 2015/10/09 13:02:43 stefano Exp $
;
INCLUDE "graphics/grafix.inc"
PUBLIC pointxy
EXTERN div3
EXTERN coords
E... |
push 5.5
push 3.3
stack
div
print
|
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %r8
push %r9
push %rax
push %rbp
push %rbx
lea addresses_UC_ht+0x1253c, %r15
nop
sub $42158, %rax
mov (%r15), %r9d
nop
nop
nop
nop
nop
cmp %rbp, %rbp
lea addresses_WT_ht+0x1de20, %r9
nop
cmp $8348, %rbp
movw $0x6162, (%r9)
nop
nop
nop
cmp $59915, %r1... |
; A104674: a(n) = binomial(n+6, 6) * binomial(n+11, n).
; Submitted by Jon Maiga
; 1,84,2184,30576,286650,2018016,11435424,54609984,226972746,840639800,2824549728,8730426432,25099975992,67725379008,172768824000,419252346240,972796459635,2167754048460,4656656844840,9674494830000,19494107082450,38192536324800,72913023892... |
#include "common/quic/client_connection_factory_impl.h"
#include "common/quic/quic_transport_socket_factory.h"
namespace Envoy {
namespace Quic {
const Envoy::Ssl::ClientContextConfig&
getConfig(Network::TransportSocketFactory& transport_socket_factory) {
auto* quic_socket_factory =
dynamic_cast<QuicClientTr... |
; Moises Campos Zepeda
; 11-10-2020
; IE0623: Microprocesadores
; Tarea 4: teclado matricial
#include registers.inc
; *****************************************************************************
; Data Structures
; **************************************************************************... |
/* $Id: mp-r0drv-darwin.cpp $ */
/** @file
* IPRT - Multiprocessor, Ring-0 Driver, Darwin.
*/
/*
* Copyright (C) 2008-2017 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistribute it and/or... |
.size 8000
.text@48
ld a, ff
ldff(45), a
jp lstatint
.text@100
jp lbegin
.data@143
80
.text@150
lbegin:
ld a, ff
ldff(45), a
ld b, 03
call lwaitly_b
ld a, 40
ldff(41), a
ld a, 02
ldff(ff), a
ei
ld a, b
inc a
inc a
ldff(45), a
ld c, 41
.text@1000
lstatint:
nop
.text@1064
ld a, ff
ldff(c), a
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.