text stringlengths 1 1.05M |
|---|
;;
;; Copyright (c) 2018-2021, 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... |
_lotteryTest3: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "types.h"
#include "stat.h"
#include "user.h"
int main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl ... |
#include <Maestro.H>
using namespace amrex;
// initializes data on a specific level
void Maestro::InitLevelData(const int lev, const Real time, const MFIter& mfi,
const Array4<Real> scal, const Array4<Real> vel) {
// timer for profiling
BL_PROFILE_VAR("Maestro::InitLevelData()", In... |
#define NAPI_EXPERIMENTAL
#include <napi.h>
#include <vector>
#include "wstring.h"
#include "nullfunction.h"
#include "copy_worker.h"
#if WINDOWS
#include "windows/utils.h"
#include "windows/shell.h"
#elif LINUX
#endif
using namespace Napi;
using namespace std;
class Copy_worker : public AsyncWorker {
public:
Copy... |
; A176083: a(n) = 2^(2n-2) mod prime(2n).
; Submitted by Christian Krause
; 1,4,3,7,24,25,11,7,22,12,9,1,5,69,1,62,41,16,133,89,39,3,162,66,121,12,4,109,163,85,135,52,251,8,14,6,154,126,167,284,149,158,254,110,318,23,75,23,59,279,478,513,290,58,256,345,347,25,58,361,672,681,673,697,669,609,278,739,355,529,543,478,43,83... |
dnl X86-64 mpn_redc_1 optimised for Intel Atom.
dnl Contributed to the GNU project by Torbjörn Granlund.
dnl Copyright 2003-2005, 2007, 2008, 2011-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
d... |
/*
CAB.CPP
Second-level plugin module for FAR Manager and MultiArc plugin
Copyright (c) 1996 Eugene Roshal
Copyrigth (c) 2000 FAR group
*/
#include <windows.h>
#include <string.h>
#include <dos.h>
#include <plugin.hpp>
#include "fmt.hpp"
typedef BYTE u1;
typedef WORD u2;
typedef DWORD u4;
PACK_PUSH(1)
str... |
.size 8000
.text@48
jp lstatint
.text@100
jp lbegin
.data@143
c0
.text@150
lbegin:
ld a, 00
ldff(ff), a
ld a, 30
ldff(00), a
ld a, 01
ldff(4d), a
stop, 00
ld b, 98
call lwaitly_b
ld a, 01
ldff(45), a
ld a, 40
ldff(41), a
ld a, 00
ld(8000), a
ld a, 01
ld(c000), a
ld a, c0
ldff(51), a
xor a, a
... |
; A022382: Fibonacci sequence beginning 4, 10.
; 4,10,14,24,38,62,100,162,262,424,686,1110,1796,2906,4702,7608,12310,19918,32228,52146,84374,136520,220894,357414,578308,935722,1514030,2449752,3963782,6413534,10377316,16790850,27168166,43959016,71127182,115086198,186213380
mov $1,4
mov $3,10
lpb $0
sub $0,1
mov $2,... |
#include "../host/typedefs.h"
// color the frame buffer
void coloringFB_top_m7(
hls::stream<ap_uint<32> > & Input_1,
hls::stream<ap_uint<128> > & Input_2,
hls::stream<ap_uint<512> > & Output_1)
{
#pragma HLS INTERFACE axis register port=Input_1
#pragma HLS INTERFACE axis register port=Input_2
#pragma HLS INTERF... |
# $Id: 15_bgt_1.asm,v 1.3 2001/03/22 00:39:00 ellard Exp $
#
# Copyright 1999-2001 by the President and Fellows of Harvard College.
# See LICENSE.txt for license information.
#
#@ test of bgt.
# OK
lc r2, $gt
bgt r2, r0, r0
add r4, r1, r0
hlt
gt:
lc r3, 10
hlt
|
#include "wled.h"
/*
* This v1 usermod file allows you to add own functionality to WLED more easily
* See: https://github.com/Aircoookie/WLED/wiki/Add-own-functionality
* EEPROM bytes 2750+ are reserved for your custom use case. (if you extend #define EEPSIZE in const.h)
* If you just need 8 bytes, use 2551-2559 (y... |
SFX_Cry19_1_Ch5:
duty_cycle_pattern 0, 1, 2, 3
square_note 7, 13, 2, 1856
square_note 15, 14, 5, 1888
square_note 15, 12, 1, 1840
sound_ret
SFX_Cry19_1_Ch6:
duty_cycle_pattern 2, 0, 0, 1
square_note 2, 12, 2, 1793
square_note 4, 12, 2, 1800
square_note 15, 13, 7, 1857
square_note 15, 10, 2, 1793
SFX_Cry19... |
/* Copyright 2017 Akihiko Odaki <akihiko.odaki@gmail.com>
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 app... |
; vim: filetype=z80:
include "notes.inc"
; sequence
sequence_loop
dw pattern1
dw pattern1a
dw pattern2
dw pattern2
dw pattern1
dw pattern1a
dw pattern2
dw pattern2
dw pattern0
dw pattern0
dw pattern3
dw 0
dw sequence_loop
pattern3
dw #6000,chB_ks_saw,a1,chA... |
object_const_def ; object_event constants
const DAYCARE_GRAMPS
const DAYCARE_GRANNY
DayCare_MapScripts:
db 0 ; scene scripts
db 1 ; callbacks
callback MAPCALLBACK_OBJECTS, .EggCheckCallback
.EggCheckCallback:
checkflag ENGINE_DAY_CARE_MAN_HAS_EGG
iftrue .PutDayCareManOutside
clearevent EVENT_DAY_CARE_MAN_IN... |
; A192752: Constant term of the reduction by x^2->x+1 of the polynomial p(n,x) defined below in Comments.
; 1,7,12,23,39,66,109,179,292,475,771,1250,2025,3279,5308,8591,13903,22498,36405,58907,95316,154227,249547,403778,653329,1057111,1710444,2767559,4478007,7245570,11723581,18969155,30692740,49661899,80354643
mov $1,... |
/***********************************************************************
Multiscale/Multiphysics Interfaces for Large-scale Optimization (MILO)
Copyright 2018 National Technology & Engineering Solutions of Sandia,
LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the
U.S. Government retains certai... |
include func.inc
.model huge
.data
myName LABEL BYTE
nameSize db 15
ActualSize db ?
playerName db 15 dup('$')
.code
;description
main PROC
mov ax,@data
mov ds,ax
clearScreen
getTheName playerName
clearScreen
hlt
main ENDP
END main |
// File doc/quickbook/oglplus/quickref/enums/transform_feedback_target.hpp
//
// Automatically generated file, DO NOT modify manually.
// Edit the source 'source/enums/oglplus/transform_feedback_target.txt'
// or the 'source/enums/make_enum.py' script instead.
//
// Copyright 2010-2015 Matus Chochlik.
// Distribu... |
ori $ra,$ra,0xf
sll $4,$4,0
mult $4,$2
mflo $5
mfhi $1
srav $5,$1,$6
srav $1,$1,$0
lui $1,38493
lui $4,31792
ori $5,$5,13453
mthi $5
div $5,$ra
sb $5,9($0)
sll $6,$3,28
multu $1,$1
lb $4,0($0)
addiu $4,$2,-1720
mthi $5
mflo $4
mtlo $5
addiu $2,$2,-13835
srav $1,$1,$4
div $6,$ra
mflo $5
srav $5,$0,$0
mtlo $0
sb $1,6($0)... |
#pragma once
#include <QSlider>
class DoubleSlider : public QSlider {
Q_OBJECT
double minVal, maxVal, minStep;
public:
DoubleSlider(QWidget *parent = nullptr);
void setDoubleConstraints(double newMin, double newMax,
double newStep, double val);
signals:
void doubleValChanged(double val);
public slots:
v... |
; Copyright (c) Microsoft Corporation. All rights reserved.
.386
.model flat, c
INCLUDE sieve.inc
; Custom Build Step (for sieve.asm/sieve.obj), including a listing file placed in intermediate directory
; but without Source Browser information
; Command Line (debug):
; ml -c -Zi "-Fl$(IntDir)\$(InputName).lst" "-F... |
#include "utils.hpp"
#include <amy/connector.hpp>
#include <algorithm>
#include <iostream>
#include <iterator>
global_options opts;
int main(int argc, char* argv[]) try {
parse_command_line_options(argc, argv);
AMY_ASIO_NS::io_service io_service;
amy::connector connector(io_service);
connector.con... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r15
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x56a5, %rsi
lea addresses_UC_ht+0x1d15d, %rdi
nop
nop
nop
nop
nop
inc %r15
mov $65, %rcx
rep movsw
nop
sub $44187, %r12
lea addresses_WT_ht+0x27e5, %rsi
lea addresses_normal_... |
.model small
.stack 100h
.data
v db 1, 2
len equ ($ - v)
s db 0
.code
main proc
mov ax, @data
mov ds, ax
; code goes here
lea di, v ; di points to the beginning of v
mov cx, len
mov bx, 0
iter:
mov al, [di]
add bl, al
... |
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <math.h>
extern "C" {
#include <netdraw.h>
#include <mesh.h>
#include <affine.h>
}
#include <Fl/fl_draw.h>
#include <netdraw_fltk.hh>
#define get_disp(i) \
((x == NULL || vindex == NULL || vindex[i] < 0) ? 0 : x[vindex[i]])
#d... |
/******************************************************************************
* $Id: ogrpgtablelayer.cpp 33713 2016-03-12 17:41:57Z goatbar $
*
* Project: OpenGIS Simple Features Reference Implementation
* Purpose: Implements OGRPGTableLayer class, access to an existing table.
* Author: Frank Warmerdam, war... |
// (C) Copyright John Maddock 2007.
// Use, modification and distribution are subject to the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).
//
// See http://www.boost.org/libs/type_traits for most recent version including documen... |
#define BOOST_TEST_MODULE PikaCoin Test Suite
#include <boost/test/unit_test.hpp>
#include <boost/filesystem.hpp>
#include "db.h"
#include "txdb.h"
#include "main.h"
#include "wallet.h"
#include "util.h"
CWallet* pwalletMain;
CClientUIInterface uiInterface;
extern bool fPrintToConsole;
extern void noui_connect();
s... |
//------------------------------------------------------------------------------
//
// Copyright 2018-2019 Fetch.AI Limited
//
// 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
//
// ... |
; Tests stack instructions (PHA & PLA & PHP & PLP).
; Assumes that loads & stores (all addressing modes).
; Also assumes ADC (all addressing modes) and all flag instructions work.
;
; Expected Results: $30 = 0x29
LDA #$27
ADC #$01
SEC
PHP
CLC
PLP
ADC #$00
PHA
LDA #$00
PLA
STA $30
|
#include "include/dart_discord_rpc/dart_discord_rpc_plugin.h"
#include <flutter/method_channel.h>
#include <flutter/plugin_registrar_windows.h>
#include <flutter/standard_method_codec.h>
namespace {
class DartDiscordRpcPlugin : public flutter::Plugin {
public:
static void RegisterWithRegistrar(flutter::PluginRegis... |
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r14
push %r9
push %rdi
push %rsi
// Faulty Load
lea addresses_WT+0x8f28, %r11
nop
nop
nop
dec %rsi
mov (%r11), %di
lea oracles, %rsi
and $0xff, %rdi
shlq $12, %rdi
mov (%rsi,%rdi,1), %rdi
pop %rsi
pop %rdi
pop %r... |
ORIGIN 4x0000
SEGMENT CodeSegment:
AND R0, R0, 0
NOP
NOP
NOP
NOP
NOP
NOP
NOP
JSR ADD1
NOP
NOP
NOP
NOP
NOP
NOP
NOP
LEA R1, ADD1
NOP
NOP
NOP
NOP
NOP
NOP
NOP
JSRR R1
NOP
NOP
NOP
NOP
NOP
NOP
NOP
ENDLOOP:
; if R0 is not 2 at this point, JSR and/or JSRR do not work
BRnzp ENDLOOP
NOP
NOP... |
#include <iostream>
#include <fstream>
#include <sglib/KmerCompressionIndex.hpp>
#include "cxxopts.hpp"
int main(int argc, char * argv[]) {
std::cout << "bsg-kmerspectra"<<std::endl<<std::endl;
std::cout << "Git origin: " << GIT_ORIGIN_URL << " -> " << GIT_BRANCH << std::endl;
std::cout << "Git commit: "... |
Name: ger_msge0.asm
Type: file
Size: 67083
Last-Modified: '2016-05-13T04:23:03Z'
SHA-1: 5E88C55C11BBA1203C073C038E8DA2CAAAA3301C
Description: null
|
; A153483: a(n) = prime(n)^4 - 32.
; -16,49,593,2369,14609,28529,83489,130289,279809,707249,923489,1874129,2825729,3418769,4879649,7890449,12117329,13845809,20151089,25411649,28398209,38950049,47458289,62742209,88529249,104060369,112550849,131079569,141158129,163047329,260144609,294499889,352275329,373301009,492884369,... |
/*=========================================================================
*
* 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... |
; (Super)GoldCard trap and exception handling
section patch
xdef sgc_qdos_trp0
xdef sgc_min_trp0
xdef sgc_trp2
xdef sgc_trp3
xdef sgc_trp4
xdef sgc_trp5
xdef sgc_trp6
xdef sgc_trp7
xdef sgc_trp8
xdef sgc_trp9
xdef sgc_trpa
xdef sgc_trpb
xdef sgc_trpc
xdef sgc_trpd
xdef sgc_trpe
xdef sgc_trpf
xdef sg... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006 - 2008, 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 distr... |
; A248159: Expansion of (1 - 2*x^2)/(1 + x)^4. Third column of Riordan triangle A248156.
; Submitted by Christian Krause
; 1,-4,8,-12,15,-16,14,-8,-3,20,-44,76,-117,168,-230,304,-391,492,-608,740,-889,1056,-1242,1448,-1675,1924,-2196,2492,-2813,3160,-3534,3936,-4367,4828,-5320,5844,-6401,6992,-7618,8280,-8979,9716
mov... |
#include <torch/csrc/utils/pybind.h>
#include <torch/csrc/utils/python_arg_parser.h>
#include <torch/csrc/jit/api/module.h>
#include <torch/csrc/jit/backends/backend_init.h>
#include <torch/csrc/jit/codegen/cuda/interface.h>
#include <torch/csrc/jit/codegen/fuser/interface.h>
#include <torch/csrc/jit/codegen/fuser/ker... |
###############################################################################
# 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... |
lineDraw:
|
; A093785: Numbers that are divisible by every digit in their Roman numeral representation.
; Submitted by Jamie Morken(s4)
; 1,2,3,5,10,20,30,50,100,200,300,500,1000,2000,3000
lpb $0
sub $0,1
mov $2,$0
max $2,0
seq $2,194350 ; Numbers covering A000027: a(n)=(1, 1, 2, 5) * A011557(n)).
add $3,$2
lpe
mov $0,$... |
/*
* 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 ... |
stx {m1}
lda {m2}+1
sta {m1}+1
|
; A325644: "Sloping quaternary numbers": write numbers in quaternary under each other (right-justified), read diagonals in upward direction, convert to decimal.
; Submitted by Jamie Morken(w2)
; 0,1,2,7,4,5,6,11,8,9,10,15,12,13,30,19,16,17,18,23,20,21,22,27,24,25,26,31,28,29,46,35,32,33,34,39,36,37,38,43,40,41,42,47,44... |
;;; Long HUD 'Increase MP' Example
;;; works with User variable myMP
;;; macro edits variables myMagic and myMagicHi.
;;; works with HUD variable HUD_myMagic and HUD_myMagicHi.
LDA myMP ;This is a User Variable so we can track our MP.
CLC
ADC #$02
;;;you may want to test against a MAX HEALTH.
;;; this could be a... |
; Title: Win32 Socket Initialization (connect)
; Platforms: Windows NT 4.0, Windows 2000, Windows XP, Windows 2003
; Author: hdm[at]metasploit.com
[BITS 32]
%include "win32_stage_api.asm"
sub esp, 0x100
push eax ; [ebp + 12] = VirtualAlloc
push edi ; [ebp + 8] = LoadLibraryA
push esi ; [ebp ... |
; A208556: Number of 4 X n 0..1 arrays avoiding 0 0 0 and 0 0 1 horizontally and 0 0 1 and 0 1 1 vertically.
; 9,81,225,1089,3969,16641,65025,263169,1046529,4198401,16769025,67125249,268402689,1073807361,4294836225,17180131329,68718952449,274878955521,1099509530625,4398050705409,17592177655809,70368760954881,2814749431... |
/* file: reshape_layer_forward.cpp */
/*******************************************************************************
* Copyright 2014-2018 Intel Corporation
* All Rights Reserved.
*
* If this software was obtained under the Intel Simplified Software License,
* the following terms apply:
*
* The source code, info... |
; A028243: a(n) = 3^(n-1) - 2*2^(n-1) + 1 (essentially Stirling numbers of second kind).
; 0,0,2,12,50,180,602,1932,6050,18660,57002,173052,523250,1577940,4750202,14283372,42915650,128878020,386896202,1161212892,3484687250,10456158900,31372671002,94126401612,282395982050,847221500580,2541731610602,7625329049532,2287625... |
/* Copyright 2013 Yahoo! Inc. */
/* See LICENSE in the root of the distribution for licensing details. */
// Unit Tests for mdbm_get_hash mdbm_sethash
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <string.h>
#in... |
#pragma once
//------------------------------------------------------------------------------
//
// Copyright 2018-2020 Fetch.AI Limited
//
// 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 Licen... |
#include "n_new_project_dialog.h"
#include "ui_n_new_project_dialog.h"
#include <QDir>
#include <QFileDialog>
#include <QDebug>
#include <util/n_util.h>
NNewProjectDialog::NNewProjectDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::NNewProjectDialog)
{
ui->setupUi(this);
ui->projectNameEdit->se... |
; MALLOC function for far memory model
; 29/3/00 GWL
; 30/3/00 Changed size type to long, so >64K mallocs possible
;
; $Id: malloc_far.asm,v 1.3 2009/06/22 21:44:16 dom Exp $
;
XLIB malloc_far
XREF malloc_table,pool_table,farpages,farmemspec
XREF free_loop
include "memory.def"
; far *... |
[bits 64]
corrupt_quantum:
push rax
push rbx
push rcx
push rdx
push rsi
push rdi
push rbp
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
XMMPUSH xmm5
call start_log
call rand_dict_entry
mov rsi, rbx
mov rdi, qword [gs:thread_local.rtf_fuzz]
mov rcx, qword [fs:globals.p... |
; .cdecls C, LIST, "FreeRTOSConfig.h"
; .include "FreeRTOSConfig.h"
; 32-bit stack slow mode
.mmregs
.C54CM_off
; .CPL_off
.ARMS_off
.align 4
; .c28_amode
.global _usCriticalNesting
.global _save_xsp
.global _save_xssp
.global _first_save_xsp
.global _first_save_xss... |
; A277563: Fifth column of Euler's difference table in A068106.
; Submitted by Jon Maiga
; 0,0,0,24,96,504,3216,24024,205056,1965624,20886576,243511704,3089233056,42351635064,623815221456,9823096307544,164655323578176,2926840752827064,54988308080981616,1088680464831056664,22653422225916839136,494229434646381585144,1128... |
; A195818: Generalized 14-gonal numbers: m*(6*m-5), m = 0,+1,-1,+2,-2,+3,-3,...
; 0,1,11,14,34,39,69,76,116,125,175,186,246,259,329,344,424,441,531,550,650,671,781,804,924,949,1079,1106,1246,1275,1425,1456,1616,1649,1819,1854,2034,2071,2261,2300,2500,2541,2751,2794,3014,3059,3289,3336,3576,3625,3875,3926,4186,4239,4509... |
[BITS 32]
global kReadCPUID, kSwitchAndExecute64bitKernel ; C에서 호출할 수 있도록 이름을 외부로 노출
SECTION .text
; CPUID 반환
; PARAM: DWORD dwEAX, DWORD *pdwEAX, *pdwEBX, *pdwECX, *pdwEDX
kReadCPUID:
push ebp ; 베이스 포인터 레지스터(EBP)를 스택에 삽입
mov ebp, esp ; 베이스 포인터 레지스터에 스택 포인터 레지스터(ESP)의 값을 설정
push eax ... |
; Copyright (c) 2004, 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. The full text of the license may be found at ... |
#ifndef KEY64
#define KEY64
#endif
#include <octree/octree_nn.h>
#include <octree/octree_parser.h>
#include "ocnn.h"
namespace {
Tensor octree_property_gpu(Tensor octree_in, string property, int depth) {
OctreeParser octree_;
octree_.set_gpu(octree_in.data_ptr<uint8_t>());
int node_num = octree_.info().node_n... |
_ls: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
close(fd);
}
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 push %eb... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Geoworks 1994 -- All Rights Reserved
PROJECT: Pref
MODULE: Prefspui
FILE: psDescriptiveDL.asm
AUTHOR: David Litwin, Sep 29, 1994
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Na... |
//
// Copyright (c) 1997-2001 Microsoft Corporation, All Rights Reserved
//
// ***************************************************************************
//
// Original Author: Rajesh Rao
//
// $Author: rajeshr $
// $Date: 6/11/98 4:43p $
// $Workfile:instproi.cpp $
//
// $Modtime: 6/11/98 11:21a $
// ... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Microsoft Research Singularity
;;;
;;; Copyright (c) Microsoft Corporation. All rights reserved.
;;;
;;; This file contains ARM-specific assembly code.
;;;
; Unsigned divide of r1 by r0: returns quotient in r0,... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r15
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1c1f0, %r15
nop
nop
nop
nop
add %r8, %r8
mov (%r15), %r12d
nop
nop
nop
nop
cmp $55996, %r11
lea addresses_WT_ht+0x1a9dc, %rdi
nop
nop
nop
nop
nop
inc %r13
mov $0x61626364... |
// 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... |
; A152692: a(n) = n*3^n - n*2^n - n*1^n.
; 0,0,8,54,256,1050,3984,14406,50432,172530,580240,1926078,6328128,20619690,66732176,214742070,687698944,2193154530,6968850192,22073006382,69714716480,219623377050,690291036688,2165100175014,6777906222336,21181376375250,66086766706064,205887508215966,640542672546112,199026537432... |
; CALLER linkage for function pointers
XLIB strlcpy
LIB strlcpy_callee
XREF ASMDISP_STRLCPY_CALLEE
.strlcpy
pop af
pop bc
pop hl
pop de
push de
push hl
push bc
push af
jp strlcpy_callee + ASMDISP_STRLCPY_CALLEE
|
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %r8
push %r9
push %rdx
lea addresses_D_ht+0x228a, %r11
nop
nop
nop
cmp $11334, %rdx
vmovups (%r11), %ymm7
vextracti128 $1, %ymm7, %xmm7
vpextrq $1, %xmm7, %r14
nop
dec %r15
lea addresses_WT_ht+0xbe0e, %r8
clflush (%r8)
and $14443, %r14
mov ... |
; A276300: Number of 3 X n 0..2 arrays with no element equal to any value at offset (-2,-1) (-1,1) or (0,-1) and new values introduced in order 0..2.
; Submitted by Jon Maiga
; 5,11,45,173,693,2765,11061,44237,176949,707789,2831157,11324621,45298485,181193933,724775733,2899102925,11596411701,46385646797,185542587189,74... |
/*
******************************************************************************
*
* Copyright (C) 2001-2014, International Business Machines
* Corporation and others. All Rights Reserved.
*
******************************************************************************
* file name: utrie2_builder.cpp
* encod... |
; Flag testing
org &8000
LD A,&FA
LD B,&0F
ADD B
HALT
|
;CPSC 232 - Program #1
include irvine32.inc
.data
str0 byte "CPSC 232 - Program #1",0ah,0dh,0
str1 byte "Enter Your name >> ",0
str3 byte "Enter Your Age >> ",0
str4 byte "Your name is: ", 0
str5 byte "Your age is: ", 0
str2 byte 20 DUP(?)
num byte ?
str_size = 20
.code
mai... |
PAGE ,132 ;
TITLE NLSFUNC - GET/SET CP & COUNTRY INFO CHCP SUPPORT
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1991
; * All Rights Reserved.
; */
;**************************************************************************
... |
;; ======================================================================== ;;
;; Joystick Diagnostics Program ;;
;; Uses EMU_LINK interface to query jzIntv for raw joystick parameters ;;
;; ======================================================================== ;;
;* ... |
# while loop
# i = 5
# while i > 0 do
# print "In loop"
# i = i - 1
# end
# print "Done"
#
pushi 5
store 0
l2: load 0
pushi 0
isGt
jmpIfFalse l1
pushs "In loop"
pushi 1
println
load 0
pushi 1
sub
store 0
j... |
/*
"An anomaly, I'm Muhammad Ali
Cause I know one day I'm gonna be the"
- Greatest, Eminem
*/
#pragma GCC optimize ("O3")
#pragma GCC target ("sse4")
#include<bits/stdc++.h>
using namespace std;
typedef long long int ll;
#define ff first
#define Shazam ios_base::sync_with_stdio(false); cin.tie(NULL)... |
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.28.29334.0
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
msvcjmc SEGMENT
__0920A867_cstddef DB 01H
__09340588_corecrt_math@h DB 01H
__24E9E95F_stdlib@h DB 01H
__ACEB72CA_cstdlib DB 01H
__2D26A21E_type_traits DB 01H
__2B31710D_vcruntime... |
.686
.model flat
.xmm
.code
_test proc
create_stack_frame
mov dword90,2
mov dword91,3
mov dword92,4
mov dword11,dword91
xor_edx_edx dword12
div dword11,dword90
mov dword15,dword91
xor_edx_edx dword... |
; A134504: a(n) = Fibonacci(7n + 6).
; 8,233,6765,196418,5702887,165580141,4807526976,139583862445,4052739537881,117669030460994,3416454622906707,99194853094755497,2880067194370816120,83621143489848422977,2427893228399975082453
mul $0,7
mov $1,5
mov $2,8
lpb $0
sub $0,2
add $1,$2
add $2,$1
lpe
lpb $0
div $0,4
... |
; A113531: a(n) = 1 + 2*n + 3*n^2 + 4*n^3 + 5*n^4 + 6*n^5.
; 1,21,321,2005,7737,22461,54121,114381,219345,390277,654321,1045221,1604041,2379885,3430617,4823581,6636321,8957301,11886625,15536757,20033241,25515421,32137161,40067565,49491697,60611301,73645521,88831621,106425705,126703437,149960761,176514621,206703681,2408... |
/*
* Copyright (C) 2013 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 conditio... |
#pragma once
#include <cstddef>
#include "view.hpp"
namespace PPmatrix
{
template <typename T>
class static_iterator
{
T value;
public:
constexpr static_iterator(T&& value)
: value(std::move(value))
{}
constexpr static_iterator(const T& value)
: value(value)
{}
constexpr const auto& operator*() c... |
#include "Platform.inc"
#include "FarCalls.inc"
#include "Buttons.inc"
#include "TestFixture.inc"
radix decimal
udata
global initialIocb
initialIocb res 1
InterruptOnChangeTest code
global testArrange
testArrange:
banksel initialIocb
movf initialIocb, W
banksel IOCB
movwf IOCB
testAct:
fcall initiali... |
; --COPYRIGHT--,BSD_EX
; Copyright (c) 2012, Texas Instruments Incorporated
; 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 co... |
lda #0
sta {m1}+3
lda {m2}+3
lsr
sta {m1}+2
lda {m2}+2
ror
sta {m1}+1
lda {m2}+1
ror
sta {m1} |
;
; This file is automatically generated
;
; Do not edit!!!
;
; djm 12/2/2000
;
; ZSock Lib function: sock_settos
XLIB sock_settos
LIB no_zsock
INCLUDE "packages.def"
INCLUDE "zsock.def"
.sock_settos
ld a,r_sock_settos
call_pkg(tcp_all)
ret nc
; We failed..are we installed?
cp rc_pnf
scf ;signal error
r... |
;-----------------------------------------------------------------------------;
; Author: Borja Merino (modification of the HD Moore HTTP stager based on WinINet)
; Version: 1.0
;-----------------------------------------------------------------------------;
[BITS 32]
%define u(x) __utf16__(x)
%define HTTP_OPEN_FLAGS 0x... |
<%
from pwnlib.shellcraft.mips.linux import syscall
%>
<%page args="from_, num, turn_on"/>
<%docstring>
Invokes the syscall ioperm. See 'man 2 ioperm' for more information.
Arguments:
from(unsigned): from
num(unsigned): num
turn_on(int): turn_on
</%docstring>
${syscall('SYS_ioperm', from_, num, ... |
/*
* FogLAMP category management
*
* Copyright (c) 2018 Dianomic Systems
*
* Released under the Apache 2.0 Licence
*
* Author: Mark Riddoch, Massimiliano Pinto
*/
#include <config_category.h>
#include <string>
#include <rapidjson/document.h>
#include <rapidjson/ostreamwrapper.h>
#include <rapidjson/writer.h>
#i... |
#include "XmlFile.h"
string XmlFile::getFileName() {
return FILE_NAME;
}
bool XmlFile::checkIfFileExists() {
bool fileExists = xml.Load(getFileName());
return fileExists;
}
|
; A027773: (n+1)*C(n+1,13).
; 13,196,1575,8960,40460,154224,515508,1550400,4273290,10943240,26313518,59907456,130007500,270415600,541574100,1048380480,1968053535,3592795500,6393845325,11115955200,18914492520,31551447840,51671823000,83188425600,131811290100,205768111248,316774592316,481328915200,722423130760,10717867137... |
;------------------------------------------------------------------------------ ;
; Copyright (c) 2016, 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.... |
#include "InputLayout.h"
#include "GraphicsThrowMacros.h"
#include "BindableCodex.h"
#include "Vertex.h"
#include "VertexShader.h"
namespace Bind
{
InputLayout::InputLayout(Graphics& gfx,
Dvtx::VertexLayout layout_in,
const VertexShader& vs)
:
layout(std::move(layout_in))
{
INFOMAN(gfx);
const auto d3dL... |
; ---------------------------------------------------------------------------
; Animation script - Roller enemy
; ---------------------------------------------------------------------------
dc.w byte_E190-Ani_obj43
dc.w byte_E196-Ani_obj43
dc.w byte_E19C-Ani_obj43
byte_E190: dc.b $F, 2, 1, 0, $FE, 1
byte_E... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.