text stringlengths 1 1.05M |
|---|
lda {m1}
cmp {m2}
bne !+
lda {m1}+1
cmp {m2}+1
beq {la1}
!:
|
_ln: file format elf64-x86-64
Disassembly of section .text:
0000000000001000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char *argv[])
{
1000: f3 0f 1e fa endbr64
1004: 55 push %rbp
1005: 48 89 e5 mov %rsp,%rbp
1008: 48 83 ec 10... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>open(file, oflag, mode) -> str
Invokes the syscall open.
See 'man 2 open' for more information.
Arguments:
file(char*): file
oflag(int): oflag
vararg(int): vararg
Returns:
int
</%docstri... |
default rel
%define XMMWORD
%define YMMWORD
%define ZMMWORD
global dummy_chacha20_poly1305_asm
dummy_chacha20_poly1305_asm:
DB 0F3h,0C3h ;repret
|
; A302942: a(n) = (2^n-1)^2*(2^n + 2).
; Submitted by Christian Krause
; 0,4,54,490,4050,32674,261954,2096770,16776450,134216194,1073738754,8589928450,68719464450,549755789314,4398046461954,35184371990530,281474976514050,2251799813292034,18014398508695554,144115188074283010,1152921504603701250,9223372036848484354
mov ... |
; A007291: Series expansion for rectilinear polymers on square lattice.
; 7,63,254,710,1605,3157,5628,9324,14595,21835,31482,44018,59969,79905,104440,134232,169983,212439,262390,320670,388157,465773,554484,655300,769275,897507,1041138,1201354,1379385
mov $17,$0
mov $19,$0
add $19,1
lpb $19,1
clr $0,17
mov $0,$17
... |
db DEX_PINSIR ; pokedex id
db 65 ; base hp
db 125 ; base attack
db 100 ; base defense
db 85 ; base speed
db 55 ; base special
db BUG ; species type 1
db BUG ; species type 2
db 46 ; catch rate
db 200 ; base exp yield
INCBIN "pic/ymon/pinsir.pic",0,1 ; 77, sprite dimensions
dw PinsirPicFront
dw PinsirPicBack
; attacks k... |
/*
This file is part of:
NoahFrame
https://github.com/ketoo/NoahGameFrame
Copyright 2009 - 2019 NoahFrame(NoahGameFrame)
File creator: lvsheng.huang
NoahFrame is open-source software and you can redistribute it and/or modify
it under the terms of the License; b... |
PUBLIC TestIpRead
PUBLIC TestIpWrite
PUBLIC Dummy
.code
TestIpRead PROC
mov eax, DWORD PTR [mylabelR]
mylabelR:
ret
TestIpRead ENDP
TestIpWrite PROC
mov BYTE PTR [mylabelW], 90H
mylabelW:
nop
ret
TestIpWrite ENDP
Dummy PROC
ret
Dummy ENDP
end
|
SECTION code_clib
SECTION code_fp_math48
PUBLIC asm_ldexp
EXTERN am48_ldexp
defc asm_ldexp = am48_ldexp
|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1b6d3, %r14
nop
cmp $53050, %rbp
movw $0x6162, (%r14)
nop
cmp %rdi, %rdi
lea addresses_A_ht+0x13265, %r10
nop
nop
nop
nop
nop
lfence
mov (%r10), %r15d
nop
nop
... |
.MODEL small
.STACK
.DATA
num db -50
.CODE
.STARTUP
mov al,num
rcl al,1
jb next
mov dl,00h
.EXIT
next: mov dl,01h
.EXIT
end |
bits 64
v4fmaddps zmm0,zmm1+3,[rax]
v4fnmaddps zmm2,zmm3,[rax]
v4fmaddss zmm4,zmm5+3,[rax]
v4fnmaddss zmm6,zmm7+3,[rax]
v4dpwssds zmm8,zmm9,[rax]
v4dpwssd zmm10,zmm11+3,[rax]
v4dpwssd zmm10+0,zmm11+3,[rax]
; v4dpwssd zmm10+1,zmm11+3,[rax]
; v4dpwssd zmm10,zmm11+4,[rax]
; v4dpwssd zmm10,zmm11+7,[rax]... |
<%
from pwnlib.shellcraft.powerpc.linux import syscall
%>
<%page args="name, length"/>
<%docstring>
Invokes the syscall sethostname. See 'man 2 sethostname' for more information.
Arguments:
name(char): name
len(size_t): len
</%docstring>
${syscall('SYS_sethostname', name, length)}
|
; A292543: Number of 5-cycles in the n-Sierpinski tetrahedron graph.
; 0,96,384,1536,6144,24576,98304,393216,1572864,6291456,25165824,100663296,402653184,1610612736,6442450944,25769803776,103079215104,412316860416,1649267441664,6597069766656,26388279066624,105553116266496,422212465065984,1688849860263936
mov $1,4
pow ... |
; A170677: Number of reduced words of length n in Coxeter group on 44 generators S_i with relations (S_i)^2 = (S_i S_j)^49 = I.
; Submitted by Jon Maiga
; 1,44,1892,81356,3498308,150427244,6468371492,278139974156,11960018888708,514280812214444,22114074925221092,950905221784506956,40888924536733799108,175822375507955336... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x17b0, %r14
nop
nop
nop
sub $63382, %r9
movl $0x61626364, (%r14)
nop
nop
xor $17217, %rsi
lea addresses_UC_ht+0x65f0, %r11
and %r14, %r14
movb (%r11), %cl
nop
nop
sub %rsi, %r... |
%define BE(a) ( ((((a)>>24)&0xFF) << 0) + ((((a)>>16)&0xFF) << 8) + ((((a)>>8)&0xFF) << 16) + ((((a)>>0)&0xFF) << 24))
ftyp_start:
dd BE(ftyp_end - ftyp_start)
db "ftyp"
db "isom"
dd BE(0x00)
db "mif1", "miaf"
ftyp_end:
meta_start:
dd BE(meta_end - meta_start)
db "meta"
dd BE(0)
hdlr_start:
dd BE(hdlr_end - hdlr_... |
; A049393: Expansion of (1-25*x)^(1/5).
; Submitted by Jon Maiga
; 1,-5,-50,-750,-13125,-249375,-4987500,-103312500,-2195390625,-47566796875,-1046469531250,-23307730468750,-524423935546875,-11900389306640625,-272008898437500000,-6256204664062500000,-144674732856445312500,-3361559969311523437500,-78436399283935546875000... |
SECTION "Map_0523", ROM0[$B800]
Map_0523_Header:
hdr_tileset 0
hdr_dimensions 15, 9
hdr_pointers_a Map_0523_Blocks, Map_0523_TextPointers
hdr_pointers_b Map_0523_Script, Map_0523_Objects
hdr_pointers_c Map_0523_InitScript, Map_0523_RAMScript
hdr_palette $06
... |
; A077997: Expansion of (1-x)/(1-2*x-x^2-x^3).
; 1,1,3,8,20,51,130,331,843,2147,5468,13926,35467,90328,230049,585893,1492163,3800268,9678592,24649615,62778090,159884387,407196479,1037055435,2641191736,6726635386,17131517943,43630863008,111119879345,283002139641,720755021635,1835632062256,4675021285788,11906429655467,30... |
//===- ARMLoadStoreOptimizer.cpp - ARM load / store opt. pass -------------===//
//
// 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
//
//===---------------------------... |
pla
sta {m1}
lda #0
sta {m1}+1
|
; A227121: Number of n X 2 0,1 arrays indicating 2 X 2 subblocks of some larger (n+1) X 3 binary array having a sum of zero, with rows and columns of the latter in lexicographically nondecreasing order.
; Submitted by Jamie Morken(s3.)
; 3,7,13,23,40,68,112,178,273,405,583,817,1118,1498,1970,2548,3247,4083,5073,6235,75... |
; Listing generated by Microsoft (R) Optimizing Compiler Version 16.00.40219.01
TITLE C:\Work\daspirum\Source\src\notifymyandroid.cpp
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB OLDNAMES
ORG $+2
$SG-77049 DB 'www.notifymyandroid.com', 00H
$SG-77050 DB '%20', 00H
$SG-77051 DB 0dH, 0aH, 0dH, 0aH, 00H... |
; A094328: Iterate the map in A006369 starting at 4.
; 4,5,7,9,6,4,5,7,9,6,4,5,7,9,6,4,5,7,9,6,4,5,7,9,6,4,5,7,9,6,4,5,7,9,6,4,5,7,9,6,4,5,7,9,6,4,5,7,9,6,4,5,7,9,6,4,5,7,9,6,4,5,7,9,6,4,5,7,9,6,4,5,7,9,6,4,5,7,9,6,4,5,7,9,6,4,5,7,9,6,4,5,7,9,6,4,5,7,9,6
mod $0,5
mov $1,7
lpb $0
sub $1,$0
sub $0,1
mul $1,2
lpe
s... |
; A023620: Convolution of Lucas numbers and odd numbers.
; 1,6,18,41,82,152,269,462,778,1293,2130,3488,5689,9254,15026,24369,39490,63960,103557,167630,271306,439061,710498,1149696,1860337,3010182,4870674,7881017,12751858,20633048,33385085,54018318,87403594,141422109,228825906
mov $2,$0
add $2,1
mov $7,$0
lpb $2
mov ... |
;;
;; Copyright (c) 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 the ... |
; ===============================================================
; Apr 2016
; ===============================================================
;
; uint16_t htons(uint16_t)
;
; Change host byte order to network byte order.
;
; ===============================================================
SECTION code_clib
SECTION c... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x194f7, %rsi
lea addresses_D_ht+0xe9bb, %rdi
add %r13, %r13
mov $122, %rcx
rep movsb
nop
dec %r10
lea addresses_WC_ht+0x7e37, %r9
nop
nop
nop
nop
and $3257, %r15
mov (%r9), %es... |
SECTION rodata_font_fzx
PUBLIC _ff_dkud4_Font10
_ff_dkud4_Font10:
BINARY "font/fzx/fonts/dkud4/Font10/font10.fzx"
|
#include "source/extensions/transport_sockets/tls/cert_validator/default_validator.h"
#include <array>
#include <deque>
#include <functional>
#include <string>
#include <vector>
#include "envoy/network/transport_socket.h"
#include "envoy/ssl/context.h"
#include "envoy/ssl/context_config.h"
#include "envoy/ssl/private... |
//===--- HlslTypes.cpp - Type system for HLSL ----*- C++
///////////////////////////////////////////////////////////////////////////////
// //
// HlslTypes.cpp //
// Cop... |
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The Brewhaust developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "bip38.h"
#include "in... |
; Roughly taken from:
; https://github.com/Sakura-IT/Amiga-programming-examples/blob/master/ASM/HelloWorld/helloworld.s
; See also:
; http://amigadev.elowar.com/read/ADCD_2.1/Includes_and_Autodocs_2._guide/node0367.html
; open library
lea dosname, a1
moveq #36, d0 ; version 36 = Kick 2.0
moveal (4).W, a6
jsr (-552, ... |
#include <bits/stdc++.h>
#define uset unordered_set
#define umap unordered_map
using namespace std;
int n;
char g[20][20];
int ans = 0;
uset<string> as;
umap<string, int> b;
string s;
int dfs(int x, int y, int dep)
{
if (dep >= n && s[dep] != s[n * 2 - 2 - dep])
{
return 0;
}
if (dep == n - 1 &&... |
; A027468: 9 times the triangular numbers A000217.
; 0,9,27,54,90,135,189,252,324,405,495,594,702,819,945,1080,1224,1377,1539,1710,1890,2079,2277,2484,2700,2925,3159,3402,3654,3915,4185,4464,4752,5049,5355,5670,5994,6327,6669,7020,7380,7749,8127,8514,8910,9315,9729,10152,10584,11025,11475,11934,12402,12879,13365,13860,... |
/* Copyright 2021 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... |
// This file is part of BOINC.
// http://boinc.berkeley.edu
// Copyright (C) 2019 University of California
//
// BOINC is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public License
// as published by the Free Software Foundation,
// either version 3 of the Licens... |
.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 a, ff
ldff(45), a
ld b, 03
call lwaitly_b
ld c, 41
lbegin_waitm0:
ldff a, (c)
and a, b
jrnz lbegin_waitm0
ld a, 80
ldff(68), a
ld a, ff
... |
CGAClub9 label byte
word C_BLACK
Bitmap <67,41,BMC_PACKBITS,BMF_MONO>
db 0xf8, 0x00
db 0xf8, 0x00
db 0x08, 0x0f, 0xe0, 0x07, 0x00, 0x00, 0x1c, 0x00,
0x08, 0x00
db 0x08, 0x18, 0x30, 0x1f, 0xc0, 0x00, 0x7f, 0x00,
0x1c, 0x00
db 0x08, 0x18, 0x30, 0x1f, 0xc0, 0x00, 0x7f, 0x00,
0x2a, 0x00
db 0x08,... |
; A114960: Expansion of (-1+3*x-5*x^2+4*x^3) / ((1-2*x)*(2*x^2-1)*(x-1)^2).
; 1,1,6,11,30,57,128,247,518,1013,2068,4083,8242,16369,32880,65519,131310,262125,524780,1048555,2098154,4194281,8390632,16777191,33558502,67108837,134225892,268435427,536887266,1073741793,2147516384,4294967263,8590000094,17179869149,34359869404... |
Snd_SpecialS_Header:
smpsHeaderStartSong 3
smpsHeaderVoice Snd_SpecialS_Voices
smpsHeaderChan $06, $03
smpsHeaderTempo $01, $25
smpsHeaderDAC Snd_SpecialS_DAC
smpsHeaderFM Snd_SpecialS_FM1, $00, $17
smpsHeaderFM Snd_SpecialS_FM2, $00, $0F
smpsHeaderFM Snd_SpecialS_FM3, $... |
// boost asinh.hpp header file
// (C) Copyright Eric Ford 2001 & Hubert Holin.
// (C) Copyright John Maddock 2008.
// 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)
// See http://www.boost.org for... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r9
push %rax
push %rbx
lea addresses_WT_ht+0xc825, %rax
nop
xor $1013, %r11
mov (%rax), %r13d
nop
inc %rbx
lea addresses_D_ht+0x20f5, %r9
clflush (%r9)
nop
nop
nop
nop
nop
xor $28401, %rax
vmovups (%r9), %ymm4
vextracti128 $0, %ymm4, %xmm4
vpextrq $... |
/* Copyright Institute of Sound and Vibration Research - All rights reserved */
#include "diffuse_source.hpp"
namespace visr
{
namespace objectmodel
{
DiffuseSource::DiffuseSource( ObjectId id )
: Object( id )
{
}
/*virtual*/ DiffuseSource::~DiffuseSource() = default;
/*virtual*/ ObjectTypeId
DiffuseSource::type(... |
; A082107: Diagonal sums of number array A082105.
; 1,2,8,28,79,190,406,792,1437,2458,4004,6260,9451,13846,19762,27568,37689,50610,66880,87116,112007,142318,178894,222664,274645,335946,407772,491428,588323,699974,828010,974176,1140337,1328482,1540728
mov $16,$0
mov $18,$0
add $18,1
lpb $18,1
clr $0,16
mov $0,$16
... |
; A017365: a(n) = 10n + 8.
; 8,18,28,38,48,58,68,78,88,98,108,118,128,138,148,158,168,178,188,198,208,218,228,238,248,258,268,278,288,298,308,318,328,338,348,358,368,378,388,398,408,418,428,438,448,458,468,478,488,498,508,518,528,538,548,558,568,578,588,598,608,618,628,638,648,658,668,678,688,698,708,718,728,738,748,75... |
.include "defaults_mod.asm"
table_file_jp equ "exe4-utf8.tbl"
table_file_en equ "bn4-utf8.tbl"
game_code_len equ 3
game_code equ 0x4234574A // B4WJ
game_code_2 equ 0x42345745 // B4WE
game_code_3 equ 0x42345750 // B4WP
card_type equ 1
card_id equ 70
card_no equ "070"
card_sub equ "Mod Card 070"
card_sub_x ... |
; A321237: Start with a square of dimension 1 X 1, and repeatedly append along the squares of the previous step squares with half their side length that do not overlap with any prior square; a(n) gives the number of squares appended at n-th step.
; 1,8,28,68,148,308,628,1268,2548,5108,10228,20468,40948,81908,163828,327... |
//#define GOOGLE_CUDA 1
#if GOOGLE_CUDA
#define EIGEN_USE_GPU
#include "select_knn_grad_kernel.h"
#include "helpers.h"
#include "tensorflow/core/util/gpu_kernel_helper.h"
#include <cuda.h>
#include <cuda_runtime.h>
#include <cuda_runtime_api.h>
#include "cuda_helpers.h"
namespace tensorflow {
namespace functor {
n... |
// Copyright 2021 Rainer Schoenberger
//
// 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 ag... |
#include "drape/gl_constants.hpp"
#include "drape/gl_includes.hpp"
#if !defined(GL_RGBA8_OES)
#define GL_RGBA8_OES 0x8058
#endif
#if !defined(GL_RGBA4_OES)
#define GL_RGBA4_OES 0x8056
#endif
#if !defined(GL_ALPHA8_OES)
#define GL_ALPHA8_OES 0x803C
#endif
#if !defined(GL_LUMINANCE8_OES)
#define GL_LUMINANCE8... |
/* ====================================================================
* The Vovida Software License, Version 1.0
*
* Copyright (c) 2000 Vovida Networks, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following... |
; ===============================================================
; Dec 2013
; ===============================================================
;
; void *heap_realloc(void *heap, void *p, size_t size)
;
; Resize the memory block p to size bytes. If this cannot
; be done in-place, a new memory block is allocated and t... |
#include "base/modules/ml/include/HaasMLMnn.h"
#include "ulog/ulog.h"
#include "base/modules/core/include/HaasErrno.h"
#define LOG_TAG "HAAS_ML_MNN"
HaasMLMnn::HaasMLMnn()
{
LOGD(LOG_TAG, "entern\n");
}
HaasMLMnn::~HaasMLMnn()
{
LOGD(LOG_TAG, "entern\n");
}
int HaasMLMnn::SetInputData(const char *dataPath,... |
;
; Amstrad CPC specific routines
; by Stefano Bodrato, Fall 2013
;
; int set_psg(int reg, int val);
;
; Play a sound by PSG
;
;
; $Id: set_psg.asm,v 1.3 2016-06-10 21:13:58 dom Exp $
;
SECTION code_clib
PUBLIC set_psg
PUBLIC _set_psg
EXTERN set_psg_callee
EXTERN ASMDISP_SET_PSG_CALLEE
set_psg:
_set_p... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0xa02, %r9
nop
cmp %r15, %r15
mov $0x6162636465666768, %rdx
movq %rdx, %xmm2
vmovups %ymm2, (%r9)
nop
nop
nop
nop
nop
cmp %r10, %r10
lea addresses_WC_ht+0xe222, %rdi
nop
no... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xcf99, %rsi
nop
nop
nop
nop
nop
dec %rdx
movb (%rsi), %r14b
nop
sub %r12, %r12
lea addresses_WT_ht+0x2d21, %rsi
sub %r10, %r10
mov (%rsi), %ecx
and $42844, %rcx
lea addresses_... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1b54b, %rsi
lea addresses_A_ht+0xfd4b, %rdi
nop
add $4197, %r14
mov $93, %rcx
rep movsb
nop
nop
sub %rcx, %rcx
lea addresses_D_ht+0x1640b, %rax
nop
nop
nop
nop
add %rbx, %rbx... |
//
// Created by zmy on 21-1-11.
//
#include "jni.h"
#include "android/log.h"
#include "libyuv.h"
extern "C"
JNIEXPORT jint JNICALL
Java_com_zmy_yuv_1convert_YUVConvert_I420Format(JNIEnv *env, jclass clazz, jint width, jint height,
jobject yuv, jint stride_y, jint stri... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <lv2.h>
#include "wdfJTM45Tree.hpp"
/**********************************************************************************************************************************************************/
#define PLUGIN_URI "http://aidadsp.cc/p... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>capset(hdrp, datap) -> str
Invokes the syscall capset.
See 'man 2 capset' for more information.
Arguments:
hdrp(cap_user_header_t): hdrp
datap(cap_user_data_t): datap
Returns:
int
</%docstri... |
; A120069: Denominators of partial sums of a convergent series involving scaled Catalan numbers A000108.
; 1,2,16,32,128,256,4096,8192,32768,65536,524288,1048576,4194304,8388608,268435456,536870912,2147483648,4294967296,34359738368,68719476736,274877906944,549755813888,8796093022208,17592186044416,70368744177664,140737... |
// ==++==
//
//
// Copyright (c) 2006 Microsoft Corporation. All rights reserved.
//
// The use and distribution terms for this software are contained in the file
// named license.txt, which can be found in the root of this distribution.
// By using this software in any fashion, you are agreeing to ... |
; A113532: a(n) = 1 + 2*n + 3*n^2 + 4*n^3 + 5*n^4 + 6*n^5 + 7*n^6.
; 1,28,769,7108,36409,131836,380713,937924,2054353,4110364,7654321,13446148,22505929,36167548,56137369,84557956,124076833,177920284,249972193,344857924,468033241,625878268,825796489,1076318788,1387212529,1769595676,2236055953,2800775044,3479657833,42904... |
#include <errno.h>
#include <node.h>
#include <nan.h>
#include "./i2c-dev.h"
#include "./writequick.h"
#include "./util.h"
static __s32 WriteQuick(int fd, __u8 bit) {
return i2c_smbus_write_quick(fd, bit);
}
class WriteQuickWorker : public I2cAsyncWorker {
public:
WriteQuickWorker(Nan::Callback *callback, int fd,... |
#include "HTTPDictionarySource.h"
#include <DataStreams/IBlockOutputStream.h>
#include <DataStreams/OwningBlockInputStream.h>
#include <IO/ConnectionTimeouts.h>
#include <IO/ReadWriteBufferFromHTTP.h>
#include <IO/WriteBufferFromOStream.h>
#include <IO/WriteBufferFromString.h>
#include <IO/WriteHelpers.h>
#include <Int... |
#include "stdafx.h"
#include "ReleaseMutex.h"
CReleaseMutex::~CReleaseMutex()
{
if (m_hObject)
{
ReleaseMutex(m_hObject);
}
}
|
;
;==================================================================================================
; SC130 STANDARD CONFIGURATION
;==================================================================================================
;
; THE COMPLETE SET OF DEFAULT CONFIGURATION SETTINGS FOR THIS PLATFORM ARE FOU... |
;;
;; Copyright (c) 2017-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... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x182e9, %rsi
lea addresses_D_ht+0xee59, %rdi
clflush (%rsi)
nop
nop
nop
nop
nop
xor %r10, %r10
mov $9, %rcx
rep movsw
nop
nop
lfence
lea addresses_A_ht+0xce59, %r10
nop
nop... |
; A103569: Sum of the (primes > 5 modulo 11).
; 7,7,9,15,23,24,31,40,44,52,62,65,74,78,84,85,90,97,99,105,106,115,117,121,129,139,142,148,158,163,170,176,184,187,196,198,206,209,214,218,224,234,235,237,240,247,256,258,266,276,285,289,299,304,311,313,319
mov $2,$0
mov $3,$0
add $3,1
lpb $3
mov $0,$2
sub $3,1
sub ... |
; A332192: a(n) = 10^(2n+1) - 1 - 7*10^n.
; 2,929,99299,9992999,999929999,99999299999,9999992999999,999999929999999,99999999299999999,9999999992999999999,999999999929999999999,99999999999299999999999,9999999999992999999999999,999999999999929999999999999,99999999999999299999999999999,9999999999999992999999999999999
add... |
//
// Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.16384
//
//
///
// Buffer Definitions:
//
// cbuffer cbInit
// {
//
// float4 g_vMaterialColor; // Offset: 0 Size: 16 [unused]
// float4 g_vAmbientColor; // Offset: 16 Size: 16 [unused]
// float4 g_vSpecularColor; ... |
#include <pch.hpp>
#include "Input.hpp"
#include <GLFW/glfw3.h>
#include <Application/Application.hpp>
NS_ENIGMA_BEGIN
bool Input::IsKeyPressed(KeyCode keycode) noexcept
{
GLFWwindow* window = Application::GetInstance()->GetWindow()->GetGLFWwindow();
i32 state = glfwGetKey(window, static_cast<i32>(keycode));
retu... |
.data
String_message: .asciiz "Input string is: "
Notice_message: .asciiz "Number of different characters is: "
Message: .space 100 # Buffer 100 byte
.text
main:
li $v0, 8
la $a0, Message
li $a1, 100
syscall
addi $sp, $sp, -100 # Load appear_character to $sp
la $s0, Message # Load Message to $s0
add ... |
; find out hardware map
HWN I
:query_loop
SUB I, 1
HWQ I
IFE B, 0x7349
IFE A, 0xf615
SET [monitor_n], I
IFN I, 0
SET PC, query_loop
; set up monitor
SET A, 0
SET B, 0x8000
HWI [monitor_n]
SET A, 0x001f
SET B, 0x0020
:main_loop
SET [0x8000+A], 0xff00
ADD A, B
IFG 0x180, A
SET PC, check1
SET B, 0xFFE0
ADD A,... |
; void *zx_cyx2aaddr_callee(uchar row, uchar col)
SECTION code_arch
PUBLIC _zx_cyx2aaddr_callee, l0_zx_cyx2aaddr_callee
_zx_cyx2aaddr_callee:
pop hl
pop de
ex (sp),hl
l0_zx_cyx2aaddr_callee:
ld h,e
INCLUDE "arch/zx/display/z80/asm_zx_cyx2aaddr.asm"
|
; A129196: a(n) = denominator(3*(3+(-1)^n)/(n+1)^3).
; 1,4,9,32,125,36,343,256,243,500,1331,288,2197,1372,1125,2048,4913,972,6859,4000,3087,5324,12167,2304,15625,8788,6561,10976,24389,4500,29791,16384,11979,19652,42875,7776,50653,27436,19773,32000,68921,12348,79507,42592
add $0,1
pow $0,3
mov $1,$0
gcd $1,6
div $0,$1
|
orig 0x100
//
// A program to add some numbers
//
//
// print a string. Address of string is in A register
//
ps0: 0
prints: sta ps0 // store pointer, for indirect addressing
ps1: lda i ps0
sza rss
ret // return on zero (end of string)
iota 4,0 // print character
isz ps0... |
; A285976: Positions of 0 in A285975; complement of A285977.
; Submitted by Christian Krause
; 1,4,6,9,11,14,16,18,21,24,26,29,31,34,37,39,41,44,46,49,51,54,56,58,61,64,66,68,71,73,76,78,81,84,86,89,91,94,96,98,101,104,106,109,111,114,117,119,121,124,126,129,131,134,137,139,142,144,147,149,151,154,157,159,161,164,166,1... |
#include "BaseComponent.h"
BaseComponent::BaseComponent(PScene owner, bool isDisabled)
{
_owner = owner;
_isDisabled = isDisabled;
}
//============================================={NOTE}===============================================//
// These two are not mistake, base on the decision table:
//
// C\P |... |
; A081674: Generalized Poly-Bernoulli numbers.
; 0,1,6,29,130,561,2366,9829,40410,164921,669526,2707629,10919090,43942081,176565486,708653429,2841788170,11388676041,45619274246,182670807229,731264359650,2926800830801,11712433499806,46865424529029,187508769705530,750176293590361,3001128818666166,12005786207578829,480269... |
ldy #{c2}
lda ({z1}),y
ldy #{c1}
clc
adc ({z1}),y
sta ({z1}),y
ldy #{c2}+1
lda ({z1}),y
ldy #{c1}+1
adc ({z1}),y
sta ({z1}),y
|
showText:
DISPLAY "show text: ", $
xor a : ld (show_offset), a, (s_half), a
reRenderText:
call renderTextScreen
showTxLp:
call txControls
xor a : call changeBank
dup 5
halt
edup
jp showTxLp
txControls:
call inkey
and a : ret z
cp 'q' : jp z, txUp
cp 'o' : jp z... |
///
/// \file AliFemtoEventReaderAOD.cxx
///
#include "AliFemtoEventReaderAOD.h"
#include "TFile.h"
#include "TTree.h"
#include "TRandom3.h"
#include "AliAODEvent.h"
#include "AliAODTrack.h"
#include "AliAODVertex.h"
#include "AliAODMCHeader.h"
#include "AliESDtrack.h"
#include "AliFmPhysicalHelixD.h"
#include "AliF... |
/*******************************************************************************
Banana Qt Libraries
Copyright (c) 2016 Alexandra Cherdantseva
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 with... |
; ===============================================================
; Jan 2014
; ===============================================================
;
; FILE *_fmemopen_(void **bufp, size_t *sizep, const char *mode)
;
; Associate a memory buffer with a stream.
;
; More general than the proposed standard functions which onl... |
# On boot the BIOS does not know how to load the OS
# so the boot sector must do that. The boot sector is stored
# in a known location. That is the first sector of the disk,
# which is cylinder 0, header 0 and sector 0.
# The size of the boot sector is 512 bytes.
# To mark the region as bootable, the 511th and 512th by... |
; This is a comment
; 8086 Template example: Hello World
; contant declaration section
; directives for the compiler
.MODEL small
.STACK
.DATA ; variable declaration section
message db "HANUMAN$"
; code section
.CODE
.STARTUP ; interrup to print a string with $ at the end
mov ... |
; A081611: Number of numbers <= n having no 2 in their ternary representation.
; 1,2,2,3,4,4,4,4,4,5,6,6,7,8,8,8,8,8,8,8,8,8,8,8,8,8,8,9,10,10,11,12,12,12,12,12,13,14,14,15,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,17,18,18,19,20,20,20,20,... |
; A017783: Binomial coefficients C(67,n).
; 1,67,2211,47905,766480,9657648,99795696,869648208,6522361560,42757703560,247994680648,1285063345176,5996962277488,25371763481680,97862516286480,345780890878896,1123787895356412,3371363686069236,9364899127970100,24151581961607100,57963796707857040,129728497393775280,2712504945... |
print:
pusha
; keep this in mind:
; while (string[i] != 0) { print string[i]; i++ }
; the comparison for string end (null byte)
start:
mov al, [bx] ; 'bx' is the base address for the string
cmp al, 0
je done
; the part where we print with the BIOS help
mov ah, 0x0e
int 0x10 ; 'al' alread... |
; A156856: 2025*n^2 + n.
; 2026,8102,18228,32404,50630,72906,99232,129608,164034,202510,245036,291612,342238,396914,455640,518416,585242,656118,731044,810020,893046,980122,1071248,1166424,1265650,1368926,1476252,1587628,1703054,1822530,1946056,2073632,2205258,2340934,2480660,2624436,2772262,2924138,3080064,3240040,3404... |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Animal.cpp :+: :+: :+: */
/... |
/*
*********************************************************************************************************
* uC/LIB
* Custom Library Modules
*
* Copyright 2004-2021 Silicon Laboratories Inc. www.silabs.com
*
* ... |
_zombie: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(void)
{
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 pus... |
; IntToStr
.proc @ValueToStr (.word ya) .reg
sta adr
sty adr+1
mva #{bit*} @printVALUE.pout
mva <@buf+1 @printVALUE.pbuf
jsr $ffff
adr equ *-2
ldy @printVALUE.pbuf
dey
sty @buf
rts
.endp
; Value To Record
.proc @ValueToRec (.word ya) .reg
sta adr
sty adr+1
mva #{bit*... |
db 0 ; species ID placeholder
db 80, 105, 65, 70, 100, 60
; hp atk def spd sat sdf
db GRASS, POISON ; type
db 45 ; catch rate
db 191 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F0 ; gender ratio
db 100 ; unknown 1
db 20 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/victreebel... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.