text stringlengths 1 1.05M |
|---|
[SECTION .s32]
BITS 32
call main
mov edx, 4 ;返回内核
int 02Dh
api_putchar:
mov edx, 1
mov al, [esp + 4]
int 02Dh
ret
%include "app.asm" |
// Copyright (c) 2014-2018 The Btcgreen Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "chainparams.h"
#include "validation.h"
#include "test/test_btcgreen.h"
#include <boost/test/unit_test.hpp>
BOOS... |
//===- llvm/Analysis/TargetTransformInfo.cpp ------------------------------===//
//
// 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
//
//===---------------------------... |
; A319007: Sum of the next n nonnegative integers repeated (A004526).
; 0,1,5,14,29,51,82,124,178,245,327,426,543,679,836,1016,1220,1449,1705,1990,2305,2651,3030,3444,3894,4381,4907,5474,6083,6735,7432,8176,8968,9809,10701,11646,12645,13699,14810,15980,17210,18501,19855,21274,22759,24311,25932,27624,29388,31225,33137,3... |
// Copyright (c) 2015 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "atom/common/native_mate_converters/net_converter.h"
#include <string>
#include <vector>
#include "atom/common/native_mate_converters/gurl_converter.h"
#include "atom/common... |
#include <windows.h>
#include <tchar.h>
#include <shlwapi.h>
#include "resource.h"
#include "server\VarController.h"
#include "MyMsgProc.h"
#include "server\LowDbAccess.h"
HWND DateSpec;
HWND SleepSpec;
HWND CbYearHndl;
HWND CbMonthHndl;
HWND CbDayHndl;
HWND CbHourHndl;
HWND CbMinuteHndl;
HWND CbSecondHndl;
HWND EdWa... |
// Copyright (C) 2012-2013 Vicente Botet
//
// 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 <boost/config.hpp>
#ifndef BOOST_NO_CXX11_DECLTYPE_N3276
#define BOOST_THREAD_NO_CXX11_DECLTYPE_N3276
#endif
#i... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Video driver
FILE: clr4EscTab.asm
AUTHOR: Jim DeFrisco
REVISION HISTORY:
Name Date Description
---- ---- -----------
jad 4/88 initial ver... |
$include 'maxr$'
$def
$level 0,1,0
. This element contains whatever general code that I may want
. available in almost every MASM source element that I write.
. Include in other MASM programs via:
.
. $include 'tgpdef'
.
. NOTE: Any literals generated will go under $(3), so... |
; A158658: a(n) = 56*n^2 - 1.
; 55,223,503,895,1399,2015,2743,3583,4535,5599,6775,8063,9463,10975,12599,14335,16183,18143,20215,22399,24695,27103,29623,32255,34999,37855,40823,43903,47095,50399,53815,57343,60983,64735,68599,72575,76663,80863,85175,89599,94135,98783,103543,108415,113399,118495,123703,129023,134455,13999... |
// ImGui GLFW binding with OpenGL3 + shaders
// In this binding, ImTextureID is used to store an OpenGL 'GLuint' texture identifier. Read the FAQ about ImTextureID in imgui.cpp.
// You can copy and use unmodified imgui_impl_* files in your project. See main.cpp for an example of using this.
// If you use this binding ... |
.model small
.data
.code
.STARTUP
main proc
MOV AX,1000H ;
MOV DS,AX ;set data segment register
MOV [1206H],30 ;set memory related data
MOV [1204H],30 ;set memory related data
MOV [1202H],29 ;set memory related data
MOV [1200H],28 ;set memory related data
mov cx,3... |
// Copyright (c) 2013-2020 Vittorio Romeo
// License: Academic Free License ("AFL") v. 3.0
// AFL License page: https://opensource.org/licenses/AFL-3.0
#include "SSVOpenHexagon/Data/StyleData.hpp"
#include "SSVOpenHexagon/Utils/Utils.hpp"
#include "SSVOpenHexagon/Utils/Match.hpp"
#include "SSVOpenHexagon/Utils/Color.h... |
// seed 3
lbi r0, 89 // icount 0
slbi r0, 160 // icount 1
lbi r1, 36 // icount 2
slbi r1, 181 // icount 3
lbi r2, 102 // icount 4
slbi r2, 57 // icount 5
lbi r3, 239 // icount 6
slbi r3, 161 // icount 7
lbi r4, 14 // icount 8
slbi r4, 80 // icount 9
lbi r5, 209 // icount 10
slbi r5, 247 // icount 11
lbi r6, 84 // icoun... |
; A133143: Maximal number of mutually nonattacking Super Queens on an n X n board. (a Super Queen is a queen with both queen and knight powers).
; 1,1,1,2,4,4,5,6,8,10,11,12,13,14,15,16,17,18,19,20
mov $1,$0
sub $1,1
mov $3,$0
mov $0,$1
sub $0,2
mov $1,2
mov $2,3
add $2,$3
lpb $0,1
sub $0,1
mul $0,2
add $2,1
lpe... |
; A051128: Table T(n,k) = n^k read by upwards antidiagonals (n >= 1, k >= 1).
; Submitted by Jamie Morken(s1)
; 1,2,1,3,4,1,4,9,8,1,5,16,27,16,1,6,25,64,81,32,1,7,36,125,256,243,64,1,8,49,216,625,1024,729,128,1,9,64,343,1296,3125,4096,2187,256,1,10,81,512,2401,7776,15625,16384,6561,512,1,11,100,729,4096,16807,46656,781... |
//=========================================================================
// Copyright (C) 2012 The Elastos Open Source Project
//
// 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
//
// ... |
; A097723: One fourth of sum of divisors of 4n+3.
; Submitted by Jamie Morken(w2)
; 1,2,3,6,5,6,10,8,12,14,11,12,18,18,15,26,17,18,31,20,21,30,28,30,39,26,27,38,36,36,42,32,33,60,35,42,57,38,48,54,41,42,65,62,45,62,54,48,84,50,60,78,53,66,74,56,57,96,72,60,91,70,63,108,76,66,90,68,93,104,71,84,98,90,84,102,77,78,156,90... |
; loop using cpx (compare x) and bne (branch is not equal)
; prints a-z
; 10 SYS (49152)
*=$0801
BYTE $0E, $08, $0A, $00, $9E, $20, $28, $34, $39, $31, $35, $32, $29, $00, $00, $00
*=$c000
jsr $e544
ldx #65 ; initialize x with 65 - ASCII a
loop txa ... |
//===-- SBModule.cpp ------------------------------------------------------===//
//
// 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
//
//===---------------------------... |
// Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Including type: UnityEngine.MonoBehaviour
#include "UnityEngine/MonoBehaviour.hpp"
#i... |
; A003232: Expansion of (x-1)*(x^2-4*x-1)/(1-2*x)^2.
; 1,7,19,49,120,284,656,1488,3328,7360,16128,35072,75776,162816,348160,741376,1572864,3325952,7012352,14745600,30932992,64749568,135266304,282066944,587202560,1220542464
mov $1,1
mov $2,1
lpb $0,1
sub $0,1
add $2,5
add $3,$1
add $1,5
sub $1,$4
add $1,$3
... |
; Must be linked after other code .asm files
ORG $2000
; Default Standard Formatting (16 sectors per track, 256 bytes per sector)
TRACKINFO FCB 16 ; 16 sectors
FCB 1,1,0 ; Sector 1 SizeShift=1
FCB 2,1,0 ; Sector 1 SizeShift=1
FCB 3,1,0 ; Sector 1 SizeShift=1
FCB ... |
/*
* MRustC - Rust Compiler
* - By John Hodge (Mutabah/thePowersGang)
*
* hir_expand/annotate_value_usage.cpp
* - Marks _Variable, _Index, _Deref, and _Field nodes with how the result is used
*/
#include <hir/visitor.hpp>
#include <hir/expr.hpp>
#include <hir_typeck/static.hpp>
#include <algorithm>
#include "main... |
; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; Copyright © 2018, VideoLabs
; 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 c... |
ORG $0000 ; s = n1 + n2 + n3 + ... + nn / Datos: n1, nn y s
S RMB 2 ; LOAD 506.S19 | PC 8000 | MEM 0 | 0,0,20,00,20,02 | MEM 2000 | 2,3,5 | RUN
N1 RMB 2 ; VALOR ESPERADO EN "S" ($0000): $0A
NN RMB 2
ORG $8000
CLRA ; LIMPIO A
CLR S ; LIMPIO S
LDX N1 ; CARGO LA POSICION DE ... |
; A103128: a(n) = floor(sqrt(2n-1)).
; 1,1,2,2,3,3,3,3,4,4,4,4,5,5,5,5,5,5,6,6,6,6,6,6,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,13,13,13,13,13,13,13,14,14
mul $0,2
mov $1,3
lpb $0
sub... |
/*
* Copyright (c) [2019-2021] Huawei Technologies Co.,Ltd.All rights reserved.
*
* OpenArkCompiler is licensed under Mulan PSL v2.
* You can use this software according to the terms and conditions of the Mulan PSL v2.
* You may obtain a copy of Mulan PSL v2 at:
*
* http://license.coscl.org.cn/MulanPSL2
*
... |
#include "StackPanel.hpp"
#include "Panel.hpp"
StackPanel::StackPanel(int x, int y, int width, int height, int format, int pad):Panel(x,y,width,height,format){
padding = pad;
}
StackPanel::StackPanel():Panel(0, 0, 1, 1, Panel::Static){
padding = 1;
}
/**
* Removes an element from the stack panel.
* The pane... |
; Original address was $BC78
; 2-4
.word $0000 ; Alternate level layout
.word $0000 ; Alternate object layout
.byte LEVEL1_SIZE_10 | LEVEL1_YSTART_180
.byte LEVEL2_BGPAL_01 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18
.byte LEVEL3_TILESET_09 | LEVEL3_VSCROLL_LOCKLOW
.byte LEVEL4_BGBANK_INDEX(9) | LEVEL4_INITACT_NOTHING
... |
; A062558: Number of nonisomorphic cyclic subgroups of dihedral group with 2n elements.
; 2,2,3,3,3,4,3,4,4,4,3,6,3,4,5,5,3,6,3,6,5,4,3,8,4,4,5,6,3,8,3,6,5,4,5,9,3,4,5,8,3,8,3,6,7,4,3,10,4,6,5,6,3,8,5,8,5,4,3,12,3,4,7,7,5,8,3,6,5,8,3,12,3,4,7,6,5,8,3,10,6,4,3,12,5,4,5,8,3,12,5,6,5,4,5,12,3,6,7,9,3,8,3,8,9,4,3,12,3,8,5,... |
Sound48_Flamethrower_Header:
smpsHeaderStartSong 2
smpsHeaderVoiceNull
smpsHeaderTempoSFX $01
smpsHeaderChanSFX $01
smpsHeaderSFXChannel cPSG3, Sound48_Flamethrower_PSG3, $00, $00
; PSG3 Data
Sound48_Flamethrower_PSG3:
smpsPSGvoice $00
smpsPSGform $E7
dc.b nD3, $25
smpsStop
|
INCLUDE "constants/hardware.inc"
INCLUDE "constants/engine.inc"
INCLUDE "constants/actors.inc"
INCLUDE "constants/sfx.inc"
INCLUDE "constants/screens.inc"
INCLUDE "constants/interrupts.inc"
INCLUDE "constants/transition.inc"
INCLUDE "constants/cues.inc"
INCLUDE "constants/games/skater-dude.inc"
SECTION UNION "Game Var... |
SECTION code_fp_math16
PUBLIC cm16_sdcc___lt_callee
EXTERN cm16_sdcc_readr_callee
EXTERN asm_f16_compare_callee
; Entry: stack: half right, half left, ret
.cm16_sdcc___lt_callee
call cm16_sdcc_readr_callee ;Exit hl = right
call asm_f16_compare_callee
ret C
dec hl
ret
|
.export _ultimem_unhide
.code
; Returns ID.
.proc _ultimem_unhide
lda $9f55
lda $9faa
lda $9f01
lda $9ff3
rts
.endproc
|
// Exercise5.14.cpp
// Ad
// Write a program to read strings and look for duplicated words.
#include <iostream>
#include <string>
using std::cin;
using std::cout;
using std::endl;
int main()
{
std::string str = {}, wordLast = {}, wordDup = {};
unsigned cnt = {1}, max = {0};
while (cin >> str)
{
... |
#include "MainReportsUiState.h"
#include "../Cache.h"
#include "../Constants.h"
#include "../UI/Reports/ReportInterface.h"
#include "../UI/Reports/FactoryReport.h"
#include "../UI/Reports/MineReport.h"
#include "../UI/Reports/WarehouseReport.h"
#include <NAS2D/Utility.h>
#include <NAS2D/Renderer/Renderer.h>
#inclu... |
//*********************************************************
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 License
//
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x6882, %r11
nop
nop
inc %r14
movb (%r11), %r9b
nop
nop
xor $14243, %r9
lea addresses_D_ht+0xef02, %rsi
lea addresses_UC_ht+0x63da, %rdi
nop
nop
nop
nop
nop
sub %r14, %r14
mov ... |
processor 18F8722
config OSC=HS, WDT=OFF, LVP=OFF
radix decimal
;Setting labels for toggle switches
PORTH equ 0xF87
TRISH equ 0xF99
;Setting labels for transistor Q3
TRISA equ 0xF92
LATA equ 0xF89
;Setting labels for LEDs
TRISF equ 0xF97
LATF equ 0xF8E
;Setting labels for digital IO
ADCON1 equ 0xFC1
;Settin... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r14
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x109a, %r13
clflush (%r13)
nop
and $35734, %rax
movups (%r13), %xmm0
vpextrq $0, %xmm0, %r14
nop
sub $20521, %r12
lea addresses_UC_ht+0x1acc8, %rsi
lea addresses_normal_h... |
; ===============================================================
; Dec 2013
; ===============================================================
;
; char *ultoa(unsigned long num, char *buf, int radix)
;
; Write number to ascii buffer in radix indicated and zero
; terminate. Does not skip initial whitespace.
;
; =====... |
; updates the types of a party mon (pointed to in hl) to the ones of the mon specified in wd11e
SetPartyMonTypes:
call GetPredefRegisters
ld bc, wPartyMon1Type - wPartyMon1 ; $5
add hl, bc
ld a, [wd11e]
ld [wd0b5], a
push hl
call GetMonHeader
pop hl
ld a, [wMonHType1]
ld [hli], a
ld a, [wMonHType2]
ld [hl],... |
; A344565: Triangle read by rows, for 0 <= k <= n: T(n, k) = binomial(n, k) * binomial(binomial(n + 3, 2), 2).
; Submitted by Christian Krause
; 3,15,15,45,90,45,105,315,315,105,210,840,1260,840,210,378,1890,3780,3780,1890,378,630,3780,9450,12600,9450,3780,630,990,6930,20790,34650,34650,20790,6930,990,1485,11880,41580,... |
#include <tinyxml2.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <dirent.h>
#include <list>
#include <algorithm>
#include <unistd.h>
#include <map>
#include <unordered_map>
#include <vector>
#include <string>
#include <cstring>
#include <ctime>
#include "world.h"
#include "channel.h"
#include "player.h"
#in... |
###############################################################################
# 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... |
; A024041: a(n) = 4^n - n^5.
; 1,3,-16,-179,-768,-2101,-3680,-423,32768,203095,948576,4033253,16528384,66737571,267897632,1072982449,4293918720,17178449327,68717587168,274875430845,1099508427776,4398042427003,17592180890784,70368737741321,281474968748032,1125899897076999,4503599615489120,18014398495133077,7205759402071... |
.Model Small
.Stack 100h
.Data
msg db 'Hello, World$'
.Code
main Proc
MOV ax, @data
MOV ds, ax
mov al, 5
mov bl, 10
add bl, al
sub bl, 1
; print result in binary:
mov cx, 8
print: mov ah, 2
mov dl, '0... |
dnl Intel Pentium 4 mpn_mod_34lsub1 -- remainder modulo 2^24-1.
dnl Copyright 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
dnl
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
dnl modify it under the terms of the GNU Lesser General P... |
/* Copyright © 2017 Apple Inc. All rights reserved.
*
* Use of this source code is governed by a BSD-3-clause license that can
* be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause
*/
#ifndef __TC_VISUALIZATION_TABLE
#define __TC_VISUALIZATION_TABLE
#include <string>
#include <sstre... |
#include "foobar2000.h"
// {4B897EC8-A2F9-478d-A95E-1A2110A40078}
FOOGUIDDECL const GUID hasher_md5::class_guid =
{ 0x4b897ec8, 0xa2f9, 0x478d, { 0xa9, 0x5e, 0x1a, 0x21, 0x10, 0xa4, 0x0, 0x78 } };
// {74497D81-6158-48ba-9657-386A5520D0FF}
FOOGUIDDECL const GUID config_io_callback::class_guid =
{ 0x74497d81, 0x6158, 0... |
/* file: prediction_result.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, informat... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r8
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x1118c, %rsi
lea addresses_WT_ht+0x1050c, %rdi
nop
nop
nop
nop
and $9372, %rbp
mov $45, %rcx
rep movsw
nop
nop
add %rdx, %rdx
lea addresses_A_ht+0x1464, %rsi
lea addresses_WC_ht+0x6f0c,... |
; void __FASTCALL__ adt_StackCreateS(struct adt_Stack *s)
; 11.2006 aralbrec
SECTION code_clib
PUBLIC adt_StackCreateS
PUBLIC _adt_StackCreateS
EXTERN l_setmem
; initialize an adt_Stack*
.adt_StackCreateS
._adt_StackCreateS
xor a
jp l_setmem-7
|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x1ee97, %r14
nop
nop
nop
nop
and $30345, %r11
movb $0x61, (%r14)
nop
nop
nop
nop
sub %r10, %r10
lea addresses_WC_ht+0x8577, %rsi
lea addresses_A_ht+0x1a79b, %rdi
nop
nop
nop
... |
fel:
ld hl,felstr
call outstr
endhere: jr endhere
felstr: defm "Something went wrong while flashing"&10&0
dot:
push hl
push de
push bc
push ix
push iy
push af
ld hl,dotstr
call outstr
pop af
pop iy
pop ix
pop bc
pop de
pop hl
ret
; Temp storage for flashbytes and flashbyte
start_seg:
defb 0
of... |
_usertests: file format elf32-i386
Disassembly of section .text:
00000000 <iputtest>:
int stdout = 1;
// does chdir() call iput(p->cwd) in a transaction?
void iputtest(void)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 ec 08 sub $0... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r14
push %r15
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x93ac, %r12
nop
nop
cmp $35515, %rbx
mov (%r12), %r13
nop
sub $59120, %r10
lea addresses_WT_ht+0x919c, %r14
nop
nop
add $12159, %r13
mov (%r14), %r15w
nop
xor %r15,... |
!ifdef SYSTEM_VARS_ASM !eof
SYSTEM_VARS_ASM=1
Sys_rand_mem: !byte $00, $00, $00
Sys_mem_end:
|
; A195048: Concentric 19-gonal numbers.
; 0,1,19,39,76,115,171,229,304,381,475,571,684,799,931,1065,1216,1369,1539,1711,1900,2091,2299,2509,2736,2965,3211,3459,3724,3991,4275,4561,4864,5169,5491,5815,6156,6499,6859,7221,7600,7981,8379,8779,9196,9615,10051,10489,10944,11401,11875,12351,12844,13339,13851,14365,14896,1542... |
// Copyright 2019 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 "chromeos/services/device_sync/cryptauth_feature_type.h"
#include "base/base64url.h"
#include "base/containers/flat_map.h"
#include "base/no_des... |
Route16GateObject:
db $a ; border block
db $9 ; warps
db $8, $0, $0, $ff
db $9, $0, $1, $ff
db $8, $7, $2, $ff
db $9, $7, $3, $ff
db $2, $0, $4, $ff
db $3, $0, $5, $ff
db $2, $7, $6, $ff
db $3, $7, $7, $ff
db $c, $6, $0, ROUTE_16_GATE_2F
db $0 ; signs
db $2 ; objects
object SPRITE_GUARD, $4, $5, STAY, ... |
COMMENT }%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1993 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: common buffer routines
FILE: bufferCreateRedwood.asm
AUTHOR: Dave Durran
ROUTINES:
Name Description
---- -----------
REVISION HISTOR... |
Name: title-e.asm
Type: file
Size: 58345
Last-Modified: '1992-06-28T15:00:00Z'
SHA-1: A91E569FBB9B6C0265EC7E152A3D4124AECDAF47
Description: null
|
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: cellFlags.asm
AUTHOR: Gene Anderson, Aug 24, 1992
ROUTINES:
Name Description
---- -----------
GBL RowGetFlags Get flags for gi... |
; 实现系统调用必须的汇编部分
; 系统调用的中断号
SYS_CALL_VECTOR equ 0x90
global asm_syscall
global enable_int
global disable_int
global pause
;=========================
; 系统调用通用函数,用于触发中断
; 最多传递五个参数,其中第一个为系统调用号
; asm_syscall(int sys_vector, u32 para0,u32 para1,u32 para2, u32 para3);
;=========================
asm_syscall:
mov eax, ... |
#include "MipiRffeAnalyzerSettings.h"
#include <AnalyzerHelpers.h>
#include <sstream>
#include <cstring>
MipiRffeAnalyzerSettings::MipiRffeAnalyzerSettings():
mSclkChannel(UNDEFINED_CHANNEL),
mSdatChannel(UNDEFINED_CHANNEL),
mShowMarker(BIT_HIGH)
{
mSdatChannelInterface.reset(new AnalyzerSettingInterfaceChann... |
<%
from pwnlib.shellcraft.aarch64.linux import syscall
%>
<%page args="buf, size"/>
<%docstring>
Invokes the syscall getcwd. See 'man 2 getcwd' for more information.
Arguments:
buf(char): buf
size(size_t): size
</%docstring>
${syscall('SYS_getcwd', buf, size)}
|
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x9f7d, %rdi
nop
nop
cmp $10220, %rbx
movb $0x61, (%rdi)
nop
nop
xor %rcx, %rcx
lea addresses_WC_ht+0x1963d, %r15
nop
nop
nop
and $22500, %r9
movl $0x61626364, (%r15)
nop
nop
a... |
; boot.asm
; The label start is our entry point. We have to make it
; public so that the linker can use it.
global start
; we are still in 32-bit protected mode so we have to use
; 32-bit wide instructions
bits 32
;
PTE_PRESENT equ 1 << 7
; Flags for _large_ p2 aka. PDE page table entries
PDE_PRESENT equ 1 << 0
PD... |
rot1: ld a, 0
rot2: ld b, 0
rot1: ld c, 0
|
; A164581: a(n) = 5*a(n - 1) + a(n - 2), with a(0)=1, a(1)=2.
; Submitted by Jamie Morken(s2)
; 1,2,11,57,296,1537,7981,41442,215191,1117397,5802176,30128277,156443561,812346082,4218173971,21903215937,113734253656,590574484217,3066606674741,15923607857922,82684645964351,429346837679677,2229418834362736,1157644100949335... |
SECTION code_clib
SECTION code_nirvanap
PUBLIC asm_NIRVANAP_drawT_di
EXTERN asm_NIRVANAP_drawT
asm_NIRVANAP_drawT_di:
di
call asm_NIRVANAP_drawT
ei
ret
|
#include <flutter/dart_project.h>
#include <flutter/flutter_view_controller.h>
#include <windows.h>
#include "flutter_window.h"
#include "utils.h"
int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
_In_ wchar_t *command_line, _In_ int show_command) {
// Attach to console w... |
;////////////////////////////////////////////////////////////////////////////////////////////////////////
;// Part of Injectable Generic Camera System
;// Copyright(c) 2019, Frans Bouma
;// All rights reserved.
;// https://github.com/FransBouma/InjectableGenericCameraSystem
;//
;// Redistribution and use in source and ... |
LXI H,4000
MOV C,M
INX H
MOV A,M
DCR C
ZONE: INX H
CMP M
JC TYPE
MOV A,M
TYPE: DCR C
JNZ ZONE
STA 5000
RST 1
|
// 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 "cc/paint/paint_op_buffer.h"
#include <algorithm>
#include "base/bind.h"
#include "base/cxx17_backports.h"
#include "base/memory/raw_ptr.h"
#in... |
////////////////////////////////////////////////////////////////////////////
// SOFTWARE COPYRIGHT NOTICE AGREEMENT //
// This software and its documentation are copyright (2009) by the //
// Broad Institute. All rights are reserved. This software is supplied //
// without ... |
/*
* Copyright 2012 Open Source Robotics Foundation
*
* 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 applicab... |
###############################################################################
# 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... |
; A021472: Decimal expansion of 1/468.
; 0,0,2,1,3,6,7,5,2,1,3,6,7,5,2,1,3,6,7,5,2,1,3,6,7,5,2,1,3,6,7,5,2,1,3,6,7,5,2,1,3,6,7,5,2,1,3,6,7,5,2,1,3,6,7,5,2,1,3,6,7,5,2,1,3,6,7,5,2,1,3,6,7,5,2,1,3,6,7,5,2,1,3,6,7,5,2,1,3,6,7,5,2,1,3,6,7,5,2
mov $2,4
mov $4,1
lpb $0,1
sub $0,1
sub $1,5
add $2,$4
mov $5,$3
add $... |
// Copyright (c) 2013 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
// Test for issue 178: a manual compaction causes deleted data to reappear.
#include <iostream>
#includ... |
; A280154: a(n) = 5*Lucas(n).
; 10,5,15,20,35,55,90,145,235,380,615,995,1610,2605,4215,6820,11035,17855,28890,46745,75635,122380,198015,320395,518410,838805,1357215,2196020,3553235,5749255,9302490,15051745,24354235,39405980,63760215,103166195,166926410,270092605,437019015,707111620,1144130635,1851242255,2995372890,4846... |
/*******************************************************************************
* Copyright 2018 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://www.apache.o... |
#!/usr/bin/sisa16_asm -run
.ZERO_STACK_POINTER: astp;popa;
.POP_FARPTR_VARIABLE: blpop;apop;ca;
.PUSH_FARPTR_VARIABLE: ac;apush;blpush;
//global variables.
.ld_iteration_count: farllda %&0x30000%;
.st_iteration_count: farstla %&0x30000%;
.ld_line_count: farllda %&0x30002%;
.st_line_count: farstla %&0x30002%;
... |
// Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
#include <dirent.h>
#include <fcntl.h>
#include <sys/mman.h>
#ifndef __Fuchsia__
#include <sys/resource... |
; A212343: a(n) = (n+1)*(n-2)*(n-3)/2.
; 0,0,5,18,42,80,135,210,308,432,585,770,990,1248,1547,1890,2280,2720,3213,3762,4370,5040,5775,6578,7452,8400,9425,10530,11718,12992,14355,15810,17360,19008,20757,22610,24570,26640,28823,31122,33540,36080,38745,41538,44462,47520,50715,54050,57528,61152,64925,68850,72930,77168,8156... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0xe370, %r14
add %rax, %rax
movw $0x6162, (%r14)
nop
nop
xor $62202, %r8
lea addresses_UC_ht+0x10c70, %rsi
lea addresses_WT_ht+0xbe10, %rdi
nop
nop
nop
add %r11, %r11
mov $97, ... |
#ifdef _WIN32
#define _CRT_SECURE_NO_DEPRECATE
#endif
#include "OpenCLInfo.h"
#include <iostream>
#include <fstream>
#include <string.h>
#include "OpenCLUtils.h"
using namespace std;
static void print_data_type(cl_channel_type type, ostream& log)
{
switch(type) {
case CL_SNORM_INT8: log << "CL_SNORM_INT8"; break... |
SSAnne3_h:
db SHIP ; tileset
db SS_ANNE_3_HEIGHT, SS_ANNE_3_WIDTH ; dimensions (y, x)
dw SSAnne3Blocks, SSAnne3TextPointers, SSAnne3Script ; blocks, texts, scripts
db $00 ; connections
dw SSAnne3Object ; objects
|
; A130759: Partial sums of A130707.
; 1,3,5,7,11,21,43,87,173,343,683,1365,2731,5463,10925,21847,43691,87381,174763,349527,699053,1398103,2796203,5592405,11184811,22369623,44739245,89478487,178956971,357913941,715827883,1431655767,2863311533
mov $2,1
mov $3,2
lpb $0
sub $0,1
add $1,$3
mul $2,2
add $3,$2
sub ... |
//=====================================================================
// Copyright 2019 (c), Advanced Micro Devices, Inc. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files(the "Software"), to deal
// in the So... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r15
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x31be, %rcx
nop
nop
nop
nop
and %rdi, %rdi
movw $0x6162, (%rcx)
nop
nop
nop
add $56683, %r15
lea addresses_D_ht+0x1e1e6, %rbx
nop
nop
nop
nop
xor $3838, %r13
movw $0x6162, (%rb... |
//
// Serializer.cpp
//
// $Id: //poco/1.4/JS/Bridge/src/Serializer.cpp#6 $
//
// Library: JSBridge
// Package: Bridge
// Module: Serializer
//
// Copyright (c) 2013-2014, Applied Informatics Software Engineering GmbH.
// All rights reserved.
//
// SPDX-License-Identifier: Apache-2.0
//
#include "Poco/JS/Bridge/Seri... |
; A198974: 2*11^n-1.
; 1,21,241,2661,29281,322101,3543121,38974341,428717761,4715895381,51874849201,570623341221,6276856753441,69045424287861,759499667166481,8354496338831301,91899459727144321,1010894056998587541,11119834626984462961,122318180896829092581,1345499989865120018401,14800499888516320202421,16280549877367952... |
; A338075: Diagonal terms in the expansion of (1+x*y*z)/(1-x-y-z).
; Submitted by Jon Maiga
; 1,7,96,1770,36330,791406,17909892,416226096,9864584730,237338943270,5778870222840,142077992254380,3521258757984240,87862829835387600,2205050763983594400,55615552451285359680,1408840444191389714010,35825204161237194511830,91408... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
; Module Name:
;
; WriteDr3.Asm
;
; Abstract:
;
; AsmWriteDr3 function
;
; Notes:
;
;-------------------... |
#include <vtkNew.h>
#include <vtkTestUtilities.h>
#include "vtkF3DRenderPass.h"
int TestF3DRenderPass(int argc, char* argv[])
{
vtkNew<vtkF3DRenderPass> pass;
return EXIT_SUCCESS;
}
|
; A016842: (4n+3)^6.
; 729,117649,1771561,11390625,47045881,148035889,387420489,887503681,1838265625,3518743761,6321363049,10779215329,17596287801,27680640625,42180533641,62523502209,90458382169
mul $0,4
add $0,3
pow $0,6
|
extern m7_ippsRSA_SetPublicKey:function
extern n8_ippsRSA_SetPublicKey:function
extern y8_ippsRSA_SetPublicKey:function
extern e9_ippsRSA_SetPublicKey:function
extern l9_ippsRSA_SetPublicKey:function
extern n0_ippsRSA_SetPublicKey:function
extern k0_ippsRSA_SetPublicKey:function
extern ippcpJumpIndexForMergedLibs
exter... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.