text stringlengths 1 1.05M |
|---|
// Copyright (C) 2009-2012 Lorenzo Caminiti
// Distributed under the Boost Software License, Version 1.0
// (see accompanying file LICENSE_1_0.txt or a copy at
// http://www.boost.org/LICENSE_1_0.txt)
// Home at http://www.boost.org/libs/local_function
#ifndef BOOST_LOCAL_FUNCTION_AUX_DECL_HPP_
#define BOOST_LOCAL_FU... |
; A005317: a(n) = (2^n + C(2*n,n))/2.
; 1,2,5,14,43,142,494,1780,6563,24566,92890,353740,1354126,5204396,20066492,77575144,300572963,1166868646,4537698722,17672894044,68923788698,269129985796,1052051579012,4116719558104,16123810230158,63205319996092,247959300028484,973469779932920,3824345434597948
mov $1,$0
mul $0,2
b... |
/***************************************************
* Problem Name : bubble_sort.cpp
* Problem Link : Basic Code
* Verdict : Done
* Date : 2020-12-02
* Problem Type : Sorting
* Author Name : Saikat Sharma
* University : CSE, MBSTU
***************************************************/
#include <i... |
SECTION code_fp_math48
PUBLIC _sinh_fastcall
EXTERN cm48_sdccix_sinh_fastcall
defc _sinh_fastcall = cm48_sdccix_sinh_fastcall
|
dnl SPARC v9 mpn_addlsh1_n for T1/T2.
dnl Copyright 2010 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 General Public License as published... |
//=--------------------------------------------------------------------------=
// spanitms.cpp
//=--------------------------------------------------------------------------=
// Copyright (c) 1999, Microsoft Corp.
// All Rights Reserved
// Information Contained Herein Is Proprietary and Confidential... |
; A192962: Constant term of the reduction by x^2 -> x+1 of the polynomial p(n,x) defined at Comments.
; 1,2,7,15,30,55,97,166,279,463,762,1247,2033,3306,5367,8703,14102,22839,36977,59854,96871,156767,253682,410495,664225,1074770,1739047,2813871,4552974,7366903,11919937,19286902,31206903,50493871,81700842,132194783,2138... |
/*
* SPDX-License-Identifier: Apache-2.0
*/
//===------- ONNXOpsHelper.cpp - Helper functions for ONNX dialects -------===//
//
// Copyright 2019 The IBM Research Authors.
//
// =============================================================================
//
// This file contains helper functions for lowering ONNX o... |
; A163834: a(n) = (4^n + 5)/3.
; 2,3,7,23,87,343,1367,5463,21847,87383,349527,1398103,5592407,22369623,89478487,357913943,1431655767,5726623063,22906492247,91625968983,366503875927,1466015503703,5864062014807,23456248059223,93824992236887,375299968947543,1501199875790167,6004799503160663
mov $1,4
pow $1,$0
div $1,3
ad... |
; char *strupr(char *s)
SECTION code_clib
SECTION code_string
PUBLIC strupr
EXTERN asm_strupr
defc strupr = asm_strupr
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _strupr
defc _strupr = strupr
ENDIF
|
//-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2019 Ryo Suzuki
// Copyright (c) 2016-2019 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# include "CToastNotification.hpp"
namespace ... |
mov al, 00110100b
out 0x43, al
call setTimer |
; A037543: Decimal expansion of a(n) is given by the first n terms of the periodic sequence with initial period 1,2,1.
; 1,12,121,1211,12112,121121,1211211,12112112,121121121,1211211211,12112112112,121121121121,1211211211211,12112112112112,121121121121121,1211211211211211
seq $0,37538 ; Base 5 digits are, in order, th... |
; A336634: Sum_{n>=0} a(n) * x^n / (n!)^2 = exp(-x) * BesselI(0,2*sqrt(x))^2.
; Submitted by Jon Maiga
; 1,1,0,-4,14,-18,-168,1920,-11898,27398,582896,-13028904,183020620,-2061910004,17930433744,-65293856160,-1965585556410,69343044999750,-1519055329884960,26755366818127560,-374375460816570780,2924763867241325220,552777... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2021, 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 source... |
; A100214: a(n) = 4*n^3 + 4.
; 4,8,36,112,260,504,868,1376,2052,2920,4004,5328,6916,8792,10980,13504,16388,19656,23332,27440,32004,37048,42596,48672,55300,62504,70308,78736,87812,97560,108004,119168,131076,143752,157220,171504,186628,202616,219492,237280,256004,275688,296356,318032,340740,364504,389348,415296,442372,47... |
;rom.write_bytes(0xDD2B86, [0x40, 0x80]) #block speed
;rom.write_bytes(0xDD2D26, [0x00, 0x01]) #block delay
;rom.write_bytes(0xDD9682, [0x40, 0x80]) #milk crate speed
;rom.write_bytes(0xDD981E, [0x00, 0x01]) #milk crate delay
;rom.write_bytes(0xCE1... |
; A292045: Wiener index of the n X n X n grid graph.
; 0,48,972,7680,37500,136080,403368,1032192,2361960,4950000,9663060,17791488,31188612,52437840,85050000,133693440,204459408,305165232,445697820,638400000,898502220,1244602128,1699194552,2289254400,3046875000,4009964400,5223002148
add $0,1
mov $2,$0
pow $0,7
pow $2,5... |
; size_t b_vector_insert_n(b_vector_t *v, size_t idx, size_t n, int c)
SECTION code_clib
SECTION code_adt_b_vector
PUBLIC b_vector_insert_n
EXTERN asm_b_vector_insert_n
b_vector_insert_n:
pop ix
pop de
ld a,e
pop de
pop bc
pop hl
push hl
push bc
push de
push de
push ix
jp ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %r8
push %r9
push %rdi
lea addresses_D_ht+0x1b06e, %r15
clflush (%r15)
nop
add %r8, %r8
mov $0x6162636465666768, %r13
movq %r13, %xmm5
movups %xmm5, (%r15)
nop
nop
nop
nop
sub %r9, %r9
lea addresses_WT_ht+0x18124, %r8
nop
add $40176, %r11
m... |
ending START 0
EXTDEF end . marks the end of program, stack will be initialized here
end WORD 17
END ending
|
; A233078: Number of n X 4 0..3 arrays with no element x(i,j) adjacent to value 3-x(i,j) horizontally or antidiagonally, top left element zero, and 1 appearing before 2 in row major order.
; 14,662,32414,1588262,77824814,3813415862,186857377214,9156011483462,448644562689614,21983583571791062,1077195595017762014,5278258... |
/* Copyright (c) 2019, isaponsoft (Isao Shibuya) All rights reserved. *
* Use of this source code is governed by a BSD-style license that *
* can be found in the LICENSE file. */
#ifndef __libamtrs__chrono__calendar__hpp
#define __libamtrs__chrono__calendar__hpp
AMTRS_CHRONO_NAMES... |
; A093953: a(n) = rightmost term in M^n * [1,1,1], where M = a 3 X 3 matrix composed of the first 3 rows of A050166 (fill in the matrix with zeros): = [1 0 0 / 1 2 0 / 1 4 5].
; Submitted by Jamie Morken(s1)
; 1,10,63,344,1781,9030,45403,227524,1138641,5695250,28480343,142409904,712065901,3560362270,17801876883,8900951... |
/*
* 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
... |
[bits 64]
; 注释中有不少开玩笑的成分,不要当真。
%include "inc/syscall.asm"
section .data
msg_intput_her_name db '请输入您的对象的姓名:'
msg_intput_her_name_len equ $-msg_intput_her_name
msg_input_your_name db '请输入您的姓名:'
msg_input_your_name_len equ ... |
#pragma once
#include <vector>
#include "tcframe/runner/verdict.hpp"
using std::vector;
namespace tcframe {
class TestCaseAggregator {
public:
virtual ~TestCaseAggregator() = default;
virtual SubtaskVerdict aggregate(const vector<TestCaseVerdict>& testCaseVerdicts, double subtaskPoints) = 0;
};
}
|
/*
* 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... |
_chgrp: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "types.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 ... |
;-----------------------------------------------------------------------------
; ullrem.asm - unsigned long remainder routine
; Adapted from Visual Studio C runtime library
; Portions Copyright (c) Microsoft Corporation. All rights reserved.
;----------------------------------------------------------------------------... |
; ECE 291 Fall 2003 MP4
; -- Paint291 --
;
; Completed By:
; Your Name
;
; Doug Jones
; Guest Author - Ryan Chmiel
; University of Illinois Urbana Champaign
; Dept. of Electrical & Computer Engineering
;
; Ver 1.0
%include "lib291.inc"
%include "libmp4.inc"
BITS 32
GLOBAL _main
;EXTERN _LoadPNG
; Define Con... |
#include "Globals.h"
#include "Application.h"
#include "ModuleSceneIntro.h"
#include "Primitive.h"
#include "PhysBody3D.h"
#include "ModulePhysics3D.h"
#include "PhysVehicle3D.h"
ModuleSceneIntro::ModuleSceneIntro(Application* app, bool start_enabled) : Module(app, start_enabled)
{
}
ModuleSceneIntro::~ModuleSceneInt... |
; A000292: Tetrahedral (or triangular pyramidal) numbers: a(n) = C(n+2,3) = n*(n+1)*(n+2)/6.
; 0,1,4,10,20,35,56,84,120,165,220,286,364,455,560,680,816,969,1140,1330,1540,1771,2024,2300,2600,2925,3276,3654,4060,4495,4960,5456,5984,6545,7140,7770,8436,9139,9880,10660,11480,12341,13244,14190,15180,16215,17296,18424,19600... |
; General Thing Use/Free V0.01 June 1988 J.R.Oakley QJUMP
; Tony Tebby
section gen_util
include 'dev8_keys_qdos_sms'
xdef gu_thuse
xdef gu_thfre
xref gu_thjmp
;+++
; Use a Thing, simple version.
;
; ... |
.586
.MODEL flat,stdcall
option casemap:none
include windows.inc
include user32.inc
include kernel32.inc
include msvcrt.inc
includelib user32.lib
includelib kernel32.lib
includelib msvcrt.lib
.data
.code
main PROC
;12.25F
;1100.01
;1.10001 * 2^3
;sign bit (1 bit): 0
;exponent bit(8 bit): 10000010
;mantissa(2... |
;*****************************************************************
;* - Description: Device definition file for RC Calibration
;* - File: m48.asm
;* - AppNote: AVR053 - Production calibration of the
;* RC oscillator
;*
;* - Author: Atmel Corporation: http://www.atmel.com
;* ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r8
push %rax
push %rbx
push %rdx
push %rsi
lea addresses_A_ht+0x92bb, %r13
nop
nop
nop
nop
nop
inc %r8
movups (%r13), %xmm7
vpextrq $1, %xmm7, %rdx
nop
nop
nop
nop
nop
dec %r13
lea addresses_WT_ht+0x12d1b, %rsi
nop
nop
nop
nop
nop
sub %rax, %rax
movb (%rsi), ... |
#include<iostream>
using namespace std;
//Node structure
struct Node{
int data;
Node *next;
};
//function to insert in list
void insert(int x,Node **head) {
if(*head == NULL){
*head = new Node;
(*head)->data = x;
(*head)->next = NULL;
return;
}
No... |
; A332121: a(n) = 2*(10^(2n+1)-1)/9 - 10^n.
; Submitted by Jamie Morken(s2)
; 1,212,22122,2221222,222212222,22222122222,2222221222222,222222212222222,22222222122222222,2222222221222222222,222222222212222222222,22222222222122222222222,2222222222221222222222222,222222222222212222222222222,22222222222222122222222222222,22... |
; A132171: 3^n repeated 3^n times.
; 1,3,3,3,9,9,9,9,9,9,9,9,9,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81... |
JMP start
#include "memory.asm"
.mem_1 DAT 0x1000
.mem_2 DAT 0x2000
:start
PUSH 0x10
PUSH 0xF00D
PUSH [mem_1]
JTR write_mem
ADD SP,3
PUSH 0x8
PUSH [mem_1]
PUSH [mem_2]
JTR copy_mem
ADD SP,3 |
; A157506: a(n) = 13122*n^2 + 324*n + 1.
; 13447,53137,119071,211249,329671,474337,645247,842401,1065799,1315441,1591327,1893457,2221831,2576449,2957311,3364417,3797767,4257361,4743199,5255281,5793607,6358177,6948991,7566049,8209351,8878897,9574687,10296721,11044999,11819521,12620287,13447297,14300551,15180049,16085791... |
processor 6502
include "fw_interface.asm"
include "macros.asm"
include "standard.asm"
include "persistent.asm"
BARPOSY = 11
BARLENGTH = 8
BARPOSX = 20 - BARLENGTH / 2
BARCOLOR1 = $33
BARCOLOR2 = $53
BARCOLOR3 = $73
GEMX = 20 - 3
GEMY = BARPOSY - 9
TEXTX = 5
TEXTY = BARPOSY + 3
TEXTCOLOR = $04
TEXTLUM... |
bipush 18
istore j
bipush 3
istore k
iload j
iload k
isub
istore i
iload i
bipush 14
if_icmpeq l1
iload j
bipush 4
isub
istore k
l1 bipush 8
istore k
l2 iload k
|
/*
* Copyright 2014 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "PathOpsExtendedTest.h"
#include "PathOpsTestCommon.h"
#include "SkBitmap.h"
#include "Test.h"
DEF_TEST(PathOpsBuilder, reporter) {
SkOpBuilder builder;
SkPa... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation
; All rights reserved. This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distribution. Th... |
; A181509: a(1) = 2, a(n) = (n-th-even n^3) - (sum of previous terms)
; 2,6,56,152,296,488,728,1016,1352,1736,2168,2648,3176,3752,4376,5048,5768,6536,7352,8216,9128,10088,11096,12152,13256,14408,15608,16856,18152,19496,20888,22328,23816,25352,26936,28568,30248,31976,33752,35576,37448,39368,41336,43352,45416,47528,49688... |
.data
MyMessage: .asciiz "Hello world\n"
.text
li $v0, 4
la $a0, MyMessage
syscall |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r15
push %r8
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0xdf1e, %rcx
sub $25313, %rdx
mov (%rcx), %rax
xor %r15, %r15
lea addresses_WC_ht+0xeab6, %r13
nop
nop
nop
nop
nop
xor $61844, %r12
movups (%r13), %xmm7
vpextrq $0, %... |
; Object Mappings Subtype Frame Arttile
dbglistobj Obj_Ring, Map_Ring, 0, 0, make_art_tile(ArtTile_Ring,1,1)
dbglistobj Obj_Monitor, Map_Monitor, 6, 0, make_art_tile(ArtTile_Monitors,0,0)
dbglistobj Obj_PathSwap, Map_PathSwap, 9, 1, make_art_tile(ArtTile_Ring,1,0)
dbglist... |
#include <algorithm>
#include <string>
#include <unordered_map>
#include <vector>
using namespace std;
class Solution
{
public:
vector<vector<int>> palindromePairs(vector<string> &words)
{
unordered_map<string, int> m; //{str,index}
int N = words.size();
for (int i = 0; i < N; ++i)
m[words[i]] = i;
vector... |
/*
* Copyright (C) 2019-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/test/common/mocks/mock_device.h"
#include "opencl/source/helpers/hardware_commands_helper.h"
#include "opencl/test/unit_test/mocks/mock_cl_device.h"
#include "opencl/test/unit_test/mocks/mock_kernel.h"
#include ... |
SECTION code_fp_math48
PUBLIC _round
EXTERN cm48_sdcciy_round
defc _round = cm48_sdcciy_round
|
; A081040: 5th binomial transform of (1,4,0,0,0,0,....).
; 1,9,65,425,2625,15625,90625,515625,2890625,16015625,87890625,478515625,2587890625,13916015625,74462890625,396728515625,2105712890625,11138916015625,58746337890625,308990478515625,1621246337890625,8487701416015625
mov $1,$0
lpb $0,1
sub $0,1
add $1,1
mul ... |
include 'emu8086.inc'
.model small
org 100h
.code
PRINTS MACRO message
MOV AH, 09h
LEA DX, message
INT 21h
ENDM
start:
PRINTS message1
MOV CX, 10
MOV BX,offset array
MOV AH, 01
input:
PUTC 10
PUTC 13
INT 21h
MOV AH, 00
CM... |
; A113790: In each block of 5 consecutive natural numbers, swap first and 2nd and swap 4th and 5th.
; 2,1,3,5,4,7,6,8,10,9,12,11,13,15,14,17,16,18,20,19,22,21,23,25,24,27,26,28,30,29,32,31,33,35,34,37,36,38,40,39,42,41,43,45,44,47,46,48,50,49,52,51,53,55,54,57,56,58,60,59,62,61,63,65,64,67,66,68,70,69,72,71
mov $1,$0
... |
#Storing 75000 to $t0
#75000 = 0000 0000 0000 0001 0010 0100 1111 1000 = 0x000124f8
lui $t0, 0x0001 #$t0 = 0000 0000 0000 0001 0000 0000 0000 0000
ori $t0, 0x24f8 #$t0 = 0000 0000 0000 0001 0010 0100 1111 1000
#Note: The instruction
#li $t0, 75000
#is valid, but will be converted into the two instructions shown a... |
/*=========================================================================
*
* 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... |
; A005587: a(n) = n*(n+5)*(n+6)*(n+7)/24.
; 0,14,42,90,165,275,429,637,910,1260,1700,2244,2907,3705,4655,5775,7084,8602,10350,12350,14625,17199,20097,23345,26970,31000,35464,40392,45815,51765,58275,65379,73112,81510,90610,100450,111069,122507,134805,148005,162150,177284,193452,210700,229075,248625,269399,291447,314820,... |
; A089105: Values taken by least witness function W(n).
; 2,3,5,6,7,10,11,12,13,14,15,17,18,19,20,21,22,23,24,26
mov $3,$0
trn $0,1
mov $1,1
mov $2,1
lpb $0
sub $0,$1
sub $0,$2
trn $0,1
trn $2,$1
add $1,$2
mov $2,2
add $2,$1
add $1,1
add $2,2
sub $2,$1
lpe
lpb $3
add $1,1
sub $3,1
lpe
add $1,1
|
// This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html.
#ifndef __OPENCV_DNN_COMMON_HPP__
#define __OPENCV_DNN_COMMON_HPP__
#include <unordered_set>
#include <unordered_map>
#incl... |
#include<iostream>
using namespace std;
int t[100001];
int main()
{
int i,j,a,n;
cin>>a>>n;
cout<<"("<<a<<")10=(";
for(i=0;a!=0;i++)
{t[i]=a%n;
a=a/n;
}
for(j=i-1;j>=0;j--)
{if(t[j]>=10)cout<<char(t[j]+55);
else cout<<t[j];
}
cout<<")"<<n;
return 0;
} |
section .data
msg db "Hello World! This is Esteban",0Ah
section .text
global _start
_start:
mov eax, msg
call strlen
mov edx, eax
mov ecx, msg
mov ebx, 1
mov eax, 4
int 80h
mov ebx, 0
mov eax, 1
int 80h
strlen:
push ebx
mov ebx,eax
nextchar:
cmp byte [eax], 0
jz finished
inc eax
jump nextchar
fi... |
; A173721: Partial sums of A056833.
; 0,0,1,2,4,8,13,20,29,41,55,72,93,117,145,177,214,255,301,353,410,473,542,618,700,789,886,990,1102,1222,1351,1488,1634,1790,1955,2130,2315,2511,2717,2934,3163,3403,3655,3919,4196,4485,4787,5103,5432,5775,6132,6504,6890,7291,7708,8140,8588,9052,9533,10030,10544,11076,11625,12192,1277... |
;================================================================================
;
; "Sixty/5o2"
; _________
;
; v1.0
;
; Sixty/5o2 - minimal bootloader and monitor (r/o) w/ serial connection support
;
; Writt... |
// -*- C++ -*-
//
// Package: CherenkovAnalysis
// Class: CherenkovAnalysis
//
/**\class CherenkovAnalysis CherenkovAnalysis.cpp
SimG4CMS/CherenkovAnalysis/test/CherenkovAnalysis.cpp
Description: <one line class summary>
Implementation:
<Notes on implementation>
*/
//
// Original Author: Frederic Ronga
// ... |
; boot.asm
; Author: Caleb Leak
; Created: 10/18/2014
; Compile with "dasm boot.asm -oboot.bin -f3"
PROCESSOR 6502
INCLUDE "vcs.h"
ORG $F000
; RAM locations
PLAYER_Y_POS_LO = $80
PLAYER_Y_POS_HI = $81
PLAYER_Y_SPD_LO = $82
PLAYER_Y_SPD_HI = $83
PLAYER_ROT_LO = $84
PLAYER_ROT_HI ... |
; A131427: A000108(n) preceded by n zeros.
; Submitted by Christian Krause
; 1,0,1,0,0,2,0,0,0,5,0,0,0,0,14,0,0,0,0,0,42,0,0,0,0,0,0,132,0,0,0,0,0,0,0,429,0,0,0,0,0,0,0,0,1430,0,0,0,0,0,0,0,0,0,4862,0,0,0,0,0,0,0,0,0,0,16796,0,0,0,0,0,0,0,0,0,0,0,58786,0,0,0,0,0,0,0,0,0,0,0,0,208012,0,0,0,0,0,0,0,0,0
lpb $0
add $1,1... |
; A052756: E.g.f.: (-1/3)*LambertW(-3*x).
; 0,1,6,81,1728,50625,1889568,85766121,4586471424,282429536481,19683000000000,1531578985264449,131621703842267136,12381557655576425121,1265437718438866624512,139628860198736572265625,16543163447903718821855232,2094704750199298376445300801,282288975128239507545882230784,40341068... |
/*
g++ priority_queue_largest.cpp -std=c++11
g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.10' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bug... |
/*
* Copyright © <2010>, Intel Corporation.
*
* This program is licensed under the terms and conditions of the
* Eclipse Public License (EPL), version 1.0. The full text of the EPL is at
* http://www.opensource.org/licenses/eclipse-1.0.php.
*
*/
// Modual name: IntraFrame.asm
//
// Make intra predition estimati... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0xb9a0, %rcx
xor %rdi, %rdi
movups (%rcx), %xmm0
vpextrq $0, %xmm0, %r14
nop
nop
nop
lfence
lea addresses_WT_ht+0x1377f, %rdx
sub %r13, %r13
movb (%rdx), %bl
nop
nop
and $3278... |
.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, 8d
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@1100
ld a, 00
ldff(c), a
... |
_ps: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "types.h"
#include "stat.h"
#include "user.h"
int main(){
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 ... |
#include "common.h"
namespace bpftrace {
namespace test {
namespace codegen {
TEST(codegen, intptrcast_assign_var)
{
test("kretprobe:f { @=*(int8*)(reg(\"bp\")-1) }",
R"EXPECTED(; Function Attrs: nounwind
declare i64 @llvm.bpf.pseudo(i64, i64) #0
; Function Attrs: argmemonly nounwind
declare void @llvm.life... |
if not defined @FDIV_POW2
include "color_flow_warning.asm"
; Input: BC, HL with a mantissa equal to 1.0 (eeee eeee s000 0000)
; Output: HL = BC / HL = BC / (1.0 * 2^HL_exp) = BC * 1.0 * 2^-HL_exp, if ( overflow or underflow ) set carry
; Pollutes: AF, BC, DE
; if ( 1.m = 1.0 ) => 1/(2^x * 1.0) = 1/2^x * 1/1.0 = 2^... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %r8
push %r9
push %rbp
push %rsi
lea addresses_UC_ht+0xff60, %r15
xor $61260, %r13
movb $0x61, (%r15)
nop
nop
nop
nop
nop
cmp $57315, %r9
lea addresses_UC_ht+0x3cb0, %r13
dec %rbp
movl $0x61626364, (%r13)
nop
cmp $34053, %r15
lea addresses_UC_ht+0xca... |
PUBLIC _z180_int_asci0
EXTERN asm_asci0_interrupt
defc _z180_int_asci0 = asm_asci0_interrupt
|
; int isodigit(int c)
SECTION code_clib
SECTION code_ctype
PUBLIC _isodigit
EXTERN _isodigit_fastcall
_isodigit:
pop af
pop hl
push hl
push af
jp _isodigit_fastcall
|
include "sdk/hardware.inc"
SECTION "Header", ROM0[$100]
di
jp startRom
ds $150 - @
SECTION "Init", ROMX, BANK[1]
startRom:
ld sp, $E000
call ___globalsInitCode ; init C globals
call _main
db $DD ; lock up if main returns ($DD is an invalid opcode)
SECTION FRAGMENT "GSINIT", ROMX, BA... |
#include "rift/lightweight/utils.hpp"
#include "test_runner.hpp"
namespace {
class ReportCopy {
public:
ReportCopy() = default;
ReportCopy(ReportCopy&&) = default;
ReportCopy& operator=(ReportCopy&&) = default;
ReportCopy(const ReportCopy&)
:wasCopied(true)
{}
ReportCopy& operator=(con... |
SemiHosting = 0xf000
SYS_WRITEC = 3
SYS_WRITE0 = 4
ADP_Stopped_ApplicationExit = 0x20026
angel_SWIreason_ReportException = 0x18
processor cpu64_v8
code64
adr x0,stack_base
mov sp,x0
adr x1,hello_world
bl show_string
adr x1,running_at
bl show_string
adr x0,$$
bl show_hex
adr x1,exec_level
bl show_s... |
/* ----------------------------------------------------------------------------
* GTSAM Copyright 2010, Georgia Tech Research Corporation,
* Atlanta, Georgia 30332-0415
* All Rights Reserved
* Authors: Frank Dellaert, et al. (see THANKS for the full author list)
* See LICENSE for the license information
* ----... |
#include "CondCore/PopCon/interface/PopConAnalyzer.h"
#include "CondTools/RunInfo/interface/FillInfoPopConSourceHandler.h"
#include "FWCore/Framework/interface/MakerMacros.h"
typedef popcon::PopConAnalyzer<FillInfoPopConSourceHandler> FillInfoPopConAnalyzer;
//define this as a plug-in
DEFINE_FWK_MODULE(FillInfoPopCo... |
; A010726: Period 2: repeat (6,10).
; 6,10,6,10,6,10,6,10,6,10,6,10,6,10,6,10,6,10,6,10,6,10,6,10,6,10,6,10,6,10,6,10,6,10,6,10,6,10,6,10,6,10,6,10,6,10,6,10,6,10,6,10,6,10,6,10,6,10,6,10,6,10,6,10,6,10
mod $0,2
mul $0,4
add $0,6
|
; A131674: Size of the largest BDD of symmetric Boolean functions of n variables when the sink nodes are not counted.
; 0,1,3,5,8,12,17,23,29,36,44,53,63,74,86,99,113,127,142,158,175,193,212,232,253,275,298,322,347,373,400,428,457,487,517,548,580,613,647,682,718,755,793,832,872,913,955,998,1042,1087,1133,1180,1228,1277... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r9
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x1ddd6, %r13
nop
inc %r9
movb $0x61, (%r13)
xor %rdx, %rdx
lea addresses_normal_ht+0x1cf96, %rbp
nop
nop
nop
nop
nop
xor $245, %rax
and $0xffffffffffffffc0, %rbp
mov... |
/*
* 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... |
; A071045: Number of 0's in n-th row of triangle in A071030.
; 0,0,3,1,6,2,9,3,12,4,15,5,18,6,21,7,24,8,27,9,30,10,33,11,36,12,39,13,42,14,45,15,48,16,51,17,54,18,57,19,60,20,63,21,66,22,69,23,72,24,75,25,78,26,81,27,84,28,87,29,90,30,93,31,96,32,99,33,102,34,105,35,108,36,111,37,114,38,117,39,120,40,123,41,126,42,129,... |
LavenderMart_h:
db MART ; tileset
db LAVENDER_MART_HEIGHT, LAVENDER_MART_WIDTH ; dimensions (y, x)
dw LavenderMart_Blocks ; blocks
dw LavenderMart_TextPointers ; texts
dw LavenderMart_Script ; scripts
db 0 ; connections
dw LavenderMart_Object ; objects
|
// Copyright Carl Philipp Reh 2006 - 2019.
// 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)
#include <sge/model/md3/exception.hpp>
#include <sge/model/md3/impl/endian.hpp>
#include <sge/model... |
<%
from pwnlib.shellcraft.powerpc.linux import syscall
%>
<%page args="resource, rlimits"/>
<%docstring>
Invokes the syscall getrlimit. See 'man 2 getrlimit' for more information.
Arguments:
resource(rlimit_resource_t): resource
rlimits(rlimit): rlimits
</%docstring>
${syscall('SYS_getrlimit', resou... |
;
; $Id: fdgetpos.asm,v 1.2 2015/01/19 01:32:43 pauloscustodio Exp $
PUBLIC fdgetpos
.fdgetpos
ld hl,1 ;non zero is error
ret
|
;------------------------------------------------------------------------------
;
; 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... |
; A158604: a(n) = 42*n^2 + 1.
; 1,43,169,379,673,1051,1513,2059,2689,3403,4201,5083,6049,7099,8233,9451,10753,12139,13609,15163,16801,18523,20329,22219,24193,26251,28393,30619,32929,35323,37801,40363,43009,45739,48553,51451,54433,57499,60649,63883,67201,70603,74089,77659,81313,85051,88873,92779,96769,100843,105001,1092... |
; A163810: Expansion of (1 - x) * (1 - x^2) * (1 - x^3) / (1 - x^6) in powers of x.
; 1,-1,-1,0,1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,1,0,-1,-1,0,... |
; A095668: Sixth column (m=5) of (1,4)-Pascal triangle A095666.
; 4,21,66,161,336,630,1092,1782,2772,4147,6006,8463,11648,15708,20808,27132,34884,44289,55594,69069,85008,103730,125580,150930,180180,213759,252126,295771,345216,401016,463760,534072,612612,700077,797202,904761,1023568,1154478,1298388,1456238,1629012,18177... |
;A = A + R1
ADD A, R1
;A = R0 +R1
ADD A, R1
ADD A, R0
;A = R0 + 1
ADD A, R0
INC A
;A = R0 - 1
ADD A, R0
DEC A
;R2 = R0 + R1
ADD A, R0
ADD A, R1
MOV R2, A
;R2 = R0 + R1
ADD A, @R0
ADD A, @R1
MOV R2, A
|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %r15
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xb7f4, %rcx
nop
nop
nop
nop
nop
inc %rdi
movb $0x61, (%rcx)
nop
nop
nop
nop
nop
inc %r15
lea addresses_WT_ht+0x125b4, %r10
nop
nop
nop
xor $39868, %rdi
movups (%r10), %xmm1
vpe... |
//*****************************************************************************
// Copyright 2017-2021 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.